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": "949ca41e-1b37-459d-91e9-02f50b78eeb8",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-22T08:48:36.1416272+00:00",
  "Registration": [
    {
      "Id": "373eadf1-1538-464e-9e4d-3a04a0b6e11c",
      "UserId": "bac632b0-13da-4ab1-ae24-c0449613eaba",
      "IsCurrent": true,
      "CenterId": "95c5c7c1-3038-4232-9da1-8a4661fa766c",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "666cb81d-9c7c-40f8-96d2-80035453ea9f",
      "EndDate": "2026-10-22T08:48:36.1259982+00:00",
      "StartDate": "2026-10-22T08:48:36.1259982+00:00",
      "SchedulePreferenceDate": "2026-10-22T08:48:36.1259982+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": "373eadf1-1538-464e-9e4d-3a04a0b6e11c",
      "UserId": "bac632b0-13da-4ab1-ae24-c0449613eaba",
      "IsCurrent": true,
      "CenterId": "95c5c7c1-3038-4232-9da1-8a4661fa766c",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "666cb81d-9c7c-40f8-96d2-80035453ea9f",
      "EndDate": "2026-10-22T08:48:36.1259982+00:00",
      "StartDate": "2026-10-22T08:48:36.1259982+00:00",
      "SchedulePreferenceDate": "2026-10-22T08:48:36.1259982+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-22T08:48:36.1259982+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c3b0e948-4c6c-4fe9-8716-e0c18023c6e5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c6746d7a-a93c-4d5d-b0e9-aafe590bf4d3",
      "Sequence": 1,
      "AncestorCategoryId": "5cc2a2c0-7101-4706-8331-a976077359be",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "84d1eb81-95fd-49da-94ea-a40c822815ee",
          "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": "84d1eb81-95fd-49da-94ea-a40c822815ee",
          "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": "c3b0e948-4c6c-4fe9-8716-e0c18023c6e5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c6746d7a-a93c-4d5d-b0e9-aafe590bf4d3",
      "Sequence": 1,
      "AncestorCategoryId": "5cc2a2c0-7101-4706-8331-a976077359be",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "84d1eb81-95fd-49da-94ea-a40c822815ee",
          "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": "84d1eb81-95fd-49da-94ea-a40c822815ee",
          "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": "26f26410-09cd-4635-ba35-e7255508f425",
    "CategoryId": "35077b41-152d-4170-9275-ec0c3083714c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a4defbb2-a05f-4357-a132-f3c44a118702",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a4defbb2-a05f-4357-a132-f3c44a118702",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "187c4513-7f90-4cfa-9908-ba57bc241251",
      "Questions": [
        {
          "Id": "398ab2c2-2bb4-44e4-a2c1-4e70c34ac5c5",
          "Answers": "sample string 2"
        },
        {
          "Id": "398ab2c2-2bb4-44e4-a2c1-4e70c34ac5c5",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "187c4513-7f90-4cfa-9908-ba57bc241251",
      "Questions": [
        {
          "Id": "398ab2c2-2bb4-44e4-a2c1-4e70c34ac5c5",
          "Answers": "sample string 2"
        },
        {
          "Id": "398ab2c2-2bb4-44e4-a2c1-4e70c34ac5c5",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "e6097d9b-4ad3-428e-a853-2fa8f0011c98",
      "ContentItemId": "74bc4799-a95d-4221-97eb-0d6f88427b7e",
      "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-22T08:48:36.1259982+00:00",
      "RescheduleDate": "2026-10-22T08:48:36.1259982+00:00"
    },
    {
      "Id": "e6097d9b-4ad3-428e-a853-2fa8f0011c98",
      "ContentItemId": "74bc4799-a95d-4221-97eb-0d6f88427b7e",
      "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-22T08:48:36.1259982+00:00",
      "RescheduleDate": "2026-10-22T08:48:36.1259982+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": "949ca41e-1b37-459d-91e9-02f50b78eeb8",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-22T08:48:36.1728783+00:00",
  "Registration": [
    {
      "Id": "373eadf1-1538-464e-9e4d-3a04a0b6e11c",
      "UserId": "bac632b0-13da-4ab1-ae24-c0449613eaba",
      "IsCurrent": true,
      "CenterId": "95c5c7c1-3038-4232-9da1-8a4661fa766c",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "666cb81d-9c7c-40f8-96d2-80035453ea9f",
      "EndDate": "2026-10-22T08:48:36.1259982+00:00",
      "StartDate": "2026-10-22T08:48:36.1259982+00:00",
      "SchedulePreferenceDate": "2026-10-22T08:48:36.1259982+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": "373eadf1-1538-464e-9e4d-3a04a0b6e11c",
      "UserId": "bac632b0-13da-4ab1-ae24-c0449613eaba",
      "IsCurrent": true,
      "CenterId": "95c5c7c1-3038-4232-9da1-8a4661fa766c",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "666cb81d-9c7c-40f8-96d2-80035453ea9f",
      "EndDate": "2026-10-22T08:48:36.1259982+00:00",
      "StartDate": "2026-10-22T08:48:36.1259982+00:00",
      "SchedulePreferenceDate": "2026-10-22T08:48:36.1259982+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-22T08:48:36.1259982+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c3b0e948-4c6c-4fe9-8716-e0c18023c6e5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c6746d7a-a93c-4d5d-b0e9-aafe590bf4d3",
      "Sequence": 1,
      "AncestorCategoryId": "5cc2a2c0-7101-4706-8331-a976077359be",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "84d1eb81-95fd-49da-94ea-a40c822815ee",
          "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": "84d1eb81-95fd-49da-94ea-a40c822815ee",
          "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": "c3b0e948-4c6c-4fe9-8716-e0c18023c6e5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c6746d7a-a93c-4d5d-b0e9-aafe590bf4d3",
      "Sequence": 1,
      "AncestorCategoryId": "5cc2a2c0-7101-4706-8331-a976077359be",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "84d1eb81-95fd-49da-94ea-a40c822815ee",
          "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": "84d1eb81-95fd-49da-94ea-a40c822815ee",
          "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": "26f26410-09cd-4635-ba35-e7255508f425",
    "CategoryId": "35077b41-152d-4170-9275-ec0c3083714c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a4defbb2-a05f-4357-a132-f3c44a118702",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a4defbb2-a05f-4357-a132-f3c44a118702",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "187c4513-7f90-4cfa-9908-ba57bc241251",
      "Questions": [
        {
          "Id": "398ab2c2-2bb4-44e4-a2c1-4e70c34ac5c5",
          "Answers": "sample string 2"
        },
        {
          "Id": "398ab2c2-2bb4-44e4-a2c1-4e70c34ac5c5",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "187c4513-7f90-4cfa-9908-ba57bc241251",
      "Questions": [
        {
          "Id": "398ab2c2-2bb4-44e4-a2c1-4e70c34ac5c5",
          "Answers": "sample string 2"
        },
        {
          "Id": "398ab2c2-2bb4-44e4-a2c1-4e70c34ac5c5",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "e6097d9b-4ad3-428e-a853-2fa8f0011c98",
      "ContentItemId": "74bc4799-a95d-4221-97eb-0d6f88427b7e",
      "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-22T08:48:36.1259982+00:00",
      "RescheduleDate": "2026-10-22T08:48:36.1259982+00:00"
    },
    {
      "Id": "e6097d9b-4ad3-428e-a853-2fa8f0011c98",
      "ContentItemId": "74bc4799-a95d-4221-97eb-0d6f88427b7e",
      "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-22T08:48:36.1259982+00:00",
      "RescheduleDate": "2026-10-22T08:48:36.1259982+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}