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": "03f6f921-3efd-4faa-9a16-084a583c8205",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-17T22:04:44.8477064+00:00",
  "Registration": {
    "Id": "877bd907-d55c-42ca-a1ad-0ac4c562aaff",
    "UserId": "e67565cc-fe22-4d27-9cbb-2684e9a18fac",
    "IsCurrent": true,
    "CenterId": "f73b1633-da11-48bc-9082-e3732add849c",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "2a68962a-e7de-43cd-9b80-e3868c3e52aa",
    "EndDate": "2026-04-17T22:04:44.8477064+00:00",
    "StartDate": "2026-04-17T22:04:44.8477064+00:00",
    "SchedulePreferenceDate": "2026-04-17T22:04:44.8477064+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-04-17T22:04:44.8477064+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "34c603da-d2b8-4e76-81f2-95787571340d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d1a01442-7cbf-4335-86be-b3cd9cc3fd1f",
      "Sequence": 1,
      "AncestorCategoryId": "837a9813-6b6d-49aa-8ab6-f80c3d830cd8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "352e6873-4fbd-44ca-8016-51d197d86cbc",
          "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": "352e6873-4fbd-44ca-8016-51d197d86cbc",
          "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": "34c603da-d2b8-4e76-81f2-95787571340d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d1a01442-7cbf-4335-86be-b3cd9cc3fd1f",
      "Sequence": 1,
      "AncestorCategoryId": "837a9813-6b6d-49aa-8ab6-f80c3d830cd8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "352e6873-4fbd-44ca-8016-51d197d86cbc",
          "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": "352e6873-4fbd-44ca-8016-51d197d86cbc",
          "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": "1c32b9df-62a5-4d45-b68d-17644a5b66d0",
    "CategoryId": "31307eeb-a8dd-4389-aba6-91ade277ec2c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "97a4c04c-e1c6-4c69-a294-cc0b23e390c8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "97a4c04c-e1c6-4c69-a294-cc0b23e390c8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c524d685-ea98-43a8-a969-8222b1fd8171",
      "Questions": [
        {
          "Id": "f783d844-fef0-48d2-8ccc-75c7a00d903b",
          "Answers": "sample string 2"
        },
        {
          "Id": "f783d844-fef0-48d2-8ccc-75c7a00d903b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c524d685-ea98-43a8-a969-8222b1fd8171",
      "Questions": [
        {
          "Id": "f783d844-fef0-48d2-8ccc-75c7a00d903b",
          "Answers": "sample string 2"
        },
        {
          "Id": "f783d844-fef0-48d2-8ccc-75c7a00d903b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a15ac801-83e7-4292-8579-a1df23836af1",
      "ContentItemId": "9b8ff49d-5bef-4eca-97e4-2c06965c3d3f",
      "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-04-17T22:04:44.8477064+00:00",
      "RescheduleDate": "2026-04-17T22:04:44.8477064+00:00"
    },
    {
      "Id": "a15ac801-83e7-4292-8579-a1df23836af1",
      "ContentItemId": "9b8ff49d-5bef-4eca-97e4-2c06965c3d3f",
      "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-04-17T22:04:44.8477064+00:00",
      "RescheduleDate": "2026-04-17T22:04:44.8477064+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "03f6f921-3efd-4faa-9a16-084a583c8205",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-17T22:04:44.8789577+00:00",
  "Registration": {
    "Id": "877bd907-d55c-42ca-a1ad-0ac4c562aaff",
    "UserId": "e67565cc-fe22-4d27-9cbb-2684e9a18fac",
    "IsCurrent": true,
    "CenterId": "f73b1633-da11-48bc-9082-e3732add849c",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "2a68962a-e7de-43cd-9b80-e3868c3e52aa",
    "EndDate": "2026-04-17T22:04:44.8477064+00:00",
    "StartDate": "2026-04-17T22:04:44.8477064+00:00",
    "SchedulePreferenceDate": "2026-04-17T22:04:44.8477064+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-04-17T22:04:44.8477064+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "34c603da-d2b8-4e76-81f2-95787571340d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d1a01442-7cbf-4335-86be-b3cd9cc3fd1f",
      "Sequence": 1,
      "AncestorCategoryId": "837a9813-6b6d-49aa-8ab6-f80c3d830cd8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "352e6873-4fbd-44ca-8016-51d197d86cbc",
          "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": "352e6873-4fbd-44ca-8016-51d197d86cbc",
          "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": "34c603da-d2b8-4e76-81f2-95787571340d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d1a01442-7cbf-4335-86be-b3cd9cc3fd1f",
      "Sequence": 1,
      "AncestorCategoryId": "837a9813-6b6d-49aa-8ab6-f80c3d830cd8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "352e6873-4fbd-44ca-8016-51d197d86cbc",
          "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": "352e6873-4fbd-44ca-8016-51d197d86cbc",
          "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": "1c32b9df-62a5-4d45-b68d-17644a5b66d0",
    "CategoryId": "31307eeb-a8dd-4389-aba6-91ade277ec2c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "97a4c04c-e1c6-4c69-a294-cc0b23e390c8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "97a4c04c-e1c6-4c69-a294-cc0b23e390c8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c524d685-ea98-43a8-a969-8222b1fd8171",
      "Questions": [
        {
          "Id": "f783d844-fef0-48d2-8ccc-75c7a00d903b",
          "Answers": "sample string 2"
        },
        {
          "Id": "f783d844-fef0-48d2-8ccc-75c7a00d903b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c524d685-ea98-43a8-a969-8222b1fd8171",
      "Questions": [
        {
          "Id": "f783d844-fef0-48d2-8ccc-75c7a00d903b",
          "Answers": "sample string 2"
        },
        {
          "Id": "f783d844-fef0-48d2-8ccc-75c7a00d903b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a15ac801-83e7-4292-8579-a1df23836af1",
      "ContentItemId": "9b8ff49d-5bef-4eca-97e4-2c06965c3d3f",
      "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-04-17T22:04:44.8477064+00:00",
      "RescheduleDate": "2026-04-17T22:04:44.8477064+00:00"
    },
    {
      "Id": "a15ac801-83e7-4292-8579-a1df23836af1",
      "ContentItemId": "9b8ff49d-5bef-4eca-97e4-2c06965c3d3f",
      "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-04-17T22:04:44.8477064+00:00",
      "RescheduleDate": "2026-04-17T22:04:44.8477064+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}