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": "e1f50b34-136d-4b9b-9b9f-9ce52684287f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-07T03:51:51.9283112+00:00",
  "Registration": {
    "Id": "902d2982-13af-498d-bcbd-85c0fcf9b6c1",
    "UserId": "7c2bcb91-d26c-4093-938e-79bb3cab9a70",
    "IsCurrent": true,
    "CenterId": "484e6deb-a68d-4423-bde5-46861252ca0c",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "cf5c034c-4db4-4fdd-a531-e0bddd058574",
    "EndDate": "2026-05-07T03:51:51.9283112+00:00",
    "StartDate": "2026-05-07T03:51:51.9283112+00:00",
    "SchedulePreferenceDate": "2026-05-07T03:51:51.9283112+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-07T03:51:51.9283112+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "eeb36a2c-5587-468e-8d9d-b24d6220492e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eecf605f-3793-4417-bef9-1003cfd8de2d",
      "Sequence": 1,
      "AncestorCategoryId": "f6d32861-90a6-46f5-955d-4732a337be9e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "90a459d1-4e1a-4dc8-8651-f145af4795d7",
          "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": "90a459d1-4e1a-4dc8-8651-f145af4795d7",
          "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": "eeb36a2c-5587-468e-8d9d-b24d6220492e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eecf605f-3793-4417-bef9-1003cfd8de2d",
      "Sequence": 1,
      "AncestorCategoryId": "f6d32861-90a6-46f5-955d-4732a337be9e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "90a459d1-4e1a-4dc8-8651-f145af4795d7",
          "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": "90a459d1-4e1a-4dc8-8651-f145af4795d7",
          "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": "5030b490-71b9-432e-837b-029687230667",
    "CategoryId": "39e68793-008b-4c73-91b4-47c374305dba",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "cce31034-116f-4ff6-95e8-69685f9a40ab",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "cce31034-116f-4ff6-95e8-69685f9a40ab",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "cdb25fe8-4797-456a-9b1e-c33571f672f3",
      "Questions": [
        {
          "Id": "e2a86c18-2543-42a9-8694-566b2a0c7d32",
          "Answers": "sample string 2"
        },
        {
          "Id": "e2a86c18-2543-42a9-8694-566b2a0c7d32",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "cdb25fe8-4797-456a-9b1e-c33571f672f3",
      "Questions": [
        {
          "Id": "e2a86c18-2543-42a9-8694-566b2a0c7d32",
          "Answers": "sample string 2"
        },
        {
          "Id": "e2a86c18-2543-42a9-8694-566b2a0c7d32",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "3ccac2cf-e829-4ebe-ad6c-8e0890d7d5c3",
      "ContentItemId": "f539db0b-2710-46a0-acef-efd968bc87e0",
      "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-07T03:51:51.9283112+00:00",
      "RescheduleDate": "2026-05-07T03:51:51.9283112+00:00"
    },
    {
      "Id": "3ccac2cf-e829-4ebe-ad6c-8e0890d7d5c3",
      "ContentItemId": "f539db0b-2710-46a0-acef-efd968bc87e0",
      "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-07T03:51:51.9283112+00:00",
      "RescheduleDate": "2026-05-07T03:51:51.9283112+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "e1f50b34-136d-4b9b-9b9f-9ce52684287f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-07T03:51:51.959566+00:00",
  "Registration": {
    "Id": "902d2982-13af-498d-bcbd-85c0fcf9b6c1",
    "UserId": "7c2bcb91-d26c-4093-938e-79bb3cab9a70",
    "IsCurrent": true,
    "CenterId": "484e6deb-a68d-4423-bde5-46861252ca0c",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "cf5c034c-4db4-4fdd-a531-e0bddd058574",
    "EndDate": "2026-05-07T03:51:51.9283112+00:00",
    "StartDate": "2026-05-07T03:51:51.9283112+00:00",
    "SchedulePreferenceDate": "2026-05-07T03:51:51.9283112+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-07T03:51:51.9283112+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "eeb36a2c-5587-468e-8d9d-b24d6220492e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eecf605f-3793-4417-bef9-1003cfd8de2d",
      "Sequence": 1,
      "AncestorCategoryId": "f6d32861-90a6-46f5-955d-4732a337be9e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "90a459d1-4e1a-4dc8-8651-f145af4795d7",
          "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": "90a459d1-4e1a-4dc8-8651-f145af4795d7",
          "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": "eeb36a2c-5587-468e-8d9d-b24d6220492e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eecf605f-3793-4417-bef9-1003cfd8de2d",
      "Sequence": 1,
      "AncestorCategoryId": "f6d32861-90a6-46f5-955d-4732a337be9e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "90a459d1-4e1a-4dc8-8651-f145af4795d7",
          "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": "90a459d1-4e1a-4dc8-8651-f145af4795d7",
          "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": "5030b490-71b9-432e-837b-029687230667",
    "CategoryId": "39e68793-008b-4c73-91b4-47c374305dba",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "cce31034-116f-4ff6-95e8-69685f9a40ab",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "cce31034-116f-4ff6-95e8-69685f9a40ab",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "cdb25fe8-4797-456a-9b1e-c33571f672f3",
      "Questions": [
        {
          "Id": "e2a86c18-2543-42a9-8694-566b2a0c7d32",
          "Answers": "sample string 2"
        },
        {
          "Id": "e2a86c18-2543-42a9-8694-566b2a0c7d32",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "cdb25fe8-4797-456a-9b1e-c33571f672f3",
      "Questions": [
        {
          "Id": "e2a86c18-2543-42a9-8694-566b2a0c7d32",
          "Answers": "sample string 2"
        },
        {
          "Id": "e2a86c18-2543-42a9-8694-566b2a0c7d32",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "3ccac2cf-e829-4ebe-ad6c-8e0890d7d5c3",
      "ContentItemId": "f539db0b-2710-46a0-acef-efd968bc87e0",
      "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-07T03:51:51.9283112+00:00",
      "RescheduleDate": "2026-05-07T03:51:51.9283112+00:00"
    },
    {
      "Id": "3ccac2cf-e829-4ebe-ad6c-8e0890d7d5c3",
      "ContentItemId": "f539db0b-2710-46a0-acef-efd968bc87e0",
      "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-07T03:51:51.9283112+00:00",
      "RescheduleDate": "2026-05-07T03:51:51.9283112+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}