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": "eaef651e-0f8e-4ded-95c6-43e64b43d87f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-30T20:51:35.1108873+00:00",
  "Registration": [
    {
      "Id": "996c24d2-e053-47d9-ab23-10da599e266d",
      "UserId": "f7d25b8c-b45b-443f-9bf7-7cecd9285e83",
      "IsCurrent": true,
      "CenterId": "804b034a-a7f9-4b2b-bf45-f3b39e35a166",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f844dfa6-5fbe-4e2a-a0cf-a30259353fb5",
      "EndDate": "2026-01-30T20:51:35.1108873+00:00",
      "StartDate": "2026-01-30T20:51:35.1108873+00:00",
      "SchedulePreferenceDate": "2026-01-30T20:51:35.1108873+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": "996c24d2-e053-47d9-ab23-10da599e266d",
      "UserId": "f7d25b8c-b45b-443f-9bf7-7cecd9285e83",
      "IsCurrent": true,
      "CenterId": "804b034a-a7f9-4b2b-bf45-f3b39e35a166",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f844dfa6-5fbe-4e2a-a0cf-a30259353fb5",
      "EndDate": "2026-01-30T20:51:35.1108873+00:00",
      "StartDate": "2026-01-30T20:51:35.1108873+00:00",
      "SchedulePreferenceDate": "2026-01-30T20:51:35.1108873+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-01-30T20:51:35.1108873+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9ee0bf80-afbf-4f70-8e33-967eb90d9694",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be4ac233-d437-4c9e-961b-cbb48fd52a86",
      "Sequence": 1,
      "AncestorCategoryId": "1f22538d-dd05-44d8-82ec-d8e6494cd738",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1c6bb9b1-ed15-477d-862a-28c028914042",
          "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": "1c6bb9b1-ed15-477d-862a-28c028914042",
          "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": "9ee0bf80-afbf-4f70-8e33-967eb90d9694",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be4ac233-d437-4c9e-961b-cbb48fd52a86",
      "Sequence": 1,
      "AncestorCategoryId": "1f22538d-dd05-44d8-82ec-d8e6494cd738",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1c6bb9b1-ed15-477d-862a-28c028914042",
          "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": "1c6bb9b1-ed15-477d-862a-28c028914042",
          "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": "2a9946e0-d645-4322-80da-80bbc8c547df",
    "CategoryId": "2d2755ea-35e6-4aaf-a30a-3bf1beb79897",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a051f979-bab5-42bf-8778-2fa562b267cb",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a051f979-bab5-42bf-8778-2fa562b267cb",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0794d7a0-a0a1-452b-b681-ade5eebcf6ed",
      "Questions": [
        {
          "Id": "e0f10bed-b59b-4140-90be-009cab599fef",
          "Answers": "sample string 2"
        },
        {
          "Id": "e0f10bed-b59b-4140-90be-009cab599fef",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0794d7a0-a0a1-452b-b681-ade5eebcf6ed",
      "Questions": [
        {
          "Id": "e0f10bed-b59b-4140-90be-009cab599fef",
          "Answers": "sample string 2"
        },
        {
          "Id": "e0f10bed-b59b-4140-90be-009cab599fef",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "8cf3f231-5b7b-4c5d-8b6d-f7518bf1dbf4",
      "ContentItemId": "886f800f-a486-49cd-a6dc-7fb51b5f20e9",
      "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-01-30T20:51:35.1108873+00:00",
      "RescheduleDate": "2026-01-30T20:51:35.1108873+00:00"
    },
    {
      "Id": "8cf3f231-5b7b-4c5d-8b6d-f7518bf1dbf4",
      "ContentItemId": "886f800f-a486-49cd-a6dc-7fb51b5f20e9",
      "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-01-30T20:51:35.1108873+00:00",
      "RescheduleDate": "2026-01-30T20:51:35.1108873+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": "eaef651e-0f8e-4ded-95c6-43e64b43d87f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-30T20:51:35.1577598+00:00",
  "Registration": [
    {
      "Id": "996c24d2-e053-47d9-ab23-10da599e266d",
      "UserId": "f7d25b8c-b45b-443f-9bf7-7cecd9285e83",
      "IsCurrent": true,
      "CenterId": "804b034a-a7f9-4b2b-bf45-f3b39e35a166",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f844dfa6-5fbe-4e2a-a0cf-a30259353fb5",
      "EndDate": "2026-01-30T20:51:35.1108873+00:00",
      "StartDate": "2026-01-30T20:51:35.1108873+00:00",
      "SchedulePreferenceDate": "2026-01-30T20:51:35.1108873+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": "996c24d2-e053-47d9-ab23-10da599e266d",
      "UserId": "f7d25b8c-b45b-443f-9bf7-7cecd9285e83",
      "IsCurrent": true,
      "CenterId": "804b034a-a7f9-4b2b-bf45-f3b39e35a166",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f844dfa6-5fbe-4e2a-a0cf-a30259353fb5",
      "EndDate": "2026-01-30T20:51:35.1108873+00:00",
      "StartDate": "2026-01-30T20:51:35.1108873+00:00",
      "SchedulePreferenceDate": "2026-01-30T20:51:35.1108873+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-01-30T20:51:35.1108873+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9ee0bf80-afbf-4f70-8e33-967eb90d9694",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be4ac233-d437-4c9e-961b-cbb48fd52a86",
      "Sequence": 1,
      "AncestorCategoryId": "1f22538d-dd05-44d8-82ec-d8e6494cd738",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1c6bb9b1-ed15-477d-862a-28c028914042",
          "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": "1c6bb9b1-ed15-477d-862a-28c028914042",
          "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": "9ee0bf80-afbf-4f70-8e33-967eb90d9694",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be4ac233-d437-4c9e-961b-cbb48fd52a86",
      "Sequence": 1,
      "AncestorCategoryId": "1f22538d-dd05-44d8-82ec-d8e6494cd738",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1c6bb9b1-ed15-477d-862a-28c028914042",
          "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": "1c6bb9b1-ed15-477d-862a-28c028914042",
          "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": "2a9946e0-d645-4322-80da-80bbc8c547df",
    "CategoryId": "2d2755ea-35e6-4aaf-a30a-3bf1beb79897",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a051f979-bab5-42bf-8778-2fa562b267cb",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a051f979-bab5-42bf-8778-2fa562b267cb",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0794d7a0-a0a1-452b-b681-ade5eebcf6ed",
      "Questions": [
        {
          "Id": "e0f10bed-b59b-4140-90be-009cab599fef",
          "Answers": "sample string 2"
        },
        {
          "Id": "e0f10bed-b59b-4140-90be-009cab599fef",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0794d7a0-a0a1-452b-b681-ade5eebcf6ed",
      "Questions": [
        {
          "Id": "e0f10bed-b59b-4140-90be-009cab599fef",
          "Answers": "sample string 2"
        },
        {
          "Id": "e0f10bed-b59b-4140-90be-009cab599fef",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "8cf3f231-5b7b-4c5d-8b6d-f7518bf1dbf4",
      "ContentItemId": "886f800f-a486-49cd-a6dc-7fb51b5f20e9",
      "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-01-30T20:51:35.1108873+00:00",
      "RescheduleDate": "2026-01-30T20:51:35.1108873+00:00"
    },
    {
      "Id": "8cf3f231-5b7b-4c5d-8b6d-f7518bf1dbf4",
      "ContentItemId": "886f800f-a486-49cd-a6dc-7fb51b5f20e9",
      "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-01-30T20:51:35.1108873+00:00",
      "RescheduleDate": "2026-01-30T20:51:35.1108873+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}