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": "92335a8d-5a64-4db9-9003-6c8c549c458c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-21T20:04:59.883947+00:00",
  "Registration": {
    "Id": "845a9143-1cc5-4dbd-8e92-d25ac2f43836",
    "UserId": "d7bf3feb-1379-4a05-9f20-62d31b80d757",
    "IsCurrent": true,
    "CenterId": "a33e4cd1-299c-4b38-b1d8-b48ac00c1b9b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "404f5cee-9c4c-43e9-b17c-3375ecf0ef84",
    "EndDate": "2026-10-21T20:04:59.8683245+00:00",
    "StartDate": "2026-10-21T20:04:59.8683245+00:00",
    "SchedulePreferenceDate": "2026-10-21T20:04:59.8683245+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-21T20:04:59.8683245+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "4416a24d-94b1-45be-b5c2-a0e4e592977b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a5f5c465-c537-4b00-8120-8efe32d2ed93",
      "Sequence": 1,
      "AncestorCategoryId": "5417b869-5588-4a58-a3e6-697d6c33106e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0d19da7e-9cda-4304-b85f-5542ff20e971",
          "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": "0d19da7e-9cda-4304-b85f-5542ff20e971",
          "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": "4416a24d-94b1-45be-b5c2-a0e4e592977b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a5f5c465-c537-4b00-8120-8efe32d2ed93",
      "Sequence": 1,
      "AncestorCategoryId": "5417b869-5588-4a58-a3e6-697d6c33106e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0d19da7e-9cda-4304-b85f-5542ff20e971",
          "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": "0d19da7e-9cda-4304-b85f-5542ff20e971",
          "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": "b33061c4-0f24-4ae9-851e-bc8b8a5f9b64",
    "CategoryId": "1a537a32-29ae-46a7-ab9b-f57a4c104d57",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "816bab5b-6cea-4450-8c26-c743a823dc75",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "816bab5b-6cea-4450-8c26-c743a823dc75",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "be5a744f-d8ee-4f14-a9cf-5374e70d58f7",
      "Questions": [
        {
          "Id": "542f70a2-98db-49c4-bf49-2fb82f7a1223",
          "Answers": "sample string 2"
        },
        {
          "Id": "542f70a2-98db-49c4-bf49-2fb82f7a1223",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "be5a744f-d8ee-4f14-a9cf-5374e70d58f7",
      "Questions": [
        {
          "Id": "542f70a2-98db-49c4-bf49-2fb82f7a1223",
          "Answers": "sample string 2"
        },
        {
          "Id": "542f70a2-98db-49c4-bf49-2fb82f7a1223",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b055a5ea-0ebd-4e9b-8533-057d71727797",
      "ContentItemId": "8f3abdbb-a5e1-4ffe-a6ad-875e5cebb991",
      "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-21T20:04:59.883947+00:00",
      "RescheduleDate": "2026-10-21T20:04:59.883947+00:00"
    },
    {
      "Id": "b055a5ea-0ebd-4e9b-8533-057d71727797",
      "ContentItemId": "8f3abdbb-a5e1-4ffe-a6ad-875e5cebb991",
      "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-21T20:04:59.883947+00:00",
      "RescheduleDate": "2026-10-21T20:04:59.883947+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "92335a8d-5a64-4db9-9003-6c8c549c458c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-21T20:04:59.915199+00:00",
  "Registration": {
    "Id": "845a9143-1cc5-4dbd-8e92-d25ac2f43836",
    "UserId": "d7bf3feb-1379-4a05-9f20-62d31b80d757",
    "IsCurrent": true,
    "CenterId": "a33e4cd1-299c-4b38-b1d8-b48ac00c1b9b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "404f5cee-9c4c-43e9-b17c-3375ecf0ef84",
    "EndDate": "2026-10-21T20:04:59.8683245+00:00",
    "StartDate": "2026-10-21T20:04:59.8683245+00:00",
    "SchedulePreferenceDate": "2026-10-21T20:04:59.8683245+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-21T20:04:59.8683245+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "4416a24d-94b1-45be-b5c2-a0e4e592977b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a5f5c465-c537-4b00-8120-8efe32d2ed93",
      "Sequence": 1,
      "AncestorCategoryId": "5417b869-5588-4a58-a3e6-697d6c33106e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0d19da7e-9cda-4304-b85f-5542ff20e971",
          "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": "0d19da7e-9cda-4304-b85f-5542ff20e971",
          "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": "4416a24d-94b1-45be-b5c2-a0e4e592977b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a5f5c465-c537-4b00-8120-8efe32d2ed93",
      "Sequence": 1,
      "AncestorCategoryId": "5417b869-5588-4a58-a3e6-697d6c33106e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0d19da7e-9cda-4304-b85f-5542ff20e971",
          "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": "0d19da7e-9cda-4304-b85f-5542ff20e971",
          "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": "b33061c4-0f24-4ae9-851e-bc8b8a5f9b64",
    "CategoryId": "1a537a32-29ae-46a7-ab9b-f57a4c104d57",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "816bab5b-6cea-4450-8c26-c743a823dc75",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "816bab5b-6cea-4450-8c26-c743a823dc75",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "be5a744f-d8ee-4f14-a9cf-5374e70d58f7",
      "Questions": [
        {
          "Id": "542f70a2-98db-49c4-bf49-2fb82f7a1223",
          "Answers": "sample string 2"
        },
        {
          "Id": "542f70a2-98db-49c4-bf49-2fb82f7a1223",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "be5a744f-d8ee-4f14-a9cf-5374e70d58f7",
      "Questions": [
        {
          "Id": "542f70a2-98db-49c4-bf49-2fb82f7a1223",
          "Answers": "sample string 2"
        },
        {
          "Id": "542f70a2-98db-49c4-bf49-2fb82f7a1223",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b055a5ea-0ebd-4e9b-8533-057d71727797",
      "ContentItemId": "8f3abdbb-a5e1-4ffe-a6ad-875e5cebb991",
      "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-21T20:04:59.883947+00:00",
      "RescheduleDate": "2026-10-21T20:04:59.883947+00:00"
    },
    {
      "Id": "b055a5ea-0ebd-4e9b-8533-057d71727797",
      "ContentItemId": "8f3abdbb-a5e1-4ffe-a6ad-875e5cebb991",
      "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-21T20:04:59.883947+00:00",
      "RescheduleDate": "2026-10-21T20:04:59.883947+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}