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": "814d59d6-9762-4bd4-a4ca-56cbfa11a32d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-28T15:27:25.8701775+00:00",
  "Registration": [
    {
      "Id": "14e31951-2514-4747-9dd1-5b8947ccfff6",
      "UserId": "891dfef8-b080-47c7-a18d-3534541619ac",
      "IsCurrent": true,
      "CenterId": "9a8f3feb-5911-4861-954e-742bed5a6360",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "1a909784-245b-4a91-9f40-c08d1f553140",
      "EndDate": "2026-10-28T15:27:25.8701775+00:00",
      "StartDate": "2026-10-28T15:27:25.8701775+00:00",
      "SchedulePreferenceDate": "2026-10-28T15:27:25.8701775+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": "14e31951-2514-4747-9dd1-5b8947ccfff6",
      "UserId": "891dfef8-b080-47c7-a18d-3534541619ac",
      "IsCurrent": true,
      "CenterId": "9a8f3feb-5911-4861-954e-742bed5a6360",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "1a909784-245b-4a91-9f40-c08d1f553140",
      "EndDate": "2026-10-28T15:27:25.8701775+00:00",
      "StartDate": "2026-10-28T15:27:25.8701775+00:00",
      "SchedulePreferenceDate": "2026-10-28T15:27:25.8701775+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-10-28T15:27:25.8701775+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5538d487-b980-4b46-a757-5d43fd4b12ae",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6ee2ddb8-e3ab-4fa6-ad09-99d9a52b010c",
      "Sequence": 1,
      "AncestorCategoryId": "9d431f5c-2968-4077-a272-116d656734ff",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "997e7a9c-20e3-4f63-80b8-67cbdd576b8a",
          "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": "997e7a9c-20e3-4f63-80b8-67cbdd576b8a",
          "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": "5538d487-b980-4b46-a757-5d43fd4b12ae",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6ee2ddb8-e3ab-4fa6-ad09-99d9a52b010c",
      "Sequence": 1,
      "AncestorCategoryId": "9d431f5c-2968-4077-a272-116d656734ff",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "997e7a9c-20e3-4f63-80b8-67cbdd576b8a",
          "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": "997e7a9c-20e3-4f63-80b8-67cbdd576b8a",
          "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": "d213eb01-56c6-49bd-9ed5-4ff1bb90941e",
    "CategoryId": "1ce9ce8e-7622-4b3f-93f0-53e0cf5686af",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "153a1b57-10f4-4536-a394-313d42a59d1a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "153a1b57-10f4-4536-a394-313d42a59d1a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "6239adba-def5-496a-9360-edbef9c51569",
      "Questions": [
        {
          "Id": "065f7042-2c29-4998-ae15-9e0fc3574801",
          "Answers": "sample string 2"
        },
        {
          "Id": "065f7042-2c29-4998-ae15-9e0fc3574801",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "6239adba-def5-496a-9360-edbef9c51569",
      "Questions": [
        {
          "Id": "065f7042-2c29-4998-ae15-9e0fc3574801",
          "Answers": "sample string 2"
        },
        {
          "Id": "065f7042-2c29-4998-ae15-9e0fc3574801",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "8bdc1f93-2e20-4ca6-aeba-84ede1ede32a",
      "ContentItemId": "6d614641-ec80-43b0-ac4e-1359c98000a7",
      "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-10-28T15:27:25.8701775+00:00",
      "RescheduleDate": "2026-10-28T15:27:25.8701775+00:00"
    },
    {
      "Id": "8bdc1f93-2e20-4ca6-aeba-84ede1ede32a",
      "ContentItemId": "6d614641-ec80-43b0-ac4e-1359c98000a7",
      "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-10-28T15:27:25.8701775+00:00",
      "RescheduleDate": "2026-10-28T15:27:25.8701775+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": "814d59d6-9762-4bd4-a4ca-56cbfa11a32d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-28T15:27:25.9014263+00:00",
  "Registration": [
    {
      "Id": "14e31951-2514-4747-9dd1-5b8947ccfff6",
      "UserId": "891dfef8-b080-47c7-a18d-3534541619ac",
      "IsCurrent": true,
      "CenterId": "9a8f3feb-5911-4861-954e-742bed5a6360",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "1a909784-245b-4a91-9f40-c08d1f553140",
      "EndDate": "2026-10-28T15:27:25.8701775+00:00",
      "StartDate": "2026-10-28T15:27:25.8701775+00:00",
      "SchedulePreferenceDate": "2026-10-28T15:27:25.8701775+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": "14e31951-2514-4747-9dd1-5b8947ccfff6",
      "UserId": "891dfef8-b080-47c7-a18d-3534541619ac",
      "IsCurrent": true,
      "CenterId": "9a8f3feb-5911-4861-954e-742bed5a6360",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "1a909784-245b-4a91-9f40-c08d1f553140",
      "EndDate": "2026-10-28T15:27:25.8701775+00:00",
      "StartDate": "2026-10-28T15:27:25.8701775+00:00",
      "SchedulePreferenceDate": "2026-10-28T15:27:25.8701775+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-10-28T15:27:25.8701775+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5538d487-b980-4b46-a757-5d43fd4b12ae",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6ee2ddb8-e3ab-4fa6-ad09-99d9a52b010c",
      "Sequence": 1,
      "AncestorCategoryId": "9d431f5c-2968-4077-a272-116d656734ff",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "997e7a9c-20e3-4f63-80b8-67cbdd576b8a",
          "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": "997e7a9c-20e3-4f63-80b8-67cbdd576b8a",
          "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": "5538d487-b980-4b46-a757-5d43fd4b12ae",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6ee2ddb8-e3ab-4fa6-ad09-99d9a52b010c",
      "Sequence": 1,
      "AncestorCategoryId": "9d431f5c-2968-4077-a272-116d656734ff",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "997e7a9c-20e3-4f63-80b8-67cbdd576b8a",
          "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": "997e7a9c-20e3-4f63-80b8-67cbdd576b8a",
          "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": "d213eb01-56c6-49bd-9ed5-4ff1bb90941e",
    "CategoryId": "1ce9ce8e-7622-4b3f-93f0-53e0cf5686af",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "153a1b57-10f4-4536-a394-313d42a59d1a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "153a1b57-10f4-4536-a394-313d42a59d1a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "6239adba-def5-496a-9360-edbef9c51569",
      "Questions": [
        {
          "Id": "065f7042-2c29-4998-ae15-9e0fc3574801",
          "Answers": "sample string 2"
        },
        {
          "Id": "065f7042-2c29-4998-ae15-9e0fc3574801",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "6239adba-def5-496a-9360-edbef9c51569",
      "Questions": [
        {
          "Id": "065f7042-2c29-4998-ae15-9e0fc3574801",
          "Answers": "sample string 2"
        },
        {
          "Id": "065f7042-2c29-4998-ae15-9e0fc3574801",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "8bdc1f93-2e20-4ca6-aeba-84ede1ede32a",
      "ContentItemId": "6d614641-ec80-43b0-ac4e-1359c98000a7",
      "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-10-28T15:27:25.8701775+00:00",
      "RescheduleDate": "2026-10-28T15:27:25.8701775+00:00"
    },
    {
      "Id": "8bdc1f93-2e20-4ca6-aeba-84ede1ede32a",
      "ContentItemId": "6d614641-ec80-43b0-ac4e-1359c98000a7",
      "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-10-28T15:27:25.8701775+00:00",
      "RescheduleDate": "2026-10-28T15:27:25.8701775+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}