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": "e0e3e87c-aa2b-4a55-95c8-3afdc1c1c345",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-25T05:48:23.6665197+00:00",
  "Registration": {
    "Id": "90a78465-d557-4089-90f1-6c5aef4d43dd",
    "UserId": "d40029ba-49e3-463c-b48d-07848423b62a",
    "IsCurrent": true,
    "CenterId": "379ed4ff-c297-418c-a49f-55af1a7d50f8",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "470c0b1a-9f58-4bc6-8ea0-d056e5913726",
    "EndDate": "2026-01-25T05:48:23.6665197+00:00",
    "StartDate": "2026-01-25T05:48:23.6665197+00:00",
    "SchedulePreferenceDate": "2026-01-25T05:48:23.6665197+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-01-25T05:48:23.6665197+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "08c0ac0b-cce9-4b73-ba24-184df346d07d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "52ce50ff-c8bb-4f83-9bb9-a860540cf96a",
      "Sequence": 1,
      "AncestorCategoryId": "7f256ec1-7b50-438b-af70-f970687a3544",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2419986a-e548-4a66-afea-884c03d152dd",
          "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": "2419986a-e548-4a66-afea-884c03d152dd",
          "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": "08c0ac0b-cce9-4b73-ba24-184df346d07d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "52ce50ff-c8bb-4f83-9bb9-a860540cf96a",
      "Sequence": 1,
      "AncestorCategoryId": "7f256ec1-7b50-438b-af70-f970687a3544",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2419986a-e548-4a66-afea-884c03d152dd",
          "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": "2419986a-e548-4a66-afea-884c03d152dd",
          "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": "d5144637-aa40-47ec-a88f-ae7fb844b3fe",
    "CategoryId": "d5d4158b-0682-4cb1-8d7c-9e15c76ece5c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0f15b1f6-cc57-4c27-a454-f1e989538414",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0f15b1f6-cc57-4c27-a454-f1e989538414",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "26f213bf-cfa0-4ba8-b0f6-39a7f978595b",
      "Questions": [
        {
          "Id": "ee8bb4e9-14b1-4b05-8d85-0b469bf602dc",
          "Answers": "sample string 2"
        },
        {
          "Id": "ee8bb4e9-14b1-4b05-8d85-0b469bf602dc",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "26f213bf-cfa0-4ba8-b0f6-39a7f978595b",
      "Questions": [
        {
          "Id": "ee8bb4e9-14b1-4b05-8d85-0b469bf602dc",
          "Answers": "sample string 2"
        },
        {
          "Id": "ee8bb4e9-14b1-4b05-8d85-0b469bf602dc",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "37cdaa0c-778c-4153-8663-3101cb4b8f42",
      "ContentItemId": "9c2a5c1b-a009-40a2-9794-f5b23c7ca214",
      "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-01-25T05:48:23.6665197+00:00",
      "RescheduleDate": "2026-01-25T05:48:23.6665197+00:00"
    },
    {
      "Id": "37cdaa0c-778c-4153-8663-3101cb4b8f42",
      "ContentItemId": "9c2a5c1b-a009-40a2-9794-f5b23c7ca214",
      "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-01-25T05:48:23.6665197+00:00",
      "RescheduleDate": "2026-01-25T05:48:23.6665197+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "e0e3e87c-aa2b-4a55-95c8-3afdc1c1c345",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-25T05:48:23.6977729+00:00",
  "Registration": {
    "Id": "90a78465-d557-4089-90f1-6c5aef4d43dd",
    "UserId": "d40029ba-49e3-463c-b48d-07848423b62a",
    "IsCurrent": true,
    "CenterId": "379ed4ff-c297-418c-a49f-55af1a7d50f8",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "470c0b1a-9f58-4bc6-8ea0-d056e5913726",
    "EndDate": "2026-01-25T05:48:23.6665197+00:00",
    "StartDate": "2026-01-25T05:48:23.6665197+00:00",
    "SchedulePreferenceDate": "2026-01-25T05:48:23.6665197+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-01-25T05:48:23.6665197+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "08c0ac0b-cce9-4b73-ba24-184df346d07d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "52ce50ff-c8bb-4f83-9bb9-a860540cf96a",
      "Sequence": 1,
      "AncestorCategoryId": "7f256ec1-7b50-438b-af70-f970687a3544",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2419986a-e548-4a66-afea-884c03d152dd",
          "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": "2419986a-e548-4a66-afea-884c03d152dd",
          "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": "08c0ac0b-cce9-4b73-ba24-184df346d07d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "52ce50ff-c8bb-4f83-9bb9-a860540cf96a",
      "Sequence": 1,
      "AncestorCategoryId": "7f256ec1-7b50-438b-af70-f970687a3544",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2419986a-e548-4a66-afea-884c03d152dd",
          "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": "2419986a-e548-4a66-afea-884c03d152dd",
          "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": "d5144637-aa40-47ec-a88f-ae7fb844b3fe",
    "CategoryId": "d5d4158b-0682-4cb1-8d7c-9e15c76ece5c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0f15b1f6-cc57-4c27-a454-f1e989538414",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0f15b1f6-cc57-4c27-a454-f1e989538414",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "26f213bf-cfa0-4ba8-b0f6-39a7f978595b",
      "Questions": [
        {
          "Id": "ee8bb4e9-14b1-4b05-8d85-0b469bf602dc",
          "Answers": "sample string 2"
        },
        {
          "Id": "ee8bb4e9-14b1-4b05-8d85-0b469bf602dc",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "26f213bf-cfa0-4ba8-b0f6-39a7f978595b",
      "Questions": [
        {
          "Id": "ee8bb4e9-14b1-4b05-8d85-0b469bf602dc",
          "Answers": "sample string 2"
        },
        {
          "Id": "ee8bb4e9-14b1-4b05-8d85-0b469bf602dc",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "37cdaa0c-778c-4153-8663-3101cb4b8f42",
      "ContentItemId": "9c2a5c1b-a009-40a2-9794-f5b23c7ca214",
      "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-01-25T05:48:23.6665197+00:00",
      "RescheduleDate": "2026-01-25T05:48:23.6665197+00:00"
    },
    {
      "Id": "37cdaa0c-778c-4153-8663-3101cb4b8f42",
      "ContentItemId": "9c2a5c1b-a009-40a2-9794-f5b23c7ca214",
      "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-01-25T05:48:23.6665197+00:00",
      "RescheduleDate": "2026-01-25T05:48:23.6665197+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}