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": "8f993520-c511-47c3-8592-22250cd0a81c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-21T13:26:31.1895052+00:00",
  "Registration": {
    "Id": "86f03e17-e48f-4ba5-aeb8-49bdc7d834cc",
    "UserId": "cf979999-6960-4702-a93b-8db6a940ca07",
    "IsCurrent": true,
    "CenterId": "65dd6317-64ac-459b-8f21-749a19cba25f",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d7fc1ee4-bc3c-4c61-8308-3fe7785e7392",
    "EndDate": "2026-08-21T13:26:31.173884+00:00",
    "StartDate": "2026-08-21T13:26:31.173884+00:00",
    "SchedulePreferenceDate": "2026-08-21T13:26:31.173884+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-21T13:26:31.173884+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8be260f4-8998-4624-bfbb-792211cb3653",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2f711315-427b-4ae6-a5cf-d59669cc0e97",
      "Sequence": 1,
      "AncestorCategoryId": "f384efde-18fc-4925-9607-e518779ab6bb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a9e3db3c-9d8c-4609-8a4d-bdcbf0659c4e",
          "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": "a9e3db3c-9d8c-4609-8a4d-bdcbf0659c4e",
          "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": "8be260f4-8998-4624-bfbb-792211cb3653",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2f711315-427b-4ae6-a5cf-d59669cc0e97",
      "Sequence": 1,
      "AncestorCategoryId": "f384efde-18fc-4925-9607-e518779ab6bb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a9e3db3c-9d8c-4609-8a4d-bdcbf0659c4e",
          "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": "a9e3db3c-9d8c-4609-8a4d-bdcbf0659c4e",
          "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": "a9fec48a-3804-4298-afce-08304d028abc",
    "CategoryId": "7b6cbec5-2718-47d5-8f92-1df9d10bbde7",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "e7c9b56c-1780-4f1b-9d92-7a4471eb35c4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "e7c9b56c-1780-4f1b-9d92-7a4471eb35c4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "15954ff1-7cde-4d59-9b9d-e859814b272e",
      "Questions": [
        {
          "Id": "ad8f9da4-1732-4a02-8815-090e3dd5e576",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad8f9da4-1732-4a02-8815-090e3dd5e576",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "15954ff1-7cde-4d59-9b9d-e859814b272e",
      "Questions": [
        {
          "Id": "ad8f9da4-1732-4a02-8815-090e3dd5e576",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad8f9da4-1732-4a02-8815-090e3dd5e576",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5f3c22eb-df80-40ec-820f-87da4cccfe8b",
      "ContentItemId": "feb8fdf3-b9a0-446f-b13c-bd6fddbcf1e4",
      "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-21T13:26:31.1895052+00:00",
      "RescheduleDate": "2026-08-21T13:26:31.1895052+00:00"
    },
    {
      "Id": "5f3c22eb-df80-40ec-820f-87da4cccfe8b",
      "ContentItemId": "feb8fdf3-b9a0-446f-b13c-bd6fddbcf1e4",
      "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-21T13:26:31.1895052+00:00",
      "RescheduleDate": "2026-08-21T13:26:31.1895052+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "8f993520-c511-47c3-8592-22250cd0a81c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-21T13:26:31.2363844+00:00",
  "Registration": {
    "Id": "86f03e17-e48f-4ba5-aeb8-49bdc7d834cc",
    "UserId": "cf979999-6960-4702-a93b-8db6a940ca07",
    "IsCurrent": true,
    "CenterId": "65dd6317-64ac-459b-8f21-749a19cba25f",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d7fc1ee4-bc3c-4c61-8308-3fe7785e7392",
    "EndDate": "2026-08-21T13:26:31.173884+00:00",
    "StartDate": "2026-08-21T13:26:31.173884+00:00",
    "SchedulePreferenceDate": "2026-08-21T13:26:31.173884+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-21T13:26:31.173884+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8be260f4-8998-4624-bfbb-792211cb3653",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2f711315-427b-4ae6-a5cf-d59669cc0e97",
      "Sequence": 1,
      "AncestorCategoryId": "f384efde-18fc-4925-9607-e518779ab6bb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a9e3db3c-9d8c-4609-8a4d-bdcbf0659c4e",
          "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": "a9e3db3c-9d8c-4609-8a4d-bdcbf0659c4e",
          "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": "8be260f4-8998-4624-bfbb-792211cb3653",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2f711315-427b-4ae6-a5cf-d59669cc0e97",
      "Sequence": 1,
      "AncestorCategoryId": "f384efde-18fc-4925-9607-e518779ab6bb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a9e3db3c-9d8c-4609-8a4d-bdcbf0659c4e",
          "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": "a9e3db3c-9d8c-4609-8a4d-bdcbf0659c4e",
          "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": "a9fec48a-3804-4298-afce-08304d028abc",
    "CategoryId": "7b6cbec5-2718-47d5-8f92-1df9d10bbde7",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "e7c9b56c-1780-4f1b-9d92-7a4471eb35c4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "e7c9b56c-1780-4f1b-9d92-7a4471eb35c4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "15954ff1-7cde-4d59-9b9d-e859814b272e",
      "Questions": [
        {
          "Id": "ad8f9da4-1732-4a02-8815-090e3dd5e576",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad8f9da4-1732-4a02-8815-090e3dd5e576",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "15954ff1-7cde-4d59-9b9d-e859814b272e",
      "Questions": [
        {
          "Id": "ad8f9da4-1732-4a02-8815-090e3dd5e576",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad8f9da4-1732-4a02-8815-090e3dd5e576",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5f3c22eb-df80-40ec-820f-87da4cccfe8b",
      "ContentItemId": "feb8fdf3-b9a0-446f-b13c-bd6fddbcf1e4",
      "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-21T13:26:31.1895052+00:00",
      "RescheduleDate": "2026-08-21T13:26:31.1895052+00:00"
    },
    {
      "Id": "5f3c22eb-df80-40ec-820f-87da4cccfe8b",
      "ContentItemId": "feb8fdf3-b9a0-446f-b13c-bd6fddbcf1e4",
      "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-21T13:26:31.1895052+00:00",
      "RescheduleDate": "2026-08-21T13:26:31.1895052+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}