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": "ea1e2aff-3c24-4f26-9e18-88d72251c30d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-02T09:24:21.5988902+00:00",
  "Registration": {
    "Id": "530bfd0c-20d1-4511-9d52-fa9c8822ea19",
    "UserId": "e1a762c5-1806-485c-97b2-90a16ab350f7",
    "IsCurrent": true,
    "CenterId": "cb5e94ae-d4d0-48e6-8342-91496a46300c",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "b42c86ac-a5b4-4fb4-980c-18fe0dcf22d7",
    "EndDate": "2026-01-02T09:24:21.5832649+00:00",
    "StartDate": "2026-01-02T09:24:21.5832649+00:00",
    "SchedulePreferenceDate": "2026-01-02T09:24:21.5832649+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-01-02T09:24:21.5832649+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2c727a69-8cd1-4ed6-98fb-439ef0c456e7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d5a2ac27-7147-426c-91de-c0532e5457b8",
      "Sequence": 1,
      "AncestorCategoryId": "7db85203-dc86-4208-9965-cb0a6676be91",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "244ebec7-cb64-4db1-810e-cf9bcccaf362",
          "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": "244ebec7-cb64-4db1-810e-cf9bcccaf362",
          "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": "2c727a69-8cd1-4ed6-98fb-439ef0c456e7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d5a2ac27-7147-426c-91de-c0532e5457b8",
      "Sequence": 1,
      "AncestorCategoryId": "7db85203-dc86-4208-9965-cb0a6676be91",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "244ebec7-cb64-4db1-810e-cf9bcccaf362",
          "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": "244ebec7-cb64-4db1-810e-cf9bcccaf362",
          "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": "5fd06638-6ef3-43b4-bba4-f47ceece19e4",
    "CategoryId": "f5e2b460-9bc9-4012-8f6d-d4d5c487e626",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "42fbdbd5-ed28-49cb-b804-578b04eb6910",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "42fbdbd5-ed28-49cb-b804-578b04eb6910",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "263fb4c1-2176-43ec-9e10-8c16ad5b390f",
      "Questions": [
        {
          "Id": "789f08fc-d413-4ed0-a9ba-b1839006f830",
          "Answers": "sample string 2"
        },
        {
          "Id": "789f08fc-d413-4ed0-a9ba-b1839006f830",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "263fb4c1-2176-43ec-9e10-8c16ad5b390f",
      "Questions": [
        {
          "Id": "789f08fc-d413-4ed0-a9ba-b1839006f830",
          "Answers": "sample string 2"
        },
        {
          "Id": "789f08fc-d413-4ed0-a9ba-b1839006f830",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5f0ed1c3-22a4-4a23-bccd-484050168c7d",
      "ContentItemId": "83592de5-4e02-4009-87a3-412389d62913",
      "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-01-02T09:24:21.5988902+00:00",
      "RescheduleDate": "2026-01-02T09:24:21.5988902+00:00"
    },
    {
      "Id": "5f0ed1c3-22a4-4a23-bccd-484050168c7d",
      "ContentItemId": "83592de5-4e02-4009-87a3-412389d62913",
      "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-01-02T09:24:21.5988902+00:00",
      "RescheduleDate": "2026-01-02T09:24:21.5988902+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "ea1e2aff-3c24-4f26-9e18-88d72251c30d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-02T09:24:21.6613923+00:00",
  "Registration": {
    "Id": "530bfd0c-20d1-4511-9d52-fa9c8822ea19",
    "UserId": "e1a762c5-1806-485c-97b2-90a16ab350f7",
    "IsCurrent": true,
    "CenterId": "cb5e94ae-d4d0-48e6-8342-91496a46300c",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "b42c86ac-a5b4-4fb4-980c-18fe0dcf22d7",
    "EndDate": "2026-01-02T09:24:21.5832649+00:00",
    "StartDate": "2026-01-02T09:24:21.5832649+00:00",
    "SchedulePreferenceDate": "2026-01-02T09:24:21.5832649+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-01-02T09:24:21.5832649+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2c727a69-8cd1-4ed6-98fb-439ef0c456e7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d5a2ac27-7147-426c-91de-c0532e5457b8",
      "Sequence": 1,
      "AncestorCategoryId": "7db85203-dc86-4208-9965-cb0a6676be91",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "244ebec7-cb64-4db1-810e-cf9bcccaf362",
          "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": "244ebec7-cb64-4db1-810e-cf9bcccaf362",
          "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": "2c727a69-8cd1-4ed6-98fb-439ef0c456e7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "d5a2ac27-7147-426c-91de-c0532e5457b8",
      "Sequence": 1,
      "AncestorCategoryId": "7db85203-dc86-4208-9965-cb0a6676be91",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "244ebec7-cb64-4db1-810e-cf9bcccaf362",
          "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": "244ebec7-cb64-4db1-810e-cf9bcccaf362",
          "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": "5fd06638-6ef3-43b4-bba4-f47ceece19e4",
    "CategoryId": "f5e2b460-9bc9-4012-8f6d-d4d5c487e626",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "42fbdbd5-ed28-49cb-b804-578b04eb6910",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "42fbdbd5-ed28-49cb-b804-578b04eb6910",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "263fb4c1-2176-43ec-9e10-8c16ad5b390f",
      "Questions": [
        {
          "Id": "789f08fc-d413-4ed0-a9ba-b1839006f830",
          "Answers": "sample string 2"
        },
        {
          "Id": "789f08fc-d413-4ed0-a9ba-b1839006f830",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "263fb4c1-2176-43ec-9e10-8c16ad5b390f",
      "Questions": [
        {
          "Id": "789f08fc-d413-4ed0-a9ba-b1839006f830",
          "Answers": "sample string 2"
        },
        {
          "Id": "789f08fc-d413-4ed0-a9ba-b1839006f830",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5f0ed1c3-22a4-4a23-bccd-484050168c7d",
      "ContentItemId": "83592de5-4e02-4009-87a3-412389d62913",
      "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-01-02T09:24:21.5988902+00:00",
      "RescheduleDate": "2026-01-02T09:24:21.5988902+00:00"
    },
    {
      "Id": "5f0ed1c3-22a4-4a23-bccd-484050168c7d",
      "ContentItemId": "83592de5-4e02-4009-87a3-412389d62913",
      "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-01-02T09:24:21.5988902+00:00",
      "RescheduleDate": "2026-01-02T09:24:21.5988902+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}