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": "b5637b52-35ab-4f6c-8fe5-36f74e097eea",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-27T00:13:17.6787345+00:00",
  "Registration": {
    "Id": "9bbb5e56-be65-4737-91ed-682b5bedcbcf",
    "UserId": "1b3e016b-9513-4bdc-9946-da7ef6744301",
    "IsCurrent": true,
    "CenterId": "90e30440-a1f4-490d-9cb6-2ba2da448133",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "12c5073e-683c-4233-98de-6c8918154323",
    "EndDate": "2026-05-27T00:13:17.6787345+00:00",
    "StartDate": "2026-05-27T00:13:17.6787345+00:00",
    "SchedulePreferenceDate": "2026-05-27T00:13:17.6787345+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-05-27T00:13:17.6787345+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a7d26d96-cdd6-4291-aac4-aef9664067f5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "86569547-a667-4c78-9e24-9e3fb577a4d6",
      "Sequence": 1,
      "AncestorCategoryId": "3d23de59-4d95-4e2c-8d5f-6bbb1053663c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3f6a1d52-6374-46ba-b1bc-2d4c7a70319d",
          "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": "3f6a1d52-6374-46ba-b1bc-2d4c7a70319d",
          "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": "a7d26d96-cdd6-4291-aac4-aef9664067f5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "86569547-a667-4c78-9e24-9e3fb577a4d6",
      "Sequence": 1,
      "AncestorCategoryId": "3d23de59-4d95-4e2c-8d5f-6bbb1053663c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3f6a1d52-6374-46ba-b1bc-2d4c7a70319d",
          "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": "3f6a1d52-6374-46ba-b1bc-2d4c7a70319d",
          "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": "b5689f1b-fc8f-48ef-88f6-bf88da17004c",
    "CategoryId": "dc050a65-709d-4f16-9de9-745315cf3b1e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1b721020-3ade-4179-980d-85f5075adb6e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1b721020-3ade-4179-980d-85f5075adb6e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d944f6d3-6337-4eb7-b580-9af9479dc863",
      "Questions": [
        {
          "Id": "37aed7c8-c7a3-4e3a-8325-8ac71c354e51",
          "Answers": "sample string 2"
        },
        {
          "Id": "37aed7c8-c7a3-4e3a-8325-8ac71c354e51",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d944f6d3-6337-4eb7-b580-9af9479dc863",
      "Questions": [
        {
          "Id": "37aed7c8-c7a3-4e3a-8325-8ac71c354e51",
          "Answers": "sample string 2"
        },
        {
          "Id": "37aed7c8-c7a3-4e3a-8325-8ac71c354e51",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cbffaf71-62cd-42a5-af1b-f56092115fed",
      "ContentItemId": "31420367-287d-4444-ac7e-1611acf05aa2",
      "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-05-27T00:13:17.6787345+00:00",
      "RescheduleDate": "2026-05-27T00:13:17.6787345+00:00"
    },
    {
      "Id": "cbffaf71-62cd-42a5-af1b-f56092115fed",
      "ContentItemId": "31420367-287d-4444-ac7e-1611acf05aa2",
      "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-05-27T00:13:17.6787345+00:00",
      "RescheduleDate": "2026-05-27T00:13:17.6787345+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "b5637b52-35ab-4f6c-8fe5-36f74e097eea",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-27T00:13:17.7256093+00:00",
  "Registration": {
    "Id": "9bbb5e56-be65-4737-91ed-682b5bedcbcf",
    "UserId": "1b3e016b-9513-4bdc-9946-da7ef6744301",
    "IsCurrent": true,
    "CenterId": "90e30440-a1f4-490d-9cb6-2ba2da448133",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "12c5073e-683c-4233-98de-6c8918154323",
    "EndDate": "2026-05-27T00:13:17.6787345+00:00",
    "StartDate": "2026-05-27T00:13:17.6787345+00:00",
    "SchedulePreferenceDate": "2026-05-27T00:13:17.6787345+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-05-27T00:13:17.6787345+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a7d26d96-cdd6-4291-aac4-aef9664067f5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "86569547-a667-4c78-9e24-9e3fb577a4d6",
      "Sequence": 1,
      "AncestorCategoryId": "3d23de59-4d95-4e2c-8d5f-6bbb1053663c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3f6a1d52-6374-46ba-b1bc-2d4c7a70319d",
          "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": "3f6a1d52-6374-46ba-b1bc-2d4c7a70319d",
          "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": "a7d26d96-cdd6-4291-aac4-aef9664067f5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "86569547-a667-4c78-9e24-9e3fb577a4d6",
      "Sequence": 1,
      "AncestorCategoryId": "3d23de59-4d95-4e2c-8d5f-6bbb1053663c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3f6a1d52-6374-46ba-b1bc-2d4c7a70319d",
          "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": "3f6a1d52-6374-46ba-b1bc-2d4c7a70319d",
          "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": "b5689f1b-fc8f-48ef-88f6-bf88da17004c",
    "CategoryId": "dc050a65-709d-4f16-9de9-745315cf3b1e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1b721020-3ade-4179-980d-85f5075adb6e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1b721020-3ade-4179-980d-85f5075adb6e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d944f6d3-6337-4eb7-b580-9af9479dc863",
      "Questions": [
        {
          "Id": "37aed7c8-c7a3-4e3a-8325-8ac71c354e51",
          "Answers": "sample string 2"
        },
        {
          "Id": "37aed7c8-c7a3-4e3a-8325-8ac71c354e51",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d944f6d3-6337-4eb7-b580-9af9479dc863",
      "Questions": [
        {
          "Id": "37aed7c8-c7a3-4e3a-8325-8ac71c354e51",
          "Answers": "sample string 2"
        },
        {
          "Id": "37aed7c8-c7a3-4e3a-8325-8ac71c354e51",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cbffaf71-62cd-42a5-af1b-f56092115fed",
      "ContentItemId": "31420367-287d-4444-ac7e-1611acf05aa2",
      "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-05-27T00:13:17.6787345+00:00",
      "RescheduleDate": "2026-05-27T00:13:17.6787345+00:00"
    },
    {
      "Id": "cbffaf71-62cd-42a5-af1b-f56092115fed",
      "ContentItemId": "31420367-287d-4444-ac7e-1611acf05aa2",
      "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-05-27T00:13:17.6787345+00:00",
      "RescheduleDate": "2026-05-27T00:13:17.6787345+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}