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": "de2af97a-9d41-4a8d-bbdd-53fb867bc05e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-01T11:11:00.4087609+00:00",
  "Registration": {
    "Id": "3d94704a-0631-498d-bf4b-37ea9c1da1c2",
    "UserId": "342415b8-fc7c-4c2d-a562-857ebe97a9e4",
    "IsCurrent": true,
    "CenterId": "c052355a-4e39-4e2e-8cc1-298fa8a69454",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "160821cf-07bd-489d-ba5b-eff1d86b7216",
    "EndDate": "2026-08-01T11:11:00.3931364+00:00",
    "StartDate": "2026-08-01T11:11:00.3931364+00:00",
    "SchedulePreferenceDate": "2026-08-01T11:11:00.3931364+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-01T11:11:00.3931364+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "7d136969-d1ba-4916-88da-7c8633aedce1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "dbe37be3-4bdc-4dd4-859e-61a3911eb48f",
      "Sequence": 1,
      "AncestorCategoryId": "18fefc3b-1830-49d8-b824-f52662959809",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f16d2151-0b03-4c7b-9b52-a71c2c22c785",
          "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": "f16d2151-0b03-4c7b-9b52-a71c2c22c785",
          "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": "7d136969-d1ba-4916-88da-7c8633aedce1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "dbe37be3-4bdc-4dd4-859e-61a3911eb48f",
      "Sequence": 1,
      "AncestorCategoryId": "18fefc3b-1830-49d8-b824-f52662959809",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f16d2151-0b03-4c7b-9b52-a71c2c22c785",
          "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": "f16d2151-0b03-4c7b-9b52-a71c2c22c785",
          "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": "0679bb14-04f8-4c8d-9540-87d8c654881d",
    "CategoryId": "99dd643d-c823-479e-9d4e-6bfceb14de00",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "4ea49a89-3c6c-45b1-88af-c4f58a3e0f10",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "4ea49a89-3c6c-45b1-88af-c4f58a3e0f10",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "1bb82ab0-179d-45d7-828e-e3b1cfe0f5db",
      "Questions": [
        {
          "Id": "39578b55-56f0-4eaa-adfb-ca92ca34d215",
          "Answers": "sample string 2"
        },
        {
          "Id": "39578b55-56f0-4eaa-adfb-ca92ca34d215",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "1bb82ab0-179d-45d7-828e-e3b1cfe0f5db",
      "Questions": [
        {
          "Id": "39578b55-56f0-4eaa-adfb-ca92ca34d215",
          "Answers": "sample string 2"
        },
        {
          "Id": "39578b55-56f0-4eaa-adfb-ca92ca34d215",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "c64ce440-a45b-422d-bcb3-259b70e47b13",
      "ContentItemId": "770dd389-4515-438d-9964-a275b472bb47",
      "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-01T11:11:00.4087609+00:00",
      "RescheduleDate": "2026-08-01T11:11:00.4087609+00:00"
    },
    {
      "Id": "c64ce440-a45b-422d-bcb3-259b70e47b13",
      "ContentItemId": "770dd389-4515-438d-9964-a275b472bb47",
      "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-01T11:11:00.4087609+00:00",
      "RescheduleDate": "2026-08-01T11:11:00.4087609+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "de2af97a-9d41-4a8d-bbdd-53fb867bc05e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-01T11:11:00.4712612+00:00",
  "Registration": {
    "Id": "3d94704a-0631-498d-bf4b-37ea9c1da1c2",
    "UserId": "342415b8-fc7c-4c2d-a562-857ebe97a9e4",
    "IsCurrent": true,
    "CenterId": "c052355a-4e39-4e2e-8cc1-298fa8a69454",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "160821cf-07bd-489d-ba5b-eff1d86b7216",
    "EndDate": "2026-08-01T11:11:00.3931364+00:00",
    "StartDate": "2026-08-01T11:11:00.3931364+00:00",
    "SchedulePreferenceDate": "2026-08-01T11:11:00.3931364+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-01T11:11:00.3931364+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "7d136969-d1ba-4916-88da-7c8633aedce1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "dbe37be3-4bdc-4dd4-859e-61a3911eb48f",
      "Sequence": 1,
      "AncestorCategoryId": "18fefc3b-1830-49d8-b824-f52662959809",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f16d2151-0b03-4c7b-9b52-a71c2c22c785",
          "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": "f16d2151-0b03-4c7b-9b52-a71c2c22c785",
          "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": "7d136969-d1ba-4916-88da-7c8633aedce1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "dbe37be3-4bdc-4dd4-859e-61a3911eb48f",
      "Sequence": 1,
      "AncestorCategoryId": "18fefc3b-1830-49d8-b824-f52662959809",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f16d2151-0b03-4c7b-9b52-a71c2c22c785",
          "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": "f16d2151-0b03-4c7b-9b52-a71c2c22c785",
          "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": "0679bb14-04f8-4c8d-9540-87d8c654881d",
    "CategoryId": "99dd643d-c823-479e-9d4e-6bfceb14de00",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "4ea49a89-3c6c-45b1-88af-c4f58a3e0f10",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "4ea49a89-3c6c-45b1-88af-c4f58a3e0f10",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "1bb82ab0-179d-45d7-828e-e3b1cfe0f5db",
      "Questions": [
        {
          "Id": "39578b55-56f0-4eaa-adfb-ca92ca34d215",
          "Answers": "sample string 2"
        },
        {
          "Id": "39578b55-56f0-4eaa-adfb-ca92ca34d215",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "1bb82ab0-179d-45d7-828e-e3b1cfe0f5db",
      "Questions": [
        {
          "Id": "39578b55-56f0-4eaa-adfb-ca92ca34d215",
          "Answers": "sample string 2"
        },
        {
          "Id": "39578b55-56f0-4eaa-adfb-ca92ca34d215",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "c64ce440-a45b-422d-bcb3-259b70e47b13",
      "ContentItemId": "770dd389-4515-438d-9964-a275b472bb47",
      "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-01T11:11:00.4087609+00:00",
      "RescheduleDate": "2026-08-01T11:11:00.4087609+00:00"
    },
    {
      "Id": "c64ce440-a45b-422d-bcb3-259b70e47b13",
      "ContentItemId": "770dd389-4515-438d-9964-a275b472bb47",
      "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-01T11:11:00.4087609+00:00",
      "RescheduleDate": "2026-08-01T11:11:00.4087609+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}