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": "92da8a5e-6559-44fa-ad91-78fad9aaac62",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-01T09:43:09.2310398+00:00",
  "Registration": {
    "Id": "63f7d7f9-20c8-41c1-afdb-dacc0693173d",
    "UserId": "47d031f5-aa99-4b26-8049-4ae7157df7a2",
    "IsCurrent": true,
    "CenterId": "8cd0adf0-6075-445e-9dfb-97a7d8006362",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "79bced80-4391-4c30-ac00-d3eed3220e5b",
    "EndDate": "2026-06-01T09:43:09.2154171+00:00",
    "StartDate": "2026-06-01T09:43:09.2154171+00:00",
    "SchedulePreferenceDate": "2026-06-01T09:43:09.2154171+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-06-01T09:43:09.2154171+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "631f8910-c999-401f-ab3d-9601e8ac158a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "18403f84-f02d-4f45-8a3f-7c8d8f9656f7",
      "Sequence": 1,
      "AncestorCategoryId": "295cc296-fe12-4d25-be8d-6136c276a1c0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2d64de78-7892-46cd-bd29-fe09ace75270",
          "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": "2d64de78-7892-46cd-bd29-fe09ace75270",
          "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": "631f8910-c999-401f-ab3d-9601e8ac158a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "18403f84-f02d-4f45-8a3f-7c8d8f9656f7",
      "Sequence": 1,
      "AncestorCategoryId": "295cc296-fe12-4d25-be8d-6136c276a1c0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2d64de78-7892-46cd-bd29-fe09ace75270",
          "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": "2d64de78-7892-46cd-bd29-fe09ace75270",
          "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": "293199a9-93d4-4b89-bb51-e35a2ac6746c",
    "CategoryId": "f4f7d4bc-e8a6-4186-926e-80710a76a2d9",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "bbd97cb7-608b-4ce7-8f18-38a3821e6996",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "bbd97cb7-608b-4ce7-8f18-38a3821e6996",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c4b5930c-c20f-45ed-b11b-2f72a834bb52",
      "Questions": [
        {
          "Id": "eb524a3c-6006-48f0-8e9e-89766b3d5e89",
          "Answers": "sample string 2"
        },
        {
          "Id": "eb524a3c-6006-48f0-8e9e-89766b3d5e89",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c4b5930c-c20f-45ed-b11b-2f72a834bb52",
      "Questions": [
        {
          "Id": "eb524a3c-6006-48f0-8e9e-89766b3d5e89",
          "Answers": "sample string 2"
        },
        {
          "Id": "eb524a3c-6006-48f0-8e9e-89766b3d5e89",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f290e19f-4954-44ab-b7cf-9fd4b86b7921",
      "ContentItemId": "6dceb1b3-7de5-4171-a39b-fb63f5e2b64f",
      "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-06-01T09:43:09.2154171+00:00",
      "RescheduleDate": "2026-06-01T09:43:09.2154171+00:00"
    },
    {
      "Id": "f290e19f-4954-44ab-b7cf-9fd4b86b7921",
      "ContentItemId": "6dceb1b3-7de5-4171-a39b-fb63f5e2b64f",
      "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-06-01T09:43:09.2154171+00:00",
      "RescheduleDate": "2026-06-01T09:43:09.2154171+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "92da8a5e-6559-44fa-ad91-78fad9aaac62",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-01T09:43:09.2622892+00:00",
  "Registration": {
    "Id": "63f7d7f9-20c8-41c1-afdb-dacc0693173d",
    "UserId": "47d031f5-aa99-4b26-8049-4ae7157df7a2",
    "IsCurrent": true,
    "CenterId": "8cd0adf0-6075-445e-9dfb-97a7d8006362",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "79bced80-4391-4c30-ac00-d3eed3220e5b",
    "EndDate": "2026-06-01T09:43:09.2154171+00:00",
    "StartDate": "2026-06-01T09:43:09.2154171+00:00",
    "SchedulePreferenceDate": "2026-06-01T09:43:09.2154171+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-06-01T09:43:09.2154171+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "631f8910-c999-401f-ab3d-9601e8ac158a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "18403f84-f02d-4f45-8a3f-7c8d8f9656f7",
      "Sequence": 1,
      "AncestorCategoryId": "295cc296-fe12-4d25-be8d-6136c276a1c0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2d64de78-7892-46cd-bd29-fe09ace75270",
          "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": "2d64de78-7892-46cd-bd29-fe09ace75270",
          "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": "631f8910-c999-401f-ab3d-9601e8ac158a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "18403f84-f02d-4f45-8a3f-7c8d8f9656f7",
      "Sequence": 1,
      "AncestorCategoryId": "295cc296-fe12-4d25-be8d-6136c276a1c0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2d64de78-7892-46cd-bd29-fe09ace75270",
          "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": "2d64de78-7892-46cd-bd29-fe09ace75270",
          "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": "293199a9-93d4-4b89-bb51-e35a2ac6746c",
    "CategoryId": "f4f7d4bc-e8a6-4186-926e-80710a76a2d9",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "bbd97cb7-608b-4ce7-8f18-38a3821e6996",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "bbd97cb7-608b-4ce7-8f18-38a3821e6996",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c4b5930c-c20f-45ed-b11b-2f72a834bb52",
      "Questions": [
        {
          "Id": "eb524a3c-6006-48f0-8e9e-89766b3d5e89",
          "Answers": "sample string 2"
        },
        {
          "Id": "eb524a3c-6006-48f0-8e9e-89766b3d5e89",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c4b5930c-c20f-45ed-b11b-2f72a834bb52",
      "Questions": [
        {
          "Id": "eb524a3c-6006-48f0-8e9e-89766b3d5e89",
          "Answers": "sample string 2"
        },
        {
          "Id": "eb524a3c-6006-48f0-8e9e-89766b3d5e89",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f290e19f-4954-44ab-b7cf-9fd4b86b7921",
      "ContentItemId": "6dceb1b3-7de5-4171-a39b-fb63f5e2b64f",
      "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-06-01T09:43:09.2154171+00:00",
      "RescheduleDate": "2026-06-01T09:43:09.2154171+00:00"
    },
    {
      "Id": "f290e19f-4954-44ab-b7cf-9fd4b86b7921",
      "ContentItemId": "6dceb1b3-7de5-4171-a39b-fb63f5e2b64f",
      "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-06-01T09:43:09.2154171+00:00",
      "RescheduleDate": "2026-06-01T09:43:09.2154171+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}