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": "e00d5711-e5dd-42f6-b30d-c9575df3ac6a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-09T01:23:00.6425593+00:00",
  "Registration": [
    {
      "Id": "417c55e8-00ec-4409-9380-8f4c29b69d1a",
      "UserId": "e0f80129-d7bb-4dde-87f3-30019ffef1de",
      "IsCurrent": true,
      "CenterId": "dccd4267-21f7-40c7-aaaa-15df520f537c",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "6bcfbd46-212f-4e6d-908f-1ef72ff7877e",
      "EndDate": "2026-09-09T01:23:00.6425593+00:00",
      "StartDate": "2026-09-09T01:23:00.6425593+00:00",
      "SchedulePreferenceDate": "2026-09-09T01:23:00.6425593+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": "417c55e8-00ec-4409-9380-8f4c29b69d1a",
      "UserId": "e0f80129-d7bb-4dde-87f3-30019ffef1de",
      "IsCurrent": true,
      "CenterId": "dccd4267-21f7-40c7-aaaa-15df520f537c",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "6bcfbd46-212f-4e6d-908f-1ef72ff7877e",
      "EndDate": "2026-09-09T01:23:00.6425593+00:00",
      "StartDate": "2026-09-09T01:23:00.6425593+00:00",
      "SchedulePreferenceDate": "2026-09-09T01:23:00.6425593+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-09-09T01:23:00.6425593+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5ebd6db1-8dff-491f-8f0d-3992aa8f4e88",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "96f558d4-7e46-478a-8383-8e599464b6cc",
      "Sequence": 1,
      "AncestorCategoryId": "a762a332-70bd-4532-b34b-ba833734ced6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "594c1ace-423e-4c1c-afdd-61702114e198",
          "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": "594c1ace-423e-4c1c-afdd-61702114e198",
          "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": "5ebd6db1-8dff-491f-8f0d-3992aa8f4e88",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "96f558d4-7e46-478a-8383-8e599464b6cc",
      "Sequence": 1,
      "AncestorCategoryId": "a762a332-70bd-4532-b34b-ba833734ced6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "594c1ace-423e-4c1c-afdd-61702114e198",
          "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": "594c1ace-423e-4c1c-afdd-61702114e198",
          "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": "5e43ab7a-bb0b-472f-b64d-8e365d68e139",
    "CategoryId": "c9a34690-1281-44bb-8442-b9b6bcbdcf01",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "423324c6-bef2-4fa4-b707-ba53204d5688",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "423324c6-bef2-4fa4-b707-ba53204d5688",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a2e39f51-ef34-4d0f-9599-24eab07252bf",
      "Questions": [
        {
          "Id": "7ad63957-b7bb-4eb9-8d9e-3e62a61e9829",
          "Answers": "sample string 2"
        },
        {
          "Id": "7ad63957-b7bb-4eb9-8d9e-3e62a61e9829",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a2e39f51-ef34-4d0f-9599-24eab07252bf",
      "Questions": [
        {
          "Id": "7ad63957-b7bb-4eb9-8d9e-3e62a61e9829",
          "Answers": "sample string 2"
        },
        {
          "Id": "7ad63957-b7bb-4eb9-8d9e-3e62a61e9829",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f538ad3f-80c3-4308-adb9-5d7cd806fb8f",
      "ContentItemId": "6e34c2a0-b5b3-496e-85ab-f3e5609b7b22",
      "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-09-09T01:23:00.6425593+00:00",
      "RescheduleDate": "2026-09-09T01:23:00.6425593+00:00"
    },
    {
      "Id": "f538ad3f-80c3-4308-adb9-5d7cd806fb8f",
      "ContentItemId": "6e34c2a0-b5b3-496e-85ab-f3e5609b7b22",
      "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-09-09T01:23:00.6425593+00:00",
      "RescheduleDate": "2026-09-09T01:23:00.6425593+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": "e00d5711-e5dd-42f6-b30d-c9575df3ac6a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-09T01:23:00.67381+00:00",
  "Registration": [
    {
      "Id": "417c55e8-00ec-4409-9380-8f4c29b69d1a",
      "UserId": "e0f80129-d7bb-4dde-87f3-30019ffef1de",
      "IsCurrent": true,
      "CenterId": "dccd4267-21f7-40c7-aaaa-15df520f537c",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "6bcfbd46-212f-4e6d-908f-1ef72ff7877e",
      "EndDate": "2026-09-09T01:23:00.6425593+00:00",
      "StartDate": "2026-09-09T01:23:00.6425593+00:00",
      "SchedulePreferenceDate": "2026-09-09T01:23:00.6425593+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": "417c55e8-00ec-4409-9380-8f4c29b69d1a",
      "UserId": "e0f80129-d7bb-4dde-87f3-30019ffef1de",
      "IsCurrent": true,
      "CenterId": "dccd4267-21f7-40c7-aaaa-15df520f537c",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "6bcfbd46-212f-4e6d-908f-1ef72ff7877e",
      "EndDate": "2026-09-09T01:23:00.6425593+00:00",
      "StartDate": "2026-09-09T01:23:00.6425593+00:00",
      "SchedulePreferenceDate": "2026-09-09T01:23:00.6425593+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-09-09T01:23:00.6425593+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5ebd6db1-8dff-491f-8f0d-3992aa8f4e88",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "96f558d4-7e46-478a-8383-8e599464b6cc",
      "Sequence": 1,
      "AncestorCategoryId": "a762a332-70bd-4532-b34b-ba833734ced6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "594c1ace-423e-4c1c-afdd-61702114e198",
          "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": "594c1ace-423e-4c1c-afdd-61702114e198",
          "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": "5ebd6db1-8dff-491f-8f0d-3992aa8f4e88",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "96f558d4-7e46-478a-8383-8e599464b6cc",
      "Sequence": 1,
      "AncestorCategoryId": "a762a332-70bd-4532-b34b-ba833734ced6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "594c1ace-423e-4c1c-afdd-61702114e198",
          "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": "594c1ace-423e-4c1c-afdd-61702114e198",
          "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": "5e43ab7a-bb0b-472f-b64d-8e365d68e139",
    "CategoryId": "c9a34690-1281-44bb-8442-b9b6bcbdcf01",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "423324c6-bef2-4fa4-b707-ba53204d5688",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "423324c6-bef2-4fa4-b707-ba53204d5688",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a2e39f51-ef34-4d0f-9599-24eab07252bf",
      "Questions": [
        {
          "Id": "7ad63957-b7bb-4eb9-8d9e-3e62a61e9829",
          "Answers": "sample string 2"
        },
        {
          "Id": "7ad63957-b7bb-4eb9-8d9e-3e62a61e9829",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a2e39f51-ef34-4d0f-9599-24eab07252bf",
      "Questions": [
        {
          "Id": "7ad63957-b7bb-4eb9-8d9e-3e62a61e9829",
          "Answers": "sample string 2"
        },
        {
          "Id": "7ad63957-b7bb-4eb9-8d9e-3e62a61e9829",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f538ad3f-80c3-4308-adb9-5d7cd806fb8f",
      "ContentItemId": "6e34c2a0-b5b3-496e-85ab-f3e5609b7b22",
      "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-09-09T01:23:00.6425593+00:00",
      "RescheduleDate": "2026-09-09T01:23:00.6425593+00:00"
    },
    {
      "Id": "f538ad3f-80c3-4308-adb9-5d7cd806fb8f",
      "ContentItemId": "6e34c2a0-b5b3-496e-85ab-f3e5609b7b22",
      "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-09-09T01:23:00.6425593+00:00",
      "RescheduleDate": "2026-09-09T01:23:00.6425593+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}