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": "656d8fe8-9eee-4fd7-bee8-941f452dff00",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-16T11:14:24.3041949+00:00",
  "Registration": {
    "Id": "af95ca16-ff9e-4b89-ae05-4e3ff0db3467",
    "UserId": "54bc84ea-1619-4ab1-9ab3-537dda34e129",
    "IsCurrent": true,
    "CenterId": "d972708d-227a-4426-b620-f350b64ba1f3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "17ec259a-3d7b-41d7-a878-0a7afb8136f7",
    "EndDate": "2026-08-16T11:14:24.3041949+00:00",
    "StartDate": "2026-08-16T11:14:24.3041949+00:00",
    "SchedulePreferenceDate": "2026-08-16T11:14:24.3041949+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-08-16T11:14:24.3041949+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3692046d-f1de-4813-8657-1ab58ffd9f78",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0dd1f57b-1ac3-4479-b9bf-c89784c0d9bf",
      "Sequence": 1,
      "AncestorCategoryId": "90d0f5b4-5fb9-44ac-844c-207b9788d787",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4e0bc62c-a7bd-4a0c-a901-92522b4b52e4",
          "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": "4e0bc62c-a7bd-4a0c-a901-92522b4b52e4",
          "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": "3692046d-f1de-4813-8657-1ab58ffd9f78",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0dd1f57b-1ac3-4479-b9bf-c89784c0d9bf",
      "Sequence": 1,
      "AncestorCategoryId": "90d0f5b4-5fb9-44ac-844c-207b9788d787",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4e0bc62c-a7bd-4a0c-a901-92522b4b52e4",
          "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": "4e0bc62c-a7bd-4a0c-a901-92522b4b52e4",
          "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": "e4670443-497e-427e-b3d8-544065ca84fb",
    "CategoryId": "e754e6de-cbe0-4b25-8129-d11797fcba48",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "427a07c1-7874-4d1a-afd0-bc7dc63b5ab4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "427a07c1-7874-4d1a-afd0-bc7dc63b5ab4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "402e3844-3993-4b79-ae4f-6688f71018b6",
      "Questions": [
        {
          "Id": "21ccf21f-84c6-4a37-8259-f679de6b646c",
          "Answers": "sample string 2"
        },
        {
          "Id": "21ccf21f-84c6-4a37-8259-f679de6b646c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "402e3844-3993-4b79-ae4f-6688f71018b6",
      "Questions": [
        {
          "Id": "21ccf21f-84c6-4a37-8259-f679de6b646c",
          "Answers": "sample string 2"
        },
        {
          "Id": "21ccf21f-84c6-4a37-8259-f679de6b646c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "dc950791-0836-46a5-953a-b31d8c24134d",
      "ContentItemId": "1d44e88e-483a-4eff-8491-5a985609be73",
      "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-08-16T11:14:24.3041949+00:00",
      "RescheduleDate": "2026-08-16T11:14:24.3041949+00:00"
    },
    {
      "Id": "dc950791-0836-46a5-953a-b31d8c24134d",
      "ContentItemId": "1d44e88e-483a-4eff-8491-5a985609be73",
      "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-08-16T11:14:24.3041949+00:00",
      "RescheduleDate": "2026-08-16T11:14:24.3041949+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "656d8fe8-9eee-4fd7-bee8-941f452dff00",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-16T11:14:24.3666941+00:00",
  "Registration": {
    "Id": "af95ca16-ff9e-4b89-ae05-4e3ff0db3467",
    "UserId": "54bc84ea-1619-4ab1-9ab3-537dda34e129",
    "IsCurrent": true,
    "CenterId": "d972708d-227a-4426-b620-f350b64ba1f3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "17ec259a-3d7b-41d7-a878-0a7afb8136f7",
    "EndDate": "2026-08-16T11:14:24.3041949+00:00",
    "StartDate": "2026-08-16T11:14:24.3041949+00:00",
    "SchedulePreferenceDate": "2026-08-16T11:14:24.3041949+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-08-16T11:14:24.3041949+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3692046d-f1de-4813-8657-1ab58ffd9f78",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0dd1f57b-1ac3-4479-b9bf-c89784c0d9bf",
      "Sequence": 1,
      "AncestorCategoryId": "90d0f5b4-5fb9-44ac-844c-207b9788d787",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4e0bc62c-a7bd-4a0c-a901-92522b4b52e4",
          "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": "4e0bc62c-a7bd-4a0c-a901-92522b4b52e4",
          "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": "3692046d-f1de-4813-8657-1ab58ffd9f78",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0dd1f57b-1ac3-4479-b9bf-c89784c0d9bf",
      "Sequence": 1,
      "AncestorCategoryId": "90d0f5b4-5fb9-44ac-844c-207b9788d787",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4e0bc62c-a7bd-4a0c-a901-92522b4b52e4",
          "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": "4e0bc62c-a7bd-4a0c-a901-92522b4b52e4",
          "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": "e4670443-497e-427e-b3d8-544065ca84fb",
    "CategoryId": "e754e6de-cbe0-4b25-8129-d11797fcba48",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "427a07c1-7874-4d1a-afd0-bc7dc63b5ab4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "427a07c1-7874-4d1a-afd0-bc7dc63b5ab4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "402e3844-3993-4b79-ae4f-6688f71018b6",
      "Questions": [
        {
          "Id": "21ccf21f-84c6-4a37-8259-f679de6b646c",
          "Answers": "sample string 2"
        },
        {
          "Id": "21ccf21f-84c6-4a37-8259-f679de6b646c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "402e3844-3993-4b79-ae4f-6688f71018b6",
      "Questions": [
        {
          "Id": "21ccf21f-84c6-4a37-8259-f679de6b646c",
          "Answers": "sample string 2"
        },
        {
          "Id": "21ccf21f-84c6-4a37-8259-f679de6b646c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "dc950791-0836-46a5-953a-b31d8c24134d",
      "ContentItemId": "1d44e88e-483a-4eff-8491-5a985609be73",
      "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-08-16T11:14:24.3041949+00:00",
      "RescheduleDate": "2026-08-16T11:14:24.3041949+00:00"
    },
    {
      "Id": "dc950791-0836-46a5-953a-b31d8c24134d",
      "ContentItemId": "1d44e88e-483a-4eff-8491-5a985609be73",
      "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-08-16T11:14:24.3041949+00:00",
      "RescheduleDate": "2026-08-16T11:14:24.3041949+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}