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": "1e48f251-7b40-4fd4-bb36-c4456e9d5a55",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-14T21:57:47.2930079+00:00",
  "Registration": {
    "Id": "b06cd9b3-a9d9-4e68-b007-eb284191cae2",
    "UserId": "cbff6acc-bae1-4a9f-a4d2-1173c6b2af10",
    "IsCurrent": true,
    "CenterId": "2a42f566-31bc-4948-9308-0e272bf2434f",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "4fe6de6b-bcc1-4704-b295-0a6da10ae741",
    "EndDate": "2026-05-14T21:57:47.2930079+00:00",
    "StartDate": "2026-05-14T21:57:47.2930079+00:00",
    "SchedulePreferenceDate": "2026-05-14T21:57:47.2930079+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-05-14T21:57:47.2930079+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "6478926c-096d-450f-b15b-d550e5f4e59a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "059556c2-4549-415b-9960-3e7e7ce0b221",
      "Sequence": 1,
      "AncestorCategoryId": "0622ef42-0671-4cd9-90bb-20083fa83d8b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a7a26666-33cc-4f2f-b62a-c93c39652aab",
          "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": "a7a26666-33cc-4f2f-b62a-c93c39652aab",
          "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": "6478926c-096d-450f-b15b-d550e5f4e59a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "059556c2-4549-415b-9960-3e7e7ce0b221",
      "Sequence": 1,
      "AncestorCategoryId": "0622ef42-0671-4cd9-90bb-20083fa83d8b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a7a26666-33cc-4f2f-b62a-c93c39652aab",
          "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": "a7a26666-33cc-4f2f-b62a-c93c39652aab",
          "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": "c84098bf-6221-4cf9-8ab9-7f819260715d",
    "CategoryId": "2f8e95f1-715b-4ec9-bc28-41b90f48c8af",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3dd61f64-c400-416f-8a4a-d9f83e1d321b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3dd61f64-c400-416f-8a4a-d9f83e1d321b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b400cf69-e8f7-4c47-9771-76213cea9db9",
      "Questions": [
        {
          "Id": "960b7c1b-af62-4739-a6e9-7ec31352d35d",
          "Answers": "sample string 2"
        },
        {
          "Id": "960b7c1b-af62-4739-a6e9-7ec31352d35d",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b400cf69-e8f7-4c47-9771-76213cea9db9",
      "Questions": [
        {
          "Id": "960b7c1b-af62-4739-a6e9-7ec31352d35d",
          "Answers": "sample string 2"
        },
        {
          "Id": "960b7c1b-af62-4739-a6e9-7ec31352d35d",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ac02d415-6c86-4d0d-922c-82871558c9c3",
      "ContentItemId": "dc621337-a4db-4b27-9155-9eafed5aad9c",
      "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-05-14T21:57:47.2930079+00:00",
      "RescheduleDate": "2026-05-14T21:57:47.2930079+00:00"
    },
    {
      "Id": "ac02d415-6c86-4d0d-922c-82871558c9c3",
      "ContentItemId": "dc621337-a4db-4b27-9155-9eafed5aad9c",
      "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-05-14T21:57:47.2930079+00:00",
      "RescheduleDate": "2026-05-14T21:57:47.2930079+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "1e48f251-7b40-4fd4-bb36-c4456e9d5a55",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-14T21:57:47.3242575+00:00",
  "Registration": {
    "Id": "b06cd9b3-a9d9-4e68-b007-eb284191cae2",
    "UserId": "cbff6acc-bae1-4a9f-a4d2-1173c6b2af10",
    "IsCurrent": true,
    "CenterId": "2a42f566-31bc-4948-9308-0e272bf2434f",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "4fe6de6b-bcc1-4704-b295-0a6da10ae741",
    "EndDate": "2026-05-14T21:57:47.2930079+00:00",
    "StartDate": "2026-05-14T21:57:47.2930079+00:00",
    "SchedulePreferenceDate": "2026-05-14T21:57:47.2930079+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-05-14T21:57:47.2930079+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "6478926c-096d-450f-b15b-d550e5f4e59a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "059556c2-4549-415b-9960-3e7e7ce0b221",
      "Sequence": 1,
      "AncestorCategoryId": "0622ef42-0671-4cd9-90bb-20083fa83d8b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a7a26666-33cc-4f2f-b62a-c93c39652aab",
          "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": "a7a26666-33cc-4f2f-b62a-c93c39652aab",
          "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": "6478926c-096d-450f-b15b-d550e5f4e59a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "059556c2-4549-415b-9960-3e7e7ce0b221",
      "Sequence": 1,
      "AncestorCategoryId": "0622ef42-0671-4cd9-90bb-20083fa83d8b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a7a26666-33cc-4f2f-b62a-c93c39652aab",
          "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": "a7a26666-33cc-4f2f-b62a-c93c39652aab",
          "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": "c84098bf-6221-4cf9-8ab9-7f819260715d",
    "CategoryId": "2f8e95f1-715b-4ec9-bc28-41b90f48c8af",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3dd61f64-c400-416f-8a4a-d9f83e1d321b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3dd61f64-c400-416f-8a4a-d9f83e1d321b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b400cf69-e8f7-4c47-9771-76213cea9db9",
      "Questions": [
        {
          "Id": "960b7c1b-af62-4739-a6e9-7ec31352d35d",
          "Answers": "sample string 2"
        },
        {
          "Id": "960b7c1b-af62-4739-a6e9-7ec31352d35d",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b400cf69-e8f7-4c47-9771-76213cea9db9",
      "Questions": [
        {
          "Id": "960b7c1b-af62-4739-a6e9-7ec31352d35d",
          "Answers": "sample string 2"
        },
        {
          "Id": "960b7c1b-af62-4739-a6e9-7ec31352d35d",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ac02d415-6c86-4d0d-922c-82871558c9c3",
      "ContentItemId": "dc621337-a4db-4b27-9155-9eafed5aad9c",
      "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-05-14T21:57:47.2930079+00:00",
      "RescheduleDate": "2026-05-14T21:57:47.2930079+00:00"
    },
    {
      "Id": "ac02d415-6c86-4d0d-922c-82871558c9c3",
      "ContentItemId": "dc621337-a4db-4b27-9155-9eafed5aad9c",
      "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-05-14T21:57:47.2930079+00:00",
      "RescheduleDate": "2026-05-14T21:57:47.2930079+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}