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": "16d763be-383f-418d-a524-29b8b9a7d725",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-24T20:51:44.4235815+00:00",
  "Registration": [
    {
      "Id": "0a988944-d5d5-4d3e-883c-684195380fe7",
      "UserId": "85ef10f4-0910-4f49-a53c-e8f2f5c53512",
      "IsCurrent": true,
      "CenterId": "79828c6c-fdcf-4cd8-9d2b-0999190f0ee7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "1acddbdc-c8f1-43f0-8a48-d6a97e6b316c",
      "EndDate": "2026-06-24T20:51:44.4235815+00:00",
      "StartDate": "2026-06-24T20:51:44.4235815+00:00",
      "SchedulePreferenceDate": "2026-06-24T20:51:44.4235815+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": "0a988944-d5d5-4d3e-883c-684195380fe7",
      "UserId": "85ef10f4-0910-4f49-a53c-e8f2f5c53512",
      "IsCurrent": true,
      "CenterId": "79828c6c-fdcf-4cd8-9d2b-0999190f0ee7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "1acddbdc-c8f1-43f0-8a48-d6a97e6b316c",
      "EndDate": "2026-06-24T20:51:44.4235815+00:00",
      "StartDate": "2026-06-24T20:51:44.4235815+00:00",
      "SchedulePreferenceDate": "2026-06-24T20:51:44.4235815+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-06-24T20:51:44.4235815+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "920a8bc4-7af9-474c-bcdd-84292ee00b28",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d7883115-ad35-49c4-b9b6-061eca3ed2b2",
      "Sequence": 1,
      "AncestorCategoryId": "20457e5e-9ce1-4c87-abb2-62e066716cdf",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2d02ce42-132f-40cf-b9c4-4aba8ea106e5",
          "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": "2d02ce42-132f-40cf-b9c4-4aba8ea106e5",
          "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": "920a8bc4-7af9-474c-bcdd-84292ee00b28",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d7883115-ad35-49c4-b9b6-061eca3ed2b2",
      "Sequence": 1,
      "AncestorCategoryId": "20457e5e-9ce1-4c87-abb2-62e066716cdf",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2d02ce42-132f-40cf-b9c4-4aba8ea106e5",
          "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": "2d02ce42-132f-40cf-b9c4-4aba8ea106e5",
          "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": "d48fd139-1b5c-416b-bfa2-c987d4e60823",
    "CategoryId": "3da133c6-6942-4f68-afa2-434e4823f3eb",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "857e4b1e-ba15-4c30-9c2e-a053d5df179b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "857e4b1e-ba15-4c30-9c2e-a053d5df179b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a5952c52-1424-415c-a8e4-f82ab877db21",
      "Questions": [
        {
          "Id": "3b3bb055-4a80-4dfb-b05f-190b997b0d37",
          "Answers": "sample string 2"
        },
        {
          "Id": "3b3bb055-4a80-4dfb-b05f-190b997b0d37",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a5952c52-1424-415c-a8e4-f82ab877db21",
      "Questions": [
        {
          "Id": "3b3bb055-4a80-4dfb-b05f-190b997b0d37",
          "Answers": "sample string 2"
        },
        {
          "Id": "3b3bb055-4a80-4dfb-b05f-190b997b0d37",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "01d2708b-2b09-4238-bfdd-73c5c2ff6456",
      "ContentItemId": "3cf7c867-dd6d-4cfd-b02f-8fd2f1edac70",
      "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-06-24T20:51:44.4235815+00:00",
      "RescheduleDate": "2026-06-24T20:51:44.4235815+00:00"
    },
    {
      "Id": "01d2708b-2b09-4238-bfdd-73c5c2ff6456",
      "ContentItemId": "3cf7c867-dd6d-4cfd-b02f-8fd2f1edac70",
      "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-06-24T20:51:44.4235815+00:00",
      "RescheduleDate": "2026-06-24T20:51:44.4235815+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": "16d763be-383f-418d-a524-29b8b9a7d725",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-24T20:51:44.4860805+00:00",
  "Registration": [
    {
      "Id": "0a988944-d5d5-4d3e-883c-684195380fe7",
      "UserId": "85ef10f4-0910-4f49-a53c-e8f2f5c53512",
      "IsCurrent": true,
      "CenterId": "79828c6c-fdcf-4cd8-9d2b-0999190f0ee7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "1acddbdc-c8f1-43f0-8a48-d6a97e6b316c",
      "EndDate": "2026-06-24T20:51:44.4235815+00:00",
      "StartDate": "2026-06-24T20:51:44.4235815+00:00",
      "SchedulePreferenceDate": "2026-06-24T20:51:44.4235815+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": "0a988944-d5d5-4d3e-883c-684195380fe7",
      "UserId": "85ef10f4-0910-4f49-a53c-e8f2f5c53512",
      "IsCurrent": true,
      "CenterId": "79828c6c-fdcf-4cd8-9d2b-0999190f0ee7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "1acddbdc-c8f1-43f0-8a48-d6a97e6b316c",
      "EndDate": "2026-06-24T20:51:44.4235815+00:00",
      "StartDate": "2026-06-24T20:51:44.4235815+00:00",
      "SchedulePreferenceDate": "2026-06-24T20:51:44.4235815+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-06-24T20:51:44.4235815+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "920a8bc4-7af9-474c-bcdd-84292ee00b28",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d7883115-ad35-49c4-b9b6-061eca3ed2b2",
      "Sequence": 1,
      "AncestorCategoryId": "20457e5e-9ce1-4c87-abb2-62e066716cdf",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2d02ce42-132f-40cf-b9c4-4aba8ea106e5",
          "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": "2d02ce42-132f-40cf-b9c4-4aba8ea106e5",
          "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": "920a8bc4-7af9-474c-bcdd-84292ee00b28",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d7883115-ad35-49c4-b9b6-061eca3ed2b2",
      "Sequence": 1,
      "AncestorCategoryId": "20457e5e-9ce1-4c87-abb2-62e066716cdf",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2d02ce42-132f-40cf-b9c4-4aba8ea106e5",
          "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": "2d02ce42-132f-40cf-b9c4-4aba8ea106e5",
          "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": "d48fd139-1b5c-416b-bfa2-c987d4e60823",
    "CategoryId": "3da133c6-6942-4f68-afa2-434e4823f3eb",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "857e4b1e-ba15-4c30-9c2e-a053d5df179b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "857e4b1e-ba15-4c30-9c2e-a053d5df179b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a5952c52-1424-415c-a8e4-f82ab877db21",
      "Questions": [
        {
          "Id": "3b3bb055-4a80-4dfb-b05f-190b997b0d37",
          "Answers": "sample string 2"
        },
        {
          "Id": "3b3bb055-4a80-4dfb-b05f-190b997b0d37",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a5952c52-1424-415c-a8e4-f82ab877db21",
      "Questions": [
        {
          "Id": "3b3bb055-4a80-4dfb-b05f-190b997b0d37",
          "Answers": "sample string 2"
        },
        {
          "Id": "3b3bb055-4a80-4dfb-b05f-190b997b0d37",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "01d2708b-2b09-4238-bfdd-73c5c2ff6456",
      "ContentItemId": "3cf7c867-dd6d-4cfd-b02f-8fd2f1edac70",
      "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-06-24T20:51:44.4235815+00:00",
      "RescheduleDate": "2026-06-24T20:51:44.4235815+00:00"
    },
    {
      "Id": "01d2708b-2b09-4238-bfdd-73c5c2ff6456",
      "ContentItemId": "3cf7c867-dd6d-4cfd-b02f-8fd2f1edac70",
      "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-06-24T20:51:44.4235815+00:00",
      "RescheduleDate": "2026-06-24T20:51:44.4235815+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}