GET v2/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.View.UserStateViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

Collection of 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.

StudentSpeakPlusLevelInfo

string

None.

Response Formats

application/json

Sample:
{
  "UserId": "3f0a0318-27b9-4ad7-b3fa-57b151d4e9d5",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-23T18:00:03.8119381+00:00",
  "Registration": [
    {
      "Id": "8569bb6a-d2cb-4d77-b663-045c820afdca",
      "UserId": "b38a96c7-6cd8-4e2e-af2e-40850f71575a",
      "IsCurrent": true,
      "CenterId": "381b51d5-e7ed-4c35-8702-1f538b554a87",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "a913952e-856e-40e5-98f5-cf3931caaae3",
      "EndDate": "2026-01-23T18:00:03.7963135+00:00",
      "StartDate": "2026-01-23T18:00:03.7963135+00:00",
      "SchedulePreferenceDate": "2026-01-23T18:00:03.7963135+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"
    },
    {
      "Id": "8569bb6a-d2cb-4d77-b663-045c820afdca",
      "UserId": "b38a96c7-6cd8-4e2e-af2e-40850f71575a",
      "IsCurrent": true,
      "CenterId": "381b51d5-e7ed-4c35-8702-1f538b554a87",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "a913952e-856e-40e5-98f5-cf3931caaae3",
      "EndDate": "2026-01-23T18:00:03.7963135+00:00",
      "StartDate": "2026-01-23T18:00:03.7963135+00:00",
      "SchedulePreferenceDate": "2026-01-23T18:00:03.7963135+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-01-23T18:00:03.7963135+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f54a9279-40a3-4d95-967f-f0f7e92b5fcc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7e5ac648-2757-463d-b88f-803694c6ccd8",
      "Sequence": 1,
      "AncestorCategoryId": "f637c08c-8314-4ef2-b8a3-31b2b656f027",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "92ba90e4-a8af-4ad5-aedb-de6ec9f017b9",
          "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": "92ba90e4-a8af-4ad5-aedb-de6ec9f017b9",
          "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": "f54a9279-40a3-4d95-967f-f0f7e92b5fcc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7e5ac648-2757-463d-b88f-803694c6ccd8",
      "Sequence": 1,
      "AncestorCategoryId": "f637c08c-8314-4ef2-b8a3-31b2b656f027",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "92ba90e4-a8af-4ad5-aedb-de6ec9f017b9",
          "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": "92ba90e4-a8af-4ad5-aedb-de6ec9f017b9",
          "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": "9444eca9-b034-42a5-9e0c-05ee2809bd46",
    "CategoryId": "7064c137-ad41-45bb-8645-636997d9f037",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "361a7180-73f5-4084-8b9b-362c27161d1b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "361a7180-73f5-4084-8b9b-362c27161d1b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d8305fce-2bf2-4590-a31b-40f06a2b5aeb",
      "Questions": [
        {
          "Id": "b319a6fe-e315-4fde-a82c-76f377371cd8",
          "Answers": "sample string 2"
        },
        {
          "Id": "b319a6fe-e315-4fde-a82c-76f377371cd8",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d8305fce-2bf2-4590-a31b-40f06a2b5aeb",
      "Questions": [
        {
          "Id": "b319a6fe-e315-4fde-a82c-76f377371cd8",
          "Answers": "sample string 2"
        },
        {
          "Id": "b319a6fe-e315-4fde-a82c-76f377371cd8",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cde229a1-1384-4e92-850f-793a21d975a5",
      "ContentItemId": "a054c72d-ef7b-452d-a8b1-0081ca90d412",
      "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-01-23T18:00:03.7963135+00:00",
      "RescheduleDate": "2026-01-23T18:00:03.7963135+00:00"
    },
    {
      "Id": "cde229a1-1384-4e92-850f-793a21d975a5",
      "ContentItemId": "a054c72d-ef7b-452d-a8b1-0081ca90d412",
      "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-01-23T18:00:03.7963135+00:00",
      "RescheduleDate": "2026-01-23T18:00:03.7963135+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}

text/json

Sample:
{
  "UserId": "3f0a0318-27b9-4ad7-b3fa-57b151d4e9d5",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-23T18:00:03.8588141+00:00",
  "Registration": [
    {
      "Id": "8569bb6a-d2cb-4d77-b663-045c820afdca",
      "UserId": "b38a96c7-6cd8-4e2e-af2e-40850f71575a",
      "IsCurrent": true,
      "CenterId": "381b51d5-e7ed-4c35-8702-1f538b554a87",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "a913952e-856e-40e5-98f5-cf3931caaae3",
      "EndDate": "2026-01-23T18:00:03.7963135+00:00",
      "StartDate": "2026-01-23T18:00:03.7963135+00:00",
      "SchedulePreferenceDate": "2026-01-23T18:00:03.7963135+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"
    },
    {
      "Id": "8569bb6a-d2cb-4d77-b663-045c820afdca",
      "UserId": "b38a96c7-6cd8-4e2e-af2e-40850f71575a",
      "IsCurrent": true,
      "CenterId": "381b51d5-e7ed-4c35-8702-1f538b554a87",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "a913952e-856e-40e5-98f5-cf3931caaae3",
      "EndDate": "2026-01-23T18:00:03.7963135+00:00",
      "StartDate": "2026-01-23T18:00:03.7963135+00:00",
      "SchedulePreferenceDate": "2026-01-23T18:00:03.7963135+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-01-23T18:00:03.7963135+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f54a9279-40a3-4d95-967f-f0f7e92b5fcc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7e5ac648-2757-463d-b88f-803694c6ccd8",
      "Sequence": 1,
      "AncestorCategoryId": "f637c08c-8314-4ef2-b8a3-31b2b656f027",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "92ba90e4-a8af-4ad5-aedb-de6ec9f017b9",
          "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": "92ba90e4-a8af-4ad5-aedb-de6ec9f017b9",
          "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": "f54a9279-40a3-4d95-967f-f0f7e92b5fcc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7e5ac648-2757-463d-b88f-803694c6ccd8",
      "Sequence": 1,
      "AncestorCategoryId": "f637c08c-8314-4ef2-b8a3-31b2b656f027",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "92ba90e4-a8af-4ad5-aedb-de6ec9f017b9",
          "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": "92ba90e4-a8af-4ad5-aedb-de6ec9f017b9",
          "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": "9444eca9-b034-42a5-9e0c-05ee2809bd46",
    "CategoryId": "7064c137-ad41-45bb-8645-636997d9f037",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "361a7180-73f5-4084-8b9b-362c27161d1b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "361a7180-73f5-4084-8b9b-362c27161d1b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d8305fce-2bf2-4590-a31b-40f06a2b5aeb",
      "Questions": [
        {
          "Id": "b319a6fe-e315-4fde-a82c-76f377371cd8",
          "Answers": "sample string 2"
        },
        {
          "Id": "b319a6fe-e315-4fde-a82c-76f377371cd8",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d8305fce-2bf2-4590-a31b-40f06a2b5aeb",
      "Questions": [
        {
          "Id": "b319a6fe-e315-4fde-a82c-76f377371cd8",
          "Answers": "sample string 2"
        },
        {
          "Id": "b319a6fe-e315-4fde-a82c-76f377371cd8",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cde229a1-1384-4e92-850f-793a21d975a5",
      "ContentItemId": "a054c72d-ef7b-452d-a8b1-0081ca90d412",
      "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-01-23T18:00:03.7963135+00:00",
      "RescheduleDate": "2026-01-23T18:00:03.7963135+00:00"
    },
    {
      "Id": "cde229a1-1384-4e92-850f-793a21d975a5",
      "ContentItemId": "a054c72d-ef7b-452d-a8b1-0081ca90d412",
      "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-01-23T18:00:03.7963135+00:00",
      "RescheduleDate": "2026-01-23T18:00:03.7963135+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}