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": "e2641c7f-b911-4c54-b7b8-66d5757e5239",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-16T04:03:49.3795269+00:00",
  "Registration": {
    "Id": "a69ec93c-ec1a-40fb-82c3-dd7cb241c6c7",
    "UserId": "c4cde0c2-958c-476e-bfef-155e83681967",
    "IsCurrent": true,
    "CenterId": "939227f7-c4cd-4cd5-aa71-5fc32c48d0bc",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "66b4301e-00fc-48df-9323-5bce87855ad3",
    "EndDate": "2026-01-16T04:03:49.3795269+00:00",
    "StartDate": "2026-01-16T04:03:49.3795269+00:00",
    "SchedulePreferenceDate": "2026-01-16T04:03:49.3795269+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-16T04:03:49.3795269+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "34b2e994-b2d8-4377-9c93-cb2f12ada140",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "aefdc253-2454-4908-921d-86fe060570fa",
      "Sequence": 1,
      "AncestorCategoryId": "ef32de2b-fcdb-447d-b454-622a8688cbc9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f8505f56-08c8-40e4-97ab-4ae267409cb7",
          "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": "f8505f56-08c8-40e4-97ab-4ae267409cb7",
          "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": "34b2e994-b2d8-4377-9c93-cb2f12ada140",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "aefdc253-2454-4908-921d-86fe060570fa",
      "Sequence": 1,
      "AncestorCategoryId": "ef32de2b-fcdb-447d-b454-622a8688cbc9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f8505f56-08c8-40e4-97ab-4ae267409cb7",
          "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": "f8505f56-08c8-40e4-97ab-4ae267409cb7",
          "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": "ea46e85e-817e-4bb1-bd74-5570ce36d851",
    "CategoryId": "828b76dc-3065-4845-bd90-49df7647868d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8d8b3a7b-d165-4eb1-bf52-378682a4228e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8d8b3a7b-d165-4eb1-bf52-378682a4228e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "fe79350c-3faf-42dd-ac88-0854f5514638",
      "Questions": [
        {
          "Id": "925897fb-3244-445d-b49e-49fb8a3b26ca",
          "Answers": "sample string 2"
        },
        {
          "Id": "925897fb-3244-445d-b49e-49fb8a3b26ca",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "fe79350c-3faf-42dd-ac88-0854f5514638",
      "Questions": [
        {
          "Id": "925897fb-3244-445d-b49e-49fb8a3b26ca",
          "Answers": "sample string 2"
        },
        {
          "Id": "925897fb-3244-445d-b49e-49fb8a3b26ca",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "483670b4-420a-4c4d-be09-d4cc0350903d",
      "ContentItemId": "bbdfa179-8099-40d6-a163-c4a8d7bb7e19",
      "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-16T04:03:49.3795269+00:00",
      "RescheduleDate": "2026-01-16T04:03:49.3795269+00:00"
    },
    {
      "Id": "483670b4-420a-4c4d-be09-d4cc0350903d",
      "ContentItemId": "bbdfa179-8099-40d6-a163-c4a8d7bb7e19",
      "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-16T04:03:49.3795269+00:00",
      "RescheduleDate": "2026-01-16T04:03:49.3795269+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "e2641c7f-b911-4c54-b7b8-66d5757e5239",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-16T04:03:49.4264042+00:00",
  "Registration": {
    "Id": "a69ec93c-ec1a-40fb-82c3-dd7cb241c6c7",
    "UserId": "c4cde0c2-958c-476e-bfef-155e83681967",
    "IsCurrent": true,
    "CenterId": "939227f7-c4cd-4cd5-aa71-5fc32c48d0bc",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "66b4301e-00fc-48df-9323-5bce87855ad3",
    "EndDate": "2026-01-16T04:03:49.3795269+00:00",
    "StartDate": "2026-01-16T04:03:49.3795269+00:00",
    "SchedulePreferenceDate": "2026-01-16T04:03:49.3795269+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-16T04:03:49.3795269+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "34b2e994-b2d8-4377-9c93-cb2f12ada140",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "aefdc253-2454-4908-921d-86fe060570fa",
      "Sequence": 1,
      "AncestorCategoryId": "ef32de2b-fcdb-447d-b454-622a8688cbc9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f8505f56-08c8-40e4-97ab-4ae267409cb7",
          "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": "f8505f56-08c8-40e4-97ab-4ae267409cb7",
          "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": "34b2e994-b2d8-4377-9c93-cb2f12ada140",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "aefdc253-2454-4908-921d-86fe060570fa",
      "Sequence": 1,
      "AncestorCategoryId": "ef32de2b-fcdb-447d-b454-622a8688cbc9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f8505f56-08c8-40e4-97ab-4ae267409cb7",
          "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": "f8505f56-08c8-40e4-97ab-4ae267409cb7",
          "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": "ea46e85e-817e-4bb1-bd74-5570ce36d851",
    "CategoryId": "828b76dc-3065-4845-bd90-49df7647868d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8d8b3a7b-d165-4eb1-bf52-378682a4228e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8d8b3a7b-d165-4eb1-bf52-378682a4228e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "fe79350c-3faf-42dd-ac88-0854f5514638",
      "Questions": [
        {
          "Id": "925897fb-3244-445d-b49e-49fb8a3b26ca",
          "Answers": "sample string 2"
        },
        {
          "Id": "925897fb-3244-445d-b49e-49fb8a3b26ca",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "fe79350c-3faf-42dd-ac88-0854f5514638",
      "Questions": [
        {
          "Id": "925897fb-3244-445d-b49e-49fb8a3b26ca",
          "Answers": "sample string 2"
        },
        {
          "Id": "925897fb-3244-445d-b49e-49fb8a3b26ca",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "483670b4-420a-4c4d-be09-d4cc0350903d",
      "ContentItemId": "bbdfa179-8099-40d6-a163-c4a8d7bb7e19",
      "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-16T04:03:49.3795269+00:00",
      "RescheduleDate": "2026-01-16T04:03:49.3795269+00:00"
    },
    {
      "Id": "483670b4-420a-4c4d-be09-d4cc0350903d",
      "ContentItemId": "bbdfa179-8099-40d6-a163-c4a8d7bb7e19",
      "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-16T04:03:49.3795269+00:00",
      "RescheduleDate": "2026-01-16T04:03:49.3795269+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}