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": "6447dd6c-2520-4095-aa2c-9d603bf36faa",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-25T15:04:37.2907039+00:00",
  "Registration": {
    "Id": "dc6ec5ab-2f1c-4d31-a28c-9e37f05f677c",
    "UserId": "9f699b3f-f0e5-4997-b09e-fc8c1b321cd8",
    "IsCurrent": true,
    "CenterId": "686f0c7d-c9db-4cf0-96d4-203e9159e7f7",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "2cac074e-3063-47a3-a3a5-e2470d893db4",
    "EndDate": "2026-08-25T15:04:37.2907039+00:00",
    "StartDate": "2026-08-25T15:04:37.2907039+00:00",
    "SchedulePreferenceDate": "2026-08-25T15:04:37.2907039+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-08-25T15:04:37.2907039+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e92d3ec8-4d80-4f75-9c4a-7c7da9248b5c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ee3a5c53-83db-4148-8bbc-a41487ce5555",
      "Sequence": 1,
      "AncestorCategoryId": "b177e7d8-7159-47ba-8801-2d4e4313a20f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ee634bc5-2f6c-466e-83e5-de8d34481e6e",
          "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": "ee634bc5-2f6c-466e-83e5-de8d34481e6e",
          "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": "e92d3ec8-4d80-4f75-9c4a-7c7da9248b5c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ee3a5c53-83db-4148-8bbc-a41487ce5555",
      "Sequence": 1,
      "AncestorCategoryId": "b177e7d8-7159-47ba-8801-2d4e4313a20f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ee634bc5-2f6c-466e-83e5-de8d34481e6e",
          "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": "ee634bc5-2f6c-466e-83e5-de8d34481e6e",
          "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": "5dbb68f6-d191-4a75-8dda-092c23f7b6f6",
    "CategoryId": "f2a65ecb-8587-42eb-b618-17d0b5be7530",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a502492d-75eb-413d-930f-f38dc28bf4f5",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a502492d-75eb-413d-930f-f38dc28bf4f5",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "cf2e8778-8e19-4e35-9b0c-61452811106c",
      "Questions": [
        {
          "Id": "ec7fcaa3-8d39-42c7-b686-c1714a11e626",
          "Answers": "sample string 2"
        },
        {
          "Id": "ec7fcaa3-8d39-42c7-b686-c1714a11e626",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "cf2e8778-8e19-4e35-9b0c-61452811106c",
      "Questions": [
        {
          "Id": "ec7fcaa3-8d39-42c7-b686-c1714a11e626",
          "Answers": "sample string 2"
        },
        {
          "Id": "ec7fcaa3-8d39-42c7-b686-c1714a11e626",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "dd041919-6a3c-4055-b63a-dea29789ba11",
      "ContentItemId": "392cdd23-ff23-4911-8e5a-4ee68add5d9f",
      "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-08-25T15:04:37.2907039+00:00",
      "RescheduleDate": "2026-08-25T15:04:37.2907039+00:00"
    },
    {
      "Id": "dd041919-6a3c-4055-b63a-dea29789ba11",
      "ContentItemId": "392cdd23-ff23-4911-8e5a-4ee68add5d9f",
      "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-08-25T15:04:37.2907039+00:00",
      "RescheduleDate": "2026-08-25T15:04:37.2907039+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "6447dd6c-2520-4095-aa2c-9d603bf36faa",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-25T15:04:37.3375802+00:00",
  "Registration": {
    "Id": "dc6ec5ab-2f1c-4d31-a28c-9e37f05f677c",
    "UserId": "9f699b3f-f0e5-4997-b09e-fc8c1b321cd8",
    "IsCurrent": true,
    "CenterId": "686f0c7d-c9db-4cf0-96d4-203e9159e7f7",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "2cac074e-3063-47a3-a3a5-e2470d893db4",
    "EndDate": "2026-08-25T15:04:37.2907039+00:00",
    "StartDate": "2026-08-25T15:04:37.2907039+00:00",
    "SchedulePreferenceDate": "2026-08-25T15:04:37.2907039+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-08-25T15:04:37.2907039+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e92d3ec8-4d80-4f75-9c4a-7c7da9248b5c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ee3a5c53-83db-4148-8bbc-a41487ce5555",
      "Sequence": 1,
      "AncestorCategoryId": "b177e7d8-7159-47ba-8801-2d4e4313a20f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ee634bc5-2f6c-466e-83e5-de8d34481e6e",
          "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": "ee634bc5-2f6c-466e-83e5-de8d34481e6e",
          "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": "e92d3ec8-4d80-4f75-9c4a-7c7da9248b5c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ee3a5c53-83db-4148-8bbc-a41487ce5555",
      "Sequence": 1,
      "AncestorCategoryId": "b177e7d8-7159-47ba-8801-2d4e4313a20f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ee634bc5-2f6c-466e-83e5-de8d34481e6e",
          "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": "ee634bc5-2f6c-466e-83e5-de8d34481e6e",
          "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": "5dbb68f6-d191-4a75-8dda-092c23f7b6f6",
    "CategoryId": "f2a65ecb-8587-42eb-b618-17d0b5be7530",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a502492d-75eb-413d-930f-f38dc28bf4f5",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a502492d-75eb-413d-930f-f38dc28bf4f5",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "cf2e8778-8e19-4e35-9b0c-61452811106c",
      "Questions": [
        {
          "Id": "ec7fcaa3-8d39-42c7-b686-c1714a11e626",
          "Answers": "sample string 2"
        },
        {
          "Id": "ec7fcaa3-8d39-42c7-b686-c1714a11e626",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "cf2e8778-8e19-4e35-9b0c-61452811106c",
      "Questions": [
        {
          "Id": "ec7fcaa3-8d39-42c7-b686-c1714a11e626",
          "Answers": "sample string 2"
        },
        {
          "Id": "ec7fcaa3-8d39-42c7-b686-c1714a11e626",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "dd041919-6a3c-4055-b63a-dea29789ba11",
      "ContentItemId": "392cdd23-ff23-4911-8e5a-4ee68add5d9f",
      "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-08-25T15:04:37.2907039+00:00",
      "RescheduleDate": "2026-08-25T15:04:37.2907039+00:00"
    },
    {
      "Id": "dd041919-6a3c-4055-b63a-dea29789ba11",
      "ContentItemId": "392cdd23-ff23-4911-8e5a-4ee68add5d9f",
      "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-08-25T15:04:37.2907039+00:00",
      "RescheduleDate": "2026-08-25T15:04:37.2907039+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}