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": "3a096355-2a39-40f0-962a-504ed9fe7379",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-19T14:55:44.1664526+00:00",
  "Registration": {
    "Id": "547ecafc-d373-45b0-aa73-fa993287c028",
    "UserId": "48a77530-6891-40f1-9886-c6430ca13b20",
    "IsCurrent": true,
    "CenterId": "4d559ee4-40fd-4d41-b181-b4d928d6e1ec",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "82cc6ea1-f62f-4f41-ad24-d17d88e24a26",
    "EndDate": "2026-10-19T14:55:44.1508344+00:00",
    "StartDate": "2026-10-19T14:55:44.1508344+00:00",
    "SchedulePreferenceDate": "2026-10-19T14:55:44.1508344+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-10-19T14:55:44.1508344+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2c0805fe-95b1-46b1-a235-65fd58556887",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3a4995dc-e582-42d0-af44-eb7857b6ddae",
      "Sequence": 1,
      "AncestorCategoryId": "1fb613c6-99b6-410c-abaa-639ac42c2482",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c8fb0355-93d4-44fb-873c-ec5fb19dc344",
          "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": "c8fb0355-93d4-44fb-873c-ec5fb19dc344",
          "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": "2c0805fe-95b1-46b1-a235-65fd58556887",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3a4995dc-e582-42d0-af44-eb7857b6ddae",
      "Sequence": 1,
      "AncestorCategoryId": "1fb613c6-99b6-410c-abaa-639ac42c2482",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c8fb0355-93d4-44fb-873c-ec5fb19dc344",
          "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": "c8fb0355-93d4-44fb-873c-ec5fb19dc344",
          "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": "a4429bfe-db67-420e-ad71-7555ef36a579",
    "CategoryId": "db0f07ad-49e1-4560-bb2c-f3e9d90caf33",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "2e4d3c96-cec6-47ee-83d7-257b37c899c9",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "2e4d3c96-cec6-47ee-83d7-257b37c899c9",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "74e58dc0-0c9e-42d2-bab7-9ad82b371256",
      "Questions": [
        {
          "Id": "2efbdcdb-0ef7-44a6-bc3b-d422d5ea3c61",
          "Answers": "sample string 2"
        },
        {
          "Id": "2efbdcdb-0ef7-44a6-bc3b-d422d5ea3c61",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "74e58dc0-0c9e-42d2-bab7-9ad82b371256",
      "Questions": [
        {
          "Id": "2efbdcdb-0ef7-44a6-bc3b-d422d5ea3c61",
          "Answers": "sample string 2"
        },
        {
          "Id": "2efbdcdb-0ef7-44a6-bc3b-d422d5ea3c61",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "3f652146-704f-469f-ae59-349ca4a8661b",
      "ContentItemId": "c2fd42c7-0e61-4b2f-aac2-f75b213da6c4",
      "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-10-19T14:55:44.1508344+00:00",
      "RescheduleDate": "2026-10-19T14:55:44.1508344+00:00"
    },
    {
      "Id": "3f652146-704f-469f-ae59-349ca4a8661b",
      "ContentItemId": "c2fd42c7-0e61-4b2f-aac2-f75b213da6c4",
      "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-10-19T14:55:44.1508344+00:00",
      "RescheduleDate": "2026-10-19T14:55:44.1508344+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "3a096355-2a39-40f0-962a-504ed9fe7379",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-19T14:55:44.1820774+00:00",
  "Registration": {
    "Id": "547ecafc-d373-45b0-aa73-fa993287c028",
    "UserId": "48a77530-6891-40f1-9886-c6430ca13b20",
    "IsCurrent": true,
    "CenterId": "4d559ee4-40fd-4d41-b181-b4d928d6e1ec",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "82cc6ea1-f62f-4f41-ad24-d17d88e24a26",
    "EndDate": "2026-10-19T14:55:44.1508344+00:00",
    "StartDate": "2026-10-19T14:55:44.1508344+00:00",
    "SchedulePreferenceDate": "2026-10-19T14:55:44.1508344+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-10-19T14:55:44.1508344+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2c0805fe-95b1-46b1-a235-65fd58556887",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3a4995dc-e582-42d0-af44-eb7857b6ddae",
      "Sequence": 1,
      "AncestorCategoryId": "1fb613c6-99b6-410c-abaa-639ac42c2482",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c8fb0355-93d4-44fb-873c-ec5fb19dc344",
          "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": "c8fb0355-93d4-44fb-873c-ec5fb19dc344",
          "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": "2c0805fe-95b1-46b1-a235-65fd58556887",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3a4995dc-e582-42d0-af44-eb7857b6ddae",
      "Sequence": 1,
      "AncestorCategoryId": "1fb613c6-99b6-410c-abaa-639ac42c2482",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c8fb0355-93d4-44fb-873c-ec5fb19dc344",
          "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": "c8fb0355-93d4-44fb-873c-ec5fb19dc344",
          "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": "a4429bfe-db67-420e-ad71-7555ef36a579",
    "CategoryId": "db0f07ad-49e1-4560-bb2c-f3e9d90caf33",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "2e4d3c96-cec6-47ee-83d7-257b37c899c9",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "2e4d3c96-cec6-47ee-83d7-257b37c899c9",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "74e58dc0-0c9e-42d2-bab7-9ad82b371256",
      "Questions": [
        {
          "Id": "2efbdcdb-0ef7-44a6-bc3b-d422d5ea3c61",
          "Answers": "sample string 2"
        },
        {
          "Id": "2efbdcdb-0ef7-44a6-bc3b-d422d5ea3c61",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "74e58dc0-0c9e-42d2-bab7-9ad82b371256",
      "Questions": [
        {
          "Id": "2efbdcdb-0ef7-44a6-bc3b-d422d5ea3c61",
          "Answers": "sample string 2"
        },
        {
          "Id": "2efbdcdb-0ef7-44a6-bc3b-d422d5ea3c61",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "3f652146-704f-469f-ae59-349ca4a8661b",
      "ContentItemId": "c2fd42c7-0e61-4b2f-aac2-f75b213da6c4",
      "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-10-19T14:55:44.1508344+00:00",
      "RescheduleDate": "2026-10-19T14:55:44.1508344+00:00"
    },
    {
      "Id": "3f652146-704f-469f-ae59-349ca4a8661b",
      "ContentItemId": "c2fd42c7-0e61-4b2f-aac2-f75b213da6c4",
      "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-10-19T14:55:44.1508344+00:00",
      "RescheduleDate": "2026-10-19T14:55:44.1508344+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}