GET users/{userIdentifier}/state

Gets the User's state information.

Authorization

Access to this endpoint is granted if all following conditions are true:

  • Authenticated user passes at least one of the following conditions: Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the same center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the online center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter.
  • Authenticated user who is either StaffMember, Student, Administrator, ProspectWithTrial, User
  • Authenticated user who is either StaffMember, Student, QA, ISUSTeacher, Administrator, FocusTool, ProspectWithTrial, User

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userIdentifier

user's identifier

PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier

Required

Body Parameters

None.

Response Information

Resource Description

PearsonEnglish.LearningServices.Core.Models.Views.UserStateBackwardCompatibleViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

PearsonEnglish.LearningServices.Core.Models.Views.RegistrationViewModel

None.

TimeZone

PearsonEnglish.LearningServices.Core.Models.Views.TimeZoneViewModel

None.

Bookmarks

Dictionary of string [key] and PearsonEnglish.LearningServices.Core.Models.Views.ContentItemViewModel [value]

None.

CurrentCourse

PearsonEnglish.LearningServices.Core.Models.CurrentCourse

None.

Lessons

Collection of PearsonEnglish.LearningServices.Core.Models.Views.ContentItemResultViewModel

None.

Surveys

Collection of PearsonEnglish.LearningServices.Core.Models.Views.UserSurveyViewModel

None.

Sessions

Collection of PearsonEnglish.LearningServices.Core.Models.Views.UserSessionStateViewModel

None.

TotalRescheduleCount

integer

None.

StudentLevelInfo

PearsonEnglish.LearningServices.Core.Models.StudentLevelInfo

None.

Response Formats

application/json

Sample:
{
  "UserId": "fc6ce5df-a887-4645-ad57-ef30040ba829",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-13T18:37:54.9962178+00:00",
  "Registration": {
    "Id": "4e31f086-4b58-4e7e-b16f-90e890af77f9",
    "UserId": "50d8c5f9-d934-4ac0-844e-16ef670a5038",
    "IsCurrent": true,
    "CenterId": "2e41ad33-9fc4-47f6-950c-20eb11ab68a9",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "2abe5c22-7d86-4307-a5e8-991312ed26fb",
    "EndDate": "2026-04-13T18:37:54.9805923+00:00",
    "StartDate": "2026-04-13T18:37:54.9805923+00:00",
    "SchedulePreferenceDate": "2026-04-13T18:37:54.9805923+00:00",
    "TypeName": "sample string 10",
    "WorkbookType": 0,
    "EnglishAnytime": true,
    "AllowSelfBooking": true,
    "RegistrationStatus": "sample string 12",
    "CourseStatus": "sample string 13",
    "StudentCurrentContractStatus": "sample string 14",
    "OnlineClassAccess": true,
    "InCenterClassAccess": true,
    "IsMembership": true,
    "IsPromo": true,
    "OnboardingAccess": true,
    "IsCrossCenterBooking": true,
    "IsTeen": true,
    "IsGroupContract": true,
    "IsB2B": true,
    "ServiceType": 1,
    "LabTeacherReferenceId": "sample string 24",
    "ConsultantReferenceId": "sample string 25"
  },
  "TimeZone": {
    "Name": "sample string 1",
    "IanaName": "sample string 2",
    "LocalUtcOffset": "00:00:00.1234567",
    "LocalDateTime": "2026-04-13T18:37:54.9805923+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "cc509647-d8df-4c1c-b273-b4754a59723c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ea63d804-229c-422e-b6d3-c8130d953151",
      "Sequence": 1,
      "AncestorCategoryId": "fadc5865-a1f6-4211-a522-327c7f223c75",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f5119bba-dc00-4de3-a438-cccd364b1da9",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        },
        {
          "Id": "f5119bba-dc00-4de3-a438-cccd364b1da9",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        }
      ],
      "ContentOptimizationLevelId": 7,
      "ContentOptimizationLevelName": "sample string 8"
    },
    "sample string 2": {
      "Id": "cc509647-d8df-4c1c-b273-b4754a59723c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ea63d804-229c-422e-b6d3-c8130d953151",
      "Sequence": 1,
      "AncestorCategoryId": "fadc5865-a1f6-4211-a522-327c7f223c75",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f5119bba-dc00-4de3-a438-cccd364b1da9",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        },
        {
          "Id": "f5119bba-dc00-4de3-a438-cccd364b1da9",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        }
      ],
      "ContentOptimizationLevelId": 7,
      "ContentOptimizationLevelName": "sample string 8"
    }
  },
  "CurrentCourse": {
    "Id": "b75d9d64-f21e-45f1-8e36-c6968a7f88ad",
    "CategoryId": "6504dbc8-06b2-48d3-bdfc-542b993ea67e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "9c4e79e7-63c6-4120-b1a6-93b9564721c0",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "9c4e79e7-63c6-4120-b1a6-93b9564721c0",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "fad1b205-472f-42c7-9173-ac05cc369cfa",
      "Questions": [
        {
          "Id": "1a1d07cc-111e-4bc2-b34e-1771ef0c226f",
          "Answers": "sample string 2"
        },
        {
          "Id": "1a1d07cc-111e-4bc2-b34e-1771ef0c226f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "fad1b205-472f-42c7-9173-ac05cc369cfa",
      "Questions": [
        {
          "Id": "1a1d07cc-111e-4bc2-b34e-1771ef0c226f",
          "Answers": "sample string 2"
        },
        {
          "Id": "1a1d07cc-111e-4bc2-b34e-1771ef0c226f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0661f300-536a-4bbd-8844-721c132d3248",
      "ContentItemId": "26a4ac34-2f34-4284-80ad-73d1b27cf9ab",
      "Status": "sample string 3",
      "TeacherFeedbacks": [
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        },
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        }
      ],
      "RatingDate": "2026-04-13T18:37:54.9805923+00:00",
      "RescheduleDate": "2026-04-13T18:37:54.9805923+00:00"
    },
    {
      "Id": "0661f300-536a-4bbd-8844-721c132d3248",
      "ContentItemId": "26a4ac34-2f34-4284-80ad-73d1b27cf9ab",
      "Status": "sample string 3",
      "TeacherFeedbacks": [
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        },
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        }
      ],
      "RatingDate": "2026-04-13T18:37:54.9805923+00:00",
      "RescheduleDate": "2026-04-13T18:37:54.9805923+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "fc6ce5df-a887-4645-ad57-ef30040ba829",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-13T18:37:55.0118426+00:00",
  "Registration": {
    "Id": "4e31f086-4b58-4e7e-b16f-90e890af77f9",
    "UserId": "50d8c5f9-d934-4ac0-844e-16ef670a5038",
    "IsCurrent": true,
    "CenterId": "2e41ad33-9fc4-47f6-950c-20eb11ab68a9",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "2abe5c22-7d86-4307-a5e8-991312ed26fb",
    "EndDate": "2026-04-13T18:37:54.9805923+00:00",
    "StartDate": "2026-04-13T18:37:54.9805923+00:00",
    "SchedulePreferenceDate": "2026-04-13T18:37:54.9805923+00:00",
    "TypeName": "sample string 10",
    "WorkbookType": 0,
    "EnglishAnytime": true,
    "AllowSelfBooking": true,
    "RegistrationStatus": "sample string 12",
    "CourseStatus": "sample string 13",
    "StudentCurrentContractStatus": "sample string 14",
    "OnlineClassAccess": true,
    "InCenterClassAccess": true,
    "IsMembership": true,
    "IsPromo": true,
    "OnboardingAccess": true,
    "IsCrossCenterBooking": true,
    "IsTeen": true,
    "IsGroupContract": true,
    "IsB2B": true,
    "ServiceType": 1,
    "LabTeacherReferenceId": "sample string 24",
    "ConsultantReferenceId": "sample string 25"
  },
  "TimeZone": {
    "Name": "sample string 1",
    "IanaName": "sample string 2",
    "LocalUtcOffset": "00:00:00.1234567",
    "LocalDateTime": "2026-04-13T18:37:54.9805923+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "cc509647-d8df-4c1c-b273-b4754a59723c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ea63d804-229c-422e-b6d3-c8130d953151",
      "Sequence": 1,
      "AncestorCategoryId": "fadc5865-a1f6-4211-a522-327c7f223c75",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f5119bba-dc00-4de3-a438-cccd364b1da9",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        },
        {
          "Id": "f5119bba-dc00-4de3-a438-cccd364b1da9",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        }
      ],
      "ContentOptimizationLevelId": 7,
      "ContentOptimizationLevelName": "sample string 8"
    },
    "sample string 2": {
      "Id": "cc509647-d8df-4c1c-b273-b4754a59723c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ea63d804-229c-422e-b6d3-c8130d953151",
      "Sequence": 1,
      "AncestorCategoryId": "fadc5865-a1f6-4211-a522-327c7f223c75",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f5119bba-dc00-4de3-a438-cccd364b1da9",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        },
        {
          "Id": "f5119bba-dc00-4de3-a438-cccd364b1da9",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        }
      ],
      "ContentOptimizationLevelId": 7,
      "ContentOptimizationLevelName": "sample string 8"
    }
  },
  "CurrentCourse": {
    "Id": "b75d9d64-f21e-45f1-8e36-c6968a7f88ad",
    "CategoryId": "6504dbc8-06b2-48d3-bdfc-542b993ea67e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "9c4e79e7-63c6-4120-b1a6-93b9564721c0",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "9c4e79e7-63c6-4120-b1a6-93b9564721c0",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "fad1b205-472f-42c7-9173-ac05cc369cfa",
      "Questions": [
        {
          "Id": "1a1d07cc-111e-4bc2-b34e-1771ef0c226f",
          "Answers": "sample string 2"
        },
        {
          "Id": "1a1d07cc-111e-4bc2-b34e-1771ef0c226f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "fad1b205-472f-42c7-9173-ac05cc369cfa",
      "Questions": [
        {
          "Id": "1a1d07cc-111e-4bc2-b34e-1771ef0c226f",
          "Answers": "sample string 2"
        },
        {
          "Id": "1a1d07cc-111e-4bc2-b34e-1771ef0c226f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0661f300-536a-4bbd-8844-721c132d3248",
      "ContentItemId": "26a4ac34-2f34-4284-80ad-73d1b27cf9ab",
      "Status": "sample string 3",
      "TeacherFeedbacks": [
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        },
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        }
      ],
      "RatingDate": "2026-04-13T18:37:54.9805923+00:00",
      "RescheduleDate": "2026-04-13T18:37:54.9805923+00:00"
    },
    {
      "Id": "0661f300-536a-4bbd-8844-721c132d3248",
      "ContentItemId": "26a4ac34-2f34-4284-80ad-73d1b27cf9ab",
      "Status": "sample string 3",
      "TeacherFeedbacks": [
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        },
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        }
      ],
      "RatingDate": "2026-04-13T18:37:54.9805923+00:00",
      "RescheduleDate": "2026-04-13T18:37:54.9805923+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}