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": "9412ea4f-c8c6-45f7-95ef-48f61f0e7b3d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-04T21:46:25.4219086+00:00",
  "Registration": {
    "Id": "eef1aedf-258a-400c-aab5-bdabc5faadb2",
    "UserId": "40a58eec-7930-4ff1-a234-95ed7f6fe4e5",
    "IsCurrent": true,
    "CenterId": "1b296f1a-3c21-4a8f-8d83-1873b8e39460",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "183627cd-ad94-4900-b98f-f01e7ffb4bba",
    "EndDate": "2026-09-04T21:46:25.4062838+00:00",
    "StartDate": "2026-09-04T21:46:25.4062838+00:00",
    "SchedulePreferenceDate": "2026-09-04T21:46:25.4062838+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-04T21:46:25.4062838+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f92145c8-cc5a-4958-a0eb-018b43a6450d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "157a2517-3743-4756-a8dc-b9b9a13f393c",
      "Sequence": 1,
      "AncestorCategoryId": "42b1567b-75a1-4e35-90fa-14709ed75c6d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7e058989-07cf-4f4b-bc88-2a45af808572",
          "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": "7e058989-07cf-4f4b-bc88-2a45af808572",
          "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": "f92145c8-cc5a-4958-a0eb-018b43a6450d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "157a2517-3743-4756-a8dc-b9b9a13f393c",
      "Sequence": 1,
      "AncestorCategoryId": "42b1567b-75a1-4e35-90fa-14709ed75c6d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7e058989-07cf-4f4b-bc88-2a45af808572",
          "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": "7e058989-07cf-4f4b-bc88-2a45af808572",
          "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": "0cc31a39-7dc8-4a26-9b8e-493448c82565",
    "CategoryId": "afd4bd64-05f1-4eae-b294-24706d9c8298",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "361449f1-a3cb-4706-8e9d-8518c51679a2",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "361449f1-a3cb-4706-8e9d-8518c51679a2",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e4853bd4-9672-4ad8-9c10-f71f1574e37a",
      "Questions": [
        {
          "Id": "c8d37518-f47a-4add-8e25-12cc02316365",
          "Answers": "sample string 2"
        },
        {
          "Id": "c8d37518-f47a-4add-8e25-12cc02316365",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e4853bd4-9672-4ad8-9c10-f71f1574e37a",
      "Questions": [
        {
          "Id": "c8d37518-f47a-4add-8e25-12cc02316365",
          "Answers": "sample string 2"
        },
        {
          "Id": "c8d37518-f47a-4add-8e25-12cc02316365",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "180803de-6234-4804-970b-6fb04d4c51d6",
      "ContentItemId": "9701f5d6-402a-4081-8d56-f06161706cfa",
      "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-04T21:46:25.4062838+00:00",
      "RescheduleDate": "2026-09-04T21:46:25.4062838+00:00"
    },
    {
      "Id": "180803de-6234-4804-970b-6fb04d4c51d6",
      "ContentItemId": "9701f5d6-402a-4081-8d56-f06161706cfa",
      "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-04T21:46:25.4062838+00:00",
      "RescheduleDate": "2026-09-04T21:46:25.4062838+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "9412ea4f-c8c6-45f7-95ef-48f61f0e7b3d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-04T21:46:25.4531614+00:00",
  "Registration": {
    "Id": "eef1aedf-258a-400c-aab5-bdabc5faadb2",
    "UserId": "40a58eec-7930-4ff1-a234-95ed7f6fe4e5",
    "IsCurrent": true,
    "CenterId": "1b296f1a-3c21-4a8f-8d83-1873b8e39460",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "183627cd-ad94-4900-b98f-f01e7ffb4bba",
    "EndDate": "2026-09-04T21:46:25.4062838+00:00",
    "StartDate": "2026-09-04T21:46:25.4062838+00:00",
    "SchedulePreferenceDate": "2026-09-04T21:46:25.4062838+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-04T21:46:25.4062838+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f92145c8-cc5a-4958-a0eb-018b43a6450d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "157a2517-3743-4756-a8dc-b9b9a13f393c",
      "Sequence": 1,
      "AncestorCategoryId": "42b1567b-75a1-4e35-90fa-14709ed75c6d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7e058989-07cf-4f4b-bc88-2a45af808572",
          "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": "7e058989-07cf-4f4b-bc88-2a45af808572",
          "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": "f92145c8-cc5a-4958-a0eb-018b43a6450d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "157a2517-3743-4756-a8dc-b9b9a13f393c",
      "Sequence": 1,
      "AncestorCategoryId": "42b1567b-75a1-4e35-90fa-14709ed75c6d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7e058989-07cf-4f4b-bc88-2a45af808572",
          "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": "7e058989-07cf-4f4b-bc88-2a45af808572",
          "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": "0cc31a39-7dc8-4a26-9b8e-493448c82565",
    "CategoryId": "afd4bd64-05f1-4eae-b294-24706d9c8298",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "361449f1-a3cb-4706-8e9d-8518c51679a2",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "361449f1-a3cb-4706-8e9d-8518c51679a2",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e4853bd4-9672-4ad8-9c10-f71f1574e37a",
      "Questions": [
        {
          "Id": "c8d37518-f47a-4add-8e25-12cc02316365",
          "Answers": "sample string 2"
        },
        {
          "Id": "c8d37518-f47a-4add-8e25-12cc02316365",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e4853bd4-9672-4ad8-9c10-f71f1574e37a",
      "Questions": [
        {
          "Id": "c8d37518-f47a-4add-8e25-12cc02316365",
          "Answers": "sample string 2"
        },
        {
          "Id": "c8d37518-f47a-4add-8e25-12cc02316365",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "180803de-6234-4804-970b-6fb04d4c51d6",
      "ContentItemId": "9701f5d6-402a-4081-8d56-f06161706cfa",
      "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-04T21:46:25.4062838+00:00",
      "RescheduleDate": "2026-09-04T21:46:25.4062838+00:00"
    },
    {
      "Id": "180803de-6234-4804-970b-6fb04d4c51d6",
      "ContentItemId": "9701f5d6-402a-4081-8d56-f06161706cfa",
      "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-04T21:46:25.4062838+00:00",
      "RescheduleDate": "2026-09-04T21:46:25.4062838+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}