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": "b7e22bc7-651e-4990-89e4-f74c4ba6991a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-02T14:14:32.4641179+00:00",
  "Registration": [
    {
      "Id": "9d26992e-cf22-4824-a53c-880e6639bb15",
      "UserId": "316ddd6e-b502-4868-97a7-cb8a28978462",
      "IsCurrent": true,
      "CenterId": "cde0358b-34d1-4174-b727-f12fcc358282",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "120e1c94-29fa-4e5f-b823-10f3a8bb5144",
      "EndDate": "2026-12-02T14:14:32.4641179+00:00",
      "StartDate": "2026-12-02T14:14:32.4641179+00:00",
      "SchedulePreferenceDate": "2026-12-02T14:14:32.4641179+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": "9d26992e-cf22-4824-a53c-880e6639bb15",
      "UserId": "316ddd6e-b502-4868-97a7-cb8a28978462",
      "IsCurrent": true,
      "CenterId": "cde0358b-34d1-4174-b727-f12fcc358282",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "120e1c94-29fa-4e5f-b823-10f3a8bb5144",
      "EndDate": "2026-12-02T14:14:32.4641179+00:00",
      "StartDate": "2026-12-02T14:14:32.4641179+00:00",
      "SchedulePreferenceDate": "2026-12-02T14:14:32.4641179+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-12-02T14:14:32.4641179+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "203bfe4e-788d-4ae4-b9f7-b7eb9458983d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c82e5e0f-e048-432a-9d5d-d544bbeee9b2",
      "Sequence": 1,
      "AncestorCategoryId": "5b6fb1d1-3a70-435b-8f80-a4fb5cf60d9c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "65bb8298-cdf5-445f-9126-7126bc42349b",
          "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": "65bb8298-cdf5-445f-9126-7126bc42349b",
          "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": "203bfe4e-788d-4ae4-b9f7-b7eb9458983d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c82e5e0f-e048-432a-9d5d-d544bbeee9b2",
      "Sequence": 1,
      "AncestorCategoryId": "5b6fb1d1-3a70-435b-8f80-a4fb5cf60d9c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "65bb8298-cdf5-445f-9126-7126bc42349b",
          "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": "65bb8298-cdf5-445f-9126-7126bc42349b",
          "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": "3f782a72-f041-4bc5-adaf-eecb589f0517",
    "CategoryId": "22e824c5-2b00-4cf1-88ee-08665e0957c5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1ca1bbad-61e2-4519-b459-6cb9812de4c4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1ca1bbad-61e2-4519-b459-6cb9812de4c4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "1cfd4a34-ab90-4656-a599-8b73257dfd1f",
      "Questions": [
        {
          "Id": "ac3766f5-2665-452d-8566-0cd5daa8d29e",
          "Answers": "sample string 2"
        },
        {
          "Id": "ac3766f5-2665-452d-8566-0cd5daa8d29e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "1cfd4a34-ab90-4656-a599-8b73257dfd1f",
      "Questions": [
        {
          "Id": "ac3766f5-2665-452d-8566-0cd5daa8d29e",
          "Answers": "sample string 2"
        },
        {
          "Id": "ac3766f5-2665-452d-8566-0cd5daa8d29e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "84275a1f-c46d-41fa-bf39-a56efc81efa7",
      "ContentItemId": "2e054668-5c8d-4e55-b6bc-b70a5ef1b05c",
      "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-12-02T14:14:32.4641179+00:00",
      "RescheduleDate": "2026-12-02T14:14:32.4641179+00:00"
    },
    {
      "Id": "84275a1f-c46d-41fa-bf39-a56efc81efa7",
      "ContentItemId": "2e054668-5c8d-4e55-b6bc-b70a5ef1b05c",
      "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-12-02T14:14:32.4641179+00:00",
      "RescheduleDate": "2026-12-02T14:14:32.4641179+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": "b7e22bc7-651e-4990-89e4-f74c4ba6991a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-02T14:14:32.510997+00:00",
  "Registration": [
    {
      "Id": "9d26992e-cf22-4824-a53c-880e6639bb15",
      "UserId": "316ddd6e-b502-4868-97a7-cb8a28978462",
      "IsCurrent": true,
      "CenterId": "cde0358b-34d1-4174-b727-f12fcc358282",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "120e1c94-29fa-4e5f-b823-10f3a8bb5144",
      "EndDate": "2026-12-02T14:14:32.4641179+00:00",
      "StartDate": "2026-12-02T14:14:32.4641179+00:00",
      "SchedulePreferenceDate": "2026-12-02T14:14:32.4641179+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": "9d26992e-cf22-4824-a53c-880e6639bb15",
      "UserId": "316ddd6e-b502-4868-97a7-cb8a28978462",
      "IsCurrent": true,
      "CenterId": "cde0358b-34d1-4174-b727-f12fcc358282",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "120e1c94-29fa-4e5f-b823-10f3a8bb5144",
      "EndDate": "2026-12-02T14:14:32.4641179+00:00",
      "StartDate": "2026-12-02T14:14:32.4641179+00:00",
      "SchedulePreferenceDate": "2026-12-02T14:14:32.4641179+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-12-02T14:14:32.4641179+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "203bfe4e-788d-4ae4-b9f7-b7eb9458983d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c82e5e0f-e048-432a-9d5d-d544bbeee9b2",
      "Sequence": 1,
      "AncestorCategoryId": "5b6fb1d1-3a70-435b-8f80-a4fb5cf60d9c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "65bb8298-cdf5-445f-9126-7126bc42349b",
          "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": "65bb8298-cdf5-445f-9126-7126bc42349b",
          "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": "203bfe4e-788d-4ae4-b9f7-b7eb9458983d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c82e5e0f-e048-432a-9d5d-d544bbeee9b2",
      "Sequence": 1,
      "AncestorCategoryId": "5b6fb1d1-3a70-435b-8f80-a4fb5cf60d9c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "65bb8298-cdf5-445f-9126-7126bc42349b",
          "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": "65bb8298-cdf5-445f-9126-7126bc42349b",
          "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": "3f782a72-f041-4bc5-adaf-eecb589f0517",
    "CategoryId": "22e824c5-2b00-4cf1-88ee-08665e0957c5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1ca1bbad-61e2-4519-b459-6cb9812de4c4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1ca1bbad-61e2-4519-b459-6cb9812de4c4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "1cfd4a34-ab90-4656-a599-8b73257dfd1f",
      "Questions": [
        {
          "Id": "ac3766f5-2665-452d-8566-0cd5daa8d29e",
          "Answers": "sample string 2"
        },
        {
          "Id": "ac3766f5-2665-452d-8566-0cd5daa8d29e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "1cfd4a34-ab90-4656-a599-8b73257dfd1f",
      "Questions": [
        {
          "Id": "ac3766f5-2665-452d-8566-0cd5daa8d29e",
          "Answers": "sample string 2"
        },
        {
          "Id": "ac3766f5-2665-452d-8566-0cd5daa8d29e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "84275a1f-c46d-41fa-bf39-a56efc81efa7",
      "ContentItemId": "2e054668-5c8d-4e55-b6bc-b70a5ef1b05c",
      "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-12-02T14:14:32.4641179+00:00",
      "RescheduleDate": "2026-12-02T14:14:32.4641179+00:00"
    },
    {
      "Id": "84275a1f-c46d-41fa-bf39-a56efc81efa7",
      "ContentItemId": "2e054668-5c8d-4e55-b6bc-b70a5ef1b05c",
      "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-12-02T14:14:32.4641179+00:00",
      "RescheduleDate": "2026-12-02T14:14:32.4641179+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}