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": "37f6cd5d-03e4-48ae-9253-4fb1eb2e1de8",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-10T08:31:56.9546387+00:00",
  "Registration": {
    "Id": "64482d3e-236e-4bb2-9198-cb0e187b0542",
    "UserId": "c1efcb22-7f27-4f88-906e-dd0622f4d576",
    "IsCurrent": true,
    "CenterId": "6ed6187d-27b0-4a98-833d-f434f16e81e3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "324de35f-b2eb-4b55-856c-be23e340e86b",
    "EndDate": "2026-10-10T08:31:56.9546387+00:00",
    "StartDate": "2026-10-10T08:31:56.9546387+00:00",
    "SchedulePreferenceDate": "2026-10-10T08:31:56.9546387+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-10T08:31:56.9546387+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "17f8e672-3da9-4d6b-b640-e82f3e323975",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "12198e93-7efd-412a-b907-ae6b422f9534",
      "Sequence": 1,
      "AncestorCategoryId": "67770335-bb65-4994-a9fd-f2d09c9f7c81",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8ea2f627-94ed-4f6d-938f-a9a423655772",
          "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": "8ea2f627-94ed-4f6d-938f-a9a423655772",
          "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": "17f8e672-3da9-4d6b-b640-e82f3e323975",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "12198e93-7efd-412a-b907-ae6b422f9534",
      "Sequence": 1,
      "AncestorCategoryId": "67770335-bb65-4994-a9fd-f2d09c9f7c81",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8ea2f627-94ed-4f6d-938f-a9a423655772",
          "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": "8ea2f627-94ed-4f6d-938f-a9a423655772",
          "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": "2a84e271-3afe-432d-a6db-450194f783e4",
    "CategoryId": "a193641d-db12-4f8a-8f4b-4d62926773dd",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a8ea07b8-da50-4ec4-8476-68819fd9d7a4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a8ea07b8-da50-4ec4-8476-68819fd9d7a4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "08a0c596-499a-452c-ac7c-dad26886dee7",
      "Questions": [
        {
          "Id": "f75e84a8-4b9c-425c-b190-d651f271f535",
          "Answers": "sample string 2"
        },
        {
          "Id": "f75e84a8-4b9c-425c-b190-d651f271f535",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "08a0c596-499a-452c-ac7c-dad26886dee7",
      "Questions": [
        {
          "Id": "f75e84a8-4b9c-425c-b190-d651f271f535",
          "Answers": "sample string 2"
        },
        {
          "Id": "f75e84a8-4b9c-425c-b190-d651f271f535",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4ec62ffa-c662-4d27-8d9e-7dbfaab0e839",
      "ContentItemId": "7073d95c-cef8-489f-8c5c-5d26cd761950",
      "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-10T08:31:56.9546387+00:00",
      "RescheduleDate": "2026-10-10T08:31:56.9546387+00:00"
    },
    {
      "Id": "4ec62ffa-c662-4d27-8d9e-7dbfaab0e839",
      "ContentItemId": "7073d95c-cef8-489f-8c5c-5d26cd761950",
      "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-10T08:31:56.9546387+00:00",
      "RescheduleDate": "2026-10-10T08:31:56.9546387+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "37f6cd5d-03e4-48ae-9253-4fb1eb2e1de8",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-10T08:31:57.0015161+00:00",
  "Registration": {
    "Id": "64482d3e-236e-4bb2-9198-cb0e187b0542",
    "UserId": "c1efcb22-7f27-4f88-906e-dd0622f4d576",
    "IsCurrent": true,
    "CenterId": "6ed6187d-27b0-4a98-833d-f434f16e81e3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "324de35f-b2eb-4b55-856c-be23e340e86b",
    "EndDate": "2026-10-10T08:31:56.9546387+00:00",
    "StartDate": "2026-10-10T08:31:56.9546387+00:00",
    "SchedulePreferenceDate": "2026-10-10T08:31:56.9546387+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-10T08:31:56.9546387+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "17f8e672-3da9-4d6b-b640-e82f3e323975",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "12198e93-7efd-412a-b907-ae6b422f9534",
      "Sequence": 1,
      "AncestorCategoryId": "67770335-bb65-4994-a9fd-f2d09c9f7c81",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8ea2f627-94ed-4f6d-938f-a9a423655772",
          "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": "8ea2f627-94ed-4f6d-938f-a9a423655772",
          "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": "17f8e672-3da9-4d6b-b640-e82f3e323975",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "12198e93-7efd-412a-b907-ae6b422f9534",
      "Sequence": 1,
      "AncestorCategoryId": "67770335-bb65-4994-a9fd-f2d09c9f7c81",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8ea2f627-94ed-4f6d-938f-a9a423655772",
          "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": "8ea2f627-94ed-4f6d-938f-a9a423655772",
          "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": "2a84e271-3afe-432d-a6db-450194f783e4",
    "CategoryId": "a193641d-db12-4f8a-8f4b-4d62926773dd",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a8ea07b8-da50-4ec4-8476-68819fd9d7a4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a8ea07b8-da50-4ec4-8476-68819fd9d7a4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "08a0c596-499a-452c-ac7c-dad26886dee7",
      "Questions": [
        {
          "Id": "f75e84a8-4b9c-425c-b190-d651f271f535",
          "Answers": "sample string 2"
        },
        {
          "Id": "f75e84a8-4b9c-425c-b190-d651f271f535",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "08a0c596-499a-452c-ac7c-dad26886dee7",
      "Questions": [
        {
          "Id": "f75e84a8-4b9c-425c-b190-d651f271f535",
          "Answers": "sample string 2"
        },
        {
          "Id": "f75e84a8-4b9c-425c-b190-d651f271f535",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4ec62ffa-c662-4d27-8d9e-7dbfaab0e839",
      "ContentItemId": "7073d95c-cef8-489f-8c5c-5d26cd761950",
      "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-10T08:31:56.9546387+00:00",
      "RescheduleDate": "2026-10-10T08:31:56.9546387+00:00"
    },
    {
      "Id": "4ec62ffa-c662-4d27-8d9e-7dbfaab0e839",
      "ContentItemId": "7073d95c-cef8-489f-8c5c-5d26cd761950",
      "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-10T08:31:56.9546387+00:00",
      "RescheduleDate": "2026-10-10T08:31:56.9546387+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}