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": "6f116a26-e91d-4c57-a01b-23474dff7761",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-24T06:33:55.6083503+00:00",
  "Registration": {
    "Id": "06cad406-402b-4116-b3fd-cb85b8f1b248",
    "UserId": "01f2c31c-45d7-4d4c-8bd2-0aaee005e0f9",
    "IsCurrent": true,
    "CenterId": "78ec6c54-1f7f-4b00-a44b-be18da7ee7f1",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "15060a47-93e2-4c00-806a-f3381b83c005",
    "EndDate": "2026-09-24T06:33:55.6083503+00:00",
    "StartDate": "2026-09-24T06:33:55.6083503+00:00",
    "SchedulePreferenceDate": "2026-09-24T06:33:55.6083503+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-09-24T06:33:55.6083503+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "0c1b5aa2-6537-4152-9aa9-248716b9e6a4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "605a3c87-50cc-4363-828f-5dc906455e9d",
      "Sequence": 1,
      "AncestorCategoryId": "b2ce378a-5622-4478-8387-8853dfba2c96",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "113ccd51-9878-4897-8431-029e8e741834",
          "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": "113ccd51-9878-4897-8431-029e8e741834",
          "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": "0c1b5aa2-6537-4152-9aa9-248716b9e6a4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "605a3c87-50cc-4363-828f-5dc906455e9d",
      "Sequence": 1,
      "AncestorCategoryId": "b2ce378a-5622-4478-8387-8853dfba2c96",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "113ccd51-9878-4897-8431-029e8e741834",
          "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": "113ccd51-9878-4897-8431-029e8e741834",
          "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": "5a90a79d-9de9-4b14-8e47-d384a11fc593",
    "CategoryId": "20da4af0-0552-4530-a60d-b46846f0fac8",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "44a90c9b-fa37-4a46-ae8a-918a7c55f94e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "44a90c9b-fa37-4a46-ae8a-918a7c55f94e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e0eb1269-0832-499c-8c1f-c4b8388e78c7",
      "Questions": [
        {
          "Id": "e5685df2-c500-45c2-94e7-6953fc4d757a",
          "Answers": "sample string 2"
        },
        {
          "Id": "e5685df2-c500-45c2-94e7-6953fc4d757a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e0eb1269-0832-499c-8c1f-c4b8388e78c7",
      "Questions": [
        {
          "Id": "e5685df2-c500-45c2-94e7-6953fc4d757a",
          "Answers": "sample string 2"
        },
        {
          "Id": "e5685df2-c500-45c2-94e7-6953fc4d757a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "114da489-68bc-4d16-b7dd-2cded1144d0c",
      "ContentItemId": "8bfb2581-f8d9-4e0d-a45d-c03d712a5576",
      "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-09-24T06:33:55.6083503+00:00",
      "RescheduleDate": "2026-09-24T06:33:55.6083503+00:00"
    },
    {
      "Id": "114da489-68bc-4d16-b7dd-2cded1144d0c",
      "ContentItemId": "8bfb2581-f8d9-4e0d-a45d-c03d712a5576",
      "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-09-24T06:33:55.6083503+00:00",
      "RescheduleDate": "2026-09-24T06:33:55.6083503+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "6f116a26-e91d-4c57-a01b-23474dff7761",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-24T06:33:55.6395986+00:00",
  "Registration": {
    "Id": "06cad406-402b-4116-b3fd-cb85b8f1b248",
    "UserId": "01f2c31c-45d7-4d4c-8bd2-0aaee005e0f9",
    "IsCurrent": true,
    "CenterId": "78ec6c54-1f7f-4b00-a44b-be18da7ee7f1",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "15060a47-93e2-4c00-806a-f3381b83c005",
    "EndDate": "2026-09-24T06:33:55.6083503+00:00",
    "StartDate": "2026-09-24T06:33:55.6083503+00:00",
    "SchedulePreferenceDate": "2026-09-24T06:33:55.6083503+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-09-24T06:33:55.6083503+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "0c1b5aa2-6537-4152-9aa9-248716b9e6a4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "605a3c87-50cc-4363-828f-5dc906455e9d",
      "Sequence": 1,
      "AncestorCategoryId": "b2ce378a-5622-4478-8387-8853dfba2c96",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "113ccd51-9878-4897-8431-029e8e741834",
          "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": "113ccd51-9878-4897-8431-029e8e741834",
          "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": "0c1b5aa2-6537-4152-9aa9-248716b9e6a4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "605a3c87-50cc-4363-828f-5dc906455e9d",
      "Sequence": 1,
      "AncestorCategoryId": "b2ce378a-5622-4478-8387-8853dfba2c96",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "113ccd51-9878-4897-8431-029e8e741834",
          "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": "113ccd51-9878-4897-8431-029e8e741834",
          "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": "5a90a79d-9de9-4b14-8e47-d384a11fc593",
    "CategoryId": "20da4af0-0552-4530-a60d-b46846f0fac8",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "44a90c9b-fa37-4a46-ae8a-918a7c55f94e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "44a90c9b-fa37-4a46-ae8a-918a7c55f94e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e0eb1269-0832-499c-8c1f-c4b8388e78c7",
      "Questions": [
        {
          "Id": "e5685df2-c500-45c2-94e7-6953fc4d757a",
          "Answers": "sample string 2"
        },
        {
          "Id": "e5685df2-c500-45c2-94e7-6953fc4d757a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e0eb1269-0832-499c-8c1f-c4b8388e78c7",
      "Questions": [
        {
          "Id": "e5685df2-c500-45c2-94e7-6953fc4d757a",
          "Answers": "sample string 2"
        },
        {
          "Id": "e5685df2-c500-45c2-94e7-6953fc4d757a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "114da489-68bc-4d16-b7dd-2cded1144d0c",
      "ContentItemId": "8bfb2581-f8d9-4e0d-a45d-c03d712a5576",
      "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-09-24T06:33:55.6083503+00:00",
      "RescheduleDate": "2026-09-24T06:33:55.6083503+00:00"
    },
    {
      "Id": "114da489-68bc-4d16-b7dd-2cded1144d0c",
      "ContentItemId": "8bfb2581-f8d9-4e0d-a45d-c03d712a5576",
      "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-09-24T06:33:55.6083503+00:00",
      "RescheduleDate": "2026-09-24T06:33:55.6083503+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}