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": "6a137c1c-fda8-435c-8152-78b74b8cb9c2",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-12-11T12:19:33.4030886+00:00",
  "Registration": [
    {
      "Id": "d2ed3f62-26a8-45ab-a753-f6cb24f5b13b",
      "UserId": "689ee306-b6fe-4182-8378-8b6eaefc6256",
      "IsCurrent": true,
      "CenterId": "38566422-c99f-48eb-bb1a-db239b768478",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "46f2390f-3fe2-477c-b3ee-635dff04ce09",
      "EndDate": "2025-12-11T12:19:33.3873948+00:00",
      "StartDate": "2025-12-11T12:19:33.3873948+00:00",
      "SchedulePreferenceDate": "2025-12-11T12:19:33.3873948+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": "d2ed3f62-26a8-45ab-a753-f6cb24f5b13b",
      "UserId": "689ee306-b6fe-4182-8378-8b6eaefc6256",
      "IsCurrent": true,
      "CenterId": "38566422-c99f-48eb-bb1a-db239b768478",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "46f2390f-3fe2-477c-b3ee-635dff04ce09",
      "EndDate": "2025-12-11T12:19:33.3873948+00:00",
      "StartDate": "2025-12-11T12:19:33.3873948+00:00",
      "SchedulePreferenceDate": "2025-12-11T12:19:33.3873948+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": "2025-12-11T12:19:33.3873948+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "08149371-d4cf-46f4-b015-b0e975f01a2f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "11f196a0-9fbd-4a8c-ae9c-2f33f91b521a",
      "Sequence": 1,
      "AncestorCategoryId": "bf2a2aa2-ace2-418a-8f47-b3cb7732a870",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "56c2098f-aaa9-4b6d-9f0e-6dcd5fa97077",
          "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": "56c2098f-aaa9-4b6d-9f0e-6dcd5fa97077",
          "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": "08149371-d4cf-46f4-b015-b0e975f01a2f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "11f196a0-9fbd-4a8c-ae9c-2f33f91b521a",
      "Sequence": 1,
      "AncestorCategoryId": "bf2a2aa2-ace2-418a-8f47-b3cb7732a870",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "56c2098f-aaa9-4b6d-9f0e-6dcd5fa97077",
          "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": "56c2098f-aaa9-4b6d-9f0e-6dcd5fa97077",
          "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": "3217e14a-413a-43dd-92dd-dc93ba0300dc",
    "CategoryId": "f8dd6d2d-da4f-41cc-bb3b-209800747f09",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3ac4b18c-068d-4ce4-8983-50f60b6bf720",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3ac4b18c-068d-4ce4-8983-50f60b6bf720",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5a011c15-6cd4-47fc-a5ff-f6279a0c55a9",
      "Questions": [
        {
          "Id": "cb09125c-6de0-434f-a2e9-b621f9d5aab1",
          "Answers": "sample string 2"
        },
        {
          "Id": "cb09125c-6de0-434f-a2e9-b621f9d5aab1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5a011c15-6cd4-47fc-a5ff-f6279a0c55a9",
      "Questions": [
        {
          "Id": "cb09125c-6de0-434f-a2e9-b621f9d5aab1",
          "Answers": "sample string 2"
        },
        {
          "Id": "cb09125c-6de0-434f-a2e9-b621f9d5aab1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b1a79a02-9fd7-466e-8b98-61f3ac6cea6f",
      "ContentItemId": "dbdeec12-1ffd-4673-b827-ecf59d45b8c7",
      "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": "2025-12-11T12:19:33.3873948+00:00",
      "RescheduleDate": "2025-12-11T12:19:33.3873948+00:00"
    },
    {
      "Id": "b1a79a02-9fd7-466e-8b98-61f3ac6cea6f",
      "ContentItemId": "dbdeec12-1ffd-4673-b827-ecf59d45b8c7",
      "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": "2025-12-11T12:19:33.3873948+00:00",
      "RescheduleDate": "2025-12-11T12:19:33.3873948+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": "6a137c1c-fda8-435c-8152-78b74b8cb9c2",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-12-11T12:19:33.4812223+00:00",
  "Registration": [
    {
      "Id": "d2ed3f62-26a8-45ab-a753-f6cb24f5b13b",
      "UserId": "689ee306-b6fe-4182-8378-8b6eaefc6256",
      "IsCurrent": true,
      "CenterId": "38566422-c99f-48eb-bb1a-db239b768478",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "46f2390f-3fe2-477c-b3ee-635dff04ce09",
      "EndDate": "2025-12-11T12:19:33.3873948+00:00",
      "StartDate": "2025-12-11T12:19:33.3873948+00:00",
      "SchedulePreferenceDate": "2025-12-11T12:19:33.3873948+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": "d2ed3f62-26a8-45ab-a753-f6cb24f5b13b",
      "UserId": "689ee306-b6fe-4182-8378-8b6eaefc6256",
      "IsCurrent": true,
      "CenterId": "38566422-c99f-48eb-bb1a-db239b768478",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "46f2390f-3fe2-477c-b3ee-635dff04ce09",
      "EndDate": "2025-12-11T12:19:33.3873948+00:00",
      "StartDate": "2025-12-11T12:19:33.3873948+00:00",
      "SchedulePreferenceDate": "2025-12-11T12:19:33.3873948+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": "2025-12-11T12:19:33.3873948+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "08149371-d4cf-46f4-b015-b0e975f01a2f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "11f196a0-9fbd-4a8c-ae9c-2f33f91b521a",
      "Sequence": 1,
      "AncestorCategoryId": "bf2a2aa2-ace2-418a-8f47-b3cb7732a870",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "56c2098f-aaa9-4b6d-9f0e-6dcd5fa97077",
          "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": "56c2098f-aaa9-4b6d-9f0e-6dcd5fa97077",
          "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": "08149371-d4cf-46f4-b015-b0e975f01a2f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "11f196a0-9fbd-4a8c-ae9c-2f33f91b521a",
      "Sequence": 1,
      "AncestorCategoryId": "bf2a2aa2-ace2-418a-8f47-b3cb7732a870",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "56c2098f-aaa9-4b6d-9f0e-6dcd5fa97077",
          "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": "56c2098f-aaa9-4b6d-9f0e-6dcd5fa97077",
          "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": "3217e14a-413a-43dd-92dd-dc93ba0300dc",
    "CategoryId": "f8dd6d2d-da4f-41cc-bb3b-209800747f09",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3ac4b18c-068d-4ce4-8983-50f60b6bf720",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3ac4b18c-068d-4ce4-8983-50f60b6bf720",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5a011c15-6cd4-47fc-a5ff-f6279a0c55a9",
      "Questions": [
        {
          "Id": "cb09125c-6de0-434f-a2e9-b621f9d5aab1",
          "Answers": "sample string 2"
        },
        {
          "Id": "cb09125c-6de0-434f-a2e9-b621f9d5aab1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5a011c15-6cd4-47fc-a5ff-f6279a0c55a9",
      "Questions": [
        {
          "Id": "cb09125c-6de0-434f-a2e9-b621f9d5aab1",
          "Answers": "sample string 2"
        },
        {
          "Id": "cb09125c-6de0-434f-a2e9-b621f9d5aab1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b1a79a02-9fd7-466e-8b98-61f3ac6cea6f",
      "ContentItemId": "dbdeec12-1ffd-4673-b827-ecf59d45b8c7",
      "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": "2025-12-11T12:19:33.3873948+00:00",
      "RescheduleDate": "2025-12-11T12:19:33.3873948+00:00"
    },
    {
      "Id": "b1a79a02-9fd7-466e-8b98-61f3ac6cea6f",
      "ContentItemId": "dbdeec12-1ffd-4673-b827-ecf59d45b8c7",
      "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": "2025-12-11T12:19:33.3873948+00:00",
      "RescheduleDate": "2025-12-11T12:19:33.3873948+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}