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": "eb89a2e0-50e5-4ac7-b8b2-a5303eee9ed3",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-12-26T09:01:37.702548+00:00",
  "Registration": {
    "Id": "7413307e-dbd8-45a5-a6c6-5b86e89afaf3",
    "UserId": "56c61ffd-95a2-4666-bf9b-265300255c3f",
    "IsCurrent": true,
    "CenterId": "3355390c-5020-4bb8-a4ae-524a6a6e4bb0",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "fc7123b7-e226-417b-a130-eebf905e19bd",
    "EndDate": "2025-12-26T09:01:37.6869295+00:00",
    "StartDate": "2025-12-26T09:01:37.6869295+00:00",
    "SchedulePreferenceDate": "2025-12-26T09:01:37.6869295+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": "2025-12-26T09:01:37.6869295+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "ae06a7f2-e44f-4e15-ac10-15276d0d6985",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8efdc701-88ed-4232-b042-00e83465c204",
      "Sequence": 1,
      "AncestorCategoryId": "f4fe6a6c-d352-4dc7-a24e-6711b12764e6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "37ae14e0-a42c-494a-86a7-500faba8c758",
          "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": "37ae14e0-a42c-494a-86a7-500faba8c758",
          "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": "ae06a7f2-e44f-4e15-ac10-15276d0d6985",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8efdc701-88ed-4232-b042-00e83465c204",
      "Sequence": 1,
      "AncestorCategoryId": "f4fe6a6c-d352-4dc7-a24e-6711b12764e6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "37ae14e0-a42c-494a-86a7-500faba8c758",
          "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": "37ae14e0-a42c-494a-86a7-500faba8c758",
          "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": "c1b466b0-bdcb-4332-baef-ef45dbfcbe00",
    "CategoryId": "6dfcc032-48cc-4153-b1b1-7268f2972d9b",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "07d29abd-ee92-4a14-8d1e-d6d6165bc408",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "07d29abd-ee92-4a14-8d1e-d6d6165bc408",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f02a12f7-fc08-40ab-8c48-4445d7441197",
      "Questions": [
        {
          "Id": "5f2b0e87-2f90-43a0-b1e2-8379bb676b78",
          "Answers": "sample string 2"
        },
        {
          "Id": "5f2b0e87-2f90-43a0-b1e2-8379bb676b78",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f02a12f7-fc08-40ab-8c48-4445d7441197",
      "Questions": [
        {
          "Id": "5f2b0e87-2f90-43a0-b1e2-8379bb676b78",
          "Answers": "sample string 2"
        },
        {
          "Id": "5f2b0e87-2f90-43a0-b1e2-8379bb676b78",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "06999761-35cb-433e-b979-3f1e912927a7",
      "ContentItemId": "76e91c40-f41f-49d8-aedc-83896fa1b740",
      "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": "2025-12-26T09:01:37.6869295+00:00",
      "RescheduleDate": "2025-12-26T09:01:37.6869295+00:00"
    },
    {
      "Id": "06999761-35cb-433e-b979-3f1e912927a7",
      "ContentItemId": "76e91c40-f41f-49d8-aedc-83896fa1b740",
      "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": "2025-12-26T09:01:37.6869295+00:00",
      "RescheduleDate": "2025-12-26T09:01:37.6869295+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "eb89a2e0-50e5-4ac7-b8b2-a5303eee9ed3",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-12-26T09:01:37.7650531+00:00",
  "Registration": {
    "Id": "7413307e-dbd8-45a5-a6c6-5b86e89afaf3",
    "UserId": "56c61ffd-95a2-4666-bf9b-265300255c3f",
    "IsCurrent": true,
    "CenterId": "3355390c-5020-4bb8-a4ae-524a6a6e4bb0",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "fc7123b7-e226-417b-a130-eebf905e19bd",
    "EndDate": "2025-12-26T09:01:37.6869295+00:00",
    "StartDate": "2025-12-26T09:01:37.6869295+00:00",
    "SchedulePreferenceDate": "2025-12-26T09:01:37.6869295+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": "2025-12-26T09:01:37.6869295+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "ae06a7f2-e44f-4e15-ac10-15276d0d6985",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8efdc701-88ed-4232-b042-00e83465c204",
      "Sequence": 1,
      "AncestorCategoryId": "f4fe6a6c-d352-4dc7-a24e-6711b12764e6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "37ae14e0-a42c-494a-86a7-500faba8c758",
          "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": "37ae14e0-a42c-494a-86a7-500faba8c758",
          "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": "ae06a7f2-e44f-4e15-ac10-15276d0d6985",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8efdc701-88ed-4232-b042-00e83465c204",
      "Sequence": 1,
      "AncestorCategoryId": "f4fe6a6c-d352-4dc7-a24e-6711b12764e6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "37ae14e0-a42c-494a-86a7-500faba8c758",
          "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": "37ae14e0-a42c-494a-86a7-500faba8c758",
          "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": "c1b466b0-bdcb-4332-baef-ef45dbfcbe00",
    "CategoryId": "6dfcc032-48cc-4153-b1b1-7268f2972d9b",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "07d29abd-ee92-4a14-8d1e-d6d6165bc408",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "07d29abd-ee92-4a14-8d1e-d6d6165bc408",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f02a12f7-fc08-40ab-8c48-4445d7441197",
      "Questions": [
        {
          "Id": "5f2b0e87-2f90-43a0-b1e2-8379bb676b78",
          "Answers": "sample string 2"
        },
        {
          "Id": "5f2b0e87-2f90-43a0-b1e2-8379bb676b78",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f02a12f7-fc08-40ab-8c48-4445d7441197",
      "Questions": [
        {
          "Id": "5f2b0e87-2f90-43a0-b1e2-8379bb676b78",
          "Answers": "sample string 2"
        },
        {
          "Id": "5f2b0e87-2f90-43a0-b1e2-8379bb676b78",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "06999761-35cb-433e-b979-3f1e912927a7",
      "ContentItemId": "76e91c40-f41f-49d8-aedc-83896fa1b740",
      "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": "2025-12-26T09:01:37.6869295+00:00",
      "RescheduleDate": "2025-12-26T09:01:37.6869295+00:00"
    },
    {
      "Id": "06999761-35cb-433e-b979-3f1e912927a7",
      "ContentItemId": "76e91c40-f41f-49d8-aedc-83896fa1b740",
      "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": "2025-12-26T09:01:37.6869295+00:00",
      "RescheduleDate": "2025-12-26T09:01:37.6869295+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}