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": "862af06f-938c-4d00-9bad-9f1ca10707fb",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-18T07:56:55.9257662+00:00",
  "Registration": {
    "Id": "ff429b33-6894-44d0-a360-2f123cd826b9",
    "UserId": "e50e641f-bf2a-4a09-892f-e44d2162fe96",
    "IsCurrent": true,
    "CenterId": "dcb6344f-15d3-4351-98c7-ec3c6c674d1a",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "39d3a02e-929c-492b-b864-aefdaf98d504",
    "EndDate": "2026-06-18T07:56:55.910137+00:00",
    "StartDate": "2026-06-18T07:56:55.910137+00:00",
    "SchedulePreferenceDate": "2026-06-18T07:56:55.910137+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-06-18T07:56:55.910137+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c5760e79-5dc1-4b93-8319-ba0a37f5daa9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "87ae73a3-3187-45b1-a9b0-280d5edeafe9",
      "Sequence": 1,
      "AncestorCategoryId": "37dbaed3-5650-4ce9-91b8-2c337a58abb1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22b7c3e1-b0c9-4d38-b185-154fe67306b9",
          "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": "22b7c3e1-b0c9-4d38-b185-154fe67306b9",
          "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": "c5760e79-5dc1-4b93-8319-ba0a37f5daa9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "87ae73a3-3187-45b1-a9b0-280d5edeafe9",
      "Sequence": 1,
      "AncestorCategoryId": "37dbaed3-5650-4ce9-91b8-2c337a58abb1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22b7c3e1-b0c9-4d38-b185-154fe67306b9",
          "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": "22b7c3e1-b0c9-4d38-b185-154fe67306b9",
          "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": "df80f322-0fa1-4583-90a9-6342efe123a2",
    "CategoryId": "9ef37bee-e454-4249-88fa-97394401658a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0c0ec046-b105-475b-9d0f-8946ea597d50",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0c0ec046-b105-475b-9d0f-8946ea597d50",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c3d9abdc-5347-4dd9-8b93-242ba5a07c5a",
      "Questions": [
        {
          "Id": "178c4058-2155-4e03-ac86-5569fce49722",
          "Answers": "sample string 2"
        },
        {
          "Id": "178c4058-2155-4e03-ac86-5569fce49722",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c3d9abdc-5347-4dd9-8b93-242ba5a07c5a",
      "Questions": [
        {
          "Id": "178c4058-2155-4e03-ac86-5569fce49722",
          "Answers": "sample string 2"
        },
        {
          "Id": "178c4058-2155-4e03-ac86-5569fce49722",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5f484bf3-07d9-4709-bdb6-3ed76a86102a",
      "ContentItemId": "67a71710-09b2-42b9-9cce-bc04bf17fb92",
      "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-06-18T07:56:55.910137+00:00",
      "RescheduleDate": "2026-06-18T07:56:55.910137+00:00"
    },
    {
      "Id": "5f484bf3-07d9-4709-bdb6-3ed76a86102a",
      "ContentItemId": "67a71710-09b2-42b9-9cce-bc04bf17fb92",
      "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-06-18T07:56:55.910137+00:00",
      "RescheduleDate": "2026-06-18T07:56:55.910137+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "862af06f-938c-4d00-9bad-9f1ca10707fb",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-18T07:56:55.9570155+00:00",
  "Registration": {
    "Id": "ff429b33-6894-44d0-a360-2f123cd826b9",
    "UserId": "e50e641f-bf2a-4a09-892f-e44d2162fe96",
    "IsCurrent": true,
    "CenterId": "dcb6344f-15d3-4351-98c7-ec3c6c674d1a",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "39d3a02e-929c-492b-b864-aefdaf98d504",
    "EndDate": "2026-06-18T07:56:55.910137+00:00",
    "StartDate": "2026-06-18T07:56:55.910137+00:00",
    "SchedulePreferenceDate": "2026-06-18T07:56:55.910137+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-06-18T07:56:55.910137+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c5760e79-5dc1-4b93-8319-ba0a37f5daa9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "87ae73a3-3187-45b1-a9b0-280d5edeafe9",
      "Sequence": 1,
      "AncestorCategoryId": "37dbaed3-5650-4ce9-91b8-2c337a58abb1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22b7c3e1-b0c9-4d38-b185-154fe67306b9",
          "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": "22b7c3e1-b0c9-4d38-b185-154fe67306b9",
          "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": "c5760e79-5dc1-4b93-8319-ba0a37f5daa9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "87ae73a3-3187-45b1-a9b0-280d5edeafe9",
      "Sequence": 1,
      "AncestorCategoryId": "37dbaed3-5650-4ce9-91b8-2c337a58abb1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22b7c3e1-b0c9-4d38-b185-154fe67306b9",
          "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": "22b7c3e1-b0c9-4d38-b185-154fe67306b9",
          "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": "df80f322-0fa1-4583-90a9-6342efe123a2",
    "CategoryId": "9ef37bee-e454-4249-88fa-97394401658a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0c0ec046-b105-475b-9d0f-8946ea597d50",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0c0ec046-b105-475b-9d0f-8946ea597d50",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c3d9abdc-5347-4dd9-8b93-242ba5a07c5a",
      "Questions": [
        {
          "Id": "178c4058-2155-4e03-ac86-5569fce49722",
          "Answers": "sample string 2"
        },
        {
          "Id": "178c4058-2155-4e03-ac86-5569fce49722",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c3d9abdc-5347-4dd9-8b93-242ba5a07c5a",
      "Questions": [
        {
          "Id": "178c4058-2155-4e03-ac86-5569fce49722",
          "Answers": "sample string 2"
        },
        {
          "Id": "178c4058-2155-4e03-ac86-5569fce49722",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5f484bf3-07d9-4709-bdb6-3ed76a86102a",
      "ContentItemId": "67a71710-09b2-42b9-9cce-bc04bf17fb92",
      "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-06-18T07:56:55.910137+00:00",
      "RescheduleDate": "2026-06-18T07:56:55.910137+00:00"
    },
    {
      "Id": "5f484bf3-07d9-4709-bdb6-3ed76a86102a",
      "ContentItemId": "67a71710-09b2-42b9-9cce-bc04bf17fb92",
      "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-06-18T07:56:55.910137+00:00",
      "RescheduleDate": "2026-06-18T07:56:55.910137+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}