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": "5951baa7-f0fc-41b2-9c98-51534394eab8",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-13T03:26:47.0753743+00:00",
  "Registration": {
    "Id": "6ffcc046-4576-448a-950d-15e182e62f0e",
    "UserId": "a4eef70a-b8ec-45c0-b045-d16e68d99dfa",
    "IsCurrent": true,
    "CenterId": "570b5ef6-9390-4282-80fb-cded9f4c0398",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d3273556-394a-41e6-8215-e5a12b441931",
    "EndDate": "2026-01-13T03:26:47.0753743+00:00",
    "StartDate": "2026-01-13T03:26:47.0753743+00:00",
    "SchedulePreferenceDate": "2026-01-13T03:26:47.0753743+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-13T03:26:47.0753743+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "6960968c-1dc8-4728-88c4-39b1ba0f99d3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1835d28b-da10-44b3-bb48-33896013a080",
      "Sequence": 1,
      "AncestorCategoryId": "e7bcf97c-a302-4bab-8db7-14d26c22d40a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e4cc5368-2337-4ec1-88a0-30189c089211",
          "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": "e4cc5368-2337-4ec1-88a0-30189c089211",
          "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": "6960968c-1dc8-4728-88c4-39b1ba0f99d3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1835d28b-da10-44b3-bb48-33896013a080",
      "Sequence": 1,
      "AncestorCategoryId": "e7bcf97c-a302-4bab-8db7-14d26c22d40a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e4cc5368-2337-4ec1-88a0-30189c089211",
          "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": "e4cc5368-2337-4ec1-88a0-30189c089211",
          "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": "9c75d9b4-202a-49b5-9e33-0e856e4ef192",
    "CategoryId": "6dda860c-8a66-4424-a912-16581c3be0a5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c6911253-5c27-426e-b18f-f2bdd1252ba5",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c6911253-5c27-426e-b18f-f2bdd1252ba5",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "890c9548-b6d3-4c50-81ee-db93ff8c2ed7",
      "Questions": [
        {
          "Id": "c1615da0-254c-4cf3-9768-1cbf0dc127a3",
          "Answers": "sample string 2"
        },
        {
          "Id": "c1615da0-254c-4cf3-9768-1cbf0dc127a3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "890c9548-b6d3-4c50-81ee-db93ff8c2ed7",
      "Questions": [
        {
          "Id": "c1615da0-254c-4cf3-9768-1cbf0dc127a3",
          "Answers": "sample string 2"
        },
        {
          "Id": "c1615da0-254c-4cf3-9768-1cbf0dc127a3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "8936de4b-7686-493d-a00a-e72c93d01317",
      "ContentItemId": "325307ee-2426-4b3b-89f1-8d382a35d9aa",
      "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-13T03:26:47.0753743+00:00",
      "RescheduleDate": "2026-01-13T03:26:47.0753743+00:00"
    },
    {
      "Id": "8936de4b-7686-493d-a00a-e72c93d01317",
      "ContentItemId": "325307ee-2426-4b3b-89f1-8d382a35d9aa",
      "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-13T03:26:47.0753743+00:00",
      "RescheduleDate": "2026-01-13T03:26:47.0753743+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "5951baa7-f0fc-41b2-9c98-51534394eab8",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-13T03:26:47.1066202+00:00",
  "Registration": {
    "Id": "6ffcc046-4576-448a-950d-15e182e62f0e",
    "UserId": "a4eef70a-b8ec-45c0-b045-d16e68d99dfa",
    "IsCurrent": true,
    "CenterId": "570b5ef6-9390-4282-80fb-cded9f4c0398",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d3273556-394a-41e6-8215-e5a12b441931",
    "EndDate": "2026-01-13T03:26:47.0753743+00:00",
    "StartDate": "2026-01-13T03:26:47.0753743+00:00",
    "SchedulePreferenceDate": "2026-01-13T03:26:47.0753743+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-13T03:26:47.0753743+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "6960968c-1dc8-4728-88c4-39b1ba0f99d3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1835d28b-da10-44b3-bb48-33896013a080",
      "Sequence": 1,
      "AncestorCategoryId": "e7bcf97c-a302-4bab-8db7-14d26c22d40a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e4cc5368-2337-4ec1-88a0-30189c089211",
          "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": "e4cc5368-2337-4ec1-88a0-30189c089211",
          "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": "6960968c-1dc8-4728-88c4-39b1ba0f99d3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1835d28b-da10-44b3-bb48-33896013a080",
      "Sequence": 1,
      "AncestorCategoryId": "e7bcf97c-a302-4bab-8db7-14d26c22d40a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e4cc5368-2337-4ec1-88a0-30189c089211",
          "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": "e4cc5368-2337-4ec1-88a0-30189c089211",
          "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": "9c75d9b4-202a-49b5-9e33-0e856e4ef192",
    "CategoryId": "6dda860c-8a66-4424-a912-16581c3be0a5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c6911253-5c27-426e-b18f-f2bdd1252ba5",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c6911253-5c27-426e-b18f-f2bdd1252ba5",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "890c9548-b6d3-4c50-81ee-db93ff8c2ed7",
      "Questions": [
        {
          "Id": "c1615da0-254c-4cf3-9768-1cbf0dc127a3",
          "Answers": "sample string 2"
        },
        {
          "Id": "c1615da0-254c-4cf3-9768-1cbf0dc127a3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "890c9548-b6d3-4c50-81ee-db93ff8c2ed7",
      "Questions": [
        {
          "Id": "c1615da0-254c-4cf3-9768-1cbf0dc127a3",
          "Answers": "sample string 2"
        },
        {
          "Id": "c1615da0-254c-4cf3-9768-1cbf0dc127a3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "8936de4b-7686-493d-a00a-e72c93d01317",
      "ContentItemId": "325307ee-2426-4b3b-89f1-8d382a35d9aa",
      "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-13T03:26:47.0753743+00:00",
      "RescheduleDate": "2026-01-13T03:26:47.0753743+00:00"
    },
    {
      "Id": "8936de4b-7686-493d-a00a-e72c93d01317",
      "ContentItemId": "325307ee-2426-4b3b-89f1-8d382a35d9aa",
      "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-13T03:26:47.0753743+00:00",
      "RescheduleDate": "2026-01-13T03:26:47.0753743+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}