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": "eb26eb09-2fa0-4243-8295-5a0fdb919e55",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-30T05:43:13.9229016+00:00",
  "Registration": {
    "Id": "3c4abadd-c7ec-4c53-8d38-76039a906467",
    "UserId": "eeae9f6e-b781-4a4f-b379-527adc1a6187",
    "IsCurrent": true,
    "CenterId": "f45d2d44-219f-47e4-ba5c-d3a3b4fd73c5",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "439eafbd-9736-42d5-a399-083ca406dcf5",
    "EndDate": "2026-01-30T05:43:13.9229016+00:00",
    "StartDate": "2026-01-30T05:43:13.9229016+00:00",
    "SchedulePreferenceDate": "2026-01-30T05:43:13.9229016+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-01-30T05:43:13.9229016+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "4786fd79-ad0e-4c9d-8d65-a352e58557c3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8f69309d-1cda-4394-a22a-c80c058a070e",
      "Sequence": 1,
      "AncestorCategoryId": "10a42306-713d-4b66-930a-07f3c0877994",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3493a605-9ed4-4d74-868c-dac12c020ee4",
          "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": "3493a605-9ed4-4d74-868c-dac12c020ee4",
          "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": "4786fd79-ad0e-4c9d-8d65-a352e58557c3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8f69309d-1cda-4394-a22a-c80c058a070e",
      "Sequence": 1,
      "AncestorCategoryId": "10a42306-713d-4b66-930a-07f3c0877994",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3493a605-9ed4-4d74-868c-dac12c020ee4",
          "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": "3493a605-9ed4-4d74-868c-dac12c020ee4",
          "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": "66078b75-b848-4949-97eb-fde9e31f2704",
    "CategoryId": "3cabf1c9-c224-4d0c-bd9a-a21ce9e310bb",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "258d6ad3-520e-4309-9eaf-43ca8e0afc13",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "258d6ad3-520e-4309-9eaf-43ca8e0afc13",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "1e13eded-8f1f-43ae-aa22-c8ce235cbe5a",
      "Questions": [
        {
          "Id": "dd868f15-79ea-44c0-b773-a99ca9f60a3d",
          "Answers": "sample string 2"
        },
        {
          "Id": "dd868f15-79ea-44c0-b773-a99ca9f60a3d",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "1e13eded-8f1f-43ae-aa22-c8ce235cbe5a",
      "Questions": [
        {
          "Id": "dd868f15-79ea-44c0-b773-a99ca9f60a3d",
          "Answers": "sample string 2"
        },
        {
          "Id": "dd868f15-79ea-44c0-b773-a99ca9f60a3d",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0b8039c2-f101-4434-823f-63ac23f36372",
      "ContentItemId": "d3228c6e-4ad7-46b8-a26b-3085058d5ae9",
      "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-01-30T05:43:13.9229016+00:00",
      "RescheduleDate": "2026-01-30T05:43:13.9229016+00:00"
    },
    {
      "Id": "0b8039c2-f101-4434-823f-63ac23f36372",
      "ContentItemId": "d3228c6e-4ad7-46b8-a26b-3085058d5ae9",
      "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-01-30T05:43:13.9229016+00:00",
      "RescheduleDate": "2026-01-30T05:43:13.9229016+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "eb26eb09-2fa0-4243-8295-5a0fdb919e55",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-30T05:43:13.9787931+00:00",
  "Registration": {
    "Id": "3c4abadd-c7ec-4c53-8d38-76039a906467",
    "UserId": "eeae9f6e-b781-4a4f-b379-527adc1a6187",
    "IsCurrent": true,
    "CenterId": "f45d2d44-219f-47e4-ba5c-d3a3b4fd73c5",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "439eafbd-9736-42d5-a399-083ca406dcf5",
    "EndDate": "2026-01-30T05:43:13.9229016+00:00",
    "StartDate": "2026-01-30T05:43:13.9229016+00:00",
    "SchedulePreferenceDate": "2026-01-30T05:43:13.9229016+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-01-30T05:43:13.9229016+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "4786fd79-ad0e-4c9d-8d65-a352e58557c3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8f69309d-1cda-4394-a22a-c80c058a070e",
      "Sequence": 1,
      "AncestorCategoryId": "10a42306-713d-4b66-930a-07f3c0877994",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3493a605-9ed4-4d74-868c-dac12c020ee4",
          "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": "3493a605-9ed4-4d74-868c-dac12c020ee4",
          "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": "4786fd79-ad0e-4c9d-8d65-a352e58557c3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8f69309d-1cda-4394-a22a-c80c058a070e",
      "Sequence": 1,
      "AncestorCategoryId": "10a42306-713d-4b66-930a-07f3c0877994",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3493a605-9ed4-4d74-868c-dac12c020ee4",
          "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": "3493a605-9ed4-4d74-868c-dac12c020ee4",
          "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": "66078b75-b848-4949-97eb-fde9e31f2704",
    "CategoryId": "3cabf1c9-c224-4d0c-bd9a-a21ce9e310bb",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "258d6ad3-520e-4309-9eaf-43ca8e0afc13",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "258d6ad3-520e-4309-9eaf-43ca8e0afc13",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "1e13eded-8f1f-43ae-aa22-c8ce235cbe5a",
      "Questions": [
        {
          "Id": "dd868f15-79ea-44c0-b773-a99ca9f60a3d",
          "Answers": "sample string 2"
        },
        {
          "Id": "dd868f15-79ea-44c0-b773-a99ca9f60a3d",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "1e13eded-8f1f-43ae-aa22-c8ce235cbe5a",
      "Questions": [
        {
          "Id": "dd868f15-79ea-44c0-b773-a99ca9f60a3d",
          "Answers": "sample string 2"
        },
        {
          "Id": "dd868f15-79ea-44c0-b773-a99ca9f60a3d",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0b8039c2-f101-4434-823f-63ac23f36372",
      "ContentItemId": "d3228c6e-4ad7-46b8-a26b-3085058d5ae9",
      "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-01-30T05:43:13.9229016+00:00",
      "RescheduleDate": "2026-01-30T05:43:13.9229016+00:00"
    },
    {
      "Id": "0b8039c2-f101-4434-823f-63ac23f36372",
      "ContentItemId": "d3228c6e-4ad7-46b8-a26b-3085058d5ae9",
      "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-01-30T05:43:13.9229016+00:00",
      "RescheduleDate": "2026-01-30T05:43:13.9229016+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}