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": "67131e7f-47a0-4bd7-8951-f839c66a5e32",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-10T12:03:36.528753+00:00",
  "Registration": {
    "Id": "2161e6cd-544d-4f5c-9d53-f0d17ca88dfb",
    "UserId": "60d6d334-bdfd-4811-b4c6-6416874ad0dd",
    "IsCurrent": true,
    "CenterId": "db5d9c14-5859-4c38-8914-cb5f28fb4cff",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a7fbc844-3ad8-45c6-8e95-fc1bc8040b3b",
    "EndDate": "2026-03-10T12:03:36.528753+00:00",
    "StartDate": "2026-03-10T12:03:36.528753+00:00",
    "SchedulePreferenceDate": "2026-03-10T12:03:36.528753+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-03-10T12:03:36.528753+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b2eb34a8-6b6a-4e30-84aa-52ed2f6a8997",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c2fb1ee9-3fb9-4d2c-84ae-8552edd220fb",
      "Sequence": 1,
      "AncestorCategoryId": "b4fc0ff9-9262-4d79-8bb7-92bf8761af52",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "49b28151-859b-4e7e-ba63-0e91f021291d",
          "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": "49b28151-859b-4e7e-ba63-0e91f021291d",
          "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": "b2eb34a8-6b6a-4e30-84aa-52ed2f6a8997",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c2fb1ee9-3fb9-4d2c-84ae-8552edd220fb",
      "Sequence": 1,
      "AncestorCategoryId": "b4fc0ff9-9262-4d79-8bb7-92bf8761af52",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "49b28151-859b-4e7e-ba63-0e91f021291d",
          "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": "49b28151-859b-4e7e-ba63-0e91f021291d",
          "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": "103e3960-29fd-4c5f-85f6-621b878f5b34",
    "CategoryId": "37e87b2d-b89b-4eb5-8801-0339c505c43f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3d9ba3dd-ce40-4ef2-86ce-979f5599c877",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3d9ba3dd-ce40-4ef2-86ce-979f5599c877",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5090bf8b-74bd-44bc-a34d-2cbfcdef8899",
      "Questions": [
        {
          "Id": "9fd03ca3-1709-4cd0-a135-ab824fd0043e",
          "Answers": "sample string 2"
        },
        {
          "Id": "9fd03ca3-1709-4cd0-a135-ab824fd0043e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5090bf8b-74bd-44bc-a34d-2cbfcdef8899",
      "Questions": [
        {
          "Id": "9fd03ca3-1709-4cd0-a135-ab824fd0043e",
          "Answers": "sample string 2"
        },
        {
          "Id": "9fd03ca3-1709-4cd0-a135-ab824fd0043e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "78ce9463-f31a-4d8c-a913-3f18b29bf02f",
      "ContentItemId": "ba01efc6-632b-4293-aa4d-f3d4cfdf4ae6",
      "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-03-10T12:03:36.528753+00:00",
      "RescheduleDate": "2026-03-10T12:03:36.528753+00:00"
    },
    {
      "Id": "78ce9463-f31a-4d8c-a913-3f18b29bf02f",
      "ContentItemId": "ba01efc6-632b-4293-aa4d-f3d4cfdf4ae6",
      "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-03-10T12:03:36.528753+00:00",
      "RescheduleDate": "2026-03-10T12:03:36.528753+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "67131e7f-47a0-4bd7-8951-f839c66a5e32",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-10T12:03:36.5600047+00:00",
  "Registration": {
    "Id": "2161e6cd-544d-4f5c-9d53-f0d17ca88dfb",
    "UserId": "60d6d334-bdfd-4811-b4c6-6416874ad0dd",
    "IsCurrent": true,
    "CenterId": "db5d9c14-5859-4c38-8914-cb5f28fb4cff",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a7fbc844-3ad8-45c6-8e95-fc1bc8040b3b",
    "EndDate": "2026-03-10T12:03:36.528753+00:00",
    "StartDate": "2026-03-10T12:03:36.528753+00:00",
    "SchedulePreferenceDate": "2026-03-10T12:03:36.528753+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-03-10T12:03:36.528753+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b2eb34a8-6b6a-4e30-84aa-52ed2f6a8997",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c2fb1ee9-3fb9-4d2c-84ae-8552edd220fb",
      "Sequence": 1,
      "AncestorCategoryId": "b4fc0ff9-9262-4d79-8bb7-92bf8761af52",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "49b28151-859b-4e7e-ba63-0e91f021291d",
          "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": "49b28151-859b-4e7e-ba63-0e91f021291d",
          "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": "b2eb34a8-6b6a-4e30-84aa-52ed2f6a8997",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c2fb1ee9-3fb9-4d2c-84ae-8552edd220fb",
      "Sequence": 1,
      "AncestorCategoryId": "b4fc0ff9-9262-4d79-8bb7-92bf8761af52",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "49b28151-859b-4e7e-ba63-0e91f021291d",
          "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": "49b28151-859b-4e7e-ba63-0e91f021291d",
          "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": "103e3960-29fd-4c5f-85f6-621b878f5b34",
    "CategoryId": "37e87b2d-b89b-4eb5-8801-0339c505c43f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3d9ba3dd-ce40-4ef2-86ce-979f5599c877",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3d9ba3dd-ce40-4ef2-86ce-979f5599c877",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5090bf8b-74bd-44bc-a34d-2cbfcdef8899",
      "Questions": [
        {
          "Id": "9fd03ca3-1709-4cd0-a135-ab824fd0043e",
          "Answers": "sample string 2"
        },
        {
          "Id": "9fd03ca3-1709-4cd0-a135-ab824fd0043e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5090bf8b-74bd-44bc-a34d-2cbfcdef8899",
      "Questions": [
        {
          "Id": "9fd03ca3-1709-4cd0-a135-ab824fd0043e",
          "Answers": "sample string 2"
        },
        {
          "Id": "9fd03ca3-1709-4cd0-a135-ab824fd0043e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "78ce9463-f31a-4d8c-a913-3f18b29bf02f",
      "ContentItemId": "ba01efc6-632b-4293-aa4d-f3d4cfdf4ae6",
      "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-03-10T12:03:36.528753+00:00",
      "RescheduleDate": "2026-03-10T12:03:36.528753+00:00"
    },
    {
      "Id": "78ce9463-f31a-4d8c-a913-3f18b29bf02f",
      "ContentItemId": "ba01efc6-632b-4293-aa4d-f3d4cfdf4ae6",
      "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-03-10T12:03:36.528753+00:00",
      "RescheduleDate": "2026-03-10T12:03:36.528753+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}