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": "85c376e5-7216-4798-a1bf-3a181811a3a4",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-18T03:36:51.0681659+00:00",
  "Registration": [
    {
      "Id": "ade373d6-924c-47e3-928a-8e14ec48413a",
      "UserId": "3fc43368-5888-4f67-b943-cf83ac9f6d4d",
      "IsCurrent": true,
      "CenterId": "00a78633-86bb-4d01-a322-a111168ecb0d",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "24f3453b-9767-4fee-94b1-ea588f8ca1ea",
      "EndDate": "2026-07-18T03:36:51.0681659+00:00",
      "StartDate": "2026-07-18T03:36:51.0681659+00:00",
      "SchedulePreferenceDate": "2026-07-18T03:36:51.0681659+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": "ade373d6-924c-47e3-928a-8e14ec48413a",
      "UserId": "3fc43368-5888-4f67-b943-cf83ac9f6d4d",
      "IsCurrent": true,
      "CenterId": "00a78633-86bb-4d01-a322-a111168ecb0d",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "24f3453b-9767-4fee-94b1-ea588f8ca1ea",
      "EndDate": "2026-07-18T03:36:51.0681659+00:00",
      "StartDate": "2026-07-18T03:36:51.0681659+00:00",
      "SchedulePreferenceDate": "2026-07-18T03:36:51.0681659+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-07-18T03:36:51.0681659+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e40595b9-6fda-406c-8423-11a4faa49cd1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9a0a4bf8-c17f-4ae3-b861-1e3c6df5cc7c",
      "Sequence": 1,
      "AncestorCategoryId": "33e7874c-ff3a-4dc2-9922-cb8c64b38cee",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ca980929-ffc0-4534-91a8-dec99248a069",
          "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": "ca980929-ffc0-4534-91a8-dec99248a069",
          "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": "e40595b9-6fda-406c-8423-11a4faa49cd1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9a0a4bf8-c17f-4ae3-b861-1e3c6df5cc7c",
      "Sequence": 1,
      "AncestorCategoryId": "33e7874c-ff3a-4dc2-9922-cb8c64b38cee",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ca980929-ffc0-4534-91a8-dec99248a069",
          "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": "ca980929-ffc0-4534-91a8-dec99248a069",
          "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": "47eaad13-2373-4530-ad19-33326dc277be",
    "CategoryId": "63e78da3-5e13-49f0-a823-75e334a07cec",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "14b3aeb0-6cfe-432f-8f40-b29907fb8ab4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "14b3aeb0-6cfe-432f-8f40-b29907fb8ab4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ee3f4564-0102-45c0-91e4-8ef1c34c5a8d",
      "Questions": [
        {
          "Id": "523ad103-7422-45b9-8690-f862144085fa",
          "Answers": "sample string 2"
        },
        {
          "Id": "523ad103-7422-45b9-8690-f862144085fa",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ee3f4564-0102-45c0-91e4-8ef1c34c5a8d",
      "Questions": [
        {
          "Id": "523ad103-7422-45b9-8690-f862144085fa",
          "Answers": "sample string 2"
        },
        {
          "Id": "523ad103-7422-45b9-8690-f862144085fa",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "fef2a165-ab60-42f6-9e47-73a1cd7b603a",
      "ContentItemId": "e11aa017-5744-4ad1-b043-67f8dbaa31d0",
      "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-07-18T03:36:51.0681659+00:00",
      "RescheduleDate": "2026-07-18T03:36:51.0681659+00:00"
    },
    {
      "Id": "fef2a165-ab60-42f6-9e47-73a1cd7b603a",
      "ContentItemId": "e11aa017-5744-4ad1-b043-67f8dbaa31d0",
      "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-07-18T03:36:51.0681659+00:00",
      "RescheduleDate": "2026-07-18T03:36:51.0681659+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": "85c376e5-7216-4798-a1bf-3a181811a3a4",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-18T03:36:51.1306628+00:00",
  "Registration": [
    {
      "Id": "ade373d6-924c-47e3-928a-8e14ec48413a",
      "UserId": "3fc43368-5888-4f67-b943-cf83ac9f6d4d",
      "IsCurrent": true,
      "CenterId": "00a78633-86bb-4d01-a322-a111168ecb0d",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "24f3453b-9767-4fee-94b1-ea588f8ca1ea",
      "EndDate": "2026-07-18T03:36:51.0681659+00:00",
      "StartDate": "2026-07-18T03:36:51.0681659+00:00",
      "SchedulePreferenceDate": "2026-07-18T03:36:51.0681659+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": "ade373d6-924c-47e3-928a-8e14ec48413a",
      "UserId": "3fc43368-5888-4f67-b943-cf83ac9f6d4d",
      "IsCurrent": true,
      "CenterId": "00a78633-86bb-4d01-a322-a111168ecb0d",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "24f3453b-9767-4fee-94b1-ea588f8ca1ea",
      "EndDate": "2026-07-18T03:36:51.0681659+00:00",
      "StartDate": "2026-07-18T03:36:51.0681659+00:00",
      "SchedulePreferenceDate": "2026-07-18T03:36:51.0681659+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-07-18T03:36:51.0681659+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e40595b9-6fda-406c-8423-11a4faa49cd1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9a0a4bf8-c17f-4ae3-b861-1e3c6df5cc7c",
      "Sequence": 1,
      "AncestorCategoryId": "33e7874c-ff3a-4dc2-9922-cb8c64b38cee",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ca980929-ffc0-4534-91a8-dec99248a069",
          "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": "ca980929-ffc0-4534-91a8-dec99248a069",
          "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": "e40595b9-6fda-406c-8423-11a4faa49cd1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9a0a4bf8-c17f-4ae3-b861-1e3c6df5cc7c",
      "Sequence": 1,
      "AncestorCategoryId": "33e7874c-ff3a-4dc2-9922-cb8c64b38cee",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ca980929-ffc0-4534-91a8-dec99248a069",
          "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": "ca980929-ffc0-4534-91a8-dec99248a069",
          "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": "47eaad13-2373-4530-ad19-33326dc277be",
    "CategoryId": "63e78da3-5e13-49f0-a823-75e334a07cec",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "14b3aeb0-6cfe-432f-8f40-b29907fb8ab4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "14b3aeb0-6cfe-432f-8f40-b29907fb8ab4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ee3f4564-0102-45c0-91e4-8ef1c34c5a8d",
      "Questions": [
        {
          "Id": "523ad103-7422-45b9-8690-f862144085fa",
          "Answers": "sample string 2"
        },
        {
          "Id": "523ad103-7422-45b9-8690-f862144085fa",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ee3f4564-0102-45c0-91e4-8ef1c34c5a8d",
      "Questions": [
        {
          "Id": "523ad103-7422-45b9-8690-f862144085fa",
          "Answers": "sample string 2"
        },
        {
          "Id": "523ad103-7422-45b9-8690-f862144085fa",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "fef2a165-ab60-42f6-9e47-73a1cd7b603a",
      "ContentItemId": "e11aa017-5744-4ad1-b043-67f8dbaa31d0",
      "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-07-18T03:36:51.0681659+00:00",
      "RescheduleDate": "2026-07-18T03:36:51.0681659+00:00"
    },
    {
      "Id": "fef2a165-ab60-42f6-9e47-73a1cd7b603a",
      "ContentItemId": "e11aa017-5744-4ad1-b043-67f8dbaa31d0",
      "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-07-18T03:36:51.0681659+00:00",
      "RescheduleDate": "2026-07-18T03:36:51.0681659+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}