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": "0e2ccfad-eaa1-4a28-a631-ebb3d63d7911",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-13T22:23:03.3426584+00:00",
  "Registration": {
    "Id": "b345156c-0d94-4a0a-97ac-e26de2baddd9",
    "UserId": "99fee812-1425-4d82-9676-5dcb4617c2ba",
    "IsCurrent": true,
    "CenterId": "b16eed89-c4be-4647-9e0e-1df49a7a1fc1",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "ffa43d7d-6b3f-40ba-9976-1d8fee41cff9",
    "EndDate": "2026-02-13T22:23:03.3426584+00:00",
    "StartDate": "2026-02-13T22:23:03.3426584+00:00",
    "SchedulePreferenceDate": "2026-02-13T22:23:03.3426584+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-02-13T22:23:03.3426584+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "06015917-c583-4bae-aa12-cc055eb1ae16",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "170f8765-eaa2-48dc-8724-4ddac084625d",
      "Sequence": 1,
      "AncestorCategoryId": "b6bcc415-75e3-4391-aea3-4774efd38a5c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7b092ba7-231e-47a2-8fbd-000e68720f06",
          "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": "7b092ba7-231e-47a2-8fbd-000e68720f06",
          "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": "06015917-c583-4bae-aa12-cc055eb1ae16",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "170f8765-eaa2-48dc-8724-4ddac084625d",
      "Sequence": 1,
      "AncestorCategoryId": "b6bcc415-75e3-4391-aea3-4774efd38a5c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7b092ba7-231e-47a2-8fbd-000e68720f06",
          "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": "7b092ba7-231e-47a2-8fbd-000e68720f06",
          "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": "719d6339-3cda-49b8-8106-01a3aeb29ff3",
    "CategoryId": "2b34383d-f4a5-4277-b004-0a01143c8cc1",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c02fe5e0-50b8-421d-b9ca-f2312fc7df1b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c02fe5e0-50b8-421d-b9ca-f2312fc7df1b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9cf101e6-2416-4e5a-852c-dd37efcba18c",
      "Questions": [
        {
          "Id": "437b8a20-684b-4b19-be64-6bd3acee8ebe",
          "Answers": "sample string 2"
        },
        {
          "Id": "437b8a20-684b-4b19-be64-6bd3acee8ebe",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9cf101e6-2416-4e5a-852c-dd37efcba18c",
      "Questions": [
        {
          "Id": "437b8a20-684b-4b19-be64-6bd3acee8ebe",
          "Answers": "sample string 2"
        },
        {
          "Id": "437b8a20-684b-4b19-be64-6bd3acee8ebe",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "8de890f2-8d9d-445d-904a-9b4a4ee73ef1",
      "ContentItemId": "30ac7aeb-6578-40b2-9711-e460081be3aa",
      "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-02-13T22:23:03.3426584+00:00",
      "RescheduleDate": "2026-02-13T22:23:03.3426584+00:00"
    },
    {
      "Id": "8de890f2-8d9d-445d-904a-9b4a4ee73ef1",
      "ContentItemId": "30ac7aeb-6578-40b2-9711-e460081be3aa",
      "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-02-13T22:23:03.3426584+00:00",
      "RescheduleDate": "2026-02-13T22:23:03.3426584+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "0e2ccfad-eaa1-4a28-a631-ebb3d63d7911",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-13T22:23:03.4050988+00:00",
  "Registration": {
    "Id": "b345156c-0d94-4a0a-97ac-e26de2baddd9",
    "UserId": "99fee812-1425-4d82-9676-5dcb4617c2ba",
    "IsCurrent": true,
    "CenterId": "b16eed89-c4be-4647-9e0e-1df49a7a1fc1",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "ffa43d7d-6b3f-40ba-9976-1d8fee41cff9",
    "EndDate": "2026-02-13T22:23:03.3426584+00:00",
    "StartDate": "2026-02-13T22:23:03.3426584+00:00",
    "SchedulePreferenceDate": "2026-02-13T22:23:03.3426584+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-02-13T22:23:03.3426584+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "06015917-c583-4bae-aa12-cc055eb1ae16",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "170f8765-eaa2-48dc-8724-4ddac084625d",
      "Sequence": 1,
      "AncestorCategoryId": "b6bcc415-75e3-4391-aea3-4774efd38a5c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7b092ba7-231e-47a2-8fbd-000e68720f06",
          "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": "7b092ba7-231e-47a2-8fbd-000e68720f06",
          "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": "06015917-c583-4bae-aa12-cc055eb1ae16",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "170f8765-eaa2-48dc-8724-4ddac084625d",
      "Sequence": 1,
      "AncestorCategoryId": "b6bcc415-75e3-4391-aea3-4774efd38a5c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7b092ba7-231e-47a2-8fbd-000e68720f06",
          "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": "7b092ba7-231e-47a2-8fbd-000e68720f06",
          "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": "719d6339-3cda-49b8-8106-01a3aeb29ff3",
    "CategoryId": "2b34383d-f4a5-4277-b004-0a01143c8cc1",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c02fe5e0-50b8-421d-b9ca-f2312fc7df1b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c02fe5e0-50b8-421d-b9ca-f2312fc7df1b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9cf101e6-2416-4e5a-852c-dd37efcba18c",
      "Questions": [
        {
          "Id": "437b8a20-684b-4b19-be64-6bd3acee8ebe",
          "Answers": "sample string 2"
        },
        {
          "Id": "437b8a20-684b-4b19-be64-6bd3acee8ebe",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9cf101e6-2416-4e5a-852c-dd37efcba18c",
      "Questions": [
        {
          "Id": "437b8a20-684b-4b19-be64-6bd3acee8ebe",
          "Answers": "sample string 2"
        },
        {
          "Id": "437b8a20-684b-4b19-be64-6bd3acee8ebe",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "8de890f2-8d9d-445d-904a-9b4a4ee73ef1",
      "ContentItemId": "30ac7aeb-6578-40b2-9711-e460081be3aa",
      "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-02-13T22:23:03.3426584+00:00",
      "RescheduleDate": "2026-02-13T22:23:03.3426584+00:00"
    },
    {
      "Id": "8de890f2-8d9d-445d-904a-9b4a4ee73ef1",
      "ContentItemId": "30ac7aeb-6578-40b2-9711-e460081be3aa",
      "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-02-13T22:23:03.3426584+00:00",
      "RescheduleDate": "2026-02-13T22:23:03.3426584+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}