GET 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.Views.UserStateBackwardCompatibleViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

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.

Response Formats

application/json

Sample:
{
  "UserId": "bc6de46c-a87f-4982-bad6-856a03e3f7b6",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-25T20:32:17.4941097+00:00",
  "Registration": {
    "Id": "fef7bf97-869b-45b0-8a9d-b9875260ea7c",
    "UserId": "8e010b21-b80b-477b-afdb-05460a51ff9e",
    "IsCurrent": true,
    "CenterId": "21cda03d-bb9e-4778-8816-343a79d5145f",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "7c7cc7f6-d7a7-409d-ab9f-4dc50e68951d",
    "EndDate": "2026-11-25T20:32:17.4784831+00:00",
    "StartDate": "2026-11-25T20:32:17.4784831+00:00",
    "SchedulePreferenceDate": "2026-11-25T20:32:17.4784831+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-11-25T20:32:17.4784831+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d5a6e293-6e22-4f01-8bb1-f2ba8706bc50",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a8e5e6dc-3929-423b-9ab0-7cbdc1412a55",
      "Sequence": 1,
      "AncestorCategoryId": "36ee36f4-56b1-4e87-987f-7de98cd5a39c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e589a4b7-0ad9-48b2-b36b-f6a0700ed52f",
          "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": "e589a4b7-0ad9-48b2-b36b-f6a0700ed52f",
          "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": "d5a6e293-6e22-4f01-8bb1-f2ba8706bc50",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a8e5e6dc-3929-423b-9ab0-7cbdc1412a55",
      "Sequence": 1,
      "AncestorCategoryId": "36ee36f4-56b1-4e87-987f-7de98cd5a39c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e589a4b7-0ad9-48b2-b36b-f6a0700ed52f",
          "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": "e589a4b7-0ad9-48b2-b36b-f6a0700ed52f",
          "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": "2d05a4c5-8e2f-4946-ac13-4503faa14375",
    "CategoryId": "18e867e4-1767-4cfd-a1f9-52bb15884b58",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "2da706ab-ba91-4280-82e2-2268ff72c10a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "2da706ab-ba91-4280-82e2-2268ff72c10a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "cce9b5b3-2fdd-488f-ab75-8cd125d6d3a7",
      "Questions": [
        {
          "Id": "e4f3a7e8-640a-41c2-95f0-3d16fef63eb8",
          "Answers": "sample string 2"
        },
        {
          "Id": "e4f3a7e8-640a-41c2-95f0-3d16fef63eb8",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "cce9b5b3-2fdd-488f-ab75-8cd125d6d3a7",
      "Questions": [
        {
          "Id": "e4f3a7e8-640a-41c2-95f0-3d16fef63eb8",
          "Answers": "sample string 2"
        },
        {
          "Id": "e4f3a7e8-640a-41c2-95f0-3d16fef63eb8",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5f467d22-01a3-4ed1-a4f7-86ba29b94cdc",
      "ContentItemId": "69d07b7c-a154-4bc3-8d16-9a1f10b0c718",
      "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-11-25T20:32:17.4784831+00:00",
      "RescheduleDate": "2026-11-25T20:32:17.4784831+00:00"
    },
    {
      "Id": "5f467d22-01a3-4ed1-a4f7-86ba29b94cdc",
      "ContentItemId": "69d07b7c-a154-4bc3-8d16-9a1f10b0c718",
      "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-11-25T20:32:17.4784831+00:00",
      "RescheduleDate": "2026-11-25T20:32:17.4784831+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "bc6de46c-a87f-4982-bad6-856a03e3f7b6",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-25T20:32:17.5097343+00:00",
  "Registration": {
    "Id": "fef7bf97-869b-45b0-8a9d-b9875260ea7c",
    "UserId": "8e010b21-b80b-477b-afdb-05460a51ff9e",
    "IsCurrent": true,
    "CenterId": "21cda03d-bb9e-4778-8816-343a79d5145f",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "7c7cc7f6-d7a7-409d-ab9f-4dc50e68951d",
    "EndDate": "2026-11-25T20:32:17.4784831+00:00",
    "StartDate": "2026-11-25T20:32:17.4784831+00:00",
    "SchedulePreferenceDate": "2026-11-25T20:32:17.4784831+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-11-25T20:32:17.4784831+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d5a6e293-6e22-4f01-8bb1-f2ba8706bc50",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a8e5e6dc-3929-423b-9ab0-7cbdc1412a55",
      "Sequence": 1,
      "AncestorCategoryId": "36ee36f4-56b1-4e87-987f-7de98cd5a39c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e589a4b7-0ad9-48b2-b36b-f6a0700ed52f",
          "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": "e589a4b7-0ad9-48b2-b36b-f6a0700ed52f",
          "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": "d5a6e293-6e22-4f01-8bb1-f2ba8706bc50",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a8e5e6dc-3929-423b-9ab0-7cbdc1412a55",
      "Sequence": 1,
      "AncestorCategoryId": "36ee36f4-56b1-4e87-987f-7de98cd5a39c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e589a4b7-0ad9-48b2-b36b-f6a0700ed52f",
          "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": "e589a4b7-0ad9-48b2-b36b-f6a0700ed52f",
          "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": "2d05a4c5-8e2f-4946-ac13-4503faa14375",
    "CategoryId": "18e867e4-1767-4cfd-a1f9-52bb15884b58",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "2da706ab-ba91-4280-82e2-2268ff72c10a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "2da706ab-ba91-4280-82e2-2268ff72c10a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "cce9b5b3-2fdd-488f-ab75-8cd125d6d3a7",
      "Questions": [
        {
          "Id": "e4f3a7e8-640a-41c2-95f0-3d16fef63eb8",
          "Answers": "sample string 2"
        },
        {
          "Id": "e4f3a7e8-640a-41c2-95f0-3d16fef63eb8",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "cce9b5b3-2fdd-488f-ab75-8cd125d6d3a7",
      "Questions": [
        {
          "Id": "e4f3a7e8-640a-41c2-95f0-3d16fef63eb8",
          "Answers": "sample string 2"
        },
        {
          "Id": "e4f3a7e8-640a-41c2-95f0-3d16fef63eb8",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5f467d22-01a3-4ed1-a4f7-86ba29b94cdc",
      "ContentItemId": "69d07b7c-a154-4bc3-8d16-9a1f10b0c718",
      "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-11-25T20:32:17.4784831+00:00",
      "RescheduleDate": "2026-11-25T20:32:17.4784831+00:00"
    },
    {
      "Id": "5f467d22-01a3-4ed1-a4f7-86ba29b94cdc",
      "ContentItemId": "69d07b7c-a154-4bc3-8d16-9a1f10b0c718",
      "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-11-25T20:32:17.4784831+00:00",
      "RescheduleDate": "2026-11-25T20:32:17.4784831+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}