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": "f4ce611b-5636-4d87-90ab-0229f70f0734",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-24T09:54:46.5791603+00:00",
  "Registration": {
    "Id": "540674f0-8904-426a-a950-25a23187d506",
    "UserId": "06a451b1-9aea-4a0a-91eb-185dd5c27eb0",
    "IsCurrent": true,
    "CenterId": "46e9ac69-9e2a-4264-a83f-5253e3c5a04c",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "3d5c9c0d-7b26-4fa3-b67b-311f9fc4ebe9",
    "EndDate": "2026-07-24T09:54:46.5635337+00:00",
    "StartDate": "2026-07-24T09:54:46.5635337+00:00",
    "SchedulePreferenceDate": "2026-07-24T09:54:46.5635337+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-07-24T09:54:46.5635337+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "69db7e1c-d966-438b-8dd4-d219229aee7a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f1d307a0-e0cf-4592-a8b3-56a8c403162c",
      "Sequence": 1,
      "AncestorCategoryId": "258c27e9-abcd-4a2e-bec4-d04bc29ac7b1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9329a4a4-1ea1-4e65-b128-e2f5faad9226",
          "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": "9329a4a4-1ea1-4e65-b128-e2f5faad9226",
          "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": "69db7e1c-d966-438b-8dd4-d219229aee7a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f1d307a0-e0cf-4592-a8b3-56a8c403162c",
      "Sequence": 1,
      "AncestorCategoryId": "258c27e9-abcd-4a2e-bec4-d04bc29ac7b1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9329a4a4-1ea1-4e65-b128-e2f5faad9226",
          "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": "9329a4a4-1ea1-4e65-b128-e2f5faad9226",
          "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": "2a3490b3-9e55-45d8-b3c4-64e3c478b682",
    "CategoryId": "abb3b1f7-b95d-48a0-b4b2-69976b37aa93",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "bdbc448e-0107-4846-946c-e1e96f162484",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "bdbc448e-0107-4846-946c-e1e96f162484",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ac08e60a-58db-48ac-9eb5-10bc5d00d137",
      "Questions": [
        {
          "Id": "2956e9a7-8930-420e-9a20-249bf8a597b1",
          "Answers": "sample string 2"
        },
        {
          "Id": "2956e9a7-8930-420e-9a20-249bf8a597b1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ac08e60a-58db-48ac-9eb5-10bc5d00d137",
      "Questions": [
        {
          "Id": "2956e9a7-8930-420e-9a20-249bf8a597b1",
          "Answers": "sample string 2"
        },
        {
          "Id": "2956e9a7-8930-420e-9a20-249bf8a597b1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6665cc8f-28cf-4f18-ba5b-5de1db02d43e",
      "ContentItemId": "13ac8d67-491c-41fc-97b5-60087db6cff2",
      "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-07-24T09:54:46.5635337+00:00",
      "RescheduleDate": "2026-07-24T09:54:46.5635337+00:00"
    },
    {
      "Id": "6665cc8f-28cf-4f18-ba5b-5de1db02d43e",
      "ContentItemId": "13ac8d67-491c-41fc-97b5-60087db6cff2",
      "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-07-24T09:54:46.5635337+00:00",
      "RescheduleDate": "2026-07-24T09:54:46.5635337+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "f4ce611b-5636-4d87-90ab-0229f70f0734",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-24T09:54:46.6104121+00:00",
  "Registration": {
    "Id": "540674f0-8904-426a-a950-25a23187d506",
    "UserId": "06a451b1-9aea-4a0a-91eb-185dd5c27eb0",
    "IsCurrent": true,
    "CenterId": "46e9ac69-9e2a-4264-a83f-5253e3c5a04c",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "3d5c9c0d-7b26-4fa3-b67b-311f9fc4ebe9",
    "EndDate": "2026-07-24T09:54:46.5635337+00:00",
    "StartDate": "2026-07-24T09:54:46.5635337+00:00",
    "SchedulePreferenceDate": "2026-07-24T09:54:46.5635337+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-07-24T09:54:46.5635337+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "69db7e1c-d966-438b-8dd4-d219229aee7a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f1d307a0-e0cf-4592-a8b3-56a8c403162c",
      "Sequence": 1,
      "AncestorCategoryId": "258c27e9-abcd-4a2e-bec4-d04bc29ac7b1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9329a4a4-1ea1-4e65-b128-e2f5faad9226",
          "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": "9329a4a4-1ea1-4e65-b128-e2f5faad9226",
          "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": "69db7e1c-d966-438b-8dd4-d219229aee7a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f1d307a0-e0cf-4592-a8b3-56a8c403162c",
      "Sequence": 1,
      "AncestorCategoryId": "258c27e9-abcd-4a2e-bec4-d04bc29ac7b1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9329a4a4-1ea1-4e65-b128-e2f5faad9226",
          "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": "9329a4a4-1ea1-4e65-b128-e2f5faad9226",
          "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": "2a3490b3-9e55-45d8-b3c4-64e3c478b682",
    "CategoryId": "abb3b1f7-b95d-48a0-b4b2-69976b37aa93",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "bdbc448e-0107-4846-946c-e1e96f162484",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "bdbc448e-0107-4846-946c-e1e96f162484",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ac08e60a-58db-48ac-9eb5-10bc5d00d137",
      "Questions": [
        {
          "Id": "2956e9a7-8930-420e-9a20-249bf8a597b1",
          "Answers": "sample string 2"
        },
        {
          "Id": "2956e9a7-8930-420e-9a20-249bf8a597b1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ac08e60a-58db-48ac-9eb5-10bc5d00d137",
      "Questions": [
        {
          "Id": "2956e9a7-8930-420e-9a20-249bf8a597b1",
          "Answers": "sample string 2"
        },
        {
          "Id": "2956e9a7-8930-420e-9a20-249bf8a597b1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6665cc8f-28cf-4f18-ba5b-5de1db02d43e",
      "ContentItemId": "13ac8d67-491c-41fc-97b5-60087db6cff2",
      "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-07-24T09:54:46.5635337+00:00",
      "RescheduleDate": "2026-07-24T09:54:46.5635337+00:00"
    },
    {
      "Id": "6665cc8f-28cf-4f18-ba5b-5de1db02d43e",
      "ContentItemId": "13ac8d67-491c-41fc-97b5-60087db6cff2",
      "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-07-24T09:54:46.5635337+00:00",
      "RescheduleDate": "2026-07-24T09:54:46.5635337+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}