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": "f49d0727-607d-4b1e-9640-63dbaa997811",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-28T08:54:05.9150438+00:00",
  "Registration": {
    "Id": "e967a62f-6621-45d7-a64a-5e8971112ea7",
    "UserId": "22afb63f-a71b-4e30-b68d-b15ec8ed821e",
    "IsCurrent": true,
    "CenterId": "59406fbb-e6ef-4035-870b-6226943ad3b8",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "30a545b3-9107-4711-9980-c27c63b8b6b2",
    "EndDate": "2026-03-28T08:54:05.9150438+00:00",
    "StartDate": "2026-03-28T08:54:05.9150438+00:00",
    "SchedulePreferenceDate": "2026-03-28T08:54:05.9150438+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-28T08:54:05.9150438+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "0be81332-261e-4167-8630-43ec482bff1d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c0cd320d-877a-4c6b-a7b8-64e27f90b632",
      "Sequence": 1,
      "AncestorCategoryId": "66886a2f-9d5c-47d4-8e87-fa41e92274a5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a9b427ee-6878-4bb3-857c-29e9f2ffdcf7",
          "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": "a9b427ee-6878-4bb3-857c-29e9f2ffdcf7",
          "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": "0be81332-261e-4167-8630-43ec482bff1d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c0cd320d-877a-4c6b-a7b8-64e27f90b632",
      "Sequence": 1,
      "AncestorCategoryId": "66886a2f-9d5c-47d4-8e87-fa41e92274a5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a9b427ee-6878-4bb3-857c-29e9f2ffdcf7",
          "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": "a9b427ee-6878-4bb3-857c-29e9f2ffdcf7",
          "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": "6b91cd7a-068c-48d0-a1fb-5cf2b1c21fe8",
    "CategoryId": "008b1040-d797-4f69-993d-5db21d9b51a0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b1fc098d-2900-4bc4-86bd-51c9f9315b58",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b1fc098d-2900-4bc4-86bd-51c9f9315b58",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "7853656c-516d-4969-a826-00a86dc68bab",
      "Questions": [
        {
          "Id": "68a2e8c1-3dc4-44e2-a447-60a403971665",
          "Answers": "sample string 2"
        },
        {
          "Id": "68a2e8c1-3dc4-44e2-a447-60a403971665",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "7853656c-516d-4969-a826-00a86dc68bab",
      "Questions": [
        {
          "Id": "68a2e8c1-3dc4-44e2-a447-60a403971665",
          "Answers": "sample string 2"
        },
        {
          "Id": "68a2e8c1-3dc4-44e2-a447-60a403971665",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "769b5ff9-6874-43e6-8930-fae03f024519",
      "ContentItemId": "dfaf3589-314b-4eed-9f22-c160697ea995",
      "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-28T08:54:05.9150438+00:00",
      "RescheduleDate": "2026-03-28T08:54:05.9150438+00:00"
    },
    {
      "Id": "769b5ff9-6874-43e6-8930-fae03f024519",
      "ContentItemId": "dfaf3589-314b-4eed-9f22-c160697ea995",
      "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-28T08:54:05.9150438+00:00",
      "RescheduleDate": "2026-03-28T08:54:05.9150438+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "f49d0727-607d-4b1e-9640-63dbaa997811",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-28T08:54:06.0087933+00:00",
  "Registration": {
    "Id": "e967a62f-6621-45d7-a64a-5e8971112ea7",
    "UserId": "22afb63f-a71b-4e30-b68d-b15ec8ed821e",
    "IsCurrent": true,
    "CenterId": "59406fbb-e6ef-4035-870b-6226943ad3b8",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "30a545b3-9107-4711-9980-c27c63b8b6b2",
    "EndDate": "2026-03-28T08:54:05.9150438+00:00",
    "StartDate": "2026-03-28T08:54:05.9150438+00:00",
    "SchedulePreferenceDate": "2026-03-28T08:54:05.9150438+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-28T08:54:05.9150438+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "0be81332-261e-4167-8630-43ec482bff1d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c0cd320d-877a-4c6b-a7b8-64e27f90b632",
      "Sequence": 1,
      "AncestorCategoryId": "66886a2f-9d5c-47d4-8e87-fa41e92274a5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a9b427ee-6878-4bb3-857c-29e9f2ffdcf7",
          "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": "a9b427ee-6878-4bb3-857c-29e9f2ffdcf7",
          "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": "0be81332-261e-4167-8630-43ec482bff1d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c0cd320d-877a-4c6b-a7b8-64e27f90b632",
      "Sequence": 1,
      "AncestorCategoryId": "66886a2f-9d5c-47d4-8e87-fa41e92274a5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a9b427ee-6878-4bb3-857c-29e9f2ffdcf7",
          "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": "a9b427ee-6878-4bb3-857c-29e9f2ffdcf7",
          "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": "6b91cd7a-068c-48d0-a1fb-5cf2b1c21fe8",
    "CategoryId": "008b1040-d797-4f69-993d-5db21d9b51a0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b1fc098d-2900-4bc4-86bd-51c9f9315b58",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b1fc098d-2900-4bc4-86bd-51c9f9315b58",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "7853656c-516d-4969-a826-00a86dc68bab",
      "Questions": [
        {
          "Id": "68a2e8c1-3dc4-44e2-a447-60a403971665",
          "Answers": "sample string 2"
        },
        {
          "Id": "68a2e8c1-3dc4-44e2-a447-60a403971665",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "7853656c-516d-4969-a826-00a86dc68bab",
      "Questions": [
        {
          "Id": "68a2e8c1-3dc4-44e2-a447-60a403971665",
          "Answers": "sample string 2"
        },
        {
          "Id": "68a2e8c1-3dc4-44e2-a447-60a403971665",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "769b5ff9-6874-43e6-8930-fae03f024519",
      "ContentItemId": "dfaf3589-314b-4eed-9f22-c160697ea995",
      "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-28T08:54:05.9150438+00:00",
      "RescheduleDate": "2026-03-28T08:54:05.9150438+00:00"
    },
    {
      "Id": "769b5ff9-6874-43e6-8930-fae03f024519",
      "ContentItemId": "dfaf3589-314b-4eed-9f22-c160697ea995",
      "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-28T08:54:05.9150438+00:00",
      "RescheduleDate": "2026-03-28T08:54:05.9150438+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}