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": "670def1e-ee03-4828-961a-9b4eab3a312e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-25T08:54:26.3726011+00:00",
  "Registration": {
    "Id": "1e537091-a40d-4c1f-a75a-6453700e6099",
    "UserId": "745c50ad-3e9f-4b2e-a343-2e3700299617",
    "IsCurrent": true,
    "CenterId": "f37cccb9-9ea2-4063-b0ab-03ca801351c9",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "8c7f0a7c-62bc-4ccb-9e54-8b1bae77545a",
    "EndDate": "2026-08-25T08:54:26.3569783+00:00",
    "StartDate": "2026-08-25T08:54:26.3569783+00:00",
    "SchedulePreferenceDate": "2026-08-25T08:54:26.3569783+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-08-25T08:54:26.3569783+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3043a55c-07ed-4183-a940-d9ed4e08b36a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "45f99fde-3542-4972-a97f-e226bd612e63",
      "Sequence": 1,
      "AncestorCategoryId": "cc679233-a573-4717-8032-4a055ca3a467",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "bc8bd8f4-aa1e-4ce6-82dd-4316dbb97f1a",
          "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": "bc8bd8f4-aa1e-4ce6-82dd-4316dbb97f1a",
          "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": "3043a55c-07ed-4183-a940-d9ed4e08b36a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "45f99fde-3542-4972-a97f-e226bd612e63",
      "Sequence": 1,
      "AncestorCategoryId": "cc679233-a573-4717-8032-4a055ca3a467",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "bc8bd8f4-aa1e-4ce6-82dd-4316dbb97f1a",
          "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": "bc8bd8f4-aa1e-4ce6-82dd-4316dbb97f1a",
          "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": "e9bfd136-dc8a-4e9c-b128-102d9e5e9643",
    "CategoryId": "9d4bbdbc-57e5-4ed3-90f8-d8cbd4b5eb99",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0436b1dc-3310-487f-ba29-d13da9096934",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0436b1dc-3310-487f-ba29-d13da9096934",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "453c4980-aead-4ca1-86f0-e116f5a96a45",
      "Questions": [
        {
          "Id": "e402db86-ef05-446c-b774-45ecb42edf98",
          "Answers": "sample string 2"
        },
        {
          "Id": "e402db86-ef05-446c-b774-45ecb42edf98",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "453c4980-aead-4ca1-86f0-e116f5a96a45",
      "Questions": [
        {
          "Id": "e402db86-ef05-446c-b774-45ecb42edf98",
          "Answers": "sample string 2"
        },
        {
          "Id": "e402db86-ef05-446c-b774-45ecb42edf98",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b82a5acb-1811-441a-b577-15f685760919",
      "ContentItemId": "facfe553-3638-49e2-8611-af260c34ac14",
      "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-08-25T08:54:26.3569783+00:00",
      "RescheduleDate": "2026-08-25T08:54:26.3569783+00:00"
    },
    {
      "Id": "b82a5acb-1811-441a-b577-15f685760919",
      "ContentItemId": "facfe553-3638-49e2-8611-af260c34ac14",
      "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-08-25T08:54:26.3569783+00:00",
      "RescheduleDate": "2026-08-25T08:54:26.3569783+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "670def1e-ee03-4828-961a-9b4eab3a312e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-25T08:54:26.4038517+00:00",
  "Registration": {
    "Id": "1e537091-a40d-4c1f-a75a-6453700e6099",
    "UserId": "745c50ad-3e9f-4b2e-a343-2e3700299617",
    "IsCurrent": true,
    "CenterId": "f37cccb9-9ea2-4063-b0ab-03ca801351c9",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "8c7f0a7c-62bc-4ccb-9e54-8b1bae77545a",
    "EndDate": "2026-08-25T08:54:26.3569783+00:00",
    "StartDate": "2026-08-25T08:54:26.3569783+00:00",
    "SchedulePreferenceDate": "2026-08-25T08:54:26.3569783+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-08-25T08:54:26.3569783+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3043a55c-07ed-4183-a940-d9ed4e08b36a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "45f99fde-3542-4972-a97f-e226bd612e63",
      "Sequence": 1,
      "AncestorCategoryId": "cc679233-a573-4717-8032-4a055ca3a467",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "bc8bd8f4-aa1e-4ce6-82dd-4316dbb97f1a",
          "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": "bc8bd8f4-aa1e-4ce6-82dd-4316dbb97f1a",
          "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": "3043a55c-07ed-4183-a940-d9ed4e08b36a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "45f99fde-3542-4972-a97f-e226bd612e63",
      "Sequence": 1,
      "AncestorCategoryId": "cc679233-a573-4717-8032-4a055ca3a467",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "bc8bd8f4-aa1e-4ce6-82dd-4316dbb97f1a",
          "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": "bc8bd8f4-aa1e-4ce6-82dd-4316dbb97f1a",
          "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": "e9bfd136-dc8a-4e9c-b128-102d9e5e9643",
    "CategoryId": "9d4bbdbc-57e5-4ed3-90f8-d8cbd4b5eb99",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0436b1dc-3310-487f-ba29-d13da9096934",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0436b1dc-3310-487f-ba29-d13da9096934",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "453c4980-aead-4ca1-86f0-e116f5a96a45",
      "Questions": [
        {
          "Id": "e402db86-ef05-446c-b774-45ecb42edf98",
          "Answers": "sample string 2"
        },
        {
          "Id": "e402db86-ef05-446c-b774-45ecb42edf98",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "453c4980-aead-4ca1-86f0-e116f5a96a45",
      "Questions": [
        {
          "Id": "e402db86-ef05-446c-b774-45ecb42edf98",
          "Answers": "sample string 2"
        },
        {
          "Id": "e402db86-ef05-446c-b774-45ecb42edf98",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b82a5acb-1811-441a-b577-15f685760919",
      "ContentItemId": "facfe553-3638-49e2-8611-af260c34ac14",
      "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-08-25T08:54:26.3569783+00:00",
      "RescheduleDate": "2026-08-25T08:54:26.3569783+00:00"
    },
    {
      "Id": "b82a5acb-1811-441a-b577-15f685760919",
      "ContentItemId": "facfe553-3638-49e2-8611-af260c34ac14",
      "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-08-25T08:54:26.3569783+00:00",
      "RescheduleDate": "2026-08-25T08:54:26.3569783+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}