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": "4bf7a4bf-367d-4e48-9c33-a7ffa0145710",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-25T12:18:18.1735629+00:00",
  "Registration": [
    {
      "Id": "79daf98a-0584-4f51-888c-17dba0e40a0c",
      "UserId": "e2804d7e-86f4-4396-be23-f971e0d7837d",
      "IsCurrent": true,
      "CenterId": "881c6d88-5085-4da0-9f05-862922a9eb7f",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f819466b-a74f-42c7-b539-83522aabdd35",
      "EndDate": "2026-11-25T12:18:18.1579377+00:00",
      "StartDate": "2026-11-25T12:18:18.1579377+00:00",
      "SchedulePreferenceDate": "2026-11-25T12:18:18.1579377+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": "79daf98a-0584-4f51-888c-17dba0e40a0c",
      "UserId": "e2804d7e-86f4-4396-be23-f971e0d7837d",
      "IsCurrent": true,
      "CenterId": "881c6d88-5085-4da0-9f05-862922a9eb7f",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f819466b-a74f-42c7-b539-83522aabdd35",
      "EndDate": "2026-11-25T12:18:18.1579377+00:00",
      "StartDate": "2026-11-25T12:18:18.1579377+00:00",
      "SchedulePreferenceDate": "2026-11-25T12:18:18.1579377+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-11-25T12:18:18.1579377+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2e20038d-37ea-4e9f-a1a8-30df7899dd90",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7fc9ab3d-cb4c-41cb-9603-da08bcb69ca1",
      "Sequence": 1,
      "AncestorCategoryId": "8695e09c-d90e-4b2a-8410-0cf303ce56d4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "32c483d0-adcb-4687-8071-3ca1f393c17a",
          "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": "32c483d0-adcb-4687-8071-3ca1f393c17a",
          "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": "2e20038d-37ea-4e9f-a1a8-30df7899dd90",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7fc9ab3d-cb4c-41cb-9603-da08bcb69ca1",
      "Sequence": 1,
      "AncestorCategoryId": "8695e09c-d90e-4b2a-8410-0cf303ce56d4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "32c483d0-adcb-4687-8071-3ca1f393c17a",
          "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": "32c483d0-adcb-4687-8071-3ca1f393c17a",
          "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": "28ac1142-5580-4615-ac97-d5373040bb71",
    "CategoryId": "d63702ec-9b97-4d71-b8b4-bc22ffc9414c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f5b08b89-c50f-4681-a0c9-29d23af564c8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f5b08b89-c50f-4681-a0c9-29d23af564c8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "afd02b97-1d02-4362-bdb2-54f321c2d145",
      "Questions": [
        {
          "Id": "bf08b416-0477-4286-8d39-ba8701611b58",
          "Answers": "sample string 2"
        },
        {
          "Id": "bf08b416-0477-4286-8d39-ba8701611b58",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "afd02b97-1d02-4362-bdb2-54f321c2d145",
      "Questions": [
        {
          "Id": "bf08b416-0477-4286-8d39-ba8701611b58",
          "Answers": "sample string 2"
        },
        {
          "Id": "bf08b416-0477-4286-8d39-ba8701611b58",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "523739b0-f6fe-481c-9bdc-6c4ed8c3cb60",
      "ContentItemId": "82472dba-a2f6-4b3f-b1a7-485934f40aed",
      "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-11-25T12:18:18.1579377+00:00",
      "RescheduleDate": "2026-11-25T12:18:18.1579377+00:00"
    },
    {
      "Id": "523739b0-f6fe-481c-9bdc-6c4ed8c3cb60",
      "ContentItemId": "82472dba-a2f6-4b3f-b1a7-485934f40aed",
      "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-11-25T12:18:18.1579377+00:00",
      "RescheduleDate": "2026-11-25T12:18:18.1579377+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": "4bf7a4bf-367d-4e48-9c33-a7ffa0145710",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-25T12:18:18.2048093+00:00",
  "Registration": [
    {
      "Id": "79daf98a-0584-4f51-888c-17dba0e40a0c",
      "UserId": "e2804d7e-86f4-4396-be23-f971e0d7837d",
      "IsCurrent": true,
      "CenterId": "881c6d88-5085-4da0-9f05-862922a9eb7f",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f819466b-a74f-42c7-b539-83522aabdd35",
      "EndDate": "2026-11-25T12:18:18.1579377+00:00",
      "StartDate": "2026-11-25T12:18:18.1579377+00:00",
      "SchedulePreferenceDate": "2026-11-25T12:18:18.1579377+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": "79daf98a-0584-4f51-888c-17dba0e40a0c",
      "UserId": "e2804d7e-86f4-4396-be23-f971e0d7837d",
      "IsCurrent": true,
      "CenterId": "881c6d88-5085-4da0-9f05-862922a9eb7f",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f819466b-a74f-42c7-b539-83522aabdd35",
      "EndDate": "2026-11-25T12:18:18.1579377+00:00",
      "StartDate": "2026-11-25T12:18:18.1579377+00:00",
      "SchedulePreferenceDate": "2026-11-25T12:18:18.1579377+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-11-25T12:18:18.1579377+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2e20038d-37ea-4e9f-a1a8-30df7899dd90",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7fc9ab3d-cb4c-41cb-9603-da08bcb69ca1",
      "Sequence": 1,
      "AncestorCategoryId": "8695e09c-d90e-4b2a-8410-0cf303ce56d4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "32c483d0-adcb-4687-8071-3ca1f393c17a",
          "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": "32c483d0-adcb-4687-8071-3ca1f393c17a",
          "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": "2e20038d-37ea-4e9f-a1a8-30df7899dd90",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7fc9ab3d-cb4c-41cb-9603-da08bcb69ca1",
      "Sequence": 1,
      "AncestorCategoryId": "8695e09c-d90e-4b2a-8410-0cf303ce56d4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "32c483d0-adcb-4687-8071-3ca1f393c17a",
          "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": "32c483d0-adcb-4687-8071-3ca1f393c17a",
          "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": "28ac1142-5580-4615-ac97-d5373040bb71",
    "CategoryId": "d63702ec-9b97-4d71-b8b4-bc22ffc9414c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f5b08b89-c50f-4681-a0c9-29d23af564c8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f5b08b89-c50f-4681-a0c9-29d23af564c8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "afd02b97-1d02-4362-bdb2-54f321c2d145",
      "Questions": [
        {
          "Id": "bf08b416-0477-4286-8d39-ba8701611b58",
          "Answers": "sample string 2"
        },
        {
          "Id": "bf08b416-0477-4286-8d39-ba8701611b58",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "afd02b97-1d02-4362-bdb2-54f321c2d145",
      "Questions": [
        {
          "Id": "bf08b416-0477-4286-8d39-ba8701611b58",
          "Answers": "sample string 2"
        },
        {
          "Id": "bf08b416-0477-4286-8d39-ba8701611b58",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "523739b0-f6fe-481c-9bdc-6c4ed8c3cb60",
      "ContentItemId": "82472dba-a2f6-4b3f-b1a7-485934f40aed",
      "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-11-25T12:18:18.1579377+00:00",
      "RescheduleDate": "2026-11-25T12:18:18.1579377+00:00"
    },
    {
      "Id": "523739b0-f6fe-481c-9bdc-6c4ed8c3cb60",
      "ContentItemId": "82472dba-a2f6-4b3f-b1a7-485934f40aed",
      "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-11-25T12:18:18.1579377+00:00",
      "RescheduleDate": "2026-11-25T12:18:18.1579377+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}