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": "5ddbe889-2ea1-40dd-9138-e0d90c2b806b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-19T10:32:04.9700067+00:00",
  "Registration": {
    "Id": "c2bd9501-a31e-4e0c-b238-8ee324bb6e77",
    "UserId": "11cbaaea-a5c2-471e-bc87-f9a57235b498",
    "IsCurrent": true,
    "CenterId": "4967711f-2f14-4aa3-91d5-12e764beb574",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a0a12cfc-1b76-4e2c-abe6-f0e54cb20f1a",
    "EndDate": "2026-11-19T10:32:04.9543825+00:00",
    "StartDate": "2026-11-19T10:32:04.9543825+00:00",
    "SchedulePreferenceDate": "2026-11-19T10:32:04.9543825+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-11-19T10:32:04.9543825+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "40cbf199-137e-4420-ab33-140bda2b7e03",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b087cf11-1ed0-4dca-9deb-cbe3b3586d56",
      "Sequence": 1,
      "AncestorCategoryId": "e05a9e7c-8147-4c02-ae17-9f3f163d1f53",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8c05ad7f-8426-456a-8c2c-dea9489f07a6",
          "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": "8c05ad7f-8426-456a-8c2c-dea9489f07a6",
          "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": "40cbf199-137e-4420-ab33-140bda2b7e03",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b087cf11-1ed0-4dca-9deb-cbe3b3586d56",
      "Sequence": 1,
      "AncestorCategoryId": "e05a9e7c-8147-4c02-ae17-9f3f163d1f53",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8c05ad7f-8426-456a-8c2c-dea9489f07a6",
          "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": "8c05ad7f-8426-456a-8c2c-dea9489f07a6",
          "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": "4b764d33-2a24-41c4-a5ef-2b4f1ce0563f",
    "CategoryId": "5899af31-492e-4b0f-9371-6e28ddfd747f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b6d8c8b0-934a-4858-87df-173f8bc08133",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b6d8c8b0-934a-4858-87df-173f8bc08133",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ff3d93e6-c35c-450d-8ecb-801b3de413fa",
      "Questions": [
        {
          "Id": "6119160f-0489-45d9-982c-045575cfe07b",
          "Answers": "sample string 2"
        },
        {
          "Id": "6119160f-0489-45d9-982c-045575cfe07b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ff3d93e6-c35c-450d-8ecb-801b3de413fa",
      "Questions": [
        {
          "Id": "6119160f-0489-45d9-982c-045575cfe07b",
          "Answers": "sample string 2"
        },
        {
          "Id": "6119160f-0489-45d9-982c-045575cfe07b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "caa432f7-8eca-4e75-9917-9d78473987ce",
      "ContentItemId": "6efb6aaf-86a9-4b4e-9765-6553350ea6f3",
      "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-11-19T10:32:04.9543825+00:00",
      "RescheduleDate": "2026-11-19T10:32:04.9543825+00:00"
    },
    {
      "Id": "caa432f7-8eca-4e75-9917-9d78473987ce",
      "ContentItemId": "6efb6aaf-86a9-4b4e-9765-6553350ea6f3",
      "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-11-19T10:32:04.9543825+00:00",
      "RescheduleDate": "2026-11-19T10:32:04.9543825+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "5ddbe889-2ea1-40dd-9138-e0d90c2b806b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-19T10:32:05.0637555+00:00",
  "Registration": {
    "Id": "c2bd9501-a31e-4e0c-b238-8ee324bb6e77",
    "UserId": "11cbaaea-a5c2-471e-bc87-f9a57235b498",
    "IsCurrent": true,
    "CenterId": "4967711f-2f14-4aa3-91d5-12e764beb574",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a0a12cfc-1b76-4e2c-abe6-f0e54cb20f1a",
    "EndDate": "2026-11-19T10:32:04.9543825+00:00",
    "StartDate": "2026-11-19T10:32:04.9543825+00:00",
    "SchedulePreferenceDate": "2026-11-19T10:32:04.9543825+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-11-19T10:32:04.9543825+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "40cbf199-137e-4420-ab33-140bda2b7e03",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b087cf11-1ed0-4dca-9deb-cbe3b3586d56",
      "Sequence": 1,
      "AncestorCategoryId": "e05a9e7c-8147-4c02-ae17-9f3f163d1f53",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8c05ad7f-8426-456a-8c2c-dea9489f07a6",
          "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": "8c05ad7f-8426-456a-8c2c-dea9489f07a6",
          "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": "40cbf199-137e-4420-ab33-140bda2b7e03",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b087cf11-1ed0-4dca-9deb-cbe3b3586d56",
      "Sequence": 1,
      "AncestorCategoryId": "e05a9e7c-8147-4c02-ae17-9f3f163d1f53",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8c05ad7f-8426-456a-8c2c-dea9489f07a6",
          "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": "8c05ad7f-8426-456a-8c2c-dea9489f07a6",
          "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": "4b764d33-2a24-41c4-a5ef-2b4f1ce0563f",
    "CategoryId": "5899af31-492e-4b0f-9371-6e28ddfd747f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b6d8c8b0-934a-4858-87df-173f8bc08133",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b6d8c8b0-934a-4858-87df-173f8bc08133",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ff3d93e6-c35c-450d-8ecb-801b3de413fa",
      "Questions": [
        {
          "Id": "6119160f-0489-45d9-982c-045575cfe07b",
          "Answers": "sample string 2"
        },
        {
          "Id": "6119160f-0489-45d9-982c-045575cfe07b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ff3d93e6-c35c-450d-8ecb-801b3de413fa",
      "Questions": [
        {
          "Id": "6119160f-0489-45d9-982c-045575cfe07b",
          "Answers": "sample string 2"
        },
        {
          "Id": "6119160f-0489-45d9-982c-045575cfe07b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "caa432f7-8eca-4e75-9917-9d78473987ce",
      "ContentItemId": "6efb6aaf-86a9-4b4e-9765-6553350ea6f3",
      "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-11-19T10:32:04.9543825+00:00",
      "RescheduleDate": "2026-11-19T10:32:04.9543825+00:00"
    },
    {
      "Id": "caa432f7-8eca-4e75-9917-9d78473987ce",
      "ContentItemId": "6efb6aaf-86a9-4b4e-9765-6553350ea6f3",
      "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-11-19T10:32:04.9543825+00:00",
      "RescheduleDate": "2026-11-19T10:32:04.9543825+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}