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": "d505cdf2-ec02-46c5-b0c4-0739f58d828a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-02T09:28:49.0525343+00:00",
  "Registration": {
    "Id": "3b613d74-1e6d-40b7-8f57-21a0fc2c1465",
    "UserId": "65f78a3f-2734-4df2-9a29-74ec78f24646",
    "IsCurrent": true,
    "CenterId": "18c33440-1b7c-4bae-9a67-6670f07e792d",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "0c0e7ed0-ca64-409e-885d-6295f9ad567e",
    "EndDate": "2026-09-02T09:28:49.0369112+00:00",
    "StartDate": "2026-09-02T09:28:49.0369112+00:00",
    "SchedulePreferenceDate": "2026-09-02T09:28:49.0369112+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-09-02T09:28:49.0369112+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "36282176-28a3-431d-93ce-e90a577c32ac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "bfefd574-783e-4edb-a457-cd989b85d9fb",
      "Sequence": 1,
      "AncestorCategoryId": "b6d5da2e-715c-4b83-8017-33f023c0196a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4576f1aa-b1dc-440e-bb27-bf716278de80",
          "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": "4576f1aa-b1dc-440e-bb27-bf716278de80",
          "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": "36282176-28a3-431d-93ce-e90a577c32ac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "bfefd574-783e-4edb-a457-cd989b85d9fb",
      "Sequence": 1,
      "AncestorCategoryId": "b6d5da2e-715c-4b83-8017-33f023c0196a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4576f1aa-b1dc-440e-bb27-bf716278de80",
          "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": "4576f1aa-b1dc-440e-bb27-bf716278de80",
          "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": "70ecc282-c1d3-4da7-9522-4d14a9c23749",
    "CategoryId": "92416aee-65df-4aa1-a717-64dc763fc87b",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b3b0afc3-18bb-43ff-8ec2-7b6f0531b05b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b3b0afc3-18bb-43ff-8ec2-7b6f0531b05b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "88153dbd-07ed-4f50-9034-042b64da9eca",
      "Questions": [
        {
          "Id": "cec5cff8-e57b-4dfa-a2a7-2c44f6bfded6",
          "Answers": "sample string 2"
        },
        {
          "Id": "cec5cff8-e57b-4dfa-a2a7-2c44f6bfded6",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "88153dbd-07ed-4f50-9034-042b64da9eca",
      "Questions": [
        {
          "Id": "cec5cff8-e57b-4dfa-a2a7-2c44f6bfded6",
          "Answers": "sample string 2"
        },
        {
          "Id": "cec5cff8-e57b-4dfa-a2a7-2c44f6bfded6",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cbc2286e-e201-47e4-8c0d-701be5c8f429",
      "ContentItemId": "99da97cd-f861-4695-8b34-9d8383bc429b",
      "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-09-02T09:28:49.0369112+00:00",
      "RescheduleDate": "2026-09-02T09:28:49.0369112+00:00"
    },
    {
      "Id": "cbc2286e-e201-47e4-8c0d-701be5c8f429",
      "ContentItemId": "99da97cd-f861-4695-8b34-9d8383bc429b",
      "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-09-02T09:28:49.0369112+00:00",
      "RescheduleDate": "2026-09-02T09:28:49.0369112+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "d505cdf2-ec02-46c5-b0c4-0739f58d828a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-02T09:28:49.0681609+00:00",
  "Registration": {
    "Id": "3b613d74-1e6d-40b7-8f57-21a0fc2c1465",
    "UserId": "65f78a3f-2734-4df2-9a29-74ec78f24646",
    "IsCurrent": true,
    "CenterId": "18c33440-1b7c-4bae-9a67-6670f07e792d",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "0c0e7ed0-ca64-409e-885d-6295f9ad567e",
    "EndDate": "2026-09-02T09:28:49.0369112+00:00",
    "StartDate": "2026-09-02T09:28:49.0369112+00:00",
    "SchedulePreferenceDate": "2026-09-02T09:28:49.0369112+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-09-02T09:28:49.0369112+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "36282176-28a3-431d-93ce-e90a577c32ac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "bfefd574-783e-4edb-a457-cd989b85d9fb",
      "Sequence": 1,
      "AncestorCategoryId": "b6d5da2e-715c-4b83-8017-33f023c0196a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4576f1aa-b1dc-440e-bb27-bf716278de80",
          "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": "4576f1aa-b1dc-440e-bb27-bf716278de80",
          "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": "36282176-28a3-431d-93ce-e90a577c32ac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "bfefd574-783e-4edb-a457-cd989b85d9fb",
      "Sequence": 1,
      "AncestorCategoryId": "b6d5da2e-715c-4b83-8017-33f023c0196a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4576f1aa-b1dc-440e-bb27-bf716278de80",
          "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": "4576f1aa-b1dc-440e-bb27-bf716278de80",
          "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": "70ecc282-c1d3-4da7-9522-4d14a9c23749",
    "CategoryId": "92416aee-65df-4aa1-a717-64dc763fc87b",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b3b0afc3-18bb-43ff-8ec2-7b6f0531b05b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b3b0afc3-18bb-43ff-8ec2-7b6f0531b05b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "88153dbd-07ed-4f50-9034-042b64da9eca",
      "Questions": [
        {
          "Id": "cec5cff8-e57b-4dfa-a2a7-2c44f6bfded6",
          "Answers": "sample string 2"
        },
        {
          "Id": "cec5cff8-e57b-4dfa-a2a7-2c44f6bfded6",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "88153dbd-07ed-4f50-9034-042b64da9eca",
      "Questions": [
        {
          "Id": "cec5cff8-e57b-4dfa-a2a7-2c44f6bfded6",
          "Answers": "sample string 2"
        },
        {
          "Id": "cec5cff8-e57b-4dfa-a2a7-2c44f6bfded6",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cbc2286e-e201-47e4-8c0d-701be5c8f429",
      "ContentItemId": "99da97cd-f861-4695-8b34-9d8383bc429b",
      "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-09-02T09:28:49.0369112+00:00",
      "RescheduleDate": "2026-09-02T09:28:49.0369112+00:00"
    },
    {
      "Id": "cbc2286e-e201-47e4-8c0d-701be5c8f429",
      "ContentItemId": "99da97cd-f861-4695-8b34-9d8383bc429b",
      "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-09-02T09:28:49.0369112+00:00",
      "RescheduleDate": "2026-09-02T09:28:49.0369112+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}