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": "00ebf8d1-247a-4a48-a54d-c7685f783fbe",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-30T16:31:00.64486+00:00",
  "Registration": {
    "Id": "2741ad93-1577-4e29-8f25-ed33639fe3d3",
    "UserId": "5cd88df1-93ae-4a60-8e6b-87fd28864a01",
    "IsCurrent": true,
    "CenterId": "4909995b-df99-4bc4-a667-e07770903e05",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6ab415d8-54db-4d2d-b975-59e9eccedd4b",
    "EndDate": "2026-09-30T16:31:00.64486+00:00",
    "StartDate": "2026-09-30T16:31:00.64486+00:00",
    "SchedulePreferenceDate": "2026-09-30T16:31:00.64486+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-30T16:31:00.64486+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "50f9c2c9-2fb7-4da9-a899-e00d89932558",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d7af5edb-7435-40ff-9913-a906dd384be9",
      "Sequence": 1,
      "AncestorCategoryId": "e97fa691-22d2-42f1-a49f-6e34b7adf439",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3794065f-12e4-42d9-bdce-f37efffacf1e",
          "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": "3794065f-12e4-42d9-bdce-f37efffacf1e",
          "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": "50f9c2c9-2fb7-4da9-a899-e00d89932558",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d7af5edb-7435-40ff-9913-a906dd384be9",
      "Sequence": 1,
      "AncestorCategoryId": "e97fa691-22d2-42f1-a49f-6e34b7adf439",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3794065f-12e4-42d9-bdce-f37efffacf1e",
          "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": "3794065f-12e4-42d9-bdce-f37efffacf1e",
          "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": "8ed3a23e-c31d-4037-9a73-161be6d5a203",
    "CategoryId": "c5e63442-2482-412e-8311-13e8b950da1c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b4f0319f-09ca-4a46-8fdc-3f8a518d989f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b4f0319f-09ca-4a46-8fdc-3f8a518d989f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "60ca337c-c8e8-4a2b-ace5-5f29b2f530d0",
      "Questions": [
        {
          "Id": "ad0bc6ef-1fc9-4326-b4b1-104979db3da4",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad0bc6ef-1fc9-4326-b4b1-104979db3da4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "60ca337c-c8e8-4a2b-ace5-5f29b2f530d0",
      "Questions": [
        {
          "Id": "ad0bc6ef-1fc9-4326-b4b1-104979db3da4",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad0bc6ef-1fc9-4326-b4b1-104979db3da4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d1470736-f84b-49b4-9dc1-2760c4e1a636",
      "ContentItemId": "75019c70-9221-44b3-a3f3-78892f47f67f",
      "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-30T16:31:00.64486+00:00",
      "RescheduleDate": "2026-09-30T16:31:00.64486+00:00"
    },
    {
      "Id": "d1470736-f84b-49b4-9dc1-2760c4e1a636",
      "ContentItemId": "75019c70-9221-44b3-a3f3-78892f47f67f",
      "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-30T16:31:00.64486+00:00",
      "RescheduleDate": "2026-09-30T16:31:00.64486+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "00ebf8d1-247a-4a48-a54d-c7685f783fbe",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-30T16:31:00.6761106+00:00",
  "Registration": {
    "Id": "2741ad93-1577-4e29-8f25-ed33639fe3d3",
    "UserId": "5cd88df1-93ae-4a60-8e6b-87fd28864a01",
    "IsCurrent": true,
    "CenterId": "4909995b-df99-4bc4-a667-e07770903e05",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6ab415d8-54db-4d2d-b975-59e9eccedd4b",
    "EndDate": "2026-09-30T16:31:00.64486+00:00",
    "StartDate": "2026-09-30T16:31:00.64486+00:00",
    "SchedulePreferenceDate": "2026-09-30T16:31:00.64486+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-30T16:31:00.64486+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "50f9c2c9-2fb7-4da9-a899-e00d89932558",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d7af5edb-7435-40ff-9913-a906dd384be9",
      "Sequence": 1,
      "AncestorCategoryId": "e97fa691-22d2-42f1-a49f-6e34b7adf439",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3794065f-12e4-42d9-bdce-f37efffacf1e",
          "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": "3794065f-12e4-42d9-bdce-f37efffacf1e",
          "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": "50f9c2c9-2fb7-4da9-a899-e00d89932558",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d7af5edb-7435-40ff-9913-a906dd384be9",
      "Sequence": 1,
      "AncestorCategoryId": "e97fa691-22d2-42f1-a49f-6e34b7adf439",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3794065f-12e4-42d9-bdce-f37efffacf1e",
          "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": "3794065f-12e4-42d9-bdce-f37efffacf1e",
          "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": "8ed3a23e-c31d-4037-9a73-161be6d5a203",
    "CategoryId": "c5e63442-2482-412e-8311-13e8b950da1c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b4f0319f-09ca-4a46-8fdc-3f8a518d989f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b4f0319f-09ca-4a46-8fdc-3f8a518d989f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "60ca337c-c8e8-4a2b-ace5-5f29b2f530d0",
      "Questions": [
        {
          "Id": "ad0bc6ef-1fc9-4326-b4b1-104979db3da4",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad0bc6ef-1fc9-4326-b4b1-104979db3da4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "60ca337c-c8e8-4a2b-ace5-5f29b2f530d0",
      "Questions": [
        {
          "Id": "ad0bc6ef-1fc9-4326-b4b1-104979db3da4",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad0bc6ef-1fc9-4326-b4b1-104979db3da4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d1470736-f84b-49b4-9dc1-2760c4e1a636",
      "ContentItemId": "75019c70-9221-44b3-a3f3-78892f47f67f",
      "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-30T16:31:00.64486+00:00",
      "RescheduleDate": "2026-09-30T16:31:00.64486+00:00"
    },
    {
      "Id": "d1470736-f84b-49b4-9dc1-2760c4e1a636",
      "ContentItemId": "75019c70-9221-44b3-a3f3-78892f47f67f",
      "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-30T16:31:00.64486+00:00",
      "RescheduleDate": "2026-09-30T16:31:00.64486+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}