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": "84a5765a-66e4-475e-b718-7dc1d0288b6e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-09T00:01:01.704067+00:00",
  "Registration": {
    "Id": "f5a2db64-4825-4ef7-b4d1-4f067a4ee019",
    "UserId": "11928595-e487-4662-ad26-ef287692a1bd",
    "IsCurrent": true,
    "CenterId": "dfcefd5c-b308-4b05-9b6a-487177227bc5",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c68e51a7-0ea8-4b74-a6b1-d74245e87d83",
    "EndDate": "2026-10-09T00:01:01.6884437+00:00",
    "StartDate": "2026-10-09T00:01:01.6884437+00:00",
    "SchedulePreferenceDate": "2026-10-09T00:01:01.6884437+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-10-09T00:01:01.6884437+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "43b98e15-7737-4d12-bfce-e11a3d4792af",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b3666e22-e79d-4ff0-89c0-97af14f878d4",
      "Sequence": 1,
      "AncestorCategoryId": "55abf975-5092-46e4-af52-e9c26b7b136a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d67c7ebd-c638-45e9-8d1e-90741b3a94e9",
          "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": "d67c7ebd-c638-45e9-8d1e-90741b3a94e9",
          "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": "43b98e15-7737-4d12-bfce-e11a3d4792af",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b3666e22-e79d-4ff0-89c0-97af14f878d4",
      "Sequence": 1,
      "AncestorCategoryId": "55abf975-5092-46e4-af52-e9c26b7b136a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d67c7ebd-c638-45e9-8d1e-90741b3a94e9",
          "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": "d67c7ebd-c638-45e9-8d1e-90741b3a94e9",
          "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": "4ad43f8d-bb8c-433d-ba4a-8807fa18608e",
    "CategoryId": "ed45d0f1-18a7-4e69-bd8b-bb82312728e0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "cff4488b-8b9f-4542-8b2f-d04be6df9c27",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "cff4488b-8b9f-4542-8b2f-d04be6df9c27",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "85fb12ac-853e-4584-aee5-29a244d4e1d1",
      "Questions": [
        {
          "Id": "134d12d7-70a2-426f-92fe-da0aa4d03461",
          "Answers": "sample string 2"
        },
        {
          "Id": "134d12d7-70a2-426f-92fe-da0aa4d03461",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "85fb12ac-853e-4584-aee5-29a244d4e1d1",
      "Questions": [
        {
          "Id": "134d12d7-70a2-426f-92fe-da0aa4d03461",
          "Answers": "sample string 2"
        },
        {
          "Id": "134d12d7-70a2-426f-92fe-da0aa4d03461",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "bf9ff709-ee12-43ac-9b2f-b9381fc7d320",
      "ContentItemId": "44c05a23-06d6-4b20-815c-9f2839ea97a0",
      "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-10-09T00:01:01.6884437+00:00",
      "RescheduleDate": "2026-10-09T00:01:01.6884437+00:00"
    },
    {
      "Id": "bf9ff709-ee12-43ac-9b2f-b9381fc7d320",
      "ContentItemId": "44c05a23-06d6-4b20-815c-9f2839ea97a0",
      "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-10-09T00:01:01.6884437+00:00",
      "RescheduleDate": "2026-10-09T00:01:01.6884437+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "84a5765a-66e4-475e-b718-7dc1d0288b6e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-09T00:01:01.7509471+00:00",
  "Registration": {
    "Id": "f5a2db64-4825-4ef7-b4d1-4f067a4ee019",
    "UserId": "11928595-e487-4662-ad26-ef287692a1bd",
    "IsCurrent": true,
    "CenterId": "dfcefd5c-b308-4b05-9b6a-487177227bc5",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c68e51a7-0ea8-4b74-a6b1-d74245e87d83",
    "EndDate": "2026-10-09T00:01:01.6884437+00:00",
    "StartDate": "2026-10-09T00:01:01.6884437+00:00",
    "SchedulePreferenceDate": "2026-10-09T00:01:01.6884437+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-10-09T00:01:01.6884437+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "43b98e15-7737-4d12-bfce-e11a3d4792af",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b3666e22-e79d-4ff0-89c0-97af14f878d4",
      "Sequence": 1,
      "AncestorCategoryId": "55abf975-5092-46e4-af52-e9c26b7b136a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d67c7ebd-c638-45e9-8d1e-90741b3a94e9",
          "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": "d67c7ebd-c638-45e9-8d1e-90741b3a94e9",
          "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": "43b98e15-7737-4d12-bfce-e11a3d4792af",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b3666e22-e79d-4ff0-89c0-97af14f878d4",
      "Sequence": 1,
      "AncestorCategoryId": "55abf975-5092-46e4-af52-e9c26b7b136a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d67c7ebd-c638-45e9-8d1e-90741b3a94e9",
          "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": "d67c7ebd-c638-45e9-8d1e-90741b3a94e9",
          "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": "4ad43f8d-bb8c-433d-ba4a-8807fa18608e",
    "CategoryId": "ed45d0f1-18a7-4e69-bd8b-bb82312728e0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "cff4488b-8b9f-4542-8b2f-d04be6df9c27",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "cff4488b-8b9f-4542-8b2f-d04be6df9c27",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "85fb12ac-853e-4584-aee5-29a244d4e1d1",
      "Questions": [
        {
          "Id": "134d12d7-70a2-426f-92fe-da0aa4d03461",
          "Answers": "sample string 2"
        },
        {
          "Id": "134d12d7-70a2-426f-92fe-da0aa4d03461",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "85fb12ac-853e-4584-aee5-29a244d4e1d1",
      "Questions": [
        {
          "Id": "134d12d7-70a2-426f-92fe-da0aa4d03461",
          "Answers": "sample string 2"
        },
        {
          "Id": "134d12d7-70a2-426f-92fe-da0aa4d03461",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "bf9ff709-ee12-43ac-9b2f-b9381fc7d320",
      "ContentItemId": "44c05a23-06d6-4b20-815c-9f2839ea97a0",
      "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-10-09T00:01:01.6884437+00:00",
      "RescheduleDate": "2026-10-09T00:01:01.6884437+00:00"
    },
    {
      "Id": "bf9ff709-ee12-43ac-9b2f-b9381fc7d320",
      "ContentItemId": "44c05a23-06d6-4b20-815c-9f2839ea97a0",
      "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-10-09T00:01:01.6884437+00:00",
      "RescheduleDate": "2026-10-09T00:01:01.6884437+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}