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": "1325ced3-46ac-45b2-9079-f9537e995a8e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-08T16:53:42.6446025+00:00",
  "Registration": [
    {
      "Id": "84af3756-dfdf-45c7-8914-b5001905328e",
      "UserId": "9277fc85-4262-420e-971a-6f647907138e",
      "IsCurrent": true,
      "CenterId": "29968904-89d8-4556-8d67-0bdfe7c6fa01",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "318c18cd-ae2b-445b-92c7-44967e75ff0d",
      "EndDate": "2026-07-08T16:53:42.6289861+00:00",
      "StartDate": "2026-07-08T16:53:42.6289861+00:00",
      "SchedulePreferenceDate": "2026-07-08T16:53:42.6289861+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": "84af3756-dfdf-45c7-8914-b5001905328e",
      "UserId": "9277fc85-4262-420e-971a-6f647907138e",
      "IsCurrent": true,
      "CenterId": "29968904-89d8-4556-8d67-0bdfe7c6fa01",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "318c18cd-ae2b-445b-92c7-44967e75ff0d",
      "EndDate": "2026-07-08T16:53:42.6289861+00:00",
      "StartDate": "2026-07-08T16:53:42.6289861+00:00",
      "SchedulePreferenceDate": "2026-07-08T16:53:42.6289861+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-08T16:53:42.6289861+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5fb30115-db9c-41a0-af44-ffeef7b108c2",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6163999e-c41f-4b72-8a99-8c02141684ea",
      "Sequence": 1,
      "AncestorCategoryId": "a383a791-dac7-460a-b42c-25a85c89ffcd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "667b64ba-b915-4706-a271-7de18ebe5bf6",
          "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": "667b64ba-b915-4706-a271-7de18ebe5bf6",
          "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": "5fb30115-db9c-41a0-af44-ffeef7b108c2",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6163999e-c41f-4b72-8a99-8c02141684ea",
      "Sequence": 1,
      "AncestorCategoryId": "a383a791-dac7-460a-b42c-25a85c89ffcd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "667b64ba-b915-4706-a271-7de18ebe5bf6",
          "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": "667b64ba-b915-4706-a271-7de18ebe5bf6",
          "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": "ea1c51fd-e2d8-4e4a-9b16-4485adec169b",
    "CategoryId": "b40b1ae2-35c2-4e83-b76e-5bcde2487a54",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8b5c02a4-0a91-4ad4-afb7-3e7cb418a252",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8b5c02a4-0a91-4ad4-afb7-3e7cb418a252",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b1bc428f-db8b-49d6-9ab5-9029d89c499f",
      "Questions": [
        {
          "Id": "78ef1eb0-4750-48d0-b742-2c38c2fa730b",
          "Answers": "sample string 2"
        },
        {
          "Id": "78ef1eb0-4750-48d0-b742-2c38c2fa730b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b1bc428f-db8b-49d6-9ab5-9029d89c499f",
      "Questions": [
        {
          "Id": "78ef1eb0-4750-48d0-b742-2c38c2fa730b",
          "Answers": "sample string 2"
        },
        {
          "Id": "78ef1eb0-4750-48d0-b742-2c38c2fa730b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ac0e98a3-4d76-4a8e-a80c-27ca0fa2c82d",
      "ContentItemId": "9446d33f-71d7-40fe-8d29-8d2f13ead9f8",
      "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-08T16:53:42.6289861+00:00",
      "RescheduleDate": "2026-07-08T16:53:42.6289861+00:00"
    },
    {
      "Id": "ac0e98a3-4d76-4a8e-a80c-27ca0fa2c82d",
      "ContentItemId": "9446d33f-71d7-40fe-8d29-8d2f13ead9f8",
      "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-08T16:53:42.6289861+00:00",
      "RescheduleDate": "2026-07-08T16:53:42.6289861+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": "1325ced3-46ac-45b2-9079-f9537e995a8e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-08T16:53:42.6758514+00:00",
  "Registration": [
    {
      "Id": "84af3756-dfdf-45c7-8914-b5001905328e",
      "UserId": "9277fc85-4262-420e-971a-6f647907138e",
      "IsCurrent": true,
      "CenterId": "29968904-89d8-4556-8d67-0bdfe7c6fa01",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "318c18cd-ae2b-445b-92c7-44967e75ff0d",
      "EndDate": "2026-07-08T16:53:42.6289861+00:00",
      "StartDate": "2026-07-08T16:53:42.6289861+00:00",
      "SchedulePreferenceDate": "2026-07-08T16:53:42.6289861+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": "84af3756-dfdf-45c7-8914-b5001905328e",
      "UserId": "9277fc85-4262-420e-971a-6f647907138e",
      "IsCurrent": true,
      "CenterId": "29968904-89d8-4556-8d67-0bdfe7c6fa01",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "318c18cd-ae2b-445b-92c7-44967e75ff0d",
      "EndDate": "2026-07-08T16:53:42.6289861+00:00",
      "StartDate": "2026-07-08T16:53:42.6289861+00:00",
      "SchedulePreferenceDate": "2026-07-08T16:53:42.6289861+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-08T16:53:42.6289861+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5fb30115-db9c-41a0-af44-ffeef7b108c2",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6163999e-c41f-4b72-8a99-8c02141684ea",
      "Sequence": 1,
      "AncestorCategoryId": "a383a791-dac7-460a-b42c-25a85c89ffcd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "667b64ba-b915-4706-a271-7de18ebe5bf6",
          "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": "667b64ba-b915-4706-a271-7de18ebe5bf6",
          "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": "5fb30115-db9c-41a0-af44-ffeef7b108c2",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6163999e-c41f-4b72-8a99-8c02141684ea",
      "Sequence": 1,
      "AncestorCategoryId": "a383a791-dac7-460a-b42c-25a85c89ffcd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "667b64ba-b915-4706-a271-7de18ebe5bf6",
          "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": "667b64ba-b915-4706-a271-7de18ebe5bf6",
          "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": "ea1c51fd-e2d8-4e4a-9b16-4485adec169b",
    "CategoryId": "b40b1ae2-35c2-4e83-b76e-5bcde2487a54",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8b5c02a4-0a91-4ad4-afb7-3e7cb418a252",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8b5c02a4-0a91-4ad4-afb7-3e7cb418a252",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b1bc428f-db8b-49d6-9ab5-9029d89c499f",
      "Questions": [
        {
          "Id": "78ef1eb0-4750-48d0-b742-2c38c2fa730b",
          "Answers": "sample string 2"
        },
        {
          "Id": "78ef1eb0-4750-48d0-b742-2c38c2fa730b",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b1bc428f-db8b-49d6-9ab5-9029d89c499f",
      "Questions": [
        {
          "Id": "78ef1eb0-4750-48d0-b742-2c38c2fa730b",
          "Answers": "sample string 2"
        },
        {
          "Id": "78ef1eb0-4750-48d0-b742-2c38c2fa730b",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ac0e98a3-4d76-4a8e-a80c-27ca0fa2c82d",
      "ContentItemId": "9446d33f-71d7-40fe-8d29-8d2f13ead9f8",
      "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-08T16:53:42.6289861+00:00",
      "RescheduleDate": "2026-07-08T16:53:42.6289861+00:00"
    },
    {
      "Id": "ac0e98a3-4d76-4a8e-a80c-27ca0fa2c82d",
      "ContentItemId": "9446d33f-71d7-40fe-8d29-8d2f13ead9f8",
      "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-08T16:53:42.6289861+00:00",
      "RescheduleDate": "2026-07-08T16:53:42.6289861+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}