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": "3f68f310-0fb8-4734-860c-c4ed8b28c442",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-04T13:32:19.546552+00:00",
  "Registration": [
    {
      "Id": "e5685b8e-76ff-4b14-b946-32e13cff9ff8",
      "UserId": "26157393-2153-489e-8253-f5853b039b9f",
      "IsCurrent": true,
      "CenterId": "9da2abf6-005c-49c9-9815-40f4d9c1c5ff",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "3ac42f6c-acc4-4d85-969d-f159d1b39705",
      "EndDate": "2026-04-04T13:32:19.5268016+00:00",
      "StartDate": "2026-04-04T13:32:19.5268016+00:00",
      "SchedulePreferenceDate": "2026-04-04T13:32:19.5268016+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": "e5685b8e-76ff-4b14-b946-32e13cff9ff8",
      "UserId": "26157393-2153-489e-8253-f5853b039b9f",
      "IsCurrent": true,
      "CenterId": "9da2abf6-005c-49c9-9815-40f4d9c1c5ff",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "3ac42f6c-acc4-4d85-969d-f159d1b39705",
      "EndDate": "2026-04-04T13:32:19.5268016+00:00",
      "StartDate": "2026-04-04T13:32:19.5268016+00:00",
      "SchedulePreferenceDate": "2026-04-04T13:32:19.5268016+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-04-04T13:32:19.5268016+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "6772f1bf-fbf0-4ff2-944e-82b558fcb2c5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be01efaa-9d15-4ec1-8218-06e52e0a2310",
      "Sequence": 1,
      "AncestorCategoryId": "84abcde5-10ad-4b9f-a8b7-073eef349ab5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c85cbc78-e693-4ab8-aca3-d3d6c8ea45b7",
          "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": "c85cbc78-e693-4ab8-aca3-d3d6c8ea45b7",
          "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": "6772f1bf-fbf0-4ff2-944e-82b558fcb2c5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be01efaa-9d15-4ec1-8218-06e52e0a2310",
      "Sequence": 1,
      "AncestorCategoryId": "84abcde5-10ad-4b9f-a8b7-073eef349ab5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c85cbc78-e693-4ab8-aca3-d3d6c8ea45b7",
          "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": "c85cbc78-e693-4ab8-aca3-d3d6c8ea45b7",
          "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": "83e8c0f4-9e7a-4521-9fee-57615544ed16",
    "CategoryId": "7b4d4464-1374-4619-8bc6-815d9a816d0a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5774ae99-64c9-499b-a6a2-a2710b8f2cef",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5774ae99-64c9-499b-a6a2-a2710b8f2cef",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "615e410c-04c0-4e0c-9ad7-575de11e9ba4",
      "Questions": [
        {
          "Id": "ff6f7ede-2d12-4db3-8235-f67e7efba8bb",
          "Answers": "sample string 2"
        },
        {
          "Id": "ff6f7ede-2d12-4db3-8235-f67e7efba8bb",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "615e410c-04c0-4e0c-9ad7-575de11e9ba4",
      "Questions": [
        {
          "Id": "ff6f7ede-2d12-4db3-8235-f67e7efba8bb",
          "Answers": "sample string 2"
        },
        {
          "Id": "ff6f7ede-2d12-4db3-8235-f67e7efba8bb",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0234565e-4f67-48b8-a866-36afa51b6599",
      "ContentItemId": "359a5633-636f-4592-9bba-fc55c66f0ace",
      "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-04-04T13:32:19.5268016+00:00",
      "RescheduleDate": "2026-04-04T13:32:19.5268016+00:00"
    },
    {
      "Id": "0234565e-4f67-48b8-a866-36afa51b6599",
      "ContentItemId": "359a5633-636f-4592-9bba-fc55c66f0ace",
      "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-04-04T13:32:19.5268016+00:00",
      "RescheduleDate": "2026-04-04T13:32:19.5268016+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": "3f68f310-0fb8-4734-860c-c4ed8b28c442",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-04T13:32:19.6361671+00:00",
  "Registration": [
    {
      "Id": "e5685b8e-76ff-4b14-b946-32e13cff9ff8",
      "UserId": "26157393-2153-489e-8253-f5853b039b9f",
      "IsCurrent": true,
      "CenterId": "9da2abf6-005c-49c9-9815-40f4d9c1c5ff",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "3ac42f6c-acc4-4d85-969d-f159d1b39705",
      "EndDate": "2026-04-04T13:32:19.5268016+00:00",
      "StartDate": "2026-04-04T13:32:19.5268016+00:00",
      "SchedulePreferenceDate": "2026-04-04T13:32:19.5268016+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": "e5685b8e-76ff-4b14-b946-32e13cff9ff8",
      "UserId": "26157393-2153-489e-8253-f5853b039b9f",
      "IsCurrent": true,
      "CenterId": "9da2abf6-005c-49c9-9815-40f4d9c1c5ff",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "3ac42f6c-acc4-4d85-969d-f159d1b39705",
      "EndDate": "2026-04-04T13:32:19.5268016+00:00",
      "StartDate": "2026-04-04T13:32:19.5268016+00:00",
      "SchedulePreferenceDate": "2026-04-04T13:32:19.5268016+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-04-04T13:32:19.5268016+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "6772f1bf-fbf0-4ff2-944e-82b558fcb2c5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be01efaa-9d15-4ec1-8218-06e52e0a2310",
      "Sequence": 1,
      "AncestorCategoryId": "84abcde5-10ad-4b9f-a8b7-073eef349ab5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c85cbc78-e693-4ab8-aca3-d3d6c8ea45b7",
          "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": "c85cbc78-e693-4ab8-aca3-d3d6c8ea45b7",
          "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": "6772f1bf-fbf0-4ff2-944e-82b558fcb2c5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be01efaa-9d15-4ec1-8218-06e52e0a2310",
      "Sequence": 1,
      "AncestorCategoryId": "84abcde5-10ad-4b9f-a8b7-073eef349ab5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c85cbc78-e693-4ab8-aca3-d3d6c8ea45b7",
          "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": "c85cbc78-e693-4ab8-aca3-d3d6c8ea45b7",
          "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": "83e8c0f4-9e7a-4521-9fee-57615544ed16",
    "CategoryId": "7b4d4464-1374-4619-8bc6-815d9a816d0a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5774ae99-64c9-499b-a6a2-a2710b8f2cef",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5774ae99-64c9-499b-a6a2-a2710b8f2cef",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "615e410c-04c0-4e0c-9ad7-575de11e9ba4",
      "Questions": [
        {
          "Id": "ff6f7ede-2d12-4db3-8235-f67e7efba8bb",
          "Answers": "sample string 2"
        },
        {
          "Id": "ff6f7ede-2d12-4db3-8235-f67e7efba8bb",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "615e410c-04c0-4e0c-9ad7-575de11e9ba4",
      "Questions": [
        {
          "Id": "ff6f7ede-2d12-4db3-8235-f67e7efba8bb",
          "Answers": "sample string 2"
        },
        {
          "Id": "ff6f7ede-2d12-4db3-8235-f67e7efba8bb",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0234565e-4f67-48b8-a866-36afa51b6599",
      "ContentItemId": "359a5633-636f-4592-9bba-fc55c66f0ace",
      "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-04-04T13:32:19.5268016+00:00",
      "RescheduleDate": "2026-04-04T13:32:19.5268016+00:00"
    },
    {
      "Id": "0234565e-4f67-48b8-a866-36afa51b6599",
      "ContentItemId": "359a5633-636f-4592-9bba-fc55c66f0ace",
      "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-04-04T13:32:19.5268016+00:00",
      "RescheduleDate": "2026-04-04T13:32:19.5268016+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}