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": "4b20f33d-7ce9-417c-8f2d-172ea7c8a885",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-18T14:41:24.465492+00:00",
  "Registration": [
    {
      "Id": "ebbaae3f-6c66-4328-acea-634cdf3d0bbe",
      "UserId": "eccb2bf2-9e01-4131-859b-92f5f44552a6",
      "IsCurrent": true,
      "CenterId": "5aab7c70-5c0b-4700-9789-7a8c7f0c3e06",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "3413fed3-8671-48a7-ae1c-20486f53262f",
      "EndDate": "2026-09-18T14:41:24.4498646+00:00",
      "StartDate": "2026-09-18T14:41:24.4498646+00:00",
      "SchedulePreferenceDate": "2026-09-18T14:41:24.4498646+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": "ebbaae3f-6c66-4328-acea-634cdf3d0bbe",
      "UserId": "eccb2bf2-9e01-4131-859b-92f5f44552a6",
      "IsCurrent": true,
      "CenterId": "5aab7c70-5c0b-4700-9789-7a8c7f0c3e06",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "3413fed3-8671-48a7-ae1c-20486f53262f",
      "EndDate": "2026-09-18T14:41:24.4498646+00:00",
      "StartDate": "2026-09-18T14:41:24.4498646+00:00",
      "SchedulePreferenceDate": "2026-09-18T14:41:24.4498646+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-09-18T14:41:24.4498646+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b8788c2b-228e-4709-a3ee-caee786caa6e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "853a7ce5-70fa-451f-a543-110975eb08ca",
      "Sequence": 1,
      "AncestorCategoryId": "af409cde-59a7-4248-ab96-2a85e9968cfa",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cda90bb7-9f3c-48d1-b211-f15dd5800dda",
          "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": "cda90bb7-9f3c-48d1-b211-f15dd5800dda",
          "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": "b8788c2b-228e-4709-a3ee-caee786caa6e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "853a7ce5-70fa-451f-a543-110975eb08ca",
      "Sequence": 1,
      "AncestorCategoryId": "af409cde-59a7-4248-ab96-2a85e9968cfa",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cda90bb7-9f3c-48d1-b211-f15dd5800dda",
          "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": "cda90bb7-9f3c-48d1-b211-f15dd5800dda",
          "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": "5b567dff-1202-488d-917b-426ef547cb59",
    "CategoryId": "8ccf4bbb-dc83-4ec8-9e3e-1e1f15e94016",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "6bc9935a-1799-4f2e-85b3-ed9eadc34462",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "6bc9935a-1799-4f2e-85b3-ed9eadc34462",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c65cfd51-f862-4854-aa55-5547c5f85c4c",
      "Questions": [
        {
          "Id": "6a981628-53ba-4066-b0d3-de4c54010acf",
          "Answers": "sample string 2"
        },
        {
          "Id": "6a981628-53ba-4066-b0d3-de4c54010acf",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c65cfd51-f862-4854-aa55-5547c5f85c4c",
      "Questions": [
        {
          "Id": "6a981628-53ba-4066-b0d3-de4c54010acf",
          "Answers": "sample string 2"
        },
        {
          "Id": "6a981628-53ba-4066-b0d3-de4c54010acf",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5deb3ab7-b3bf-40c0-b41b-1ddfaa45b186",
      "ContentItemId": "f9efa20e-ba66-4808-b5c3-8e7b3fa9924f",
      "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-09-18T14:41:24.4498646+00:00",
      "RescheduleDate": "2026-09-18T14:41:24.4498646+00:00"
    },
    {
      "Id": "5deb3ab7-b3bf-40c0-b41b-1ddfaa45b186",
      "ContentItemId": "f9efa20e-ba66-4808-b5c3-8e7b3fa9924f",
      "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-09-18T14:41:24.4498646+00:00",
      "RescheduleDate": "2026-09-18T14:41:24.4498646+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": "4b20f33d-7ce9-417c-8f2d-172ea7c8a885",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-18T14:41:24.4967441+00:00",
  "Registration": [
    {
      "Id": "ebbaae3f-6c66-4328-acea-634cdf3d0bbe",
      "UserId": "eccb2bf2-9e01-4131-859b-92f5f44552a6",
      "IsCurrent": true,
      "CenterId": "5aab7c70-5c0b-4700-9789-7a8c7f0c3e06",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "3413fed3-8671-48a7-ae1c-20486f53262f",
      "EndDate": "2026-09-18T14:41:24.4498646+00:00",
      "StartDate": "2026-09-18T14:41:24.4498646+00:00",
      "SchedulePreferenceDate": "2026-09-18T14:41:24.4498646+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": "ebbaae3f-6c66-4328-acea-634cdf3d0bbe",
      "UserId": "eccb2bf2-9e01-4131-859b-92f5f44552a6",
      "IsCurrent": true,
      "CenterId": "5aab7c70-5c0b-4700-9789-7a8c7f0c3e06",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "3413fed3-8671-48a7-ae1c-20486f53262f",
      "EndDate": "2026-09-18T14:41:24.4498646+00:00",
      "StartDate": "2026-09-18T14:41:24.4498646+00:00",
      "SchedulePreferenceDate": "2026-09-18T14:41:24.4498646+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-09-18T14:41:24.4498646+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b8788c2b-228e-4709-a3ee-caee786caa6e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "853a7ce5-70fa-451f-a543-110975eb08ca",
      "Sequence": 1,
      "AncestorCategoryId": "af409cde-59a7-4248-ab96-2a85e9968cfa",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cda90bb7-9f3c-48d1-b211-f15dd5800dda",
          "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": "cda90bb7-9f3c-48d1-b211-f15dd5800dda",
          "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": "b8788c2b-228e-4709-a3ee-caee786caa6e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "853a7ce5-70fa-451f-a543-110975eb08ca",
      "Sequence": 1,
      "AncestorCategoryId": "af409cde-59a7-4248-ab96-2a85e9968cfa",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cda90bb7-9f3c-48d1-b211-f15dd5800dda",
          "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": "cda90bb7-9f3c-48d1-b211-f15dd5800dda",
          "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": "5b567dff-1202-488d-917b-426ef547cb59",
    "CategoryId": "8ccf4bbb-dc83-4ec8-9e3e-1e1f15e94016",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "6bc9935a-1799-4f2e-85b3-ed9eadc34462",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "6bc9935a-1799-4f2e-85b3-ed9eadc34462",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c65cfd51-f862-4854-aa55-5547c5f85c4c",
      "Questions": [
        {
          "Id": "6a981628-53ba-4066-b0d3-de4c54010acf",
          "Answers": "sample string 2"
        },
        {
          "Id": "6a981628-53ba-4066-b0d3-de4c54010acf",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c65cfd51-f862-4854-aa55-5547c5f85c4c",
      "Questions": [
        {
          "Id": "6a981628-53ba-4066-b0d3-de4c54010acf",
          "Answers": "sample string 2"
        },
        {
          "Id": "6a981628-53ba-4066-b0d3-de4c54010acf",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5deb3ab7-b3bf-40c0-b41b-1ddfaa45b186",
      "ContentItemId": "f9efa20e-ba66-4808-b5c3-8e7b3fa9924f",
      "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-09-18T14:41:24.4498646+00:00",
      "RescheduleDate": "2026-09-18T14:41:24.4498646+00:00"
    },
    {
      "Id": "5deb3ab7-b3bf-40c0-b41b-1ddfaa45b186",
      "ContentItemId": "f9efa20e-ba66-4808-b5c3-8e7b3fa9924f",
      "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-09-18T14:41:24.4498646+00:00",
      "RescheduleDate": "2026-09-18T14:41:24.4498646+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}