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": "145b8eff-9a25-4867-8fa9-f95ac3c449b6",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-31T20:15:05.0188797+00:00",
  "Registration": [
    {
      "Id": "a7266c3d-95f3-447d-ae57-4dba3dc7114c",
      "UserId": "f0b3fd18-a56e-4c97-8df1-69d782a9b775",
      "IsCurrent": true,
      "CenterId": "5ab33c2a-ef3a-4c62-9676-f27a35981673",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c35274af-a04a-4b65-b9c6-7de8a441679e",
      "EndDate": "2026-01-31T20:15:05.0188797+00:00",
      "StartDate": "2026-01-31T20:15:05.0188797+00:00",
      "SchedulePreferenceDate": "2026-01-31T20:15:05.0188797+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": "a7266c3d-95f3-447d-ae57-4dba3dc7114c",
      "UserId": "f0b3fd18-a56e-4c97-8df1-69d782a9b775",
      "IsCurrent": true,
      "CenterId": "5ab33c2a-ef3a-4c62-9676-f27a35981673",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c35274af-a04a-4b65-b9c6-7de8a441679e",
      "EndDate": "2026-01-31T20:15:05.0188797+00:00",
      "StartDate": "2026-01-31T20:15:05.0188797+00:00",
      "SchedulePreferenceDate": "2026-01-31T20:15:05.0188797+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-01-31T20:15:05.0188797+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9abde401-ff2c-481f-a34a-76339f983f76",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eb911890-d7ad-43a0-92c4-db97938dbef1",
      "Sequence": 1,
      "AncestorCategoryId": "b6c8ac3c-4711-40af-a606-260bbc2f358f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "363b0b9e-eb72-4a28-a8c2-e24e9969eaf0",
          "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": "363b0b9e-eb72-4a28-a8c2-e24e9969eaf0",
          "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": "9abde401-ff2c-481f-a34a-76339f983f76",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eb911890-d7ad-43a0-92c4-db97938dbef1",
      "Sequence": 1,
      "AncestorCategoryId": "b6c8ac3c-4711-40af-a606-260bbc2f358f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "363b0b9e-eb72-4a28-a8c2-e24e9969eaf0",
          "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": "363b0b9e-eb72-4a28-a8c2-e24e9969eaf0",
          "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": "0ab781d6-abaf-4575-a2d0-8577d5bc03e9",
    "CategoryId": "c2e16686-0b8b-4745-89c8-78debb287b20",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d021302e-d4dd-41dc-94c0-ab8a0c577927",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d021302e-d4dd-41dc-94c0-ab8a0c577927",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "8e201b91-e62e-4cbf-8c8d-44af0bf44c25",
      "Questions": [
        {
          "Id": "2992b483-c384-4425-abec-00b147309545",
          "Answers": "sample string 2"
        },
        {
          "Id": "2992b483-c384-4425-abec-00b147309545",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "8e201b91-e62e-4cbf-8c8d-44af0bf44c25",
      "Questions": [
        {
          "Id": "2992b483-c384-4425-abec-00b147309545",
          "Answers": "sample string 2"
        },
        {
          "Id": "2992b483-c384-4425-abec-00b147309545",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "e8febaa2-bd5a-46c6-b24e-fe2387313c78",
      "ContentItemId": "1ab5012c-a539-41ec-a318-0f21c882fa28",
      "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-01-31T20:15:05.0188797+00:00",
      "RescheduleDate": "2026-01-31T20:15:05.0188797+00:00"
    },
    {
      "Id": "e8febaa2-bd5a-46c6-b24e-fe2387313c78",
      "ContentItemId": "1ab5012c-a539-41ec-a318-0f21c882fa28",
      "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-01-31T20:15:05.0188797+00:00",
      "RescheduleDate": "2026-01-31T20:15:05.0188797+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": "145b8eff-9a25-4867-8fa9-f95ac3c449b6",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-31T20:15:05.0500744+00:00",
  "Registration": [
    {
      "Id": "a7266c3d-95f3-447d-ae57-4dba3dc7114c",
      "UserId": "f0b3fd18-a56e-4c97-8df1-69d782a9b775",
      "IsCurrent": true,
      "CenterId": "5ab33c2a-ef3a-4c62-9676-f27a35981673",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c35274af-a04a-4b65-b9c6-7de8a441679e",
      "EndDate": "2026-01-31T20:15:05.0188797+00:00",
      "StartDate": "2026-01-31T20:15:05.0188797+00:00",
      "SchedulePreferenceDate": "2026-01-31T20:15:05.0188797+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": "a7266c3d-95f3-447d-ae57-4dba3dc7114c",
      "UserId": "f0b3fd18-a56e-4c97-8df1-69d782a9b775",
      "IsCurrent": true,
      "CenterId": "5ab33c2a-ef3a-4c62-9676-f27a35981673",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c35274af-a04a-4b65-b9c6-7de8a441679e",
      "EndDate": "2026-01-31T20:15:05.0188797+00:00",
      "StartDate": "2026-01-31T20:15:05.0188797+00:00",
      "SchedulePreferenceDate": "2026-01-31T20:15:05.0188797+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-01-31T20:15:05.0188797+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9abde401-ff2c-481f-a34a-76339f983f76",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eb911890-d7ad-43a0-92c4-db97938dbef1",
      "Sequence": 1,
      "AncestorCategoryId": "b6c8ac3c-4711-40af-a606-260bbc2f358f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "363b0b9e-eb72-4a28-a8c2-e24e9969eaf0",
          "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": "363b0b9e-eb72-4a28-a8c2-e24e9969eaf0",
          "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": "9abde401-ff2c-481f-a34a-76339f983f76",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eb911890-d7ad-43a0-92c4-db97938dbef1",
      "Sequence": 1,
      "AncestorCategoryId": "b6c8ac3c-4711-40af-a606-260bbc2f358f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "363b0b9e-eb72-4a28-a8c2-e24e9969eaf0",
          "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": "363b0b9e-eb72-4a28-a8c2-e24e9969eaf0",
          "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": "0ab781d6-abaf-4575-a2d0-8577d5bc03e9",
    "CategoryId": "c2e16686-0b8b-4745-89c8-78debb287b20",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d021302e-d4dd-41dc-94c0-ab8a0c577927",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d021302e-d4dd-41dc-94c0-ab8a0c577927",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "8e201b91-e62e-4cbf-8c8d-44af0bf44c25",
      "Questions": [
        {
          "Id": "2992b483-c384-4425-abec-00b147309545",
          "Answers": "sample string 2"
        },
        {
          "Id": "2992b483-c384-4425-abec-00b147309545",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "8e201b91-e62e-4cbf-8c8d-44af0bf44c25",
      "Questions": [
        {
          "Id": "2992b483-c384-4425-abec-00b147309545",
          "Answers": "sample string 2"
        },
        {
          "Id": "2992b483-c384-4425-abec-00b147309545",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "e8febaa2-bd5a-46c6-b24e-fe2387313c78",
      "ContentItemId": "1ab5012c-a539-41ec-a318-0f21c882fa28",
      "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-01-31T20:15:05.0188797+00:00",
      "RescheduleDate": "2026-01-31T20:15:05.0188797+00:00"
    },
    {
      "Id": "e8febaa2-bd5a-46c6-b24e-fe2387313c78",
      "ContentItemId": "1ab5012c-a539-41ec-a318-0f21c882fa28",
      "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-01-31T20:15:05.0188797+00:00",
      "RescheduleDate": "2026-01-31T20:15:05.0188797+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}