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": "48200251-d572-4b64-a599-0b337bec8e9d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-13T15:06:30.9798888+00:00",
  "Registration": {
    "Id": "15f4ab81-76e2-4ad5-86f1-95f60a324fe5",
    "UserId": "28c1bb7a-3c2d-469c-a43c-dce12cb1b299",
    "IsCurrent": true,
    "CenterId": "87c6d209-fb65-43b5-a06f-9db0b1e6a146",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "7d0d4b4b-b112-49e2-b22b-fd5f1fc9a370",
    "EndDate": "2026-11-13T15:06:30.8548927+00:00",
    "StartDate": "2026-11-13T15:06:30.8548927+00:00",
    "SchedulePreferenceDate": "2026-11-13T15:06:30.8548927+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-11-13T15:06:30.8548927+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "7bb297a4-11bd-479d-83c6-4622891f0d71",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4662b91f-bf90-430f-9605-02f0b01d4472",
      "Sequence": 1,
      "AncestorCategoryId": "1ee94972-8b7f-42cd-9c8b-0681fed7fa33",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "30a9af01-30c4-456e-8dd8-d1aee2999d20",
          "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": "30a9af01-30c4-456e-8dd8-d1aee2999d20",
          "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": "7bb297a4-11bd-479d-83c6-4622891f0d71",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4662b91f-bf90-430f-9605-02f0b01d4472",
      "Sequence": 1,
      "AncestorCategoryId": "1ee94972-8b7f-42cd-9c8b-0681fed7fa33",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "30a9af01-30c4-456e-8dd8-d1aee2999d20",
          "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": "30a9af01-30c4-456e-8dd8-d1aee2999d20",
          "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": "4f28e59c-b6db-4b46-b605-c06060611862",
    "CategoryId": "1c4f4811-6832-46f2-99cd-ef21c23bc200",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "05ee34b9-291a-4c23-8b98-099b4562e1cb",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "05ee34b9-291a-4c23-8b98-099b4562e1cb",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b67971c9-d353-4ac2-99f5-d1bce391d804",
      "Questions": [
        {
          "Id": "4aeec649-85b9-4efb-b68b-4be76280d0ce",
          "Answers": "sample string 2"
        },
        {
          "Id": "4aeec649-85b9-4efb-b68b-4be76280d0ce",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b67971c9-d353-4ac2-99f5-d1bce391d804",
      "Questions": [
        {
          "Id": "4aeec649-85b9-4efb-b68b-4be76280d0ce",
          "Answers": "sample string 2"
        },
        {
          "Id": "4aeec649-85b9-4efb-b68b-4be76280d0ce",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b28538d2-4cf5-4de4-9eed-73490eddaec9",
      "ContentItemId": "06f023f5-7cb7-42d7-8657-458bd29d9f8a",
      "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-11-13T15:06:30.8548927+00:00",
      "RescheduleDate": "2026-11-13T15:06:30.8548927+00:00"
    },
    {
      "Id": "b28538d2-4cf5-4de4-9eed-73490eddaec9",
      "ContentItemId": "06f023f5-7cb7-42d7-8657-458bd29d9f8a",
      "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-11-13T15:06:30.8548927+00:00",
      "RescheduleDate": "2026-11-13T15:06:30.8548927+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "48200251-d572-4b64-a599-0b337bec8e9d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-13T15:06:31.0111416+00:00",
  "Registration": {
    "Id": "15f4ab81-76e2-4ad5-86f1-95f60a324fe5",
    "UserId": "28c1bb7a-3c2d-469c-a43c-dce12cb1b299",
    "IsCurrent": true,
    "CenterId": "87c6d209-fb65-43b5-a06f-9db0b1e6a146",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "7d0d4b4b-b112-49e2-b22b-fd5f1fc9a370",
    "EndDate": "2026-11-13T15:06:30.8548927+00:00",
    "StartDate": "2026-11-13T15:06:30.8548927+00:00",
    "SchedulePreferenceDate": "2026-11-13T15:06:30.8548927+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-11-13T15:06:30.8548927+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "7bb297a4-11bd-479d-83c6-4622891f0d71",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4662b91f-bf90-430f-9605-02f0b01d4472",
      "Sequence": 1,
      "AncestorCategoryId": "1ee94972-8b7f-42cd-9c8b-0681fed7fa33",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "30a9af01-30c4-456e-8dd8-d1aee2999d20",
          "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": "30a9af01-30c4-456e-8dd8-d1aee2999d20",
          "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": "7bb297a4-11bd-479d-83c6-4622891f0d71",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4662b91f-bf90-430f-9605-02f0b01d4472",
      "Sequence": 1,
      "AncestorCategoryId": "1ee94972-8b7f-42cd-9c8b-0681fed7fa33",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "30a9af01-30c4-456e-8dd8-d1aee2999d20",
          "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": "30a9af01-30c4-456e-8dd8-d1aee2999d20",
          "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": "4f28e59c-b6db-4b46-b605-c06060611862",
    "CategoryId": "1c4f4811-6832-46f2-99cd-ef21c23bc200",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "05ee34b9-291a-4c23-8b98-099b4562e1cb",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "05ee34b9-291a-4c23-8b98-099b4562e1cb",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b67971c9-d353-4ac2-99f5-d1bce391d804",
      "Questions": [
        {
          "Id": "4aeec649-85b9-4efb-b68b-4be76280d0ce",
          "Answers": "sample string 2"
        },
        {
          "Id": "4aeec649-85b9-4efb-b68b-4be76280d0ce",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b67971c9-d353-4ac2-99f5-d1bce391d804",
      "Questions": [
        {
          "Id": "4aeec649-85b9-4efb-b68b-4be76280d0ce",
          "Answers": "sample string 2"
        },
        {
          "Id": "4aeec649-85b9-4efb-b68b-4be76280d0ce",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b28538d2-4cf5-4de4-9eed-73490eddaec9",
      "ContentItemId": "06f023f5-7cb7-42d7-8657-458bd29d9f8a",
      "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-11-13T15:06:30.8548927+00:00",
      "RescheduleDate": "2026-11-13T15:06:30.8548927+00:00"
    },
    {
      "Id": "b28538d2-4cf5-4de4-9eed-73490eddaec9",
      "ContentItemId": "06f023f5-7cb7-42d7-8657-458bd29d9f8a",
      "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-11-13T15:06:30.8548927+00:00",
      "RescheduleDate": "2026-11-13T15:06:30.8548927+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}