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": "7737557e-e0d7-48e1-95ca-4158a5d46b0f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-19T10:14:57.0367802+00:00",
  "Registration": [
    {
      "Id": "fde5816c-2123-4e44-9f85-4a4912a4077b",
      "UserId": "9e37e422-c4b4-413a-8b6d-057bf9a61531",
      "IsCurrent": true,
      "CenterId": "3052d4f3-0419-4077-9bce-e7e805471c47",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "bd581934-227c-4882-b81d-f99e46143bc9",
      "EndDate": "2026-08-19T10:14:57.0367802+00:00",
      "StartDate": "2026-08-19T10:14:57.0367802+00:00",
      "SchedulePreferenceDate": "2026-08-19T10:14:57.0367802+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": "fde5816c-2123-4e44-9f85-4a4912a4077b",
      "UserId": "9e37e422-c4b4-413a-8b6d-057bf9a61531",
      "IsCurrent": true,
      "CenterId": "3052d4f3-0419-4077-9bce-e7e805471c47",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "bd581934-227c-4882-b81d-f99e46143bc9",
      "EndDate": "2026-08-19T10:14:57.0367802+00:00",
      "StartDate": "2026-08-19T10:14:57.0367802+00:00",
      "SchedulePreferenceDate": "2026-08-19T10:14:57.0367802+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-08-19T10:14:57.0367802+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e0efc5dc-1648-4a9e-919b-c2faa040f9d7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "891dbc58-5ac0-44a8-a5c3-81ba062060a0",
      "Sequence": 1,
      "AncestorCategoryId": "e10284ce-216a-4b9b-b7dc-453f7faab6f9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "70795680-d4bb-4825-a8ee-450f34340f2f",
          "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": "70795680-d4bb-4825-a8ee-450f34340f2f",
          "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": "e0efc5dc-1648-4a9e-919b-c2faa040f9d7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "891dbc58-5ac0-44a8-a5c3-81ba062060a0",
      "Sequence": 1,
      "AncestorCategoryId": "e10284ce-216a-4b9b-b7dc-453f7faab6f9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "70795680-d4bb-4825-a8ee-450f34340f2f",
          "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": "70795680-d4bb-4825-a8ee-450f34340f2f",
          "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": "c512c170-7be5-459f-9961-4e0fcfc1b746",
    "CategoryId": "cfc844cb-a0ad-499c-b499-6054db403117",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0fc2f8e2-9801-4d12-83a9-cae80a2fa5c2",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0fc2f8e2-9801-4d12-83a9-cae80a2fa5c2",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "330265e4-b044-4d02-b4a8-d52000333ee6",
      "Questions": [
        {
          "Id": "34609304-6a0c-4932-adfe-fd36a9276578",
          "Answers": "sample string 2"
        },
        {
          "Id": "34609304-6a0c-4932-adfe-fd36a9276578",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "330265e4-b044-4d02-b4a8-d52000333ee6",
      "Questions": [
        {
          "Id": "34609304-6a0c-4932-adfe-fd36a9276578",
          "Answers": "sample string 2"
        },
        {
          "Id": "34609304-6a0c-4932-adfe-fd36a9276578",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0dcf753a-17c6-4dd8-8745-4a9326b5534b",
      "ContentItemId": "c3719769-5262-4e06-be28-12de6a2eabaf",
      "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-08-19T10:14:57.0367802+00:00",
      "RescheduleDate": "2026-08-19T10:14:57.0367802+00:00"
    },
    {
      "Id": "0dcf753a-17c6-4dd8-8745-4a9326b5534b",
      "ContentItemId": "c3719769-5262-4e06-be28-12de6a2eabaf",
      "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-08-19T10:14:57.0367802+00:00",
      "RescheduleDate": "2026-08-19T10:14:57.0367802+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": "7737557e-e0d7-48e1-95ca-4158a5d46b0f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-19T10:14:57.1149053+00:00",
  "Registration": [
    {
      "Id": "fde5816c-2123-4e44-9f85-4a4912a4077b",
      "UserId": "9e37e422-c4b4-413a-8b6d-057bf9a61531",
      "IsCurrent": true,
      "CenterId": "3052d4f3-0419-4077-9bce-e7e805471c47",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "bd581934-227c-4882-b81d-f99e46143bc9",
      "EndDate": "2026-08-19T10:14:57.0367802+00:00",
      "StartDate": "2026-08-19T10:14:57.0367802+00:00",
      "SchedulePreferenceDate": "2026-08-19T10:14:57.0367802+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": "fde5816c-2123-4e44-9f85-4a4912a4077b",
      "UserId": "9e37e422-c4b4-413a-8b6d-057bf9a61531",
      "IsCurrent": true,
      "CenterId": "3052d4f3-0419-4077-9bce-e7e805471c47",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "bd581934-227c-4882-b81d-f99e46143bc9",
      "EndDate": "2026-08-19T10:14:57.0367802+00:00",
      "StartDate": "2026-08-19T10:14:57.0367802+00:00",
      "SchedulePreferenceDate": "2026-08-19T10:14:57.0367802+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-08-19T10:14:57.0367802+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e0efc5dc-1648-4a9e-919b-c2faa040f9d7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "891dbc58-5ac0-44a8-a5c3-81ba062060a0",
      "Sequence": 1,
      "AncestorCategoryId": "e10284ce-216a-4b9b-b7dc-453f7faab6f9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "70795680-d4bb-4825-a8ee-450f34340f2f",
          "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": "70795680-d4bb-4825-a8ee-450f34340f2f",
          "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": "e0efc5dc-1648-4a9e-919b-c2faa040f9d7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "891dbc58-5ac0-44a8-a5c3-81ba062060a0",
      "Sequence": 1,
      "AncestorCategoryId": "e10284ce-216a-4b9b-b7dc-453f7faab6f9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "70795680-d4bb-4825-a8ee-450f34340f2f",
          "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": "70795680-d4bb-4825-a8ee-450f34340f2f",
          "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": "c512c170-7be5-459f-9961-4e0fcfc1b746",
    "CategoryId": "cfc844cb-a0ad-499c-b499-6054db403117",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0fc2f8e2-9801-4d12-83a9-cae80a2fa5c2",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0fc2f8e2-9801-4d12-83a9-cae80a2fa5c2",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "330265e4-b044-4d02-b4a8-d52000333ee6",
      "Questions": [
        {
          "Id": "34609304-6a0c-4932-adfe-fd36a9276578",
          "Answers": "sample string 2"
        },
        {
          "Id": "34609304-6a0c-4932-adfe-fd36a9276578",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "330265e4-b044-4d02-b4a8-d52000333ee6",
      "Questions": [
        {
          "Id": "34609304-6a0c-4932-adfe-fd36a9276578",
          "Answers": "sample string 2"
        },
        {
          "Id": "34609304-6a0c-4932-adfe-fd36a9276578",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0dcf753a-17c6-4dd8-8745-4a9326b5534b",
      "ContentItemId": "c3719769-5262-4e06-be28-12de6a2eabaf",
      "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-08-19T10:14:57.0367802+00:00",
      "RescheduleDate": "2026-08-19T10:14:57.0367802+00:00"
    },
    {
      "Id": "0dcf753a-17c6-4dd8-8745-4a9326b5534b",
      "ContentItemId": "c3719769-5262-4e06-be28-12de6a2eabaf",
      "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-08-19T10:14:57.0367802+00:00",
      "RescheduleDate": "2026-08-19T10:14:57.0367802+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}