GET v2/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.View.UserStateViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

Collection of 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.

StudentSpeakPlusLevelInfo

string

None.

Response Formats

application/json

Sample:
{
  "UserId": "c68e6b24-8c46-44e3-8d37-7e4e19bbe13f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-28T15:51:28.3238781+00:00",
  "Registration": [
    {
      "Id": "1ed3efc5-3f6c-4f7c-a963-82fb838c3e96",
      "UserId": "f8fabbb4-627f-486f-abc0-956ca5f8d1a5",
      "IsCurrent": true,
      "CenterId": "133f3963-f572-43dd-9696-7b8aab502b5d",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "025f1a8e-22e9-4948-98b2-18fe475c7432",
      "EndDate": "2026-03-28T15:51:28.3082455+00:00",
      "StartDate": "2026-03-28T15:51:28.3082455+00:00",
      "SchedulePreferenceDate": "2026-03-28T15:51:28.3082455+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"
    },
    {
      "Id": "1ed3efc5-3f6c-4f7c-a963-82fb838c3e96",
      "UserId": "f8fabbb4-627f-486f-abc0-956ca5f8d1a5",
      "IsCurrent": true,
      "CenterId": "133f3963-f572-43dd-9696-7b8aab502b5d",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "025f1a8e-22e9-4948-98b2-18fe475c7432",
      "EndDate": "2026-03-28T15:51:28.3082455+00:00",
      "StartDate": "2026-03-28T15:51:28.3082455+00:00",
      "SchedulePreferenceDate": "2026-03-28T15:51:28.3082455+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-03-28T15:51:28.3082455+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "25baa809-004e-4722-9056-cd33a044da70",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0e158abb-9692-4c5c-8a58-8208b29d855e",
      "Sequence": 1,
      "AncestorCategoryId": "79443972-da39-4dce-b3d1-3a2a4a17b836",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "26b1466e-4e8e-4315-9359-370ab714ccc2",
          "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": "26b1466e-4e8e-4315-9359-370ab714ccc2",
          "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": "25baa809-004e-4722-9056-cd33a044da70",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0e158abb-9692-4c5c-8a58-8208b29d855e",
      "Sequence": 1,
      "AncestorCategoryId": "79443972-da39-4dce-b3d1-3a2a4a17b836",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "26b1466e-4e8e-4315-9359-370ab714ccc2",
          "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": "26b1466e-4e8e-4315-9359-370ab714ccc2",
          "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": "53f51cef-d843-48f1-9154-ca78c380c27b",
    "CategoryId": "e29d756a-4c44-40a2-a5a1-26cc71c66e6a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "006ffd71-aaeb-4b42-894b-08459f04a40c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "006ffd71-aaeb-4b42-894b-08459f04a40c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "7ad33547-dc96-4c63-b863-4516ce0bc4b2",
      "Questions": [
        {
          "Id": "5795e16b-95f7-405d-9cc0-c4ee34271a4f",
          "Answers": "sample string 2"
        },
        {
          "Id": "5795e16b-95f7-405d-9cc0-c4ee34271a4f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "7ad33547-dc96-4c63-b863-4516ce0bc4b2",
      "Questions": [
        {
          "Id": "5795e16b-95f7-405d-9cc0-c4ee34271a4f",
          "Answers": "sample string 2"
        },
        {
          "Id": "5795e16b-95f7-405d-9cc0-c4ee34271a4f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a3f1baf4-f978-4d21-a16d-59a5a232461d",
      "ContentItemId": "93b5e7a5-98b6-467e-8765-4dc93b4434eb",
      "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-03-28T15:51:28.3082455+00:00",
      "RescheduleDate": "2026-03-28T15:51:28.3082455+00:00"
    },
    {
      "Id": "a3f1baf4-f978-4d21-a16d-59a5a232461d",
      "ContentItemId": "93b5e7a5-98b6-467e-8765-4dc93b4434eb",
      "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-03-28T15:51:28.3082455+00:00",
      "RescheduleDate": "2026-03-28T15:51:28.3082455+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}

text/json

Sample:
{
  "UserId": "c68e6b24-8c46-44e3-8d37-7e4e19bbe13f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-28T15:51:28.4020254+00:00",
  "Registration": [
    {
      "Id": "1ed3efc5-3f6c-4f7c-a963-82fb838c3e96",
      "UserId": "f8fabbb4-627f-486f-abc0-956ca5f8d1a5",
      "IsCurrent": true,
      "CenterId": "133f3963-f572-43dd-9696-7b8aab502b5d",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "025f1a8e-22e9-4948-98b2-18fe475c7432",
      "EndDate": "2026-03-28T15:51:28.3082455+00:00",
      "StartDate": "2026-03-28T15:51:28.3082455+00:00",
      "SchedulePreferenceDate": "2026-03-28T15:51:28.3082455+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"
    },
    {
      "Id": "1ed3efc5-3f6c-4f7c-a963-82fb838c3e96",
      "UserId": "f8fabbb4-627f-486f-abc0-956ca5f8d1a5",
      "IsCurrent": true,
      "CenterId": "133f3963-f572-43dd-9696-7b8aab502b5d",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "025f1a8e-22e9-4948-98b2-18fe475c7432",
      "EndDate": "2026-03-28T15:51:28.3082455+00:00",
      "StartDate": "2026-03-28T15:51:28.3082455+00:00",
      "SchedulePreferenceDate": "2026-03-28T15:51:28.3082455+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-03-28T15:51:28.3082455+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "25baa809-004e-4722-9056-cd33a044da70",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0e158abb-9692-4c5c-8a58-8208b29d855e",
      "Sequence": 1,
      "AncestorCategoryId": "79443972-da39-4dce-b3d1-3a2a4a17b836",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "26b1466e-4e8e-4315-9359-370ab714ccc2",
          "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": "26b1466e-4e8e-4315-9359-370ab714ccc2",
          "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": "25baa809-004e-4722-9056-cd33a044da70",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0e158abb-9692-4c5c-8a58-8208b29d855e",
      "Sequence": 1,
      "AncestorCategoryId": "79443972-da39-4dce-b3d1-3a2a4a17b836",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "26b1466e-4e8e-4315-9359-370ab714ccc2",
          "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": "26b1466e-4e8e-4315-9359-370ab714ccc2",
          "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": "53f51cef-d843-48f1-9154-ca78c380c27b",
    "CategoryId": "e29d756a-4c44-40a2-a5a1-26cc71c66e6a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "006ffd71-aaeb-4b42-894b-08459f04a40c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "006ffd71-aaeb-4b42-894b-08459f04a40c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "7ad33547-dc96-4c63-b863-4516ce0bc4b2",
      "Questions": [
        {
          "Id": "5795e16b-95f7-405d-9cc0-c4ee34271a4f",
          "Answers": "sample string 2"
        },
        {
          "Id": "5795e16b-95f7-405d-9cc0-c4ee34271a4f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "7ad33547-dc96-4c63-b863-4516ce0bc4b2",
      "Questions": [
        {
          "Id": "5795e16b-95f7-405d-9cc0-c4ee34271a4f",
          "Answers": "sample string 2"
        },
        {
          "Id": "5795e16b-95f7-405d-9cc0-c4ee34271a4f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a3f1baf4-f978-4d21-a16d-59a5a232461d",
      "ContentItemId": "93b5e7a5-98b6-467e-8765-4dc93b4434eb",
      "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-03-28T15:51:28.3082455+00:00",
      "RescheduleDate": "2026-03-28T15:51:28.3082455+00:00"
    },
    {
      "Id": "a3f1baf4-f978-4d21-a16d-59a5a232461d",
      "ContentItemId": "93b5e7a5-98b6-467e-8765-4dc93b4434eb",
      "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-03-28T15:51:28.3082455+00:00",
      "RescheduleDate": "2026-03-28T15:51:28.3082455+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}