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": "f69a9023-4743-411f-8939-3989a2b53af0",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-30T21:21:43.1448842+00:00",
  "Registration": {
    "Id": "b1df975b-4a0c-47e4-bdbb-f8c1e6acf82b",
    "UserId": "6d7a7284-53ea-40e1-ab16-268311f47f15",
    "IsCurrent": true,
    "CenterId": "b39fa661-1e95-476b-80e1-3d399a91314f",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6c9f0910-5917-4f84-bfad-f2c42921f6d4",
    "EndDate": "2026-06-30T21:21:43.1448842+00:00",
    "StartDate": "2026-06-30T21:21:43.1448842+00:00",
    "SchedulePreferenceDate": "2026-06-30T21:21:43.1448842+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-06-30T21:21:43.1448842+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d2f4dc4c-6c5f-438d-94ad-1de70472d1e2",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ecbf9e31-8750-49da-81d9-efc449433fe3",
      "Sequence": 1,
      "AncestorCategoryId": "47bdb55a-886f-44d5-bb5c-164b582037a6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "91099c6d-6333-4e8d-b788-dc4c2b4373e4",
          "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": "91099c6d-6333-4e8d-b788-dc4c2b4373e4",
          "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": "d2f4dc4c-6c5f-438d-94ad-1de70472d1e2",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ecbf9e31-8750-49da-81d9-efc449433fe3",
      "Sequence": 1,
      "AncestorCategoryId": "47bdb55a-886f-44d5-bb5c-164b582037a6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "91099c6d-6333-4e8d-b788-dc4c2b4373e4",
          "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": "91099c6d-6333-4e8d-b788-dc4c2b4373e4",
          "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": "91ee1b6d-7c92-4c56-b821-6aae6fa3bfcc",
    "CategoryId": "3bf27347-207b-45cd-a49b-7a73e4cce797",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8db0b7cd-3966-4900-8a16-d4b84a68c7d0",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8db0b7cd-3966-4900-8a16-d4b84a68c7d0",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "6cc93366-8a0b-4f18-9f8c-2a91eaf7f284",
      "Questions": [
        {
          "Id": "0ec446a5-dd1c-41c5-84ee-cc7429bbf100",
          "Answers": "sample string 2"
        },
        {
          "Id": "0ec446a5-dd1c-41c5-84ee-cc7429bbf100",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "6cc93366-8a0b-4f18-9f8c-2a91eaf7f284",
      "Questions": [
        {
          "Id": "0ec446a5-dd1c-41c5-84ee-cc7429bbf100",
          "Answers": "sample string 2"
        },
        {
          "Id": "0ec446a5-dd1c-41c5-84ee-cc7429bbf100",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "9fc09997-5a5f-4087-bc39-41440216bb53",
      "ContentItemId": "13a46ebb-3415-4ce3-be3e-9d2eb7b51f75",
      "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-06-30T21:21:43.1448842+00:00",
      "RescheduleDate": "2026-06-30T21:21:43.1448842+00:00"
    },
    {
      "Id": "9fc09997-5a5f-4087-bc39-41440216bb53",
      "ContentItemId": "13a46ebb-3415-4ce3-be3e-9d2eb7b51f75",
      "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-06-30T21:21:43.1448842+00:00",
      "RescheduleDate": "2026-06-30T21:21:43.1448842+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "f69a9023-4743-411f-8939-3989a2b53af0",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-30T21:21:43.1917615+00:00",
  "Registration": {
    "Id": "b1df975b-4a0c-47e4-bdbb-f8c1e6acf82b",
    "UserId": "6d7a7284-53ea-40e1-ab16-268311f47f15",
    "IsCurrent": true,
    "CenterId": "b39fa661-1e95-476b-80e1-3d399a91314f",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6c9f0910-5917-4f84-bfad-f2c42921f6d4",
    "EndDate": "2026-06-30T21:21:43.1448842+00:00",
    "StartDate": "2026-06-30T21:21:43.1448842+00:00",
    "SchedulePreferenceDate": "2026-06-30T21:21:43.1448842+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-06-30T21:21:43.1448842+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d2f4dc4c-6c5f-438d-94ad-1de70472d1e2",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ecbf9e31-8750-49da-81d9-efc449433fe3",
      "Sequence": 1,
      "AncestorCategoryId": "47bdb55a-886f-44d5-bb5c-164b582037a6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "91099c6d-6333-4e8d-b788-dc4c2b4373e4",
          "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": "91099c6d-6333-4e8d-b788-dc4c2b4373e4",
          "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": "d2f4dc4c-6c5f-438d-94ad-1de70472d1e2",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ecbf9e31-8750-49da-81d9-efc449433fe3",
      "Sequence": 1,
      "AncestorCategoryId": "47bdb55a-886f-44d5-bb5c-164b582037a6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "91099c6d-6333-4e8d-b788-dc4c2b4373e4",
          "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": "91099c6d-6333-4e8d-b788-dc4c2b4373e4",
          "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": "91ee1b6d-7c92-4c56-b821-6aae6fa3bfcc",
    "CategoryId": "3bf27347-207b-45cd-a49b-7a73e4cce797",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8db0b7cd-3966-4900-8a16-d4b84a68c7d0",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8db0b7cd-3966-4900-8a16-d4b84a68c7d0",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "6cc93366-8a0b-4f18-9f8c-2a91eaf7f284",
      "Questions": [
        {
          "Id": "0ec446a5-dd1c-41c5-84ee-cc7429bbf100",
          "Answers": "sample string 2"
        },
        {
          "Id": "0ec446a5-dd1c-41c5-84ee-cc7429bbf100",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "6cc93366-8a0b-4f18-9f8c-2a91eaf7f284",
      "Questions": [
        {
          "Id": "0ec446a5-dd1c-41c5-84ee-cc7429bbf100",
          "Answers": "sample string 2"
        },
        {
          "Id": "0ec446a5-dd1c-41c5-84ee-cc7429bbf100",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "9fc09997-5a5f-4087-bc39-41440216bb53",
      "ContentItemId": "13a46ebb-3415-4ce3-be3e-9d2eb7b51f75",
      "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-06-30T21:21:43.1448842+00:00",
      "RescheduleDate": "2026-06-30T21:21:43.1448842+00:00"
    },
    {
      "Id": "9fc09997-5a5f-4087-bc39-41440216bb53",
      "ContentItemId": "13a46ebb-3415-4ce3-be3e-9d2eb7b51f75",
      "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-06-30T21:21:43.1448842+00:00",
      "RescheduleDate": "2026-06-30T21:21:43.1448842+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}