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": "54b31a46-84b7-4626-bb68-fb5d5694374a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-26T14:48:00.0673676+00:00",
  "Registration": {
    "Id": "91dcc944-2e67-46de-8c46-d82b5222e2b0",
    "UserId": "d692b6d9-20f1-4407-a6e1-828b750752f5",
    "IsCurrent": true,
    "CenterId": "4ebb3bd9-25af-4f51-a98c-b62be13ea656",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "fab36862-fc56-44c6-a6ed-39f7d3f492e8",
    "EndDate": "2026-10-26T14:48:00.0517348+00:00",
    "StartDate": "2026-10-26T14:48:00.0517348+00:00",
    "SchedulePreferenceDate": "2026-10-26T14:48:00.0517348+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-26T14:48:00.0517348+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9a7214db-2530-4eff-9918-06f6496bec87",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f98cfb66-cd29-449b-8bca-d25175c7f73e",
      "Sequence": 1,
      "AncestorCategoryId": "52fcafe2-74cf-4eaf-a8b2-295c4a89b2b5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1af3e57a-03ba-4e88-8817-493bd78504e1",
          "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": "1af3e57a-03ba-4e88-8817-493bd78504e1",
          "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": "9a7214db-2530-4eff-9918-06f6496bec87",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f98cfb66-cd29-449b-8bca-d25175c7f73e",
      "Sequence": 1,
      "AncestorCategoryId": "52fcafe2-74cf-4eaf-a8b2-295c4a89b2b5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1af3e57a-03ba-4e88-8817-493bd78504e1",
          "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": "1af3e57a-03ba-4e88-8817-493bd78504e1",
          "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": "bdef310d-ee6a-4554-baf7-940d5bc16678",
    "CategoryId": "0c5c2790-717a-4e1f-8157-29a084b9b759",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "bfcf82a9-7640-4fa2-9b4f-ae95e976477a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "bfcf82a9-7640-4fa2-9b4f-ae95e976477a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "2c97213b-f520-4319-a25a-e6ef426c5fe7",
      "Questions": [
        {
          "Id": "c3a5e75f-530e-494d-ab6e-86868bd19bcd",
          "Answers": "sample string 2"
        },
        {
          "Id": "c3a5e75f-530e-494d-ab6e-86868bd19bcd",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "2c97213b-f520-4319-a25a-e6ef426c5fe7",
      "Questions": [
        {
          "Id": "c3a5e75f-530e-494d-ab6e-86868bd19bcd",
          "Answers": "sample string 2"
        },
        {
          "Id": "c3a5e75f-530e-494d-ab6e-86868bd19bcd",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "aaf035f4-4b69-41fc-9d59-68abd51d0aa8",
      "ContentItemId": "2d97b939-1f21-45f7-a020-839152a29bb9",
      "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-26T14:48:00.0673676+00:00",
      "RescheduleDate": "2026-10-26T14:48:00.0673676+00:00"
    },
    {
      "Id": "aaf035f4-4b69-41fc-9d59-68abd51d0aa8",
      "ContentItemId": "2d97b939-1f21-45f7-a020-839152a29bb9",
      "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-26T14:48:00.0673676+00:00",
      "RescheduleDate": "2026-10-26T14:48:00.0673676+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "54b31a46-84b7-4626-bb68-fb5d5694374a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-26T14:48:00.0986102+00:00",
  "Registration": {
    "Id": "91dcc944-2e67-46de-8c46-d82b5222e2b0",
    "UserId": "d692b6d9-20f1-4407-a6e1-828b750752f5",
    "IsCurrent": true,
    "CenterId": "4ebb3bd9-25af-4f51-a98c-b62be13ea656",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "fab36862-fc56-44c6-a6ed-39f7d3f492e8",
    "EndDate": "2026-10-26T14:48:00.0517348+00:00",
    "StartDate": "2026-10-26T14:48:00.0517348+00:00",
    "SchedulePreferenceDate": "2026-10-26T14:48:00.0517348+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-26T14:48:00.0517348+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9a7214db-2530-4eff-9918-06f6496bec87",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f98cfb66-cd29-449b-8bca-d25175c7f73e",
      "Sequence": 1,
      "AncestorCategoryId": "52fcafe2-74cf-4eaf-a8b2-295c4a89b2b5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1af3e57a-03ba-4e88-8817-493bd78504e1",
          "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": "1af3e57a-03ba-4e88-8817-493bd78504e1",
          "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": "9a7214db-2530-4eff-9918-06f6496bec87",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f98cfb66-cd29-449b-8bca-d25175c7f73e",
      "Sequence": 1,
      "AncestorCategoryId": "52fcafe2-74cf-4eaf-a8b2-295c4a89b2b5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1af3e57a-03ba-4e88-8817-493bd78504e1",
          "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": "1af3e57a-03ba-4e88-8817-493bd78504e1",
          "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": "bdef310d-ee6a-4554-baf7-940d5bc16678",
    "CategoryId": "0c5c2790-717a-4e1f-8157-29a084b9b759",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "bfcf82a9-7640-4fa2-9b4f-ae95e976477a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "bfcf82a9-7640-4fa2-9b4f-ae95e976477a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "2c97213b-f520-4319-a25a-e6ef426c5fe7",
      "Questions": [
        {
          "Id": "c3a5e75f-530e-494d-ab6e-86868bd19bcd",
          "Answers": "sample string 2"
        },
        {
          "Id": "c3a5e75f-530e-494d-ab6e-86868bd19bcd",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "2c97213b-f520-4319-a25a-e6ef426c5fe7",
      "Questions": [
        {
          "Id": "c3a5e75f-530e-494d-ab6e-86868bd19bcd",
          "Answers": "sample string 2"
        },
        {
          "Id": "c3a5e75f-530e-494d-ab6e-86868bd19bcd",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "aaf035f4-4b69-41fc-9d59-68abd51d0aa8",
      "ContentItemId": "2d97b939-1f21-45f7-a020-839152a29bb9",
      "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-26T14:48:00.0673676+00:00",
      "RescheduleDate": "2026-10-26T14:48:00.0673676+00:00"
    },
    {
      "Id": "aaf035f4-4b69-41fc-9d59-68abd51d0aa8",
      "ContentItemId": "2d97b939-1f21-45f7-a020-839152a29bb9",
      "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-26T14:48:00.0673676+00:00",
      "RescheduleDate": "2026-10-26T14:48:00.0673676+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}