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": "b9665c25-fc92-4d81-8968-054c9ed50ca1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-22T11:24:03.8084553+00:00",
  "Registration": {
    "Id": "96be2929-2101-4e8c-af9b-b9535e7c1236",
    "UserId": "d0b145ea-1f88-40cc-8d9f-4ef35645b736",
    "IsCurrent": true,
    "CenterId": "bbe5aa5f-75ee-4e8b-964c-e5834a8f806a",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a8c92539-de31-4b8f-9415-6d0edb42e64b",
    "EndDate": "2026-10-22T11:24:03.8084553+00:00",
    "StartDate": "2026-10-22T11:24:03.8084553+00:00",
    "SchedulePreferenceDate": "2026-10-22T11:24:03.8084553+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-22T11:24:03.8084553+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "18778157-2d66-446c-9915-0fd84659c9d4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f744e8ae-c33e-472b-afe4-814ec61680e7",
      "Sequence": 1,
      "AncestorCategoryId": "bf654e81-d853-4098-a17b-289ddddbdada",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a6f1ba1d-7c30-4187-9681-bc65817be5b8",
          "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": "a6f1ba1d-7c30-4187-9681-bc65817be5b8",
          "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": "18778157-2d66-446c-9915-0fd84659c9d4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f744e8ae-c33e-472b-afe4-814ec61680e7",
      "Sequence": 1,
      "AncestorCategoryId": "bf654e81-d853-4098-a17b-289ddddbdada",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a6f1ba1d-7c30-4187-9681-bc65817be5b8",
          "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": "a6f1ba1d-7c30-4187-9681-bc65817be5b8",
          "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": "e458533f-aab6-464b-834b-66780c67c4a7",
    "CategoryId": "08a12657-6c59-42c4-a077-b09478224809",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "49e0467d-0ae2-4ac1-9762-b33fcbc46579",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "49e0467d-0ae2-4ac1-9762-b33fcbc46579",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "02c9713f-2d01-45e7-a919-0ab5b1bfaf34",
      "Questions": [
        {
          "Id": "ecec44a8-9f1b-47c1-861a-141da629cebf",
          "Answers": "sample string 2"
        },
        {
          "Id": "ecec44a8-9f1b-47c1-861a-141da629cebf",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "02c9713f-2d01-45e7-a919-0ab5b1bfaf34",
      "Questions": [
        {
          "Id": "ecec44a8-9f1b-47c1-861a-141da629cebf",
          "Answers": "sample string 2"
        },
        {
          "Id": "ecec44a8-9f1b-47c1-861a-141da629cebf",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a5d7e21d-ab19-4d9c-a471-aa1f647083ca",
      "ContentItemId": "e1c4932c-99c7-40ac-89e8-1f29b3af99b0",
      "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-22T11:24:03.8084553+00:00",
      "RescheduleDate": "2026-10-22T11:24:03.8084553+00:00"
    },
    {
      "Id": "a5d7e21d-ab19-4d9c-a471-aa1f647083ca",
      "ContentItemId": "e1c4932c-99c7-40ac-89e8-1f29b3af99b0",
      "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-22T11:24:03.8084553+00:00",
      "RescheduleDate": "2026-10-22T11:24:03.8084553+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "b9665c25-fc92-4d81-8968-054c9ed50ca1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-22T11:24:03.8553352+00:00",
  "Registration": {
    "Id": "96be2929-2101-4e8c-af9b-b9535e7c1236",
    "UserId": "d0b145ea-1f88-40cc-8d9f-4ef35645b736",
    "IsCurrent": true,
    "CenterId": "bbe5aa5f-75ee-4e8b-964c-e5834a8f806a",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a8c92539-de31-4b8f-9415-6d0edb42e64b",
    "EndDate": "2026-10-22T11:24:03.8084553+00:00",
    "StartDate": "2026-10-22T11:24:03.8084553+00:00",
    "SchedulePreferenceDate": "2026-10-22T11:24:03.8084553+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-22T11:24:03.8084553+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "18778157-2d66-446c-9915-0fd84659c9d4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f744e8ae-c33e-472b-afe4-814ec61680e7",
      "Sequence": 1,
      "AncestorCategoryId": "bf654e81-d853-4098-a17b-289ddddbdada",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a6f1ba1d-7c30-4187-9681-bc65817be5b8",
          "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": "a6f1ba1d-7c30-4187-9681-bc65817be5b8",
          "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": "18778157-2d66-446c-9915-0fd84659c9d4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f744e8ae-c33e-472b-afe4-814ec61680e7",
      "Sequence": 1,
      "AncestorCategoryId": "bf654e81-d853-4098-a17b-289ddddbdada",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a6f1ba1d-7c30-4187-9681-bc65817be5b8",
          "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": "a6f1ba1d-7c30-4187-9681-bc65817be5b8",
          "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": "e458533f-aab6-464b-834b-66780c67c4a7",
    "CategoryId": "08a12657-6c59-42c4-a077-b09478224809",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "49e0467d-0ae2-4ac1-9762-b33fcbc46579",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "49e0467d-0ae2-4ac1-9762-b33fcbc46579",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "02c9713f-2d01-45e7-a919-0ab5b1bfaf34",
      "Questions": [
        {
          "Id": "ecec44a8-9f1b-47c1-861a-141da629cebf",
          "Answers": "sample string 2"
        },
        {
          "Id": "ecec44a8-9f1b-47c1-861a-141da629cebf",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "02c9713f-2d01-45e7-a919-0ab5b1bfaf34",
      "Questions": [
        {
          "Id": "ecec44a8-9f1b-47c1-861a-141da629cebf",
          "Answers": "sample string 2"
        },
        {
          "Id": "ecec44a8-9f1b-47c1-861a-141da629cebf",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a5d7e21d-ab19-4d9c-a471-aa1f647083ca",
      "ContentItemId": "e1c4932c-99c7-40ac-89e8-1f29b3af99b0",
      "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-22T11:24:03.8084553+00:00",
      "RescheduleDate": "2026-10-22T11:24:03.8084553+00:00"
    },
    {
      "Id": "a5d7e21d-ab19-4d9c-a471-aa1f647083ca",
      "ContentItemId": "e1c4932c-99c7-40ac-89e8-1f29b3af99b0",
      "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-22T11:24:03.8084553+00:00",
      "RescheduleDate": "2026-10-22T11:24:03.8084553+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}