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": "c8153f6a-b316-4e1a-95a2-f0acb75c8a10",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-16T15:21:55.0064944+00:00",
  "Registration": [
    {
      "Id": "0b5d52cd-6462-4f9a-bcec-30c6e44413fc",
      "UserId": "f4768bc9-622e-4496-8d2f-ec89554e77e8",
      "IsCurrent": true,
      "CenterId": "96287f64-4bfc-4246-8e7c-a2069106fb49",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c09afa69-bc92-467c-b6df-e44a5ab01965",
      "EndDate": "2026-01-16T15:21:55.0064944+00:00",
      "StartDate": "2026-01-16T15:21:55.0064944+00:00",
      "SchedulePreferenceDate": "2026-01-16T15:21:55.0064944+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": "0b5d52cd-6462-4f9a-bcec-30c6e44413fc",
      "UserId": "f4768bc9-622e-4496-8d2f-ec89554e77e8",
      "IsCurrent": true,
      "CenterId": "96287f64-4bfc-4246-8e7c-a2069106fb49",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c09afa69-bc92-467c-b6df-e44a5ab01965",
      "EndDate": "2026-01-16T15:21:55.0064944+00:00",
      "StartDate": "2026-01-16T15:21:55.0064944+00:00",
      "SchedulePreferenceDate": "2026-01-16T15:21:55.0064944+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-16T15:21:55.0064944+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "24a1a646-0c38-4047-a1f8-0289009fbaeb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8f19d920-7c64-48de-9f75-3da64b4c1549",
      "Sequence": 1,
      "AncestorCategoryId": "8aa23dc4-3b6f-458d-bd49-b9fb387038fd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2e5fe9ca-7e79-4c27-8ccd-30a9adeb6749",
          "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": "2e5fe9ca-7e79-4c27-8ccd-30a9adeb6749",
          "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": "24a1a646-0c38-4047-a1f8-0289009fbaeb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8f19d920-7c64-48de-9f75-3da64b4c1549",
      "Sequence": 1,
      "AncestorCategoryId": "8aa23dc4-3b6f-458d-bd49-b9fb387038fd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2e5fe9ca-7e79-4c27-8ccd-30a9adeb6749",
          "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": "2e5fe9ca-7e79-4c27-8ccd-30a9adeb6749",
          "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": "e78ac8d7-2b74-4e44-b25d-c90b28026d14",
    "CategoryId": "3550f1a4-0359-48c0-8ce0-8cadea82553f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f2a5a05a-7da7-4399-88d4-709cf7559d38",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f2a5a05a-7da7-4399-88d4-709cf7559d38",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "94aeb0a9-501a-417d-b4ed-c7ef58e470b9",
      "Questions": [
        {
          "Id": "6d90d85b-c6a9-4c43-a2ef-2ba432f89d24",
          "Answers": "sample string 2"
        },
        {
          "Id": "6d90d85b-c6a9-4c43-a2ef-2ba432f89d24",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "94aeb0a9-501a-417d-b4ed-c7ef58e470b9",
      "Questions": [
        {
          "Id": "6d90d85b-c6a9-4c43-a2ef-2ba432f89d24",
          "Answers": "sample string 2"
        },
        {
          "Id": "6d90d85b-c6a9-4c43-a2ef-2ba432f89d24",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f787c53c-357c-48e6-b9b9-2eff3edda52c",
      "ContentItemId": "1d326018-32ac-4000-bf06-9443397d8eda",
      "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-16T15:21:55.0064944+00:00",
      "RescheduleDate": "2026-01-16T15:21:55.0064944+00:00"
    },
    {
      "Id": "f787c53c-357c-48e6-b9b9-2eff3edda52c",
      "ContentItemId": "1d326018-32ac-4000-bf06-9443397d8eda",
      "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-16T15:21:55.0064944+00:00",
      "RescheduleDate": "2026-01-16T15:21:55.0064944+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": "c8153f6a-b316-4e1a-95a2-f0acb75c8a10",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-16T15:21:55.0689965+00:00",
  "Registration": [
    {
      "Id": "0b5d52cd-6462-4f9a-bcec-30c6e44413fc",
      "UserId": "f4768bc9-622e-4496-8d2f-ec89554e77e8",
      "IsCurrent": true,
      "CenterId": "96287f64-4bfc-4246-8e7c-a2069106fb49",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c09afa69-bc92-467c-b6df-e44a5ab01965",
      "EndDate": "2026-01-16T15:21:55.0064944+00:00",
      "StartDate": "2026-01-16T15:21:55.0064944+00:00",
      "SchedulePreferenceDate": "2026-01-16T15:21:55.0064944+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": "0b5d52cd-6462-4f9a-bcec-30c6e44413fc",
      "UserId": "f4768bc9-622e-4496-8d2f-ec89554e77e8",
      "IsCurrent": true,
      "CenterId": "96287f64-4bfc-4246-8e7c-a2069106fb49",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "c09afa69-bc92-467c-b6df-e44a5ab01965",
      "EndDate": "2026-01-16T15:21:55.0064944+00:00",
      "StartDate": "2026-01-16T15:21:55.0064944+00:00",
      "SchedulePreferenceDate": "2026-01-16T15:21:55.0064944+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-16T15:21:55.0064944+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "24a1a646-0c38-4047-a1f8-0289009fbaeb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8f19d920-7c64-48de-9f75-3da64b4c1549",
      "Sequence": 1,
      "AncestorCategoryId": "8aa23dc4-3b6f-458d-bd49-b9fb387038fd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2e5fe9ca-7e79-4c27-8ccd-30a9adeb6749",
          "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": "2e5fe9ca-7e79-4c27-8ccd-30a9adeb6749",
          "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": "24a1a646-0c38-4047-a1f8-0289009fbaeb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8f19d920-7c64-48de-9f75-3da64b4c1549",
      "Sequence": 1,
      "AncestorCategoryId": "8aa23dc4-3b6f-458d-bd49-b9fb387038fd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2e5fe9ca-7e79-4c27-8ccd-30a9adeb6749",
          "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": "2e5fe9ca-7e79-4c27-8ccd-30a9adeb6749",
          "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": "e78ac8d7-2b74-4e44-b25d-c90b28026d14",
    "CategoryId": "3550f1a4-0359-48c0-8ce0-8cadea82553f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f2a5a05a-7da7-4399-88d4-709cf7559d38",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f2a5a05a-7da7-4399-88d4-709cf7559d38",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "94aeb0a9-501a-417d-b4ed-c7ef58e470b9",
      "Questions": [
        {
          "Id": "6d90d85b-c6a9-4c43-a2ef-2ba432f89d24",
          "Answers": "sample string 2"
        },
        {
          "Id": "6d90d85b-c6a9-4c43-a2ef-2ba432f89d24",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "94aeb0a9-501a-417d-b4ed-c7ef58e470b9",
      "Questions": [
        {
          "Id": "6d90d85b-c6a9-4c43-a2ef-2ba432f89d24",
          "Answers": "sample string 2"
        },
        {
          "Id": "6d90d85b-c6a9-4c43-a2ef-2ba432f89d24",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f787c53c-357c-48e6-b9b9-2eff3edda52c",
      "ContentItemId": "1d326018-32ac-4000-bf06-9443397d8eda",
      "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-16T15:21:55.0064944+00:00",
      "RescheduleDate": "2026-01-16T15:21:55.0064944+00:00"
    },
    {
      "Id": "f787c53c-357c-48e6-b9b9-2eff3edda52c",
      "ContentItemId": "1d326018-32ac-4000-bf06-9443397d8eda",
      "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-16T15:21:55.0064944+00:00",
      "RescheduleDate": "2026-01-16T15:21:55.0064944+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}