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": "d5cb4cb4-96a5-4149-b1a3-ed2bf35c471a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-15T01:47:19.9828867+00:00",
  "Registration": {
    "Id": "a8579f09-8183-4a3a-85fe-68c47d5eb1e7",
    "UserId": "9beb0a36-6d52-47b9-8c57-e12953ddffb8",
    "IsCurrent": true,
    "CenterId": "ef4569cf-26ae-4b14-b6e2-892b51c20420",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a4486deb-a478-4a77-befe-bda0cec786bd",
    "EndDate": "2026-08-15T01:47:19.9672212+00:00",
    "StartDate": "2026-08-15T01:47:19.9672212+00:00",
    "SchedulePreferenceDate": "2026-08-15T01:47:19.9672212+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-08-15T01:47:19.9672212+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "cf4bdf22-c603-47c1-9ef5-5021feb35a65",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2d74d776-7b46-4910-8c37-2af1d6a3ad3a",
      "Sequence": 1,
      "AncestorCategoryId": "fb17222c-854f-4dc2-90fc-a9e5296f60c9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f75a8011-fb38-4972-82b9-6b1b7ff2e97b",
          "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": "f75a8011-fb38-4972-82b9-6b1b7ff2e97b",
          "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": "cf4bdf22-c603-47c1-9ef5-5021feb35a65",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2d74d776-7b46-4910-8c37-2af1d6a3ad3a",
      "Sequence": 1,
      "AncestorCategoryId": "fb17222c-854f-4dc2-90fc-a9e5296f60c9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f75a8011-fb38-4972-82b9-6b1b7ff2e97b",
          "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": "f75a8011-fb38-4972-82b9-6b1b7ff2e97b",
          "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": "b85b9575-094c-4476-b827-3659f835a3a3",
    "CategoryId": "26f85342-dd57-48fe-9155-37832f234598",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "21561a0a-5f27-42d2-8147-ad9e9fa872d5",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "21561a0a-5f27-42d2-8147-ad9e9fa872d5",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "679fb249-6f29-45ef-8901-eaf8a2a2966d",
      "Questions": [
        {
          "Id": "5e067f1c-63f2-4ca4-a998-7db5e0ba020c",
          "Answers": "sample string 2"
        },
        {
          "Id": "5e067f1c-63f2-4ca4-a998-7db5e0ba020c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "679fb249-6f29-45ef-8901-eaf8a2a2966d",
      "Questions": [
        {
          "Id": "5e067f1c-63f2-4ca4-a998-7db5e0ba020c",
          "Answers": "sample string 2"
        },
        {
          "Id": "5e067f1c-63f2-4ca4-a998-7db5e0ba020c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d88f12ca-3426-4ef3-be8b-cb4b9d9eb551",
      "ContentItemId": "9cc39454-99de-4baa-86cc-164a4ba477af",
      "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-08-15T01:47:19.9672212+00:00",
      "RescheduleDate": "2026-08-15T01:47:19.9672212+00:00"
    },
    {
      "Id": "d88f12ca-3426-4ef3-be8b-cb4b9d9eb551",
      "ContentItemId": "9cc39454-99de-4baa-86cc-164a4ba477af",
      "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-08-15T01:47:19.9672212+00:00",
      "RescheduleDate": "2026-08-15T01:47:19.9672212+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "d5cb4cb4-96a5-4149-b1a3-ed2bf35c471a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-15T01:47:19.9985109+00:00",
  "Registration": {
    "Id": "a8579f09-8183-4a3a-85fe-68c47d5eb1e7",
    "UserId": "9beb0a36-6d52-47b9-8c57-e12953ddffb8",
    "IsCurrent": true,
    "CenterId": "ef4569cf-26ae-4b14-b6e2-892b51c20420",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a4486deb-a478-4a77-befe-bda0cec786bd",
    "EndDate": "2026-08-15T01:47:19.9672212+00:00",
    "StartDate": "2026-08-15T01:47:19.9672212+00:00",
    "SchedulePreferenceDate": "2026-08-15T01:47:19.9672212+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-08-15T01:47:19.9672212+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "cf4bdf22-c603-47c1-9ef5-5021feb35a65",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2d74d776-7b46-4910-8c37-2af1d6a3ad3a",
      "Sequence": 1,
      "AncestorCategoryId": "fb17222c-854f-4dc2-90fc-a9e5296f60c9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f75a8011-fb38-4972-82b9-6b1b7ff2e97b",
          "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": "f75a8011-fb38-4972-82b9-6b1b7ff2e97b",
          "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": "cf4bdf22-c603-47c1-9ef5-5021feb35a65",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2d74d776-7b46-4910-8c37-2af1d6a3ad3a",
      "Sequence": 1,
      "AncestorCategoryId": "fb17222c-854f-4dc2-90fc-a9e5296f60c9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f75a8011-fb38-4972-82b9-6b1b7ff2e97b",
          "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": "f75a8011-fb38-4972-82b9-6b1b7ff2e97b",
          "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": "b85b9575-094c-4476-b827-3659f835a3a3",
    "CategoryId": "26f85342-dd57-48fe-9155-37832f234598",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "21561a0a-5f27-42d2-8147-ad9e9fa872d5",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "21561a0a-5f27-42d2-8147-ad9e9fa872d5",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "679fb249-6f29-45ef-8901-eaf8a2a2966d",
      "Questions": [
        {
          "Id": "5e067f1c-63f2-4ca4-a998-7db5e0ba020c",
          "Answers": "sample string 2"
        },
        {
          "Id": "5e067f1c-63f2-4ca4-a998-7db5e0ba020c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "679fb249-6f29-45ef-8901-eaf8a2a2966d",
      "Questions": [
        {
          "Id": "5e067f1c-63f2-4ca4-a998-7db5e0ba020c",
          "Answers": "sample string 2"
        },
        {
          "Id": "5e067f1c-63f2-4ca4-a998-7db5e0ba020c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d88f12ca-3426-4ef3-be8b-cb4b9d9eb551",
      "ContentItemId": "9cc39454-99de-4baa-86cc-164a4ba477af",
      "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-08-15T01:47:19.9672212+00:00",
      "RescheduleDate": "2026-08-15T01:47:19.9672212+00:00"
    },
    {
      "Id": "d88f12ca-3426-4ef3-be8b-cb4b9d9eb551",
      "ContentItemId": "9cc39454-99de-4baa-86cc-164a4ba477af",
      "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-08-15T01:47:19.9672212+00:00",
      "RescheduleDate": "2026-08-15T01:47:19.9672212+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}