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": "ede48d86-c5cc-40c1-a006-2a44fcbd6db7",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-17T13:09:33.6286673+00:00",
  "Registration": {
    "Id": "f2e52af2-af0d-49b8-bcc4-85c683ea96e2",
    "UserId": "4b1f7414-344b-4002-8e0f-2301c1a4c5dd",
    "IsCurrent": true,
    "CenterId": "db480b0a-a556-4065-9948-76758cc13cf3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "153192b2-9820-433e-86dd-2a1f128efee6",
    "EndDate": "2026-09-17T13:09:33.613044+00:00",
    "StartDate": "2026-09-17T13:09:33.613044+00:00",
    "SchedulePreferenceDate": "2026-09-17T13:09:33.613044+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-17T13:09:33.613044+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "af9b2f35-aafb-4ee1-99db-412a31ecf227",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "060495a1-7438-468f-836a-59468edca596",
      "Sequence": 1,
      "AncestorCategoryId": "e4983300-f78f-4a24-ba4d-e6f29a839be8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "53191704-da74-4d3d-9afb-f591bb8b7f69",
          "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": "53191704-da74-4d3d-9afb-f591bb8b7f69",
          "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": "af9b2f35-aafb-4ee1-99db-412a31ecf227",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "060495a1-7438-468f-836a-59468edca596",
      "Sequence": 1,
      "AncestorCategoryId": "e4983300-f78f-4a24-ba4d-e6f29a839be8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "53191704-da74-4d3d-9afb-f591bb8b7f69",
          "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": "53191704-da74-4d3d-9afb-f591bb8b7f69",
          "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": "eeb0acaf-795a-4225-b115-f426c5f1600f",
    "CategoryId": "fc39e8a8-1d8a-497f-80bc-b490a395e39c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "aa85d3cb-bf73-467a-a850-546de054c7c6",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "aa85d3cb-bf73-467a-a850-546de054c7c6",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d33da6c0-72e2-4a6e-b8c2-1de8003c8790",
      "Questions": [
        {
          "Id": "23d7b105-2f6c-4688-81ca-972e066b181e",
          "Answers": "sample string 2"
        },
        {
          "Id": "23d7b105-2f6c-4688-81ca-972e066b181e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d33da6c0-72e2-4a6e-b8c2-1de8003c8790",
      "Questions": [
        {
          "Id": "23d7b105-2f6c-4688-81ca-972e066b181e",
          "Answers": "sample string 2"
        },
        {
          "Id": "23d7b105-2f6c-4688-81ca-972e066b181e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "55964a40-77d2-4c57-8f9a-2c3b5cf3dbf6",
      "ContentItemId": "ff00f8f9-5423-4485-aa4d-1c55298d4c03",
      "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-17T13:09:33.613044+00:00",
      "RescheduleDate": "2026-09-17T13:09:33.613044+00:00"
    },
    {
      "Id": "55964a40-77d2-4c57-8f9a-2c3b5cf3dbf6",
      "ContentItemId": "ff00f8f9-5423-4485-aa4d-1c55298d4c03",
      "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-17T13:09:33.613044+00:00",
      "RescheduleDate": "2026-09-17T13:09:33.613044+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "ede48d86-c5cc-40c1-a006-2a44fcbd6db7",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-17T13:09:33.6599184+00:00",
  "Registration": {
    "Id": "f2e52af2-af0d-49b8-bcc4-85c683ea96e2",
    "UserId": "4b1f7414-344b-4002-8e0f-2301c1a4c5dd",
    "IsCurrent": true,
    "CenterId": "db480b0a-a556-4065-9948-76758cc13cf3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "153192b2-9820-433e-86dd-2a1f128efee6",
    "EndDate": "2026-09-17T13:09:33.613044+00:00",
    "StartDate": "2026-09-17T13:09:33.613044+00:00",
    "SchedulePreferenceDate": "2026-09-17T13:09:33.613044+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-17T13:09:33.613044+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "af9b2f35-aafb-4ee1-99db-412a31ecf227",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "060495a1-7438-468f-836a-59468edca596",
      "Sequence": 1,
      "AncestorCategoryId": "e4983300-f78f-4a24-ba4d-e6f29a839be8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "53191704-da74-4d3d-9afb-f591bb8b7f69",
          "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": "53191704-da74-4d3d-9afb-f591bb8b7f69",
          "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": "af9b2f35-aafb-4ee1-99db-412a31ecf227",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "060495a1-7438-468f-836a-59468edca596",
      "Sequence": 1,
      "AncestorCategoryId": "e4983300-f78f-4a24-ba4d-e6f29a839be8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "53191704-da74-4d3d-9afb-f591bb8b7f69",
          "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": "53191704-da74-4d3d-9afb-f591bb8b7f69",
          "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": "eeb0acaf-795a-4225-b115-f426c5f1600f",
    "CategoryId": "fc39e8a8-1d8a-497f-80bc-b490a395e39c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "aa85d3cb-bf73-467a-a850-546de054c7c6",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "aa85d3cb-bf73-467a-a850-546de054c7c6",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d33da6c0-72e2-4a6e-b8c2-1de8003c8790",
      "Questions": [
        {
          "Id": "23d7b105-2f6c-4688-81ca-972e066b181e",
          "Answers": "sample string 2"
        },
        {
          "Id": "23d7b105-2f6c-4688-81ca-972e066b181e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d33da6c0-72e2-4a6e-b8c2-1de8003c8790",
      "Questions": [
        {
          "Id": "23d7b105-2f6c-4688-81ca-972e066b181e",
          "Answers": "sample string 2"
        },
        {
          "Id": "23d7b105-2f6c-4688-81ca-972e066b181e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "55964a40-77d2-4c57-8f9a-2c3b5cf3dbf6",
      "ContentItemId": "ff00f8f9-5423-4485-aa4d-1c55298d4c03",
      "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-17T13:09:33.613044+00:00",
      "RescheduleDate": "2026-09-17T13:09:33.613044+00:00"
    },
    {
      "Id": "55964a40-77d2-4c57-8f9a-2c3b5cf3dbf6",
      "ContentItemId": "ff00f8f9-5423-4485-aa4d-1c55298d4c03",
      "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-17T13:09:33.613044+00:00",
      "RescheduleDate": "2026-09-17T13:09:33.613044+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}