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": "9b7f7ae4-432c-4297-9b25-540f749cd6ca",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-11-20T17:39:24.3690366+00:00",
  "Registration": [
    {
      "Id": "f3b1e684-beb2-460a-b874-d79e42f2c890",
      "UserId": "891b8f1a-e538-47cd-aae3-8fcf0c869b72",
      "IsCurrent": true,
      "CenterId": "0cc73f17-5abf-4893-a80d-c4f33e4b78e2",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c7cbfc8d-a813-464e-8931-3c7dc8ada607",
      "EndDate": "2025-11-20T17:39:24.3534081+00:00",
      "StartDate": "2025-11-20T17:39:24.3534081+00:00",
      "SchedulePreferenceDate": "2025-11-20T17:39:24.3534081+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": "f3b1e684-beb2-460a-b874-d79e42f2c890",
      "UserId": "891b8f1a-e538-47cd-aae3-8fcf0c869b72",
      "IsCurrent": true,
      "CenterId": "0cc73f17-5abf-4893-a80d-c4f33e4b78e2",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c7cbfc8d-a813-464e-8931-3c7dc8ada607",
      "EndDate": "2025-11-20T17:39:24.3534081+00:00",
      "StartDate": "2025-11-20T17:39:24.3534081+00:00",
      "SchedulePreferenceDate": "2025-11-20T17:39:24.3534081+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": "2025-11-20T17:39:24.3534081+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "882f3b15-f00d-4d44-a369-d8ee7c55a0c9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "48d100bb-240a-4c79-8a48-325a4003868b",
      "Sequence": 1,
      "AncestorCategoryId": "b87ef5ec-35b7-4eda-8ef9-04e8ab1dcae7",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6b64b978-d667-4452-b65e-54e96820848f",
          "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": "6b64b978-d667-4452-b65e-54e96820848f",
          "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": "882f3b15-f00d-4d44-a369-d8ee7c55a0c9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "48d100bb-240a-4c79-8a48-325a4003868b",
      "Sequence": 1,
      "AncestorCategoryId": "b87ef5ec-35b7-4eda-8ef9-04e8ab1dcae7",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6b64b978-d667-4452-b65e-54e96820848f",
          "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": "6b64b978-d667-4452-b65e-54e96820848f",
          "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": "8151ac82-f414-4787-b131-d0ebeaf495e0",
    "CategoryId": "ec7d17c7-3b44-4c36-92a6-a9778edb2549",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "680e4b8f-7a59-410c-aa22-144b421e047c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "680e4b8f-7a59-410c-aa22-144b421e047c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c2649ef0-18b3-4afa-b018-0ef08177b933",
      "Questions": [
        {
          "Id": "7110f365-1cfc-4048-8547-7393bae0f556",
          "Answers": "sample string 2"
        },
        {
          "Id": "7110f365-1cfc-4048-8547-7393bae0f556",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c2649ef0-18b3-4afa-b018-0ef08177b933",
      "Questions": [
        {
          "Id": "7110f365-1cfc-4048-8547-7393bae0f556",
          "Answers": "sample string 2"
        },
        {
          "Id": "7110f365-1cfc-4048-8547-7393bae0f556",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "221c8151-a4a0-4bcd-a59f-3749fd6f9056",
      "ContentItemId": "f728b6ec-bf7a-40b9-a0d5-c539c5ad3df0",
      "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": "2025-11-20T17:39:24.3534081+00:00",
      "RescheduleDate": "2025-11-20T17:39:24.3534081+00:00"
    },
    {
      "Id": "221c8151-a4a0-4bcd-a59f-3749fd6f9056",
      "ContentItemId": "f728b6ec-bf7a-40b9-a0d5-c539c5ad3df0",
      "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": "2025-11-20T17:39:24.3534081+00:00",
      "RescheduleDate": "2025-11-20T17:39:24.3534081+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": "9b7f7ae4-432c-4297-9b25-540f749cd6ca",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-11-20T17:39:24.4159097+00:00",
  "Registration": [
    {
      "Id": "f3b1e684-beb2-460a-b874-d79e42f2c890",
      "UserId": "891b8f1a-e538-47cd-aae3-8fcf0c869b72",
      "IsCurrent": true,
      "CenterId": "0cc73f17-5abf-4893-a80d-c4f33e4b78e2",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c7cbfc8d-a813-464e-8931-3c7dc8ada607",
      "EndDate": "2025-11-20T17:39:24.3534081+00:00",
      "StartDate": "2025-11-20T17:39:24.3534081+00:00",
      "SchedulePreferenceDate": "2025-11-20T17:39:24.3534081+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": "f3b1e684-beb2-460a-b874-d79e42f2c890",
      "UserId": "891b8f1a-e538-47cd-aae3-8fcf0c869b72",
      "IsCurrent": true,
      "CenterId": "0cc73f17-5abf-4893-a80d-c4f33e4b78e2",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c7cbfc8d-a813-464e-8931-3c7dc8ada607",
      "EndDate": "2025-11-20T17:39:24.3534081+00:00",
      "StartDate": "2025-11-20T17:39:24.3534081+00:00",
      "SchedulePreferenceDate": "2025-11-20T17:39:24.3534081+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": "2025-11-20T17:39:24.3534081+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "882f3b15-f00d-4d44-a369-d8ee7c55a0c9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "48d100bb-240a-4c79-8a48-325a4003868b",
      "Sequence": 1,
      "AncestorCategoryId": "b87ef5ec-35b7-4eda-8ef9-04e8ab1dcae7",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6b64b978-d667-4452-b65e-54e96820848f",
          "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": "6b64b978-d667-4452-b65e-54e96820848f",
          "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": "882f3b15-f00d-4d44-a369-d8ee7c55a0c9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "48d100bb-240a-4c79-8a48-325a4003868b",
      "Sequence": 1,
      "AncestorCategoryId": "b87ef5ec-35b7-4eda-8ef9-04e8ab1dcae7",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6b64b978-d667-4452-b65e-54e96820848f",
          "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": "6b64b978-d667-4452-b65e-54e96820848f",
          "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": "8151ac82-f414-4787-b131-d0ebeaf495e0",
    "CategoryId": "ec7d17c7-3b44-4c36-92a6-a9778edb2549",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "680e4b8f-7a59-410c-aa22-144b421e047c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "680e4b8f-7a59-410c-aa22-144b421e047c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c2649ef0-18b3-4afa-b018-0ef08177b933",
      "Questions": [
        {
          "Id": "7110f365-1cfc-4048-8547-7393bae0f556",
          "Answers": "sample string 2"
        },
        {
          "Id": "7110f365-1cfc-4048-8547-7393bae0f556",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c2649ef0-18b3-4afa-b018-0ef08177b933",
      "Questions": [
        {
          "Id": "7110f365-1cfc-4048-8547-7393bae0f556",
          "Answers": "sample string 2"
        },
        {
          "Id": "7110f365-1cfc-4048-8547-7393bae0f556",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "221c8151-a4a0-4bcd-a59f-3749fd6f9056",
      "ContentItemId": "f728b6ec-bf7a-40b9-a0d5-c539c5ad3df0",
      "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": "2025-11-20T17:39:24.3534081+00:00",
      "RescheduleDate": "2025-11-20T17:39:24.3534081+00:00"
    },
    {
      "Id": "221c8151-a4a0-4bcd-a59f-3749fd6f9056",
      "ContentItemId": "f728b6ec-bf7a-40b9-a0d5-c539c5ad3df0",
      "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": "2025-11-20T17:39:24.3534081+00:00",
      "RescheduleDate": "2025-11-20T17:39:24.3534081+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}