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": "8e4d69dd-fce3-44fb-83af-02e544c5de2b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-21T05:19:34.4076234+00:00",
  "Registration": {
    "Id": "8b1209c0-da2d-4f92-b3e9-9aa42fd2e189",
    "UserId": "b322a2fd-cb29-4ebe-a2dc-8e88e8457259",
    "IsCurrent": true,
    "CenterId": "14a2be4c-cb77-437c-ae37-d9e853fc3fff",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c90de164-1b6f-4aa7-8952-66ecb6afa506",
    "EndDate": "2026-03-21T05:19:34.3919921+00:00",
    "StartDate": "2026-03-21T05:19:34.3919921+00:00",
    "SchedulePreferenceDate": "2026-03-21T05:19:34.3919921+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-21T05:19:34.3919921+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "66126b6f-3914-49b3-88c4-75bd558cc136",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f401805f-d333-4b7e-bcc5-abb018a46f15",
      "Sequence": 1,
      "AncestorCategoryId": "b5143449-d033-46a0-be46-d4d72a6ae1d1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0d556f05-e8b3-4088-b75f-fbdd644a978a",
          "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": "0d556f05-e8b3-4088-b75f-fbdd644a978a",
          "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": "66126b6f-3914-49b3-88c4-75bd558cc136",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f401805f-d333-4b7e-bcc5-abb018a46f15",
      "Sequence": 1,
      "AncestorCategoryId": "b5143449-d033-46a0-be46-d4d72a6ae1d1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0d556f05-e8b3-4088-b75f-fbdd644a978a",
          "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": "0d556f05-e8b3-4088-b75f-fbdd644a978a",
          "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": "77ac2e87-6f31-4b62-af3e-ad1075a61e96",
    "CategoryId": "89925cb3-6e29-4e48-ab1b-35a2ad1b1dd5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5810936f-83b1-44e0-a901-99ec779f6162",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5810936f-83b1-44e0-a901-99ec779f6162",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "bc87a48f-57fd-4b25-a102-af012eaff449",
      "Questions": [
        {
          "Id": "7eb0b4c5-be53-4316-8b63-e69579c35656",
          "Answers": "sample string 2"
        },
        {
          "Id": "7eb0b4c5-be53-4316-8b63-e69579c35656",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "bc87a48f-57fd-4b25-a102-af012eaff449",
      "Questions": [
        {
          "Id": "7eb0b4c5-be53-4316-8b63-e69579c35656",
          "Answers": "sample string 2"
        },
        {
          "Id": "7eb0b4c5-be53-4316-8b63-e69579c35656",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5e41d57a-7e7a-4c81-8d12-f86526266e71",
      "ContentItemId": "b6fb09d1-b60f-4ec1-85ee-fe69da02db55",
      "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-21T05:19:34.3919921+00:00",
      "RescheduleDate": "2026-03-21T05:19:34.3919921+00:00"
    },
    {
      "Id": "5e41d57a-7e7a-4c81-8d12-f86526266e71",
      "ContentItemId": "b6fb09d1-b60f-4ec1-85ee-fe69da02db55",
      "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-21T05:19:34.3919921+00:00",
      "RescheduleDate": "2026-03-21T05:19:34.3919921+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "8e4d69dd-fce3-44fb-83af-02e544c5de2b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-21T05:19:34.4388655+00:00",
  "Registration": {
    "Id": "8b1209c0-da2d-4f92-b3e9-9aa42fd2e189",
    "UserId": "b322a2fd-cb29-4ebe-a2dc-8e88e8457259",
    "IsCurrent": true,
    "CenterId": "14a2be4c-cb77-437c-ae37-d9e853fc3fff",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c90de164-1b6f-4aa7-8952-66ecb6afa506",
    "EndDate": "2026-03-21T05:19:34.3919921+00:00",
    "StartDate": "2026-03-21T05:19:34.3919921+00:00",
    "SchedulePreferenceDate": "2026-03-21T05:19:34.3919921+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-21T05:19:34.3919921+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "66126b6f-3914-49b3-88c4-75bd558cc136",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f401805f-d333-4b7e-bcc5-abb018a46f15",
      "Sequence": 1,
      "AncestorCategoryId": "b5143449-d033-46a0-be46-d4d72a6ae1d1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0d556f05-e8b3-4088-b75f-fbdd644a978a",
          "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": "0d556f05-e8b3-4088-b75f-fbdd644a978a",
          "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": "66126b6f-3914-49b3-88c4-75bd558cc136",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f401805f-d333-4b7e-bcc5-abb018a46f15",
      "Sequence": 1,
      "AncestorCategoryId": "b5143449-d033-46a0-be46-d4d72a6ae1d1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0d556f05-e8b3-4088-b75f-fbdd644a978a",
          "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": "0d556f05-e8b3-4088-b75f-fbdd644a978a",
          "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": "77ac2e87-6f31-4b62-af3e-ad1075a61e96",
    "CategoryId": "89925cb3-6e29-4e48-ab1b-35a2ad1b1dd5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5810936f-83b1-44e0-a901-99ec779f6162",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5810936f-83b1-44e0-a901-99ec779f6162",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "bc87a48f-57fd-4b25-a102-af012eaff449",
      "Questions": [
        {
          "Id": "7eb0b4c5-be53-4316-8b63-e69579c35656",
          "Answers": "sample string 2"
        },
        {
          "Id": "7eb0b4c5-be53-4316-8b63-e69579c35656",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "bc87a48f-57fd-4b25-a102-af012eaff449",
      "Questions": [
        {
          "Id": "7eb0b4c5-be53-4316-8b63-e69579c35656",
          "Answers": "sample string 2"
        },
        {
          "Id": "7eb0b4c5-be53-4316-8b63-e69579c35656",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5e41d57a-7e7a-4c81-8d12-f86526266e71",
      "ContentItemId": "b6fb09d1-b60f-4ec1-85ee-fe69da02db55",
      "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-21T05:19:34.3919921+00:00",
      "RescheduleDate": "2026-03-21T05:19:34.3919921+00:00"
    },
    {
      "Id": "5e41d57a-7e7a-4c81-8d12-f86526266e71",
      "ContentItemId": "b6fb09d1-b60f-4ec1-85ee-fe69da02db55",
      "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-21T05:19:34.3919921+00:00",
      "RescheduleDate": "2026-03-21T05:19:34.3919921+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}