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": "d8da1870-c6c8-41b9-ae7a-6b0c58bd4aeb",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-28T13:00:35.8159175+00:00",
  "Registration": {
    "Id": "6877ee73-fbd4-46c7-93c0-5f1aeaf0cb80",
    "UserId": "3da1b3a2-7213-41de-b6f0-43a2e5b3972f",
    "IsCurrent": true,
    "CenterId": "9e3cbffa-6fa6-4c8c-a14d-463fae1e8d95",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a1236b11-37c3-4562-a524-39fc778eca2d",
    "EndDate": "2026-10-28T13:00:35.8002929+00:00",
    "StartDate": "2026-10-28T13:00:35.8002929+00:00",
    "SchedulePreferenceDate": "2026-10-28T13:00:35.8002929+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-10-28T13:00:35.8002929+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "74d271b8-2aee-44b3-a402-c45ceeb73578",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f51590c5-2706-45ce-9ad0-e3a75995c245",
      "Sequence": 1,
      "AncestorCategoryId": "0e55f66d-311a-4de4-a67a-681281325ccb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f7b1c0aa-eec0-479b-af1c-e3cbb9661b33",
          "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": "f7b1c0aa-eec0-479b-af1c-e3cbb9661b33",
          "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": "74d271b8-2aee-44b3-a402-c45ceeb73578",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f51590c5-2706-45ce-9ad0-e3a75995c245",
      "Sequence": 1,
      "AncestorCategoryId": "0e55f66d-311a-4de4-a67a-681281325ccb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f7b1c0aa-eec0-479b-af1c-e3cbb9661b33",
          "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": "f7b1c0aa-eec0-479b-af1c-e3cbb9661b33",
          "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": "b0a5c88c-2059-4627-bae3-54dc5f33eeda",
    "CategoryId": "ba90e8b9-260f-4a42-b1d9-6e7dff8871d2",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "35d58e82-1623-406d-9037-e08b09e22b48",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "35d58e82-1623-406d-9037-e08b09e22b48",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c9d9c994-292f-4c1f-91a2-136ef1e4e83a",
      "Questions": [
        {
          "Id": "6bdb78eb-71ce-4040-80a1-9f1f1da32db6",
          "Answers": "sample string 2"
        },
        {
          "Id": "6bdb78eb-71ce-4040-80a1-9f1f1da32db6",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c9d9c994-292f-4c1f-91a2-136ef1e4e83a",
      "Questions": [
        {
          "Id": "6bdb78eb-71ce-4040-80a1-9f1f1da32db6",
          "Answers": "sample string 2"
        },
        {
          "Id": "6bdb78eb-71ce-4040-80a1-9f1f1da32db6",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ed94c31e-85ba-45ae-942e-d9dc7d405e6c",
      "ContentItemId": "d966fda9-6824-4937-8d9a-c9e163dc8370",
      "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-10-28T13:00:35.8159175+00:00",
      "RescheduleDate": "2026-10-28T13:00:35.8159175+00:00"
    },
    {
      "Id": "ed94c31e-85ba-45ae-942e-d9dc7d405e6c",
      "ContentItemId": "d966fda9-6824-4937-8d9a-c9e163dc8370",
      "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-10-28T13:00:35.8159175+00:00",
      "RescheduleDate": "2026-10-28T13:00:35.8159175+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "d8da1870-c6c8-41b9-ae7a-6b0c58bd4aeb",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-28T13:00:35.8471712+00:00",
  "Registration": {
    "Id": "6877ee73-fbd4-46c7-93c0-5f1aeaf0cb80",
    "UserId": "3da1b3a2-7213-41de-b6f0-43a2e5b3972f",
    "IsCurrent": true,
    "CenterId": "9e3cbffa-6fa6-4c8c-a14d-463fae1e8d95",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a1236b11-37c3-4562-a524-39fc778eca2d",
    "EndDate": "2026-10-28T13:00:35.8002929+00:00",
    "StartDate": "2026-10-28T13:00:35.8002929+00:00",
    "SchedulePreferenceDate": "2026-10-28T13:00:35.8002929+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-10-28T13:00:35.8002929+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "74d271b8-2aee-44b3-a402-c45ceeb73578",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f51590c5-2706-45ce-9ad0-e3a75995c245",
      "Sequence": 1,
      "AncestorCategoryId": "0e55f66d-311a-4de4-a67a-681281325ccb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f7b1c0aa-eec0-479b-af1c-e3cbb9661b33",
          "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": "f7b1c0aa-eec0-479b-af1c-e3cbb9661b33",
          "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": "74d271b8-2aee-44b3-a402-c45ceeb73578",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f51590c5-2706-45ce-9ad0-e3a75995c245",
      "Sequence": 1,
      "AncestorCategoryId": "0e55f66d-311a-4de4-a67a-681281325ccb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f7b1c0aa-eec0-479b-af1c-e3cbb9661b33",
          "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": "f7b1c0aa-eec0-479b-af1c-e3cbb9661b33",
          "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": "b0a5c88c-2059-4627-bae3-54dc5f33eeda",
    "CategoryId": "ba90e8b9-260f-4a42-b1d9-6e7dff8871d2",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "35d58e82-1623-406d-9037-e08b09e22b48",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "35d58e82-1623-406d-9037-e08b09e22b48",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c9d9c994-292f-4c1f-91a2-136ef1e4e83a",
      "Questions": [
        {
          "Id": "6bdb78eb-71ce-4040-80a1-9f1f1da32db6",
          "Answers": "sample string 2"
        },
        {
          "Id": "6bdb78eb-71ce-4040-80a1-9f1f1da32db6",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c9d9c994-292f-4c1f-91a2-136ef1e4e83a",
      "Questions": [
        {
          "Id": "6bdb78eb-71ce-4040-80a1-9f1f1da32db6",
          "Answers": "sample string 2"
        },
        {
          "Id": "6bdb78eb-71ce-4040-80a1-9f1f1da32db6",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ed94c31e-85ba-45ae-942e-d9dc7d405e6c",
      "ContentItemId": "d966fda9-6824-4937-8d9a-c9e163dc8370",
      "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-10-28T13:00:35.8159175+00:00",
      "RescheduleDate": "2026-10-28T13:00:35.8159175+00:00"
    },
    {
      "Id": "ed94c31e-85ba-45ae-942e-d9dc7d405e6c",
      "ContentItemId": "d966fda9-6824-4937-8d9a-c9e163dc8370",
      "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-10-28T13:00:35.8159175+00:00",
      "RescheduleDate": "2026-10-28T13:00:35.8159175+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}