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": "4cdc229a-f631-4cf2-833d-78d9d954ce7b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-13T16:22:34.5878549+00:00",
  "Registration": [
    {
      "Id": "49638eab-cf4e-4020-93ff-eb485be15046",
      "UserId": "e912f77b-cc33-49ff-90fb-cc743d5d1daa",
      "IsCurrent": true,
      "CenterId": "4844a06c-5bc2-45ee-92e8-e5dfd70cda94",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "895d6804-7c89-4518-a6dc-c18b3fc68d47",
      "EndDate": "2026-01-13T16:22:34.5878549+00:00",
      "StartDate": "2026-01-13T16:22:34.5878549+00:00",
      "SchedulePreferenceDate": "2026-01-13T16:22:34.5878549+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": "49638eab-cf4e-4020-93ff-eb485be15046",
      "UserId": "e912f77b-cc33-49ff-90fb-cc743d5d1daa",
      "IsCurrent": true,
      "CenterId": "4844a06c-5bc2-45ee-92e8-e5dfd70cda94",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "895d6804-7c89-4518-a6dc-c18b3fc68d47",
      "EndDate": "2026-01-13T16:22:34.5878549+00:00",
      "StartDate": "2026-01-13T16:22:34.5878549+00:00",
      "SchedulePreferenceDate": "2026-01-13T16:22:34.5878549+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-13T16:22:34.5878549+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "ae9c8778-40ca-4326-9e2e-7f6457a1ffc8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9c323a49-1f97-4801-8c4a-afced8734b04",
      "Sequence": 1,
      "AncestorCategoryId": "4325c488-9a4b-48f0-9688-d814fa299e4d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ec3be170-de0f-4565-834a-d81372db2048",
          "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": "ec3be170-de0f-4565-834a-d81372db2048",
          "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": "ae9c8778-40ca-4326-9e2e-7f6457a1ffc8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9c323a49-1f97-4801-8c4a-afced8734b04",
      "Sequence": 1,
      "AncestorCategoryId": "4325c488-9a4b-48f0-9688-d814fa299e4d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ec3be170-de0f-4565-834a-d81372db2048",
          "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": "ec3be170-de0f-4565-834a-d81372db2048",
          "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": "fccada9e-19fd-4d2a-9588-e01ed8936c18",
    "CategoryId": "cac80848-0621-4507-b0e7-5bce008c5ffb",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "798453d8-dcfa-490a-8418-f83211d0bfec",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "798453d8-dcfa-490a-8418-f83211d0bfec",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "56c926f4-8e4f-443c-82b8-9b463606747b",
      "Questions": [
        {
          "Id": "22881990-55fb-4dce-809a-0214dc6bfd88",
          "Answers": "sample string 2"
        },
        {
          "Id": "22881990-55fb-4dce-809a-0214dc6bfd88",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "56c926f4-8e4f-443c-82b8-9b463606747b",
      "Questions": [
        {
          "Id": "22881990-55fb-4dce-809a-0214dc6bfd88",
          "Answers": "sample string 2"
        },
        {
          "Id": "22881990-55fb-4dce-809a-0214dc6bfd88",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a2a0afe2-f798-4b4b-a05d-3dc967522e19",
      "ContentItemId": "2c124064-e1f0-40cb-bc2e-51e164a793ce",
      "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-13T16:22:34.5878549+00:00",
      "RescheduleDate": "2026-01-13T16:22:34.5878549+00:00"
    },
    {
      "Id": "a2a0afe2-f798-4b4b-a05d-3dc967522e19",
      "ContentItemId": "2c124064-e1f0-40cb-bc2e-51e164a793ce",
      "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-13T16:22:34.5878549+00:00",
      "RescheduleDate": "2026-01-13T16:22:34.5878549+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": "4cdc229a-f631-4cf2-833d-78d9d954ce7b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-13T16:22:34.6191052+00:00",
  "Registration": [
    {
      "Id": "49638eab-cf4e-4020-93ff-eb485be15046",
      "UserId": "e912f77b-cc33-49ff-90fb-cc743d5d1daa",
      "IsCurrent": true,
      "CenterId": "4844a06c-5bc2-45ee-92e8-e5dfd70cda94",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "895d6804-7c89-4518-a6dc-c18b3fc68d47",
      "EndDate": "2026-01-13T16:22:34.5878549+00:00",
      "StartDate": "2026-01-13T16:22:34.5878549+00:00",
      "SchedulePreferenceDate": "2026-01-13T16:22:34.5878549+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": "49638eab-cf4e-4020-93ff-eb485be15046",
      "UserId": "e912f77b-cc33-49ff-90fb-cc743d5d1daa",
      "IsCurrent": true,
      "CenterId": "4844a06c-5bc2-45ee-92e8-e5dfd70cda94",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "895d6804-7c89-4518-a6dc-c18b3fc68d47",
      "EndDate": "2026-01-13T16:22:34.5878549+00:00",
      "StartDate": "2026-01-13T16:22:34.5878549+00:00",
      "SchedulePreferenceDate": "2026-01-13T16:22:34.5878549+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-13T16:22:34.5878549+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "ae9c8778-40ca-4326-9e2e-7f6457a1ffc8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9c323a49-1f97-4801-8c4a-afced8734b04",
      "Sequence": 1,
      "AncestorCategoryId": "4325c488-9a4b-48f0-9688-d814fa299e4d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ec3be170-de0f-4565-834a-d81372db2048",
          "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": "ec3be170-de0f-4565-834a-d81372db2048",
          "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": "ae9c8778-40ca-4326-9e2e-7f6457a1ffc8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9c323a49-1f97-4801-8c4a-afced8734b04",
      "Sequence": 1,
      "AncestorCategoryId": "4325c488-9a4b-48f0-9688-d814fa299e4d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ec3be170-de0f-4565-834a-d81372db2048",
          "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": "ec3be170-de0f-4565-834a-d81372db2048",
          "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": "fccada9e-19fd-4d2a-9588-e01ed8936c18",
    "CategoryId": "cac80848-0621-4507-b0e7-5bce008c5ffb",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "798453d8-dcfa-490a-8418-f83211d0bfec",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "798453d8-dcfa-490a-8418-f83211d0bfec",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "56c926f4-8e4f-443c-82b8-9b463606747b",
      "Questions": [
        {
          "Id": "22881990-55fb-4dce-809a-0214dc6bfd88",
          "Answers": "sample string 2"
        },
        {
          "Id": "22881990-55fb-4dce-809a-0214dc6bfd88",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "56c926f4-8e4f-443c-82b8-9b463606747b",
      "Questions": [
        {
          "Id": "22881990-55fb-4dce-809a-0214dc6bfd88",
          "Answers": "sample string 2"
        },
        {
          "Id": "22881990-55fb-4dce-809a-0214dc6bfd88",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a2a0afe2-f798-4b4b-a05d-3dc967522e19",
      "ContentItemId": "2c124064-e1f0-40cb-bc2e-51e164a793ce",
      "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-13T16:22:34.5878549+00:00",
      "RescheduleDate": "2026-01-13T16:22:34.5878549+00:00"
    },
    {
      "Id": "a2a0afe2-f798-4b4b-a05d-3dc967522e19",
      "ContentItemId": "2c124064-e1f0-40cb-bc2e-51e164a793ce",
      "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-13T16:22:34.5878549+00:00",
      "RescheduleDate": "2026-01-13T16:22:34.5878549+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}