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": "c4bf17c8-424b-48ad-8484-209652c5da21",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-23T19:44:07.9104724+00:00",
  "Registration": {
    "Id": "892e3104-6341-49b2-bd44-1dbd155d947e",
    "UserId": "5cc9e673-0e5a-4a74-b033-a7f53ff4386d",
    "IsCurrent": true,
    "CenterId": "bce9fe99-3105-441b-9c84-a9128babd7c3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "0e6e8156-0995-46f9-a9fa-0ae5115a52ab",
    "EndDate": "2026-03-23T19:44:07.9104724+00:00",
    "StartDate": "2026-03-23T19:44:07.9104724+00:00",
    "SchedulePreferenceDate": "2026-03-23T19:44:07.9104724+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-03-23T19:44:07.9104724+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a7969465-cd6b-4f8b-8f9f-8a72a0fd4521",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9c82b789-3a79-41c8-a366-24373a7ae455",
      "Sequence": 1,
      "AncestorCategoryId": "c7e1d609-664f-4d02-b694-83948a0bad85",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "30dd7f82-21ef-4316-adca-525f8ef00151",
          "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": "30dd7f82-21ef-4316-adca-525f8ef00151",
          "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": "a7969465-cd6b-4f8b-8f9f-8a72a0fd4521",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9c82b789-3a79-41c8-a366-24373a7ae455",
      "Sequence": 1,
      "AncestorCategoryId": "c7e1d609-664f-4d02-b694-83948a0bad85",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "30dd7f82-21ef-4316-adca-525f8ef00151",
          "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": "30dd7f82-21ef-4316-adca-525f8ef00151",
          "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": "e747551d-7474-4da5-b9b2-f3e61bbbe603",
    "CategoryId": "36b6b59d-f43f-42ee-b7fe-9818b576c461",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a3999bd3-17e7-48ee-91a3-7a86db2b245b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a3999bd3-17e7-48ee-91a3-7a86db2b245b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "7c89cb83-d204-48a7-8478-411aef0381b1",
      "Questions": [
        {
          "Id": "4ab66859-d465-4c11-a301-cf7a38ed9d54",
          "Answers": "sample string 2"
        },
        {
          "Id": "4ab66859-d465-4c11-a301-cf7a38ed9d54",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "7c89cb83-d204-48a7-8478-411aef0381b1",
      "Questions": [
        {
          "Id": "4ab66859-d465-4c11-a301-cf7a38ed9d54",
          "Answers": "sample string 2"
        },
        {
          "Id": "4ab66859-d465-4c11-a301-cf7a38ed9d54",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "e03363f1-e0ed-4945-b7f4-68662a60caae",
      "ContentItemId": "748e2eb4-3178-4fe1-87c5-9b039971ce23",
      "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-03-23T19:44:07.9104724+00:00",
      "RescheduleDate": "2026-03-23T19:44:07.9104724+00:00"
    },
    {
      "Id": "e03363f1-e0ed-4945-b7f4-68662a60caae",
      "ContentItemId": "748e2eb4-3178-4fe1-87c5-9b039971ce23",
      "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-03-23T19:44:07.9104724+00:00",
      "RescheduleDate": "2026-03-23T19:44:07.9104724+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "c4bf17c8-424b-48ad-8484-209652c5da21",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-23T19:44:07.9417226+00:00",
  "Registration": {
    "Id": "892e3104-6341-49b2-bd44-1dbd155d947e",
    "UserId": "5cc9e673-0e5a-4a74-b033-a7f53ff4386d",
    "IsCurrent": true,
    "CenterId": "bce9fe99-3105-441b-9c84-a9128babd7c3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "0e6e8156-0995-46f9-a9fa-0ae5115a52ab",
    "EndDate": "2026-03-23T19:44:07.9104724+00:00",
    "StartDate": "2026-03-23T19:44:07.9104724+00:00",
    "SchedulePreferenceDate": "2026-03-23T19:44:07.9104724+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-03-23T19:44:07.9104724+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a7969465-cd6b-4f8b-8f9f-8a72a0fd4521",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9c82b789-3a79-41c8-a366-24373a7ae455",
      "Sequence": 1,
      "AncestorCategoryId": "c7e1d609-664f-4d02-b694-83948a0bad85",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "30dd7f82-21ef-4316-adca-525f8ef00151",
          "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": "30dd7f82-21ef-4316-adca-525f8ef00151",
          "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": "a7969465-cd6b-4f8b-8f9f-8a72a0fd4521",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9c82b789-3a79-41c8-a366-24373a7ae455",
      "Sequence": 1,
      "AncestorCategoryId": "c7e1d609-664f-4d02-b694-83948a0bad85",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "30dd7f82-21ef-4316-adca-525f8ef00151",
          "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": "30dd7f82-21ef-4316-adca-525f8ef00151",
          "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": "e747551d-7474-4da5-b9b2-f3e61bbbe603",
    "CategoryId": "36b6b59d-f43f-42ee-b7fe-9818b576c461",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a3999bd3-17e7-48ee-91a3-7a86db2b245b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a3999bd3-17e7-48ee-91a3-7a86db2b245b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "7c89cb83-d204-48a7-8478-411aef0381b1",
      "Questions": [
        {
          "Id": "4ab66859-d465-4c11-a301-cf7a38ed9d54",
          "Answers": "sample string 2"
        },
        {
          "Id": "4ab66859-d465-4c11-a301-cf7a38ed9d54",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "7c89cb83-d204-48a7-8478-411aef0381b1",
      "Questions": [
        {
          "Id": "4ab66859-d465-4c11-a301-cf7a38ed9d54",
          "Answers": "sample string 2"
        },
        {
          "Id": "4ab66859-d465-4c11-a301-cf7a38ed9d54",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "e03363f1-e0ed-4945-b7f4-68662a60caae",
      "ContentItemId": "748e2eb4-3178-4fe1-87c5-9b039971ce23",
      "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-03-23T19:44:07.9104724+00:00",
      "RescheduleDate": "2026-03-23T19:44:07.9104724+00:00"
    },
    {
      "Id": "e03363f1-e0ed-4945-b7f4-68662a60caae",
      "ContentItemId": "748e2eb4-3178-4fe1-87c5-9b039971ce23",
      "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-03-23T19:44:07.9104724+00:00",
      "RescheduleDate": "2026-03-23T19:44:07.9104724+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}