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": "32b9a494-7b19-4ad7-b216-33d5fdb2cee3",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-24T09:45:23.8751507+00:00",
  "Registration": [
    {
      "Id": "8e18f7d8-3539-45b6-b3f1-949daa0c8469",
      "UserId": "39897fde-0920-4094-a757-036c32d33b49",
      "IsCurrent": true,
      "CenterId": "ed051af3-1619-4a8a-8d3e-2ffc689ed673",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "69b1a773-f109-4b3f-996a-ec2434769986",
      "EndDate": "2026-01-24T09:45:23.8595274+00:00",
      "StartDate": "2026-01-24T09:45:23.8595274+00:00",
      "SchedulePreferenceDate": "2026-01-24T09:45:23.8595274+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": "8e18f7d8-3539-45b6-b3f1-949daa0c8469",
      "UserId": "39897fde-0920-4094-a757-036c32d33b49",
      "IsCurrent": true,
      "CenterId": "ed051af3-1619-4a8a-8d3e-2ffc689ed673",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "69b1a773-f109-4b3f-996a-ec2434769986",
      "EndDate": "2026-01-24T09:45:23.8595274+00:00",
      "StartDate": "2026-01-24T09:45:23.8595274+00:00",
      "SchedulePreferenceDate": "2026-01-24T09:45:23.8595274+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-24T09:45:23.8595274+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "ae625e2e-34fd-4cce-ae49-e13e219d2b19",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0bf5d27f-3292-4a5d-9de3-7f42564cc325",
      "Sequence": 1,
      "AncestorCategoryId": "10e3be2f-bb20-4b2c-b270-4d7bc5ed8ffd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ce64ca7b-79ae-4563-9271-66e220fc8692",
          "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": "ce64ca7b-79ae-4563-9271-66e220fc8692",
          "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": "ae625e2e-34fd-4cce-ae49-e13e219d2b19",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0bf5d27f-3292-4a5d-9de3-7f42564cc325",
      "Sequence": 1,
      "AncestorCategoryId": "10e3be2f-bb20-4b2c-b270-4d7bc5ed8ffd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ce64ca7b-79ae-4563-9271-66e220fc8692",
          "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": "ce64ca7b-79ae-4563-9271-66e220fc8692",
          "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": "0d5f0ea2-199c-4ea7-b505-c00878b9def8",
    "CategoryId": "a0fd0065-7cb4-4daf-af92-9308224c0b73",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8b839889-70a8-4798-8301-3f220127324b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8b839889-70a8-4798-8301-3f220127324b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ea533f1c-df5b-4c91-a92a-dc94aa8af057",
      "Questions": [
        {
          "Id": "63f39c41-cf84-40b3-9b64-1d0db49bbd22",
          "Answers": "sample string 2"
        },
        {
          "Id": "63f39c41-cf84-40b3-9b64-1d0db49bbd22",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ea533f1c-df5b-4c91-a92a-dc94aa8af057",
      "Questions": [
        {
          "Id": "63f39c41-cf84-40b3-9b64-1d0db49bbd22",
          "Answers": "sample string 2"
        },
        {
          "Id": "63f39c41-cf84-40b3-9b64-1d0db49bbd22",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "710a0ecd-7b88-479c-a15f-35883165da51",
      "ContentItemId": "800fc563-675c-4d16-8f08-9e589f7e107a",
      "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-24T09:45:23.8751507+00:00",
      "RescheduleDate": "2026-01-24T09:45:23.8751507+00:00"
    },
    {
      "Id": "710a0ecd-7b88-479c-a15f-35883165da51",
      "ContentItemId": "800fc563-675c-4d16-8f08-9e589f7e107a",
      "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-24T09:45:23.8751507+00:00",
      "RescheduleDate": "2026-01-24T09:45:23.8751507+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": "32b9a494-7b19-4ad7-b216-33d5fdb2cee3",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-24T09:45:23.9220251+00:00",
  "Registration": [
    {
      "Id": "8e18f7d8-3539-45b6-b3f1-949daa0c8469",
      "UserId": "39897fde-0920-4094-a757-036c32d33b49",
      "IsCurrent": true,
      "CenterId": "ed051af3-1619-4a8a-8d3e-2ffc689ed673",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "69b1a773-f109-4b3f-996a-ec2434769986",
      "EndDate": "2026-01-24T09:45:23.8595274+00:00",
      "StartDate": "2026-01-24T09:45:23.8595274+00:00",
      "SchedulePreferenceDate": "2026-01-24T09:45:23.8595274+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": "8e18f7d8-3539-45b6-b3f1-949daa0c8469",
      "UserId": "39897fde-0920-4094-a757-036c32d33b49",
      "IsCurrent": true,
      "CenterId": "ed051af3-1619-4a8a-8d3e-2ffc689ed673",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "69b1a773-f109-4b3f-996a-ec2434769986",
      "EndDate": "2026-01-24T09:45:23.8595274+00:00",
      "StartDate": "2026-01-24T09:45:23.8595274+00:00",
      "SchedulePreferenceDate": "2026-01-24T09:45:23.8595274+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-24T09:45:23.8595274+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "ae625e2e-34fd-4cce-ae49-e13e219d2b19",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0bf5d27f-3292-4a5d-9de3-7f42564cc325",
      "Sequence": 1,
      "AncestorCategoryId": "10e3be2f-bb20-4b2c-b270-4d7bc5ed8ffd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ce64ca7b-79ae-4563-9271-66e220fc8692",
          "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": "ce64ca7b-79ae-4563-9271-66e220fc8692",
          "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": "ae625e2e-34fd-4cce-ae49-e13e219d2b19",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0bf5d27f-3292-4a5d-9de3-7f42564cc325",
      "Sequence": 1,
      "AncestorCategoryId": "10e3be2f-bb20-4b2c-b270-4d7bc5ed8ffd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ce64ca7b-79ae-4563-9271-66e220fc8692",
          "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": "ce64ca7b-79ae-4563-9271-66e220fc8692",
          "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": "0d5f0ea2-199c-4ea7-b505-c00878b9def8",
    "CategoryId": "a0fd0065-7cb4-4daf-af92-9308224c0b73",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8b839889-70a8-4798-8301-3f220127324b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8b839889-70a8-4798-8301-3f220127324b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ea533f1c-df5b-4c91-a92a-dc94aa8af057",
      "Questions": [
        {
          "Id": "63f39c41-cf84-40b3-9b64-1d0db49bbd22",
          "Answers": "sample string 2"
        },
        {
          "Id": "63f39c41-cf84-40b3-9b64-1d0db49bbd22",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ea533f1c-df5b-4c91-a92a-dc94aa8af057",
      "Questions": [
        {
          "Id": "63f39c41-cf84-40b3-9b64-1d0db49bbd22",
          "Answers": "sample string 2"
        },
        {
          "Id": "63f39c41-cf84-40b3-9b64-1d0db49bbd22",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "710a0ecd-7b88-479c-a15f-35883165da51",
      "ContentItemId": "800fc563-675c-4d16-8f08-9e589f7e107a",
      "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-24T09:45:23.8751507+00:00",
      "RescheduleDate": "2026-01-24T09:45:23.8751507+00:00"
    },
    {
      "Id": "710a0ecd-7b88-479c-a15f-35883165da51",
      "ContentItemId": "800fc563-675c-4d16-8f08-9e589f7e107a",
      "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-24T09:45:23.8751507+00:00",
      "RescheduleDate": "2026-01-24T09:45:23.8751507+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}