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": "1fbf46cf-92ad-4de6-967b-ac9886d7714c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-26T06:57:31.6254434+00:00",
  "Registration": {
    "Id": "c319a332-6c23-49a0-b8a4-2ff7692dc6b8",
    "UserId": "04d8cde7-8ca7-4379-92b4-337db55b1844",
    "IsCurrent": true,
    "CenterId": "c3a3e6d9-c953-40a3-82cf-a55184027491",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "9d912b53-553d-4969-a86d-234073547f01",
    "EndDate": "2026-09-26T06:57:31.6254434+00:00",
    "StartDate": "2026-09-26T06:57:31.6254434+00:00",
    "SchedulePreferenceDate": "2026-09-26T06:57:31.6254434+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-26T06:57:31.6254434+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "01eb9fc1-50b6-4553-af64-3d2d88f6ffa7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f38b25e4-1de6-4e7b-9fb2-0f3324769ee0",
      "Sequence": 1,
      "AncestorCategoryId": "f9df50b7-754c-4fb6-9a21-78fce6b25876",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "bb2c957e-04cb-4db5-81be-680ce6aecbfd",
          "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": "bb2c957e-04cb-4db5-81be-680ce6aecbfd",
          "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": "01eb9fc1-50b6-4553-af64-3d2d88f6ffa7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f38b25e4-1de6-4e7b-9fb2-0f3324769ee0",
      "Sequence": 1,
      "AncestorCategoryId": "f9df50b7-754c-4fb6-9a21-78fce6b25876",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "bb2c957e-04cb-4db5-81be-680ce6aecbfd",
          "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": "bb2c957e-04cb-4db5-81be-680ce6aecbfd",
          "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": "0b87b953-6d91-4f96-9a1f-2e80705d9586",
    "CategoryId": "407ae5fc-680e-4e11-827b-11912b538fc1",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "02bc7493-de3a-48af-ba80-2b2511cdc000",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "02bc7493-de3a-48af-ba80-2b2511cdc000",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c3eb394d-cada-433d-8ebc-4c3c8f8a2ab7",
      "Questions": [
        {
          "Id": "c61f4c8f-02cb-44f5-afb7-f739c9b3bb7a",
          "Answers": "sample string 2"
        },
        {
          "Id": "c61f4c8f-02cb-44f5-afb7-f739c9b3bb7a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c3eb394d-cada-433d-8ebc-4c3c8f8a2ab7",
      "Questions": [
        {
          "Id": "c61f4c8f-02cb-44f5-afb7-f739c9b3bb7a",
          "Answers": "sample string 2"
        },
        {
          "Id": "c61f4c8f-02cb-44f5-afb7-f739c9b3bb7a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "42fc72b8-e8ce-4f7f-91db-643df1939d8f",
      "ContentItemId": "3934c92f-f84c-4f59-a332-0e16f1087fcf",
      "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-26T06:57:31.6254434+00:00",
      "RescheduleDate": "2026-09-26T06:57:31.6254434+00:00"
    },
    {
      "Id": "42fc72b8-e8ce-4f7f-91db-643df1939d8f",
      "ContentItemId": "3934c92f-f84c-4f59-a332-0e16f1087fcf",
      "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-26T06:57:31.6254434+00:00",
      "RescheduleDate": "2026-09-26T06:57:31.6254434+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "1fbf46cf-92ad-4de6-967b-ac9886d7714c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-26T06:57:31.6723191+00:00",
  "Registration": {
    "Id": "c319a332-6c23-49a0-b8a4-2ff7692dc6b8",
    "UserId": "04d8cde7-8ca7-4379-92b4-337db55b1844",
    "IsCurrent": true,
    "CenterId": "c3a3e6d9-c953-40a3-82cf-a55184027491",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "9d912b53-553d-4969-a86d-234073547f01",
    "EndDate": "2026-09-26T06:57:31.6254434+00:00",
    "StartDate": "2026-09-26T06:57:31.6254434+00:00",
    "SchedulePreferenceDate": "2026-09-26T06:57:31.6254434+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-26T06:57:31.6254434+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "01eb9fc1-50b6-4553-af64-3d2d88f6ffa7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f38b25e4-1de6-4e7b-9fb2-0f3324769ee0",
      "Sequence": 1,
      "AncestorCategoryId": "f9df50b7-754c-4fb6-9a21-78fce6b25876",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "bb2c957e-04cb-4db5-81be-680ce6aecbfd",
          "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": "bb2c957e-04cb-4db5-81be-680ce6aecbfd",
          "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": "01eb9fc1-50b6-4553-af64-3d2d88f6ffa7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f38b25e4-1de6-4e7b-9fb2-0f3324769ee0",
      "Sequence": 1,
      "AncestorCategoryId": "f9df50b7-754c-4fb6-9a21-78fce6b25876",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "bb2c957e-04cb-4db5-81be-680ce6aecbfd",
          "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": "bb2c957e-04cb-4db5-81be-680ce6aecbfd",
          "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": "0b87b953-6d91-4f96-9a1f-2e80705d9586",
    "CategoryId": "407ae5fc-680e-4e11-827b-11912b538fc1",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "02bc7493-de3a-48af-ba80-2b2511cdc000",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "02bc7493-de3a-48af-ba80-2b2511cdc000",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c3eb394d-cada-433d-8ebc-4c3c8f8a2ab7",
      "Questions": [
        {
          "Id": "c61f4c8f-02cb-44f5-afb7-f739c9b3bb7a",
          "Answers": "sample string 2"
        },
        {
          "Id": "c61f4c8f-02cb-44f5-afb7-f739c9b3bb7a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c3eb394d-cada-433d-8ebc-4c3c8f8a2ab7",
      "Questions": [
        {
          "Id": "c61f4c8f-02cb-44f5-afb7-f739c9b3bb7a",
          "Answers": "sample string 2"
        },
        {
          "Id": "c61f4c8f-02cb-44f5-afb7-f739c9b3bb7a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "42fc72b8-e8ce-4f7f-91db-643df1939d8f",
      "ContentItemId": "3934c92f-f84c-4f59-a332-0e16f1087fcf",
      "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-26T06:57:31.6254434+00:00",
      "RescheduleDate": "2026-09-26T06:57:31.6254434+00:00"
    },
    {
      "Id": "42fc72b8-e8ce-4f7f-91db-643df1939d8f",
      "ContentItemId": "3934c92f-f84c-4f59-a332-0e16f1087fcf",
      "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-26T06:57:31.6254434+00:00",
      "RescheduleDate": "2026-09-26T06:57:31.6254434+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}