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": "ef88538f-5be2-42fa-8556-05a61d802abe",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-04T23:08:03.793226+00:00",
  "Registration": {
    "Id": "638c28cd-47c1-48fe-8563-3a2c8d73d4cd",
    "UserId": "672cd5e2-6be2-4162-b097-c29d4b90c6d3",
    "IsCurrent": true,
    "CenterId": "9bcf83a7-f42f-40a1-bbfa-65ee0c19bcdb",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "144af37b-95c6-4246-bea1-23ea4cab84a1",
    "EndDate": "2026-04-04T23:08:03.777602+00:00",
    "StartDate": "2026-04-04T23:08:03.777602+00:00",
    "SchedulePreferenceDate": "2026-04-04T23:08:03.777602+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-04T23:08:03.777602+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "fbfc429a-e6ba-433a-a876-98561825eddc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1c3e9924-db5d-4137-9173-b471fa905e10",
      "Sequence": 1,
      "AncestorCategoryId": "bbdd0cdf-e007-4fef-82de-1d5a2d99045f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "11fd386e-e8c4-4050-8c06-5bcaf266cd74",
          "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": "11fd386e-e8c4-4050-8c06-5bcaf266cd74",
          "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": "fbfc429a-e6ba-433a-a876-98561825eddc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1c3e9924-db5d-4137-9173-b471fa905e10",
      "Sequence": 1,
      "AncestorCategoryId": "bbdd0cdf-e007-4fef-82de-1d5a2d99045f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "11fd386e-e8c4-4050-8c06-5bcaf266cd74",
          "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": "11fd386e-e8c4-4050-8c06-5bcaf266cd74",
          "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": "79462dac-8d26-4e88-892d-4c9fdc4250e7",
    "CategoryId": "64bfe586-138d-4090-ab21-e4c81c9ce739",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1f61286d-e402-48c4-8735-88026d7bdcab",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1f61286d-e402-48c4-8735-88026d7bdcab",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "52c490bb-ad05-4c87-93b0-e2d7446b373f",
      "Questions": [
        {
          "Id": "75970fb8-d846-4f2a-bbad-317ea51ff550",
          "Answers": "sample string 2"
        },
        {
          "Id": "75970fb8-d846-4f2a-bbad-317ea51ff550",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "52c490bb-ad05-4c87-93b0-e2d7446b373f",
      "Questions": [
        {
          "Id": "75970fb8-d846-4f2a-bbad-317ea51ff550",
          "Answers": "sample string 2"
        },
        {
          "Id": "75970fb8-d846-4f2a-bbad-317ea51ff550",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "74bed76b-83ef-4590-8014-f0d25e406603",
      "ContentItemId": "e0d9ee29-454e-46c2-8b74-aba5bb33d83d",
      "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-04T23:08:03.777602+00:00",
      "RescheduleDate": "2026-04-04T23:08:03.777602+00:00"
    },
    {
      "Id": "74bed76b-83ef-4590-8014-f0d25e406603",
      "ContentItemId": "e0d9ee29-454e-46c2-8b74-aba5bb33d83d",
      "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-04T23:08:03.777602+00:00",
      "RescheduleDate": "2026-04-04T23:08:03.777602+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "ef88538f-5be2-42fa-8556-05a61d802abe",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-04T23:08:03.8088502+00:00",
  "Registration": {
    "Id": "638c28cd-47c1-48fe-8563-3a2c8d73d4cd",
    "UserId": "672cd5e2-6be2-4162-b097-c29d4b90c6d3",
    "IsCurrent": true,
    "CenterId": "9bcf83a7-f42f-40a1-bbfa-65ee0c19bcdb",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "144af37b-95c6-4246-bea1-23ea4cab84a1",
    "EndDate": "2026-04-04T23:08:03.777602+00:00",
    "StartDate": "2026-04-04T23:08:03.777602+00:00",
    "SchedulePreferenceDate": "2026-04-04T23:08:03.777602+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-04T23:08:03.777602+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "fbfc429a-e6ba-433a-a876-98561825eddc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1c3e9924-db5d-4137-9173-b471fa905e10",
      "Sequence": 1,
      "AncestorCategoryId": "bbdd0cdf-e007-4fef-82de-1d5a2d99045f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "11fd386e-e8c4-4050-8c06-5bcaf266cd74",
          "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": "11fd386e-e8c4-4050-8c06-5bcaf266cd74",
          "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": "fbfc429a-e6ba-433a-a876-98561825eddc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1c3e9924-db5d-4137-9173-b471fa905e10",
      "Sequence": 1,
      "AncestorCategoryId": "bbdd0cdf-e007-4fef-82de-1d5a2d99045f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "11fd386e-e8c4-4050-8c06-5bcaf266cd74",
          "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": "11fd386e-e8c4-4050-8c06-5bcaf266cd74",
          "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": "79462dac-8d26-4e88-892d-4c9fdc4250e7",
    "CategoryId": "64bfe586-138d-4090-ab21-e4c81c9ce739",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1f61286d-e402-48c4-8735-88026d7bdcab",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1f61286d-e402-48c4-8735-88026d7bdcab",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "52c490bb-ad05-4c87-93b0-e2d7446b373f",
      "Questions": [
        {
          "Id": "75970fb8-d846-4f2a-bbad-317ea51ff550",
          "Answers": "sample string 2"
        },
        {
          "Id": "75970fb8-d846-4f2a-bbad-317ea51ff550",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "52c490bb-ad05-4c87-93b0-e2d7446b373f",
      "Questions": [
        {
          "Id": "75970fb8-d846-4f2a-bbad-317ea51ff550",
          "Answers": "sample string 2"
        },
        {
          "Id": "75970fb8-d846-4f2a-bbad-317ea51ff550",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "74bed76b-83ef-4590-8014-f0d25e406603",
      "ContentItemId": "e0d9ee29-454e-46c2-8b74-aba5bb33d83d",
      "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-04T23:08:03.777602+00:00",
      "RescheduleDate": "2026-04-04T23:08:03.777602+00:00"
    },
    {
      "Id": "74bed76b-83ef-4590-8014-f0d25e406603",
      "ContentItemId": "e0d9ee29-454e-46c2-8b74-aba5bb33d83d",
      "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-04T23:08:03.777602+00:00",
      "RescheduleDate": "2026-04-04T23:08:03.777602+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}