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": "c319529d-35fe-4cc7-8f5d-9dd716ac4a42",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-20T17:12:43.4402126+00:00",
  "Registration": {
    "Id": "c0f7b08b-587c-41aa-9c48-0733e5d49296",
    "UserId": "c1e273c2-8c99-4dd2-8714-043a7df0d5e3",
    "IsCurrent": true,
    "CenterId": "2e8d27ab-8a5e-4333-9fc9-55bf6d00a50e",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6b8f7ee8-dfdf-4cfa-ac61-d0d14871480a",
    "EndDate": "2026-10-20T17:12:43.4245866+00:00",
    "StartDate": "2026-10-20T17:12:43.4245866+00:00",
    "SchedulePreferenceDate": "2026-10-20T17:12:43.4245866+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-20T17:12:43.4245866+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f83bfce2-4743-42f2-b42f-a5bdf6331596",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1388406f-2839-44ed-b817-e8dc13e19681",
      "Sequence": 1,
      "AncestorCategoryId": "ba3fe87a-1873-4957-8ca3-82794ffece12",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6fe4685c-50ae-47a5-8cc5-f55a05fc48de",
          "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": "6fe4685c-50ae-47a5-8cc5-f55a05fc48de",
          "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": "f83bfce2-4743-42f2-b42f-a5bdf6331596",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1388406f-2839-44ed-b817-e8dc13e19681",
      "Sequence": 1,
      "AncestorCategoryId": "ba3fe87a-1873-4957-8ca3-82794ffece12",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6fe4685c-50ae-47a5-8cc5-f55a05fc48de",
          "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": "6fe4685c-50ae-47a5-8cc5-f55a05fc48de",
          "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": "abbc3d2f-7456-430d-bbaf-d85e5d3f34c4",
    "CategoryId": "01858268-99a5-4403-a2d0-35c2d3381920",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "2224d3b5-1061-4846-93ce-bb4833915b1e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "2224d3b5-1061-4846-93ce-bb4833915b1e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0e1f0f50-cd1f-4bad-8fb8-35b4e9783ce7",
      "Questions": [
        {
          "Id": "59fa126a-df08-4ace-8f78-c15972627584",
          "Answers": "sample string 2"
        },
        {
          "Id": "59fa126a-df08-4ace-8f78-c15972627584",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0e1f0f50-cd1f-4bad-8fb8-35b4e9783ce7",
      "Questions": [
        {
          "Id": "59fa126a-df08-4ace-8f78-c15972627584",
          "Answers": "sample string 2"
        },
        {
          "Id": "59fa126a-df08-4ace-8f78-c15972627584",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7268d047-d26c-41b7-8b34-a62ae71e363c",
      "ContentItemId": "e3f637fd-eefc-4dd8-b339-913e0ca288b5",
      "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-20T17:12:43.4245866+00:00",
      "RescheduleDate": "2026-10-20T17:12:43.4245866+00:00"
    },
    {
      "Id": "7268d047-d26c-41b7-8b34-a62ae71e363c",
      "ContentItemId": "e3f637fd-eefc-4dd8-b339-913e0ca288b5",
      "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-20T17:12:43.4245866+00:00",
      "RescheduleDate": "2026-10-20T17:12:43.4245866+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "c319529d-35fe-4cc7-8f5d-9dd716ac4a42",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-20T17:12:43.4714616+00:00",
  "Registration": {
    "Id": "c0f7b08b-587c-41aa-9c48-0733e5d49296",
    "UserId": "c1e273c2-8c99-4dd2-8714-043a7df0d5e3",
    "IsCurrent": true,
    "CenterId": "2e8d27ab-8a5e-4333-9fc9-55bf6d00a50e",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6b8f7ee8-dfdf-4cfa-ac61-d0d14871480a",
    "EndDate": "2026-10-20T17:12:43.4245866+00:00",
    "StartDate": "2026-10-20T17:12:43.4245866+00:00",
    "SchedulePreferenceDate": "2026-10-20T17:12:43.4245866+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-20T17:12:43.4245866+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f83bfce2-4743-42f2-b42f-a5bdf6331596",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1388406f-2839-44ed-b817-e8dc13e19681",
      "Sequence": 1,
      "AncestorCategoryId": "ba3fe87a-1873-4957-8ca3-82794ffece12",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6fe4685c-50ae-47a5-8cc5-f55a05fc48de",
          "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": "6fe4685c-50ae-47a5-8cc5-f55a05fc48de",
          "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": "f83bfce2-4743-42f2-b42f-a5bdf6331596",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1388406f-2839-44ed-b817-e8dc13e19681",
      "Sequence": 1,
      "AncestorCategoryId": "ba3fe87a-1873-4957-8ca3-82794ffece12",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6fe4685c-50ae-47a5-8cc5-f55a05fc48de",
          "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": "6fe4685c-50ae-47a5-8cc5-f55a05fc48de",
          "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": "abbc3d2f-7456-430d-bbaf-d85e5d3f34c4",
    "CategoryId": "01858268-99a5-4403-a2d0-35c2d3381920",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "2224d3b5-1061-4846-93ce-bb4833915b1e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "2224d3b5-1061-4846-93ce-bb4833915b1e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0e1f0f50-cd1f-4bad-8fb8-35b4e9783ce7",
      "Questions": [
        {
          "Id": "59fa126a-df08-4ace-8f78-c15972627584",
          "Answers": "sample string 2"
        },
        {
          "Id": "59fa126a-df08-4ace-8f78-c15972627584",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0e1f0f50-cd1f-4bad-8fb8-35b4e9783ce7",
      "Questions": [
        {
          "Id": "59fa126a-df08-4ace-8f78-c15972627584",
          "Answers": "sample string 2"
        },
        {
          "Id": "59fa126a-df08-4ace-8f78-c15972627584",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7268d047-d26c-41b7-8b34-a62ae71e363c",
      "ContentItemId": "e3f637fd-eefc-4dd8-b339-913e0ca288b5",
      "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-20T17:12:43.4245866+00:00",
      "RescheduleDate": "2026-10-20T17:12:43.4245866+00:00"
    },
    {
      "Id": "7268d047-d26c-41b7-8b34-a62ae71e363c",
      "ContentItemId": "e3f637fd-eefc-4dd8-b339-913e0ca288b5",
      "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-20T17:12:43.4245866+00:00",
      "RescheduleDate": "2026-10-20T17:12:43.4245866+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}