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": "1fe48c9b-81a6-48a9-a3a8-ba975497972c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-16T13:28:25.7344907+00:00",
  "Registration": [
    {
      "Id": "3dbfed3e-4139-4dc0-9921-7c50f1747219",
      "UserId": "0cc29ef5-094e-447c-94b7-6f0e10b0640d",
      "IsCurrent": true,
      "CenterId": "b62346e8-634f-416f-a191-280c8eca8502",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "602a97b2-f53f-4310-9c8e-1bf93518301a",
      "EndDate": "2026-09-16T13:28:25.7344907+00:00",
      "StartDate": "2026-09-16T13:28:25.7344907+00:00",
      "SchedulePreferenceDate": "2026-09-16T13:28:25.7344907+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": "3dbfed3e-4139-4dc0-9921-7c50f1747219",
      "UserId": "0cc29ef5-094e-447c-94b7-6f0e10b0640d",
      "IsCurrent": true,
      "CenterId": "b62346e8-634f-416f-a191-280c8eca8502",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "602a97b2-f53f-4310-9c8e-1bf93518301a",
      "EndDate": "2026-09-16T13:28:25.7344907+00:00",
      "StartDate": "2026-09-16T13:28:25.7344907+00:00",
      "SchedulePreferenceDate": "2026-09-16T13:28:25.7344907+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-09-16T13:28:25.7344907+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "474e43ab-3e8a-4209-90a4-d1ab0ebef434",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "76966be3-b64d-4315-8cb4-17a3cd00d763",
      "Sequence": 1,
      "AncestorCategoryId": "0f4227bf-c7e3-4162-aff3-9fa1aa49c933",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "91094513-f6ad-4297-8767-2d949d6f1d05",
          "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": "91094513-f6ad-4297-8767-2d949d6f1d05",
          "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": "474e43ab-3e8a-4209-90a4-d1ab0ebef434",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "76966be3-b64d-4315-8cb4-17a3cd00d763",
      "Sequence": 1,
      "AncestorCategoryId": "0f4227bf-c7e3-4162-aff3-9fa1aa49c933",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "91094513-f6ad-4297-8767-2d949d6f1d05",
          "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": "91094513-f6ad-4297-8767-2d949d6f1d05",
          "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": "c9b87b52-78d9-4b25-8466-3063e4426078",
    "CategoryId": "50533552-79bc-4255-bb1d-705ec481cf98",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "969625f9-f533-49fe-bf86-f9af762452ec",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "969625f9-f533-49fe-bf86-f9af762452ec",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "51433c0d-f882-4631-9184-ad2a935dbafd",
      "Questions": [
        {
          "Id": "e60eab12-b4c8-4449-ac23-b3e2bae3b16b",
          "Answers": "sample string 2"
        },
        {
          "Id": "e60eab12-b4c8-4449-ac23-b3e2bae3b16b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "51433c0d-f882-4631-9184-ad2a935dbafd",
      "Questions": [
        {
          "Id": "e60eab12-b4c8-4449-ac23-b3e2bae3b16b",
          "Answers": "sample string 2"
        },
        {
          "Id": "e60eab12-b4c8-4449-ac23-b3e2bae3b16b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "74018c56-9087-4cfd-afea-10d6aafae923",
      "ContentItemId": "99683cbe-a9f2-4416-a6c6-78cba7102391",
      "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-09-16T13:28:25.7344907+00:00",
      "RescheduleDate": "2026-09-16T13:28:25.7344907+00:00"
    },
    {
      "Id": "74018c56-9087-4cfd-afea-10d6aafae923",
      "ContentItemId": "99683cbe-a9f2-4416-a6c6-78cba7102391",
      "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-09-16T13:28:25.7344907+00:00",
      "RescheduleDate": "2026-09-16T13:28:25.7344907+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": "1fe48c9b-81a6-48a9-a3a8-ba975497972c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-16T13:28:25.7813702+00:00",
  "Registration": [
    {
      "Id": "3dbfed3e-4139-4dc0-9921-7c50f1747219",
      "UserId": "0cc29ef5-094e-447c-94b7-6f0e10b0640d",
      "IsCurrent": true,
      "CenterId": "b62346e8-634f-416f-a191-280c8eca8502",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "602a97b2-f53f-4310-9c8e-1bf93518301a",
      "EndDate": "2026-09-16T13:28:25.7344907+00:00",
      "StartDate": "2026-09-16T13:28:25.7344907+00:00",
      "SchedulePreferenceDate": "2026-09-16T13:28:25.7344907+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": "3dbfed3e-4139-4dc0-9921-7c50f1747219",
      "UserId": "0cc29ef5-094e-447c-94b7-6f0e10b0640d",
      "IsCurrent": true,
      "CenterId": "b62346e8-634f-416f-a191-280c8eca8502",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "602a97b2-f53f-4310-9c8e-1bf93518301a",
      "EndDate": "2026-09-16T13:28:25.7344907+00:00",
      "StartDate": "2026-09-16T13:28:25.7344907+00:00",
      "SchedulePreferenceDate": "2026-09-16T13:28:25.7344907+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-09-16T13:28:25.7344907+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "474e43ab-3e8a-4209-90a4-d1ab0ebef434",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "76966be3-b64d-4315-8cb4-17a3cd00d763",
      "Sequence": 1,
      "AncestorCategoryId": "0f4227bf-c7e3-4162-aff3-9fa1aa49c933",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "91094513-f6ad-4297-8767-2d949d6f1d05",
          "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": "91094513-f6ad-4297-8767-2d949d6f1d05",
          "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": "474e43ab-3e8a-4209-90a4-d1ab0ebef434",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "76966be3-b64d-4315-8cb4-17a3cd00d763",
      "Sequence": 1,
      "AncestorCategoryId": "0f4227bf-c7e3-4162-aff3-9fa1aa49c933",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "91094513-f6ad-4297-8767-2d949d6f1d05",
          "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": "91094513-f6ad-4297-8767-2d949d6f1d05",
          "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": "c9b87b52-78d9-4b25-8466-3063e4426078",
    "CategoryId": "50533552-79bc-4255-bb1d-705ec481cf98",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "969625f9-f533-49fe-bf86-f9af762452ec",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "969625f9-f533-49fe-bf86-f9af762452ec",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "51433c0d-f882-4631-9184-ad2a935dbafd",
      "Questions": [
        {
          "Id": "e60eab12-b4c8-4449-ac23-b3e2bae3b16b",
          "Answers": "sample string 2"
        },
        {
          "Id": "e60eab12-b4c8-4449-ac23-b3e2bae3b16b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "51433c0d-f882-4631-9184-ad2a935dbafd",
      "Questions": [
        {
          "Id": "e60eab12-b4c8-4449-ac23-b3e2bae3b16b",
          "Answers": "sample string 2"
        },
        {
          "Id": "e60eab12-b4c8-4449-ac23-b3e2bae3b16b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "74018c56-9087-4cfd-afea-10d6aafae923",
      "ContentItemId": "99683cbe-a9f2-4416-a6c6-78cba7102391",
      "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-09-16T13:28:25.7344907+00:00",
      "RescheduleDate": "2026-09-16T13:28:25.7344907+00:00"
    },
    {
      "Id": "74018c56-9087-4cfd-afea-10d6aafae923",
      "ContentItemId": "99683cbe-a9f2-4416-a6c6-78cba7102391",
      "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-09-16T13:28:25.7344907+00:00",
      "RescheduleDate": "2026-09-16T13:28:25.7344907+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}