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": "f9b5e440-5d76-4d71-9205-98ff0c653106",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-20T09:02:17.8504829+00:00",
  "Registration": {
    "Id": "7b02b23f-ab53-4b02-95ce-094e90394289",
    "UserId": "5ce1f27d-c18f-4a4c-ab81-6f2e2e6b7fe0",
    "IsCurrent": true,
    "CenterId": "3a81e19a-77e9-4237-8750-376f8194a761",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c425b5d0-d2c1-4af8-811e-f923fb9f896f",
    "EndDate": "2026-07-20T09:02:17.8504829+00:00",
    "StartDate": "2026-07-20T09:02:17.8504829+00:00",
    "SchedulePreferenceDate": "2026-07-20T09:02:17.8504829+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-07-20T09:02:17.8504829+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c9c911b7-3169-4e76-b771-401c5b9681cd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "667935e7-feaf-475d-880f-7596c11b4913",
      "Sequence": 1,
      "AncestorCategoryId": "8ca34e88-6ddf-47e4-b3f5-59966f46cca4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7c951fd2-243c-478b-81fd-1880d3646437",
          "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": "7c951fd2-243c-478b-81fd-1880d3646437",
          "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": "c9c911b7-3169-4e76-b771-401c5b9681cd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "667935e7-feaf-475d-880f-7596c11b4913",
      "Sequence": 1,
      "AncestorCategoryId": "8ca34e88-6ddf-47e4-b3f5-59966f46cca4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7c951fd2-243c-478b-81fd-1880d3646437",
          "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": "7c951fd2-243c-478b-81fd-1880d3646437",
          "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": "df23561c-460f-4fe8-82eb-171abdfe9271",
    "CategoryId": "714d007b-1a41-406a-aa1f-633f143520d5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "288a72ac-e269-4f9b-a41c-98080cd86575",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "288a72ac-e269-4f9b-a41c-98080cd86575",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "95978d25-1fb6-4e20-aae0-0697b7df00b6",
      "Questions": [
        {
          "Id": "b75098f9-3066-4f87-8f69-07b9ec6962d0",
          "Answers": "sample string 2"
        },
        {
          "Id": "b75098f9-3066-4f87-8f69-07b9ec6962d0",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "95978d25-1fb6-4e20-aae0-0697b7df00b6",
      "Questions": [
        {
          "Id": "b75098f9-3066-4f87-8f69-07b9ec6962d0",
          "Answers": "sample string 2"
        },
        {
          "Id": "b75098f9-3066-4f87-8f69-07b9ec6962d0",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "760e793d-89e4-4f02-b3ae-f60daef3612c",
      "ContentItemId": "f6f57190-ea99-44f3-b370-44f65cec08e0",
      "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-07-20T09:02:17.8504829+00:00",
      "RescheduleDate": "2026-07-20T09:02:17.8504829+00:00"
    },
    {
      "Id": "760e793d-89e4-4f02-b3ae-f60daef3612c",
      "ContentItemId": "f6f57190-ea99-44f3-b370-44f65cec08e0",
      "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-07-20T09:02:17.8504829+00:00",
      "RescheduleDate": "2026-07-20T09:02:17.8504829+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "f9b5e440-5d76-4d71-9205-98ff0c653106",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-20T09:02:17.9129828+00:00",
  "Registration": {
    "Id": "7b02b23f-ab53-4b02-95ce-094e90394289",
    "UserId": "5ce1f27d-c18f-4a4c-ab81-6f2e2e6b7fe0",
    "IsCurrent": true,
    "CenterId": "3a81e19a-77e9-4237-8750-376f8194a761",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c425b5d0-d2c1-4af8-811e-f923fb9f896f",
    "EndDate": "2026-07-20T09:02:17.8504829+00:00",
    "StartDate": "2026-07-20T09:02:17.8504829+00:00",
    "SchedulePreferenceDate": "2026-07-20T09:02:17.8504829+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-07-20T09:02:17.8504829+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c9c911b7-3169-4e76-b771-401c5b9681cd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "667935e7-feaf-475d-880f-7596c11b4913",
      "Sequence": 1,
      "AncestorCategoryId": "8ca34e88-6ddf-47e4-b3f5-59966f46cca4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7c951fd2-243c-478b-81fd-1880d3646437",
          "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": "7c951fd2-243c-478b-81fd-1880d3646437",
          "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": "c9c911b7-3169-4e76-b771-401c5b9681cd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "667935e7-feaf-475d-880f-7596c11b4913",
      "Sequence": 1,
      "AncestorCategoryId": "8ca34e88-6ddf-47e4-b3f5-59966f46cca4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7c951fd2-243c-478b-81fd-1880d3646437",
          "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": "7c951fd2-243c-478b-81fd-1880d3646437",
          "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": "df23561c-460f-4fe8-82eb-171abdfe9271",
    "CategoryId": "714d007b-1a41-406a-aa1f-633f143520d5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "288a72ac-e269-4f9b-a41c-98080cd86575",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "288a72ac-e269-4f9b-a41c-98080cd86575",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "95978d25-1fb6-4e20-aae0-0697b7df00b6",
      "Questions": [
        {
          "Id": "b75098f9-3066-4f87-8f69-07b9ec6962d0",
          "Answers": "sample string 2"
        },
        {
          "Id": "b75098f9-3066-4f87-8f69-07b9ec6962d0",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "95978d25-1fb6-4e20-aae0-0697b7df00b6",
      "Questions": [
        {
          "Id": "b75098f9-3066-4f87-8f69-07b9ec6962d0",
          "Answers": "sample string 2"
        },
        {
          "Id": "b75098f9-3066-4f87-8f69-07b9ec6962d0",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "760e793d-89e4-4f02-b3ae-f60daef3612c",
      "ContentItemId": "f6f57190-ea99-44f3-b370-44f65cec08e0",
      "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-07-20T09:02:17.8504829+00:00",
      "RescheduleDate": "2026-07-20T09:02:17.8504829+00:00"
    },
    {
      "Id": "760e793d-89e4-4f02-b3ae-f60daef3612c",
      "ContentItemId": "f6f57190-ea99-44f3-b370-44f65cec08e0",
      "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-07-20T09:02:17.8504829+00:00",
      "RescheduleDate": "2026-07-20T09:02:17.8504829+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}