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": "705582c8-044b-438b-8d66-5c7002f3c4e8",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-19T17:00:08.9776266+00:00",
  "Registration": {
    "Id": "257ebed4-e1ae-4051-87f1-8640e8567db7",
    "UserId": "66dbd753-bc71-4d03-8a35-e90dc3eda013",
    "IsCurrent": true,
    "CenterId": "2ea4204f-f3fd-4515-92a7-9c948537fde1",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "40fe2be6-4a79-4105-a964-64c32c036838",
    "EndDate": "2026-06-19T17:00:08.9620047+00:00",
    "StartDate": "2026-06-19T17:00:08.9620047+00:00",
    "SchedulePreferenceDate": "2026-06-19T17:00:08.9620047+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-06-19T17:00:08.9620047+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "489c2108-ba15-4af6-bf5e-ec98b6959efc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "103b5eed-a82f-470f-9967-c60c35aa5230",
      "Sequence": 1,
      "AncestorCategoryId": "9a66342a-0d27-43b4-a444-066a4eee9f2a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e9de3d45-25cf-4a7f-9460-53bf0affe36f",
          "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": "e9de3d45-25cf-4a7f-9460-53bf0affe36f",
          "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": "489c2108-ba15-4af6-bf5e-ec98b6959efc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "103b5eed-a82f-470f-9967-c60c35aa5230",
      "Sequence": 1,
      "AncestorCategoryId": "9a66342a-0d27-43b4-a444-066a4eee9f2a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e9de3d45-25cf-4a7f-9460-53bf0affe36f",
          "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": "e9de3d45-25cf-4a7f-9460-53bf0affe36f",
          "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": "5fdad5aa-dfa9-4d72-8bc8-4d7cdeb23333",
    "CategoryId": "3b68614e-efe2-42dc-933b-cfd534dfc7a5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5bc5fb17-b474-4eae-9095-4c0b89d67d07",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5bc5fb17-b474-4eae-9095-4c0b89d67d07",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0e4a7aa1-21b4-4b5d-8c67-8ba1c1cbf09e",
      "Questions": [
        {
          "Id": "26bff78b-b53f-4660-8c87-b158f2d0cf2a",
          "Answers": "sample string 2"
        },
        {
          "Id": "26bff78b-b53f-4660-8c87-b158f2d0cf2a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0e4a7aa1-21b4-4b5d-8c67-8ba1c1cbf09e",
      "Questions": [
        {
          "Id": "26bff78b-b53f-4660-8c87-b158f2d0cf2a",
          "Answers": "sample string 2"
        },
        {
          "Id": "26bff78b-b53f-4660-8c87-b158f2d0cf2a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7fbf3a47-2bc6-4a0c-9c9a-744b46547f74",
      "ContentItemId": "88ce0326-1148-4c93-8ba4-248f933ebeb0",
      "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-06-19T17:00:08.9776266+00:00",
      "RescheduleDate": "2026-06-19T17:00:08.9776266+00:00"
    },
    {
      "Id": "7fbf3a47-2bc6-4a0c-9c9a-744b46547f74",
      "ContentItemId": "88ce0326-1148-4c93-8ba4-248f933ebeb0",
      "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-06-19T17:00:08.9776266+00:00",
      "RescheduleDate": "2026-06-19T17:00:08.9776266+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "705582c8-044b-438b-8d66-5c7002f3c4e8",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-19T17:00:09.0245055+00:00",
  "Registration": {
    "Id": "257ebed4-e1ae-4051-87f1-8640e8567db7",
    "UserId": "66dbd753-bc71-4d03-8a35-e90dc3eda013",
    "IsCurrent": true,
    "CenterId": "2ea4204f-f3fd-4515-92a7-9c948537fde1",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "40fe2be6-4a79-4105-a964-64c32c036838",
    "EndDate": "2026-06-19T17:00:08.9620047+00:00",
    "StartDate": "2026-06-19T17:00:08.9620047+00:00",
    "SchedulePreferenceDate": "2026-06-19T17:00:08.9620047+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-06-19T17:00:08.9620047+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "489c2108-ba15-4af6-bf5e-ec98b6959efc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "103b5eed-a82f-470f-9967-c60c35aa5230",
      "Sequence": 1,
      "AncestorCategoryId": "9a66342a-0d27-43b4-a444-066a4eee9f2a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e9de3d45-25cf-4a7f-9460-53bf0affe36f",
          "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": "e9de3d45-25cf-4a7f-9460-53bf0affe36f",
          "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": "489c2108-ba15-4af6-bf5e-ec98b6959efc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "103b5eed-a82f-470f-9967-c60c35aa5230",
      "Sequence": 1,
      "AncestorCategoryId": "9a66342a-0d27-43b4-a444-066a4eee9f2a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e9de3d45-25cf-4a7f-9460-53bf0affe36f",
          "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": "e9de3d45-25cf-4a7f-9460-53bf0affe36f",
          "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": "5fdad5aa-dfa9-4d72-8bc8-4d7cdeb23333",
    "CategoryId": "3b68614e-efe2-42dc-933b-cfd534dfc7a5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5bc5fb17-b474-4eae-9095-4c0b89d67d07",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5bc5fb17-b474-4eae-9095-4c0b89d67d07",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0e4a7aa1-21b4-4b5d-8c67-8ba1c1cbf09e",
      "Questions": [
        {
          "Id": "26bff78b-b53f-4660-8c87-b158f2d0cf2a",
          "Answers": "sample string 2"
        },
        {
          "Id": "26bff78b-b53f-4660-8c87-b158f2d0cf2a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0e4a7aa1-21b4-4b5d-8c67-8ba1c1cbf09e",
      "Questions": [
        {
          "Id": "26bff78b-b53f-4660-8c87-b158f2d0cf2a",
          "Answers": "sample string 2"
        },
        {
          "Id": "26bff78b-b53f-4660-8c87-b158f2d0cf2a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7fbf3a47-2bc6-4a0c-9c9a-744b46547f74",
      "ContentItemId": "88ce0326-1148-4c93-8ba4-248f933ebeb0",
      "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-06-19T17:00:08.9776266+00:00",
      "RescheduleDate": "2026-06-19T17:00:08.9776266+00:00"
    },
    {
      "Id": "7fbf3a47-2bc6-4a0c-9c9a-744b46547f74",
      "ContentItemId": "88ce0326-1148-4c93-8ba4-248f933ebeb0",
      "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-06-19T17:00:08.9776266+00:00",
      "RescheduleDate": "2026-06-19T17:00:08.9776266+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}