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": "b771605e-36ce-4c70-ae7a-1076142dcd42",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-23T13:07:54.4719444+00:00",
  "Registration": {
    "Id": "b64d4f09-eaf6-4d9d-96b9-1671ff35edd6",
    "UserId": "48a0533a-a812-43d0-906f-1204bc087f70",
    "IsCurrent": true,
    "CenterId": "b9ff13a1-323e-4186-b4f4-456456e51e9a",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d5728d03-8dc5-4440-b231-bdffb77a55a9",
    "EndDate": "2026-10-23T13:07:54.4563237+00:00",
    "StartDate": "2026-10-23T13:07:54.4563237+00:00",
    "SchedulePreferenceDate": "2026-10-23T13:07:54.4563237+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-23T13:07:54.4563237+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f8190c2a-69d3-4572-9db9-be90ac8363fd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e915cf40-23d5-4165-b36d-b0b79bbbe948",
      "Sequence": 1,
      "AncestorCategoryId": "fdf4883b-42de-4fb7-a901-dba5fd0dc2d9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4bfb25bd-81bd-4a4c-a409-294d9a197645",
          "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": "4bfb25bd-81bd-4a4c-a409-294d9a197645",
          "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": "f8190c2a-69d3-4572-9db9-be90ac8363fd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e915cf40-23d5-4165-b36d-b0b79bbbe948",
      "Sequence": 1,
      "AncestorCategoryId": "fdf4883b-42de-4fb7-a901-dba5fd0dc2d9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4bfb25bd-81bd-4a4c-a409-294d9a197645",
          "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": "4bfb25bd-81bd-4a4c-a409-294d9a197645",
          "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": "2d9ec81c-c0c6-4e54-af5c-556e81fcedea",
    "CategoryId": "81f05245-4d3f-41f5-95d0-d3bb06bce493",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d8d233d5-6c63-4064-9d86-b94430bc49c0",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d8d233d5-6c63-4064-9d86-b94430bc49c0",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "3a61dcc5-5466-4d78-86b1-ccf969f08a2a",
      "Questions": [
        {
          "Id": "3f2b2eec-15af-487b-a1eb-925d21ab85b7",
          "Answers": "sample string 2"
        },
        {
          "Id": "3f2b2eec-15af-487b-a1eb-925d21ab85b7",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "3a61dcc5-5466-4d78-86b1-ccf969f08a2a",
      "Questions": [
        {
          "Id": "3f2b2eec-15af-487b-a1eb-925d21ab85b7",
          "Answers": "sample string 2"
        },
        {
          "Id": "3f2b2eec-15af-487b-a1eb-925d21ab85b7",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a8413d85-a2eb-48e4-8d05-c7f765f32504",
      "ContentItemId": "e51a3c3b-c70b-404d-a9bf-7a9f49a01c82",
      "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-23T13:07:54.4563237+00:00",
      "RescheduleDate": "2026-10-23T13:07:54.4563237+00:00"
    },
    {
      "Id": "a8413d85-a2eb-48e4-8d05-c7f765f32504",
      "ContentItemId": "e51a3c3b-c70b-404d-a9bf-7a9f49a01c82",
      "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-23T13:07:54.4563237+00:00",
      "RescheduleDate": "2026-10-23T13:07:54.4563237+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "b771605e-36ce-4c70-ae7a-1076142dcd42",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-23T13:07:54.4875721+00:00",
  "Registration": {
    "Id": "b64d4f09-eaf6-4d9d-96b9-1671ff35edd6",
    "UserId": "48a0533a-a812-43d0-906f-1204bc087f70",
    "IsCurrent": true,
    "CenterId": "b9ff13a1-323e-4186-b4f4-456456e51e9a",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d5728d03-8dc5-4440-b231-bdffb77a55a9",
    "EndDate": "2026-10-23T13:07:54.4563237+00:00",
    "StartDate": "2026-10-23T13:07:54.4563237+00:00",
    "SchedulePreferenceDate": "2026-10-23T13:07:54.4563237+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-23T13:07:54.4563237+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f8190c2a-69d3-4572-9db9-be90ac8363fd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e915cf40-23d5-4165-b36d-b0b79bbbe948",
      "Sequence": 1,
      "AncestorCategoryId": "fdf4883b-42de-4fb7-a901-dba5fd0dc2d9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4bfb25bd-81bd-4a4c-a409-294d9a197645",
          "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": "4bfb25bd-81bd-4a4c-a409-294d9a197645",
          "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": "f8190c2a-69d3-4572-9db9-be90ac8363fd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e915cf40-23d5-4165-b36d-b0b79bbbe948",
      "Sequence": 1,
      "AncestorCategoryId": "fdf4883b-42de-4fb7-a901-dba5fd0dc2d9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4bfb25bd-81bd-4a4c-a409-294d9a197645",
          "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": "4bfb25bd-81bd-4a4c-a409-294d9a197645",
          "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": "2d9ec81c-c0c6-4e54-af5c-556e81fcedea",
    "CategoryId": "81f05245-4d3f-41f5-95d0-d3bb06bce493",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d8d233d5-6c63-4064-9d86-b94430bc49c0",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d8d233d5-6c63-4064-9d86-b94430bc49c0",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "3a61dcc5-5466-4d78-86b1-ccf969f08a2a",
      "Questions": [
        {
          "Id": "3f2b2eec-15af-487b-a1eb-925d21ab85b7",
          "Answers": "sample string 2"
        },
        {
          "Id": "3f2b2eec-15af-487b-a1eb-925d21ab85b7",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "3a61dcc5-5466-4d78-86b1-ccf969f08a2a",
      "Questions": [
        {
          "Id": "3f2b2eec-15af-487b-a1eb-925d21ab85b7",
          "Answers": "sample string 2"
        },
        {
          "Id": "3f2b2eec-15af-487b-a1eb-925d21ab85b7",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a8413d85-a2eb-48e4-8d05-c7f765f32504",
      "ContentItemId": "e51a3c3b-c70b-404d-a9bf-7a9f49a01c82",
      "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-23T13:07:54.4563237+00:00",
      "RescheduleDate": "2026-10-23T13:07:54.4563237+00:00"
    },
    {
      "Id": "a8413d85-a2eb-48e4-8d05-c7f765f32504",
      "ContentItemId": "e51a3c3b-c70b-404d-a9bf-7a9f49a01c82",
      "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-23T13:07:54.4563237+00:00",
      "RescheduleDate": "2026-10-23T13:07:54.4563237+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}