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": "d4f4cdac-7d12-49e4-ba3a-a2d6402ba861",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-29T17:26:49.6976472+00:00",
  "Registration": {
    "Id": "fdb3126a-4b16-40d5-8eb1-a3c38cae6ebf",
    "UserId": "4832baf7-2eec-458d-8b3a-a3a37a54d55a",
    "IsCurrent": true,
    "CenterId": "657f198b-25ec-4f59-a69f-114085856424",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "1e231636-4410-4202-8f29-2ffff64dd74a",
    "EndDate": "2026-06-29T17:26:49.6820228+00:00",
    "StartDate": "2026-06-29T17:26:49.6820228+00:00",
    "SchedulePreferenceDate": "2026-06-29T17:26:49.6820228+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-06-29T17:26:49.6820228+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5287bdaa-93c1-44f3-8d39-c7613a4f956e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "29e61be0-a094-4271-b47c-e19dacbdcbc0",
      "Sequence": 1,
      "AncestorCategoryId": "d01bb19f-96ed-40d4-ad5b-3ddd6b9f26b5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f07b837a-f8d7-41e9-8d0c-6e8b9d800875",
          "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": "f07b837a-f8d7-41e9-8d0c-6e8b9d800875",
          "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": "5287bdaa-93c1-44f3-8d39-c7613a4f956e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "29e61be0-a094-4271-b47c-e19dacbdcbc0",
      "Sequence": 1,
      "AncestorCategoryId": "d01bb19f-96ed-40d4-ad5b-3ddd6b9f26b5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f07b837a-f8d7-41e9-8d0c-6e8b9d800875",
          "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": "f07b837a-f8d7-41e9-8d0c-6e8b9d800875",
          "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": "0be72540-f72f-40f9-8d31-caca0596cec8",
    "CategoryId": "ab36b65b-0ad1-493f-8a89-61e2711d6149",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "7552ce11-752a-483b-ab6b-8a055d8a02ac",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "7552ce11-752a-483b-ab6b-8a055d8a02ac",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "751f1d63-5c04-478b-a8b8-af8fff79294c",
      "Questions": [
        {
          "Id": "da89a17b-9fff-43b4-8a99-6d01d75ee659",
          "Answers": "sample string 2"
        },
        {
          "Id": "da89a17b-9fff-43b4-8a99-6d01d75ee659",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "751f1d63-5c04-478b-a8b8-af8fff79294c",
      "Questions": [
        {
          "Id": "da89a17b-9fff-43b4-8a99-6d01d75ee659",
          "Answers": "sample string 2"
        },
        {
          "Id": "da89a17b-9fff-43b4-8a99-6d01d75ee659",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "85d4f31b-f769-4d5a-9de9-2ccbd0d04cd9",
      "ContentItemId": "6d78c3ac-94ab-426b-ba93-4cceb2f5a86d",
      "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-06-29T17:26:49.6820228+00:00",
      "RescheduleDate": "2026-06-29T17:26:49.6820228+00:00"
    },
    {
      "Id": "85d4f31b-f769-4d5a-9de9-2ccbd0d04cd9",
      "ContentItemId": "6d78c3ac-94ab-426b-ba93-4cceb2f5a86d",
      "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-06-29T17:26:49.6820228+00:00",
      "RescheduleDate": "2026-06-29T17:26:49.6820228+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "d4f4cdac-7d12-49e4-ba3a-a2d6402ba861",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-29T17:26:49.7445212+00:00",
  "Registration": {
    "Id": "fdb3126a-4b16-40d5-8eb1-a3c38cae6ebf",
    "UserId": "4832baf7-2eec-458d-8b3a-a3a37a54d55a",
    "IsCurrent": true,
    "CenterId": "657f198b-25ec-4f59-a69f-114085856424",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "1e231636-4410-4202-8f29-2ffff64dd74a",
    "EndDate": "2026-06-29T17:26:49.6820228+00:00",
    "StartDate": "2026-06-29T17:26:49.6820228+00:00",
    "SchedulePreferenceDate": "2026-06-29T17:26:49.6820228+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-06-29T17:26:49.6820228+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5287bdaa-93c1-44f3-8d39-c7613a4f956e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "29e61be0-a094-4271-b47c-e19dacbdcbc0",
      "Sequence": 1,
      "AncestorCategoryId": "d01bb19f-96ed-40d4-ad5b-3ddd6b9f26b5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f07b837a-f8d7-41e9-8d0c-6e8b9d800875",
          "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": "f07b837a-f8d7-41e9-8d0c-6e8b9d800875",
          "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": "5287bdaa-93c1-44f3-8d39-c7613a4f956e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "29e61be0-a094-4271-b47c-e19dacbdcbc0",
      "Sequence": 1,
      "AncestorCategoryId": "d01bb19f-96ed-40d4-ad5b-3ddd6b9f26b5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f07b837a-f8d7-41e9-8d0c-6e8b9d800875",
          "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": "f07b837a-f8d7-41e9-8d0c-6e8b9d800875",
          "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": "0be72540-f72f-40f9-8d31-caca0596cec8",
    "CategoryId": "ab36b65b-0ad1-493f-8a89-61e2711d6149",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "7552ce11-752a-483b-ab6b-8a055d8a02ac",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "7552ce11-752a-483b-ab6b-8a055d8a02ac",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "751f1d63-5c04-478b-a8b8-af8fff79294c",
      "Questions": [
        {
          "Id": "da89a17b-9fff-43b4-8a99-6d01d75ee659",
          "Answers": "sample string 2"
        },
        {
          "Id": "da89a17b-9fff-43b4-8a99-6d01d75ee659",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "751f1d63-5c04-478b-a8b8-af8fff79294c",
      "Questions": [
        {
          "Id": "da89a17b-9fff-43b4-8a99-6d01d75ee659",
          "Answers": "sample string 2"
        },
        {
          "Id": "da89a17b-9fff-43b4-8a99-6d01d75ee659",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "85d4f31b-f769-4d5a-9de9-2ccbd0d04cd9",
      "ContentItemId": "6d78c3ac-94ab-426b-ba93-4cceb2f5a86d",
      "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-06-29T17:26:49.6820228+00:00",
      "RescheduleDate": "2026-06-29T17:26:49.6820228+00:00"
    },
    {
      "Id": "85d4f31b-f769-4d5a-9de9-2ccbd0d04cd9",
      "ContentItemId": "6d78c3ac-94ab-426b-ba93-4cceb2f5a86d",
      "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-06-29T17:26:49.6820228+00:00",
      "RescheduleDate": "2026-06-29T17:26:49.6820228+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}