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": "89a42394-0785-42c9-b64e-8ae47e99a043",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-07T02:33:52.1024857+00:00",
  "Registration": {
    "Id": "36e98015-a2db-4c08-8e0b-90f0de25ff03",
    "UserId": "3b7951d1-15a4-49e5-978f-2bf5fed06407",
    "IsCurrent": true,
    "CenterId": "645fbca8-78b6-4e8d-8335-92988293c7b7",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "04b34f64-ce05-46c0-b328-8fa5264f1a84",
    "EndDate": "2026-03-07T02:33:52.1024857+00:00",
    "StartDate": "2026-03-07T02:33:52.1024857+00:00",
    "SchedulePreferenceDate": "2026-03-07T02:33:52.1024857+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-03-07T02:33:52.1024857+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8ea64303-aced-42cb-8532-f30d69674c88",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8b601eb1-f625-4b5c-a334-1e09fd3b6075",
      "Sequence": 1,
      "AncestorCategoryId": "da4697ec-55fa-4cfd-a37e-dc5a8af1cd06",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "31e52380-f55f-449b-b0e4-2b6f05899874",
          "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": "31e52380-f55f-449b-b0e4-2b6f05899874",
          "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": "8ea64303-aced-42cb-8532-f30d69674c88",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8b601eb1-f625-4b5c-a334-1e09fd3b6075",
      "Sequence": 1,
      "AncestorCategoryId": "da4697ec-55fa-4cfd-a37e-dc5a8af1cd06",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "31e52380-f55f-449b-b0e4-2b6f05899874",
          "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": "31e52380-f55f-449b-b0e4-2b6f05899874",
          "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": "3ab84feb-f0ca-4ba3-b3fc-88e0f6c3bcbc",
    "CategoryId": "f89040c1-cc09-4566-ba9c-08798d621d0c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "569d9dae-fea7-43b7-8fdf-b80681882962",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "569d9dae-fea7-43b7-8fdf-b80681882962",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "162b6fcd-0127-456c-8555-78a315bfa613",
      "Questions": [
        {
          "Id": "7d95ca0f-ac90-4c90-8782-28bf73aa5b87",
          "Answers": "sample string 2"
        },
        {
          "Id": "7d95ca0f-ac90-4c90-8782-28bf73aa5b87",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "162b6fcd-0127-456c-8555-78a315bfa613",
      "Questions": [
        {
          "Id": "7d95ca0f-ac90-4c90-8782-28bf73aa5b87",
          "Answers": "sample string 2"
        },
        {
          "Id": "7d95ca0f-ac90-4c90-8782-28bf73aa5b87",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b27b853c-4ae6-484f-8402-c57f14e32b45",
      "ContentItemId": "12cc1fa5-7b0f-469e-9394-b54ea2d32d9d",
      "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-03-07T02:33:52.1024857+00:00",
      "RescheduleDate": "2026-03-07T02:33:52.1024857+00:00"
    },
    {
      "Id": "b27b853c-4ae6-484f-8402-c57f14e32b45",
      "ContentItemId": "12cc1fa5-7b0f-469e-9394-b54ea2d32d9d",
      "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-03-07T02:33:52.1024857+00:00",
      "RescheduleDate": "2026-03-07T02:33:52.1024857+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "89a42394-0785-42c9-b64e-8ae47e99a043",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-07T02:33:52.1649861+00:00",
  "Registration": {
    "Id": "36e98015-a2db-4c08-8e0b-90f0de25ff03",
    "UserId": "3b7951d1-15a4-49e5-978f-2bf5fed06407",
    "IsCurrent": true,
    "CenterId": "645fbca8-78b6-4e8d-8335-92988293c7b7",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "04b34f64-ce05-46c0-b328-8fa5264f1a84",
    "EndDate": "2026-03-07T02:33:52.1024857+00:00",
    "StartDate": "2026-03-07T02:33:52.1024857+00:00",
    "SchedulePreferenceDate": "2026-03-07T02:33:52.1024857+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-03-07T02:33:52.1024857+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8ea64303-aced-42cb-8532-f30d69674c88",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8b601eb1-f625-4b5c-a334-1e09fd3b6075",
      "Sequence": 1,
      "AncestorCategoryId": "da4697ec-55fa-4cfd-a37e-dc5a8af1cd06",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "31e52380-f55f-449b-b0e4-2b6f05899874",
          "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": "31e52380-f55f-449b-b0e4-2b6f05899874",
          "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": "8ea64303-aced-42cb-8532-f30d69674c88",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8b601eb1-f625-4b5c-a334-1e09fd3b6075",
      "Sequence": 1,
      "AncestorCategoryId": "da4697ec-55fa-4cfd-a37e-dc5a8af1cd06",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "31e52380-f55f-449b-b0e4-2b6f05899874",
          "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": "31e52380-f55f-449b-b0e4-2b6f05899874",
          "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": "3ab84feb-f0ca-4ba3-b3fc-88e0f6c3bcbc",
    "CategoryId": "f89040c1-cc09-4566-ba9c-08798d621d0c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "569d9dae-fea7-43b7-8fdf-b80681882962",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "569d9dae-fea7-43b7-8fdf-b80681882962",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "162b6fcd-0127-456c-8555-78a315bfa613",
      "Questions": [
        {
          "Id": "7d95ca0f-ac90-4c90-8782-28bf73aa5b87",
          "Answers": "sample string 2"
        },
        {
          "Id": "7d95ca0f-ac90-4c90-8782-28bf73aa5b87",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "162b6fcd-0127-456c-8555-78a315bfa613",
      "Questions": [
        {
          "Id": "7d95ca0f-ac90-4c90-8782-28bf73aa5b87",
          "Answers": "sample string 2"
        },
        {
          "Id": "7d95ca0f-ac90-4c90-8782-28bf73aa5b87",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b27b853c-4ae6-484f-8402-c57f14e32b45",
      "ContentItemId": "12cc1fa5-7b0f-469e-9394-b54ea2d32d9d",
      "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-03-07T02:33:52.1024857+00:00",
      "RescheduleDate": "2026-03-07T02:33:52.1024857+00:00"
    },
    {
      "Id": "b27b853c-4ae6-484f-8402-c57f14e32b45",
      "ContentItemId": "12cc1fa5-7b0f-469e-9394-b54ea2d32d9d",
      "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-03-07T02:33:52.1024857+00:00",
      "RescheduleDate": "2026-03-07T02:33:52.1024857+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}