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": "9fee2ca5-71d5-4580-b202-55458b3078d4",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-23T14:23:08.245083+00:00",
  "Registration": {
    "Id": "d0dc1b38-708f-4b05-a74b-1e89981d4b2b",
    "UserId": "cd63d6b1-b998-4b02-8485-c8241a4f4aa9",
    "IsCurrent": true,
    "CenterId": "c7e104e8-d35a-4f63-b6f2-4740ea880198",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6491f20a-c0eb-466e-ac68-9c43baa59cbf",
    "EndDate": "2026-11-23T14:23:08.2294556+00:00",
    "StartDate": "2026-11-23T14:23:08.2294556+00:00",
    "SchedulePreferenceDate": "2026-11-23T14:23:08.2294556+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-23T14:23:08.2294556+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "df4cf768-3e7c-4b80-a728-854e14c0a9ff",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d5933a8c-26cb-4beb-b742-986e2328090c",
      "Sequence": 1,
      "AncestorCategoryId": "31bc86fd-9fd0-44e5-8ece-1e6f6f583d34",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "45d0cb92-c66a-4505-bb83-f47dcda40a36",
          "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": "45d0cb92-c66a-4505-bb83-f47dcda40a36",
          "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": "df4cf768-3e7c-4b80-a728-854e14c0a9ff",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d5933a8c-26cb-4beb-b742-986e2328090c",
      "Sequence": 1,
      "AncestorCategoryId": "31bc86fd-9fd0-44e5-8ece-1e6f6f583d34",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "45d0cb92-c66a-4505-bb83-f47dcda40a36",
          "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": "45d0cb92-c66a-4505-bb83-f47dcda40a36",
          "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": "3dcfb6e5-c384-4a65-af18-aa17cbd8653d",
    "CategoryId": "d7b521d3-aad9-405b-b192-f9c9accdaa6f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3235d069-e71f-4987-a4ec-ef6609dfb325",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3235d069-e71f-4987-a4ec-ef6609dfb325",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "504c5513-003d-4aa4-a083-304da840b563",
      "Questions": [
        {
          "Id": "2730b09a-131e-4df0-978e-cabdb4bf6798",
          "Answers": "sample string 2"
        },
        {
          "Id": "2730b09a-131e-4df0-978e-cabdb4bf6798",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "504c5513-003d-4aa4-a083-304da840b563",
      "Questions": [
        {
          "Id": "2730b09a-131e-4df0-978e-cabdb4bf6798",
          "Answers": "sample string 2"
        },
        {
          "Id": "2730b09a-131e-4df0-978e-cabdb4bf6798",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5f874275-00af-4c2d-b070-9f0d048655f9",
      "ContentItemId": "667b2afb-d083-46cb-bcac-d74fdcafaddc",
      "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-23T14:23:08.2294556+00:00",
      "RescheduleDate": "2026-11-23T14:23:08.2294556+00:00"
    },
    {
      "Id": "5f874275-00af-4c2d-b070-9f0d048655f9",
      "ContentItemId": "667b2afb-d083-46cb-bcac-d74fdcafaddc",
      "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-23T14:23:08.2294556+00:00",
      "RescheduleDate": "2026-11-23T14:23:08.2294556+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "9fee2ca5-71d5-4580-b202-55458b3078d4",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-23T14:23:08.2763319+00:00",
  "Registration": {
    "Id": "d0dc1b38-708f-4b05-a74b-1e89981d4b2b",
    "UserId": "cd63d6b1-b998-4b02-8485-c8241a4f4aa9",
    "IsCurrent": true,
    "CenterId": "c7e104e8-d35a-4f63-b6f2-4740ea880198",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6491f20a-c0eb-466e-ac68-9c43baa59cbf",
    "EndDate": "2026-11-23T14:23:08.2294556+00:00",
    "StartDate": "2026-11-23T14:23:08.2294556+00:00",
    "SchedulePreferenceDate": "2026-11-23T14:23:08.2294556+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-23T14:23:08.2294556+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "df4cf768-3e7c-4b80-a728-854e14c0a9ff",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d5933a8c-26cb-4beb-b742-986e2328090c",
      "Sequence": 1,
      "AncestorCategoryId": "31bc86fd-9fd0-44e5-8ece-1e6f6f583d34",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "45d0cb92-c66a-4505-bb83-f47dcda40a36",
          "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": "45d0cb92-c66a-4505-bb83-f47dcda40a36",
          "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": "df4cf768-3e7c-4b80-a728-854e14c0a9ff",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d5933a8c-26cb-4beb-b742-986e2328090c",
      "Sequence": 1,
      "AncestorCategoryId": "31bc86fd-9fd0-44e5-8ece-1e6f6f583d34",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "45d0cb92-c66a-4505-bb83-f47dcda40a36",
          "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": "45d0cb92-c66a-4505-bb83-f47dcda40a36",
          "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": "3dcfb6e5-c384-4a65-af18-aa17cbd8653d",
    "CategoryId": "d7b521d3-aad9-405b-b192-f9c9accdaa6f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3235d069-e71f-4987-a4ec-ef6609dfb325",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3235d069-e71f-4987-a4ec-ef6609dfb325",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "504c5513-003d-4aa4-a083-304da840b563",
      "Questions": [
        {
          "Id": "2730b09a-131e-4df0-978e-cabdb4bf6798",
          "Answers": "sample string 2"
        },
        {
          "Id": "2730b09a-131e-4df0-978e-cabdb4bf6798",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "504c5513-003d-4aa4-a083-304da840b563",
      "Questions": [
        {
          "Id": "2730b09a-131e-4df0-978e-cabdb4bf6798",
          "Answers": "sample string 2"
        },
        {
          "Id": "2730b09a-131e-4df0-978e-cabdb4bf6798",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5f874275-00af-4c2d-b070-9f0d048655f9",
      "ContentItemId": "667b2afb-d083-46cb-bcac-d74fdcafaddc",
      "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-23T14:23:08.2294556+00:00",
      "RescheduleDate": "2026-11-23T14:23:08.2294556+00:00"
    },
    {
      "Id": "5f874275-00af-4c2d-b070-9f0d048655f9",
      "ContentItemId": "667b2afb-d083-46cb-bcac-d74fdcafaddc",
      "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-23T14:23:08.2294556+00:00",
      "RescheduleDate": "2026-11-23T14:23:08.2294556+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}