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": "1468fe63-23b7-40c5-81d7-afdc54936d77",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-25T23:54:19.4837248+00:00",
  "Registration": {
    "Id": "d1f3a9ad-afb2-4e47-8c2b-0d128ebf7e9b",
    "UserId": "83068eb3-f3f4-4d85-a3a7-8033537fc02f",
    "IsCurrent": true,
    "CenterId": "fdd1fdf8-1ae0-4621-b7a6-4a88780a5fb7",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a7169f6e-2863-4817-8b07-f149484c35b0",
    "EndDate": "2026-11-25T23:54:19.4837248+00:00",
    "StartDate": "2026-11-25T23:54:19.4837248+00:00",
    "SchedulePreferenceDate": "2026-11-25T23:54:19.4837248+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-25T23:54:19.4837248+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "1115b2d4-f41f-4c99-b96b-1320ba4f1833",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "389e9067-206f-41a7-891f-252092618b9c",
      "Sequence": 1,
      "AncestorCategoryId": "4a64b608-00e5-4b04-8276-8d0e8f08191d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "01cef2b1-2f41-46aa-b686-10381b71ef63",
          "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": "01cef2b1-2f41-46aa-b686-10381b71ef63",
          "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": "1115b2d4-f41f-4c99-b96b-1320ba4f1833",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "389e9067-206f-41a7-891f-252092618b9c",
      "Sequence": 1,
      "AncestorCategoryId": "4a64b608-00e5-4b04-8276-8d0e8f08191d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "01cef2b1-2f41-46aa-b686-10381b71ef63",
          "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": "01cef2b1-2f41-46aa-b686-10381b71ef63",
          "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": "910eaea6-f841-44d3-9ac4-2e85d8b2bda8",
    "CategoryId": "da495a8c-f55f-47f8-8c42-258d46d50e0c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "28325bb3-de4d-4c71-bbd1-d5b56d3a4adf",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "28325bb3-de4d-4c71-bbd1-d5b56d3a4adf",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "8eb5d376-2a77-45a2-a808-7b6a4dbccb8b",
      "Questions": [
        {
          "Id": "ad8db9f5-3d1c-46d4-8e60-854d629d0b17",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad8db9f5-3d1c-46d4-8e60-854d629d0b17",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "8eb5d376-2a77-45a2-a808-7b6a4dbccb8b",
      "Questions": [
        {
          "Id": "ad8db9f5-3d1c-46d4-8e60-854d629d0b17",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad8db9f5-3d1c-46d4-8e60-854d629d0b17",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b7fe460a-9df8-4a45-a9c3-4af12cc43cf7",
      "ContentItemId": "155d2bd2-94fb-4746-be60-9402e0550edc",
      "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-25T23:54:19.4837248+00:00",
      "RescheduleDate": "2026-11-25T23:54:19.4837248+00:00"
    },
    {
      "Id": "b7fe460a-9df8-4a45-a9c3-4af12cc43cf7",
      "ContentItemId": "155d2bd2-94fb-4746-be60-9402e0550edc",
      "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-25T23:54:19.4837248+00:00",
      "RescheduleDate": "2026-11-25T23:54:19.4837248+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "1468fe63-23b7-40c5-81d7-afdc54936d77",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-25T23:54:19.4993494+00:00",
  "Registration": {
    "Id": "d1f3a9ad-afb2-4e47-8c2b-0d128ebf7e9b",
    "UserId": "83068eb3-f3f4-4d85-a3a7-8033537fc02f",
    "IsCurrent": true,
    "CenterId": "fdd1fdf8-1ae0-4621-b7a6-4a88780a5fb7",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a7169f6e-2863-4817-8b07-f149484c35b0",
    "EndDate": "2026-11-25T23:54:19.4837248+00:00",
    "StartDate": "2026-11-25T23:54:19.4837248+00:00",
    "SchedulePreferenceDate": "2026-11-25T23:54:19.4837248+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-25T23:54:19.4837248+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "1115b2d4-f41f-4c99-b96b-1320ba4f1833",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "389e9067-206f-41a7-891f-252092618b9c",
      "Sequence": 1,
      "AncestorCategoryId": "4a64b608-00e5-4b04-8276-8d0e8f08191d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "01cef2b1-2f41-46aa-b686-10381b71ef63",
          "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": "01cef2b1-2f41-46aa-b686-10381b71ef63",
          "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": "1115b2d4-f41f-4c99-b96b-1320ba4f1833",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "389e9067-206f-41a7-891f-252092618b9c",
      "Sequence": 1,
      "AncestorCategoryId": "4a64b608-00e5-4b04-8276-8d0e8f08191d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "01cef2b1-2f41-46aa-b686-10381b71ef63",
          "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": "01cef2b1-2f41-46aa-b686-10381b71ef63",
          "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": "910eaea6-f841-44d3-9ac4-2e85d8b2bda8",
    "CategoryId": "da495a8c-f55f-47f8-8c42-258d46d50e0c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "28325bb3-de4d-4c71-bbd1-d5b56d3a4adf",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "28325bb3-de4d-4c71-bbd1-d5b56d3a4adf",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "8eb5d376-2a77-45a2-a808-7b6a4dbccb8b",
      "Questions": [
        {
          "Id": "ad8db9f5-3d1c-46d4-8e60-854d629d0b17",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad8db9f5-3d1c-46d4-8e60-854d629d0b17",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "8eb5d376-2a77-45a2-a808-7b6a4dbccb8b",
      "Questions": [
        {
          "Id": "ad8db9f5-3d1c-46d4-8e60-854d629d0b17",
          "Answers": "sample string 2"
        },
        {
          "Id": "ad8db9f5-3d1c-46d4-8e60-854d629d0b17",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b7fe460a-9df8-4a45-a9c3-4af12cc43cf7",
      "ContentItemId": "155d2bd2-94fb-4746-be60-9402e0550edc",
      "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-25T23:54:19.4837248+00:00",
      "RescheduleDate": "2026-11-25T23:54:19.4837248+00:00"
    },
    {
      "Id": "b7fe460a-9df8-4a45-a9c3-4af12cc43cf7",
      "ContentItemId": "155d2bd2-94fb-4746-be60-9402e0550edc",
      "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-25T23:54:19.4837248+00:00",
      "RescheduleDate": "2026-11-25T23:54:19.4837248+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}