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": "cbcc9678-cebe-417d-b1be-ee17a3615a88",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-29T10:56:17.794302+00:00",
  "Registration": [
    {
      "Id": "b0dbe104-5a2d-4039-ab43-8a0182b2573e",
      "UserId": "24321534-3bbc-4e58-88ae-b0088a72f265",
      "IsCurrent": true,
      "CenterId": "d4ed00cc-c7d5-466e-9cbd-682c3bdc8e8a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "7a444276-bd7c-4326-828e-22347237fe8f",
      "EndDate": "2026-07-29T10:56:17.7786734+00:00",
      "StartDate": "2026-07-29T10:56:17.7786734+00:00",
      "SchedulePreferenceDate": "2026-07-29T10:56:17.7786734+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": "b0dbe104-5a2d-4039-ab43-8a0182b2573e",
      "UserId": "24321534-3bbc-4e58-88ae-b0088a72f265",
      "IsCurrent": true,
      "CenterId": "d4ed00cc-c7d5-466e-9cbd-682c3bdc8e8a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "7a444276-bd7c-4326-828e-22347237fe8f",
      "EndDate": "2026-07-29T10:56:17.7786734+00:00",
      "StartDate": "2026-07-29T10:56:17.7786734+00:00",
      "SchedulePreferenceDate": "2026-07-29T10:56:17.7786734+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-29T10:56:17.7786734+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "cf7c7f01-ad34-446c-8527-ad39ed2184f8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "df9345e4-490b-4bd7-a9e7-c83bacacc4ee",
      "Sequence": 1,
      "AncestorCategoryId": "28dfc066-65a5-4a8c-8557-8dd49c58d37e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9f903480-0785-4fdd-bcf4-8970c66561ba",
          "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": "9f903480-0785-4fdd-bcf4-8970c66561ba",
          "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": "cf7c7f01-ad34-446c-8527-ad39ed2184f8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "df9345e4-490b-4bd7-a9e7-c83bacacc4ee",
      "Sequence": 1,
      "AncestorCategoryId": "28dfc066-65a5-4a8c-8557-8dd49c58d37e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9f903480-0785-4fdd-bcf4-8970c66561ba",
          "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": "9f903480-0785-4fdd-bcf4-8970c66561ba",
          "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": "561fb8c7-d029-464b-b4f0-c89e7ed64a89",
    "CategoryId": "cc652382-9d0c-44c2-8625-40d109d605a0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "6b35992c-66f1-4e56-8b1c-d91a8d522b78",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "6b35992c-66f1-4e56-8b1c-d91a8d522b78",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f6d20754-5e10-4550-807b-02ce4e64fe3f",
      "Questions": [
        {
          "Id": "dbf3fdeb-a469-4690-890d-efe86a3a5717",
          "Answers": "sample string 2"
        },
        {
          "Id": "dbf3fdeb-a469-4690-890d-efe86a3a5717",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f6d20754-5e10-4550-807b-02ce4e64fe3f",
      "Questions": [
        {
          "Id": "dbf3fdeb-a469-4690-890d-efe86a3a5717",
          "Answers": "sample string 2"
        },
        {
          "Id": "dbf3fdeb-a469-4690-890d-efe86a3a5717",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "540f4ea0-5fd4-4f56-951c-96d031bd1aaa",
      "ContentItemId": "0b2c20a3-5bbb-443a-aeef-254e2d8748c4",
      "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-29T10:56:17.7786734+00:00",
      "RescheduleDate": "2026-07-29T10:56:17.7786734+00:00"
    },
    {
      "Id": "540f4ea0-5fd4-4f56-951c-96d031bd1aaa",
      "ContentItemId": "0b2c20a3-5bbb-443a-aeef-254e2d8748c4",
      "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-29T10:56:17.7786734+00:00",
      "RescheduleDate": "2026-07-29T10:56:17.7786734+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": "cbcc9678-cebe-417d-b1be-ee17a3615a88",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-29T10:56:17.8255513+00:00",
  "Registration": [
    {
      "Id": "b0dbe104-5a2d-4039-ab43-8a0182b2573e",
      "UserId": "24321534-3bbc-4e58-88ae-b0088a72f265",
      "IsCurrent": true,
      "CenterId": "d4ed00cc-c7d5-466e-9cbd-682c3bdc8e8a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "7a444276-bd7c-4326-828e-22347237fe8f",
      "EndDate": "2026-07-29T10:56:17.7786734+00:00",
      "StartDate": "2026-07-29T10:56:17.7786734+00:00",
      "SchedulePreferenceDate": "2026-07-29T10:56:17.7786734+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": "b0dbe104-5a2d-4039-ab43-8a0182b2573e",
      "UserId": "24321534-3bbc-4e58-88ae-b0088a72f265",
      "IsCurrent": true,
      "CenterId": "d4ed00cc-c7d5-466e-9cbd-682c3bdc8e8a",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "7a444276-bd7c-4326-828e-22347237fe8f",
      "EndDate": "2026-07-29T10:56:17.7786734+00:00",
      "StartDate": "2026-07-29T10:56:17.7786734+00:00",
      "SchedulePreferenceDate": "2026-07-29T10:56:17.7786734+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-29T10:56:17.7786734+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "cf7c7f01-ad34-446c-8527-ad39ed2184f8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "df9345e4-490b-4bd7-a9e7-c83bacacc4ee",
      "Sequence": 1,
      "AncestorCategoryId": "28dfc066-65a5-4a8c-8557-8dd49c58d37e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9f903480-0785-4fdd-bcf4-8970c66561ba",
          "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": "9f903480-0785-4fdd-bcf4-8970c66561ba",
          "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": "cf7c7f01-ad34-446c-8527-ad39ed2184f8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "df9345e4-490b-4bd7-a9e7-c83bacacc4ee",
      "Sequence": 1,
      "AncestorCategoryId": "28dfc066-65a5-4a8c-8557-8dd49c58d37e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9f903480-0785-4fdd-bcf4-8970c66561ba",
          "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": "9f903480-0785-4fdd-bcf4-8970c66561ba",
          "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": "561fb8c7-d029-464b-b4f0-c89e7ed64a89",
    "CategoryId": "cc652382-9d0c-44c2-8625-40d109d605a0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "6b35992c-66f1-4e56-8b1c-d91a8d522b78",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "6b35992c-66f1-4e56-8b1c-d91a8d522b78",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f6d20754-5e10-4550-807b-02ce4e64fe3f",
      "Questions": [
        {
          "Id": "dbf3fdeb-a469-4690-890d-efe86a3a5717",
          "Answers": "sample string 2"
        },
        {
          "Id": "dbf3fdeb-a469-4690-890d-efe86a3a5717",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f6d20754-5e10-4550-807b-02ce4e64fe3f",
      "Questions": [
        {
          "Id": "dbf3fdeb-a469-4690-890d-efe86a3a5717",
          "Answers": "sample string 2"
        },
        {
          "Id": "dbf3fdeb-a469-4690-890d-efe86a3a5717",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "540f4ea0-5fd4-4f56-951c-96d031bd1aaa",
      "ContentItemId": "0b2c20a3-5bbb-443a-aeef-254e2d8748c4",
      "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-29T10:56:17.7786734+00:00",
      "RescheduleDate": "2026-07-29T10:56:17.7786734+00:00"
    },
    {
      "Id": "540f4ea0-5fd4-4f56-951c-96d031bd1aaa",
      "ContentItemId": "0b2c20a3-5bbb-443a-aeef-254e2d8748c4",
      "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-29T10:56:17.7786734+00:00",
      "RescheduleDate": "2026-07-29T10:56:17.7786734+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}