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": "adb0edcf-500d-4dc3-823b-055b4289bd13",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-26T22:58:21.7488258+00:00",
  "Registration": {
    "Id": "b1da7b45-8a7f-49ed-b26e-c018ae0c9696",
    "UserId": "1948ca6e-b466-4a2d-8877-091f08a82ffc",
    "IsCurrent": true,
    "CenterId": "ada47fb8-8e20-4f34-b3b0-3388a95ea563",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "65916b81-e22a-477d-af0f-2b96696e98bc",
    "EndDate": "2026-05-26T22:58:21.7332049+00:00",
    "StartDate": "2026-05-26T22:58:21.7332049+00:00",
    "SchedulePreferenceDate": "2026-05-26T22:58:21.7332049+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-26T22:58:21.7332049+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b8d69910-a464-4513-881f-7552b7e5564e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1b9cd934-fe96-45c2-98c1-9468ed1b3b4f",
      "Sequence": 1,
      "AncestorCategoryId": "f9f5d9b8-028e-476e-9bdb-f1e312cfa4c1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22a5925c-a2ef-4d8c-abaa-d26ecf272dd0",
          "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": "22a5925c-a2ef-4d8c-abaa-d26ecf272dd0",
          "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": "b8d69910-a464-4513-881f-7552b7e5564e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1b9cd934-fe96-45c2-98c1-9468ed1b3b4f",
      "Sequence": 1,
      "AncestorCategoryId": "f9f5d9b8-028e-476e-9bdb-f1e312cfa4c1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22a5925c-a2ef-4d8c-abaa-d26ecf272dd0",
          "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": "22a5925c-a2ef-4d8c-abaa-d26ecf272dd0",
          "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": "9e9cbdc4-8658-4ce0-b25c-3b2027da25c6",
    "CategoryId": "ccd0c7fb-c8d3-4596-bf3a-83e1d8181354",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5334ea81-6a54-4a81-b86d-206e5296c7a4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5334ea81-6a54-4a81-b86d-206e5296c7a4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d8bf3731-7358-4c44-9104-20e9960dd28b",
      "Questions": [
        {
          "Id": "55da3772-10e6-4914-930e-20ae0eef1bef",
          "Answers": "sample string 2"
        },
        {
          "Id": "55da3772-10e6-4914-930e-20ae0eef1bef",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d8bf3731-7358-4c44-9104-20e9960dd28b",
      "Questions": [
        {
          "Id": "55da3772-10e6-4914-930e-20ae0eef1bef",
          "Answers": "sample string 2"
        },
        {
          "Id": "55da3772-10e6-4914-930e-20ae0eef1bef",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b3d6f305-2327-4b9b-958b-724e7c98edc3",
      "ContentItemId": "d6afa0df-c094-4664-8b7a-f94b4677583f",
      "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-26T22:58:21.7488258+00:00",
      "RescheduleDate": "2026-05-26T22:58:21.7488258+00:00"
    },
    {
      "Id": "b3d6f305-2327-4b9b-958b-724e7c98edc3",
      "ContentItemId": "d6afa0df-c094-4664-8b7a-f94b4677583f",
      "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-26T22:58:21.7488258+00:00",
      "RescheduleDate": "2026-05-26T22:58:21.7488258+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "adb0edcf-500d-4dc3-823b-055b4289bd13",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-26T22:58:21.7800743+00:00",
  "Registration": {
    "Id": "b1da7b45-8a7f-49ed-b26e-c018ae0c9696",
    "UserId": "1948ca6e-b466-4a2d-8877-091f08a82ffc",
    "IsCurrent": true,
    "CenterId": "ada47fb8-8e20-4f34-b3b0-3388a95ea563",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "65916b81-e22a-477d-af0f-2b96696e98bc",
    "EndDate": "2026-05-26T22:58:21.7332049+00:00",
    "StartDate": "2026-05-26T22:58:21.7332049+00:00",
    "SchedulePreferenceDate": "2026-05-26T22:58:21.7332049+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-26T22:58:21.7332049+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b8d69910-a464-4513-881f-7552b7e5564e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1b9cd934-fe96-45c2-98c1-9468ed1b3b4f",
      "Sequence": 1,
      "AncestorCategoryId": "f9f5d9b8-028e-476e-9bdb-f1e312cfa4c1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22a5925c-a2ef-4d8c-abaa-d26ecf272dd0",
          "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": "22a5925c-a2ef-4d8c-abaa-d26ecf272dd0",
          "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": "b8d69910-a464-4513-881f-7552b7e5564e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1b9cd934-fe96-45c2-98c1-9468ed1b3b4f",
      "Sequence": 1,
      "AncestorCategoryId": "f9f5d9b8-028e-476e-9bdb-f1e312cfa4c1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22a5925c-a2ef-4d8c-abaa-d26ecf272dd0",
          "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": "22a5925c-a2ef-4d8c-abaa-d26ecf272dd0",
          "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": "9e9cbdc4-8658-4ce0-b25c-3b2027da25c6",
    "CategoryId": "ccd0c7fb-c8d3-4596-bf3a-83e1d8181354",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5334ea81-6a54-4a81-b86d-206e5296c7a4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5334ea81-6a54-4a81-b86d-206e5296c7a4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d8bf3731-7358-4c44-9104-20e9960dd28b",
      "Questions": [
        {
          "Id": "55da3772-10e6-4914-930e-20ae0eef1bef",
          "Answers": "sample string 2"
        },
        {
          "Id": "55da3772-10e6-4914-930e-20ae0eef1bef",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d8bf3731-7358-4c44-9104-20e9960dd28b",
      "Questions": [
        {
          "Id": "55da3772-10e6-4914-930e-20ae0eef1bef",
          "Answers": "sample string 2"
        },
        {
          "Id": "55da3772-10e6-4914-930e-20ae0eef1bef",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b3d6f305-2327-4b9b-958b-724e7c98edc3",
      "ContentItemId": "d6afa0df-c094-4664-8b7a-f94b4677583f",
      "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-26T22:58:21.7488258+00:00",
      "RescheduleDate": "2026-05-26T22:58:21.7488258+00:00"
    },
    {
      "Id": "b3d6f305-2327-4b9b-958b-724e7c98edc3",
      "ContentItemId": "d6afa0df-c094-4664-8b7a-f94b4677583f",
      "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-26T22:58:21.7488258+00:00",
      "RescheduleDate": "2026-05-26T22:58:21.7488258+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}