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": "823f18cc-4be7-44bf-bdea-d88aaac546e7",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-28T20:33:17.7541597+00:00",
  "Registration": {
    "Id": "b9517c26-fa1b-493f-a630-4517090dd2be",
    "UserId": "111285ee-d28d-4609-b501-a257e41e4ae0",
    "IsCurrent": true,
    "CenterId": "8c37aaa9-9ec5-4958-ab2d-dd3b953915c0",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "35b3ab80-8ae7-4792-b93c-5c092d070758",
    "EndDate": "2026-06-28T20:33:17.7229012+00:00",
    "StartDate": "2026-06-28T20:33:17.7229012+00:00",
    "SchedulePreferenceDate": "2026-06-28T20:33:17.7229012+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-06-28T20:33:17.7229012+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f9f2d5d1-a7dc-4f91-9103-7e0b7694d2c6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4ffd102d-8ba1-42b0-bacf-30b2d3ded213",
      "Sequence": 1,
      "AncestorCategoryId": "edeb8c0a-854f-471b-8a14-ed93f4f00c71",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4f791763-a8b0-4387-b73e-c802164961b7",
          "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": "4f791763-a8b0-4387-b73e-c802164961b7",
          "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": "f9f2d5d1-a7dc-4f91-9103-7e0b7694d2c6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4ffd102d-8ba1-42b0-bacf-30b2d3ded213",
      "Sequence": 1,
      "AncestorCategoryId": "edeb8c0a-854f-471b-8a14-ed93f4f00c71",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4f791763-a8b0-4387-b73e-c802164961b7",
          "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": "4f791763-a8b0-4387-b73e-c802164961b7",
          "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": "28c10daf-6453-4745-aa31-94d25dd1a956",
    "CategoryId": "c2fc6029-d952-408f-81f4-a950c2189174",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "6bdac125-7180-49d9-88cb-b8e4071ef4ce",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "6bdac125-7180-49d9-88cb-b8e4071ef4ce",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "741213e0-de09-4cf9-b6a2-d5e7fb06af86",
      "Questions": [
        {
          "Id": "5ad48b89-6ac6-40ba-aefa-2287e8dbc585",
          "Answers": "sample string 2"
        },
        {
          "Id": "5ad48b89-6ac6-40ba-aefa-2287e8dbc585",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "741213e0-de09-4cf9-b6a2-d5e7fb06af86",
      "Questions": [
        {
          "Id": "5ad48b89-6ac6-40ba-aefa-2287e8dbc585",
          "Answers": "sample string 2"
        },
        {
          "Id": "5ad48b89-6ac6-40ba-aefa-2287e8dbc585",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "87d8e6f3-876a-40d5-a7d7-e32cb5a44ff2",
      "ContentItemId": "814b4fd6-070c-449b-a03d-dacdca75616e",
      "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-06-28T20:33:17.7229012+00:00",
      "RescheduleDate": "2026-06-28T20:33:17.7229012+00:00"
    },
    {
      "Id": "87d8e6f3-876a-40d5-a7d7-e32cb5a44ff2",
      "ContentItemId": "814b4fd6-070c-449b-a03d-dacdca75616e",
      "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-06-28T20:33:17.7229012+00:00",
      "RescheduleDate": "2026-06-28T20:33:17.7229012+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "823f18cc-4be7-44bf-bdea-d88aaac546e7",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-28T20:33:17.8322966+00:00",
  "Registration": {
    "Id": "b9517c26-fa1b-493f-a630-4517090dd2be",
    "UserId": "111285ee-d28d-4609-b501-a257e41e4ae0",
    "IsCurrent": true,
    "CenterId": "8c37aaa9-9ec5-4958-ab2d-dd3b953915c0",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "35b3ab80-8ae7-4792-b93c-5c092d070758",
    "EndDate": "2026-06-28T20:33:17.7229012+00:00",
    "StartDate": "2026-06-28T20:33:17.7229012+00:00",
    "SchedulePreferenceDate": "2026-06-28T20:33:17.7229012+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-06-28T20:33:17.7229012+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f9f2d5d1-a7dc-4f91-9103-7e0b7694d2c6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4ffd102d-8ba1-42b0-bacf-30b2d3ded213",
      "Sequence": 1,
      "AncestorCategoryId": "edeb8c0a-854f-471b-8a14-ed93f4f00c71",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4f791763-a8b0-4387-b73e-c802164961b7",
          "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": "4f791763-a8b0-4387-b73e-c802164961b7",
          "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": "f9f2d5d1-a7dc-4f91-9103-7e0b7694d2c6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4ffd102d-8ba1-42b0-bacf-30b2d3ded213",
      "Sequence": 1,
      "AncestorCategoryId": "edeb8c0a-854f-471b-8a14-ed93f4f00c71",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4f791763-a8b0-4387-b73e-c802164961b7",
          "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": "4f791763-a8b0-4387-b73e-c802164961b7",
          "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": "28c10daf-6453-4745-aa31-94d25dd1a956",
    "CategoryId": "c2fc6029-d952-408f-81f4-a950c2189174",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "6bdac125-7180-49d9-88cb-b8e4071ef4ce",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "6bdac125-7180-49d9-88cb-b8e4071ef4ce",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "741213e0-de09-4cf9-b6a2-d5e7fb06af86",
      "Questions": [
        {
          "Id": "5ad48b89-6ac6-40ba-aefa-2287e8dbc585",
          "Answers": "sample string 2"
        },
        {
          "Id": "5ad48b89-6ac6-40ba-aefa-2287e8dbc585",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "741213e0-de09-4cf9-b6a2-d5e7fb06af86",
      "Questions": [
        {
          "Id": "5ad48b89-6ac6-40ba-aefa-2287e8dbc585",
          "Answers": "sample string 2"
        },
        {
          "Id": "5ad48b89-6ac6-40ba-aefa-2287e8dbc585",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "87d8e6f3-876a-40d5-a7d7-e32cb5a44ff2",
      "ContentItemId": "814b4fd6-070c-449b-a03d-dacdca75616e",
      "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-06-28T20:33:17.7229012+00:00",
      "RescheduleDate": "2026-06-28T20:33:17.7229012+00:00"
    },
    {
      "Id": "87d8e6f3-876a-40d5-a7d7-e32cb5a44ff2",
      "ContentItemId": "814b4fd6-070c-449b-a03d-dacdca75616e",
      "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-06-28T20:33:17.7229012+00:00",
      "RescheduleDate": "2026-06-28T20:33:17.7229012+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}