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": "fa027469-dc95-4642-8839-8121ef6d5217",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-16T13:57:55.7227463+00:00",
  "Registration": {
    "Id": "8bd234db-b04e-44b5-9fa0-1455dd32fe48",
    "UserId": "dcdf84f7-742e-4cba-93b3-3f852f32c66f",
    "IsCurrent": true,
    "CenterId": "41d1b247-70cb-48b0-ab5f-bbdc86a5d7d6",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "06b569b8-901a-4bb9-8ade-ff940702b60b",
    "EndDate": "2026-10-16T13:57:55.7227463+00:00",
    "StartDate": "2026-10-16T13:57:55.7227463+00:00",
    "SchedulePreferenceDate": "2026-10-16T13:57:55.7227463+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-16T13:57:55.7227463+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9cc9b8f2-bb25-4b40-9b94-1cc76ce67737",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9cc5b7e9-cc4c-48a8-835b-55aca232f9ed",
      "Sequence": 1,
      "AncestorCategoryId": "7ca77c02-460f-467b-a2b8-88a82d4eaea5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "33b915c2-016b-473f-819f-d2a6f83ba954",
          "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": "33b915c2-016b-473f-819f-d2a6f83ba954",
          "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": "9cc9b8f2-bb25-4b40-9b94-1cc76ce67737",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9cc5b7e9-cc4c-48a8-835b-55aca232f9ed",
      "Sequence": 1,
      "AncestorCategoryId": "7ca77c02-460f-467b-a2b8-88a82d4eaea5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "33b915c2-016b-473f-819f-d2a6f83ba954",
          "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": "33b915c2-016b-473f-819f-d2a6f83ba954",
          "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": "e1937594-b589-493b-9f1c-2f080301c401",
    "CategoryId": "321e6180-ecbd-40b1-b39f-6f9b27bfd90a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8b98d162-8ee5-46f7-91a3-23e992b604d8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8b98d162-8ee5-46f7-91a3-23e992b604d8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "62657f2a-48dd-4c59-ab3b-77d8c5239efb",
      "Questions": [
        {
          "Id": "ca529fb3-d8d8-43a9-8086-fc7d6e64b547",
          "Answers": "sample string 2"
        },
        {
          "Id": "ca529fb3-d8d8-43a9-8086-fc7d6e64b547",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "62657f2a-48dd-4c59-ab3b-77d8c5239efb",
      "Questions": [
        {
          "Id": "ca529fb3-d8d8-43a9-8086-fc7d6e64b547",
          "Answers": "sample string 2"
        },
        {
          "Id": "ca529fb3-d8d8-43a9-8086-fc7d6e64b547",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "74da1826-d021-4bf1-8463-4ff1f486d15d",
      "ContentItemId": "a9481b6b-f9f7-4d02-b2de-4ff47f30d97a",
      "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-16T13:57:55.7227463+00:00",
      "RescheduleDate": "2026-10-16T13:57:55.7227463+00:00"
    },
    {
      "Id": "74da1826-d021-4bf1-8463-4ff1f486d15d",
      "ContentItemId": "a9481b6b-f9f7-4d02-b2de-4ff47f30d97a",
      "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-16T13:57:55.7227463+00:00",
      "RescheduleDate": "2026-10-16T13:57:55.7227463+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "fa027469-dc95-4642-8839-8121ef6d5217",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-16T13:57:55.7539969+00:00",
  "Registration": {
    "Id": "8bd234db-b04e-44b5-9fa0-1455dd32fe48",
    "UserId": "dcdf84f7-742e-4cba-93b3-3f852f32c66f",
    "IsCurrent": true,
    "CenterId": "41d1b247-70cb-48b0-ab5f-bbdc86a5d7d6",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "06b569b8-901a-4bb9-8ade-ff940702b60b",
    "EndDate": "2026-10-16T13:57:55.7227463+00:00",
    "StartDate": "2026-10-16T13:57:55.7227463+00:00",
    "SchedulePreferenceDate": "2026-10-16T13:57:55.7227463+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-16T13:57:55.7227463+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9cc9b8f2-bb25-4b40-9b94-1cc76ce67737",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9cc5b7e9-cc4c-48a8-835b-55aca232f9ed",
      "Sequence": 1,
      "AncestorCategoryId": "7ca77c02-460f-467b-a2b8-88a82d4eaea5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "33b915c2-016b-473f-819f-d2a6f83ba954",
          "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": "33b915c2-016b-473f-819f-d2a6f83ba954",
          "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": "9cc9b8f2-bb25-4b40-9b94-1cc76ce67737",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9cc5b7e9-cc4c-48a8-835b-55aca232f9ed",
      "Sequence": 1,
      "AncestorCategoryId": "7ca77c02-460f-467b-a2b8-88a82d4eaea5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "33b915c2-016b-473f-819f-d2a6f83ba954",
          "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": "33b915c2-016b-473f-819f-d2a6f83ba954",
          "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": "e1937594-b589-493b-9f1c-2f080301c401",
    "CategoryId": "321e6180-ecbd-40b1-b39f-6f9b27bfd90a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8b98d162-8ee5-46f7-91a3-23e992b604d8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8b98d162-8ee5-46f7-91a3-23e992b604d8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "62657f2a-48dd-4c59-ab3b-77d8c5239efb",
      "Questions": [
        {
          "Id": "ca529fb3-d8d8-43a9-8086-fc7d6e64b547",
          "Answers": "sample string 2"
        },
        {
          "Id": "ca529fb3-d8d8-43a9-8086-fc7d6e64b547",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "62657f2a-48dd-4c59-ab3b-77d8c5239efb",
      "Questions": [
        {
          "Id": "ca529fb3-d8d8-43a9-8086-fc7d6e64b547",
          "Answers": "sample string 2"
        },
        {
          "Id": "ca529fb3-d8d8-43a9-8086-fc7d6e64b547",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "74da1826-d021-4bf1-8463-4ff1f486d15d",
      "ContentItemId": "a9481b6b-f9f7-4d02-b2de-4ff47f30d97a",
      "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-16T13:57:55.7227463+00:00",
      "RescheduleDate": "2026-10-16T13:57:55.7227463+00:00"
    },
    {
      "Id": "74da1826-d021-4bf1-8463-4ff1f486d15d",
      "ContentItemId": "a9481b6b-f9f7-4d02-b2de-4ff47f30d97a",
      "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-16T13:57:55.7227463+00:00",
      "RescheduleDate": "2026-10-16T13:57:55.7227463+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}