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": "fcc2a409-2236-40b3-b211-ef77cecda48f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-23T16:58:14.7680176+00:00",
  "Registration": {
    "Id": "ad38aa9f-7573-4524-bec6-396c4b76833d",
    "UserId": "39e0f6f3-5017-4844-ac7f-7b3ae9380c9b",
    "IsCurrent": true,
    "CenterId": "6206686e-ef67-4926-8235-5d13ff0fc9fa",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "783a562b-4fb1-4754-8e88-a2201cc01499",
    "EndDate": "2026-09-23T16:58:14.7680176+00:00",
    "StartDate": "2026-09-23T16:58:14.7680176+00:00",
    "SchedulePreferenceDate": "2026-09-23T16:58:14.7680176+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-09-23T16:58:14.7680176+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "03976ab8-afc7-4757-84e4-70e2acf8e9e8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "21be7679-db9a-4880-83a2-c0b957627fd7",
      "Sequence": 1,
      "AncestorCategoryId": "49712fbb-7da8-4c1e-a595-1efa1de765db",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "85e1c9e8-0621-4ce1-8726-8f06d4923650",
          "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": "85e1c9e8-0621-4ce1-8726-8f06d4923650",
          "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": "03976ab8-afc7-4757-84e4-70e2acf8e9e8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "21be7679-db9a-4880-83a2-c0b957627fd7",
      "Sequence": 1,
      "AncestorCategoryId": "49712fbb-7da8-4c1e-a595-1efa1de765db",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "85e1c9e8-0621-4ce1-8726-8f06d4923650",
          "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": "85e1c9e8-0621-4ce1-8726-8f06d4923650",
          "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": "10fc0304-d087-4831-b4bb-d5e718033048",
    "CategoryId": "0a9c0868-e28e-403f-9005-6faba4368944",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "78bd2140-09df-47f0-b87d-6a1ea3115f6a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "78bd2140-09df-47f0-b87d-6a1ea3115f6a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9a8e26c6-9855-427a-83ab-93309b05b03d",
      "Questions": [
        {
          "Id": "200bf394-a3bb-4341-8f93-84a90162a798",
          "Answers": "sample string 2"
        },
        {
          "Id": "200bf394-a3bb-4341-8f93-84a90162a798",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9a8e26c6-9855-427a-83ab-93309b05b03d",
      "Questions": [
        {
          "Id": "200bf394-a3bb-4341-8f93-84a90162a798",
          "Answers": "sample string 2"
        },
        {
          "Id": "200bf394-a3bb-4341-8f93-84a90162a798",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0c074056-bfc1-4c56-ae12-1192b6c49b40",
      "ContentItemId": "fd109c6b-8c50-4fe7-b362-73b8cbe8d1c3",
      "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-09-23T16:58:14.7680176+00:00",
      "RescheduleDate": "2026-09-23T16:58:14.7680176+00:00"
    },
    {
      "Id": "0c074056-bfc1-4c56-ae12-1192b6c49b40",
      "ContentItemId": "fd109c6b-8c50-4fe7-b362-73b8cbe8d1c3",
      "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-09-23T16:58:14.7680176+00:00",
      "RescheduleDate": "2026-09-23T16:58:14.7680176+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "fcc2a409-2236-40b3-b211-ef77cecda48f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-23T16:58:14.8148956+00:00",
  "Registration": {
    "Id": "ad38aa9f-7573-4524-bec6-396c4b76833d",
    "UserId": "39e0f6f3-5017-4844-ac7f-7b3ae9380c9b",
    "IsCurrent": true,
    "CenterId": "6206686e-ef67-4926-8235-5d13ff0fc9fa",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "783a562b-4fb1-4754-8e88-a2201cc01499",
    "EndDate": "2026-09-23T16:58:14.7680176+00:00",
    "StartDate": "2026-09-23T16:58:14.7680176+00:00",
    "SchedulePreferenceDate": "2026-09-23T16:58:14.7680176+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-09-23T16:58:14.7680176+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "03976ab8-afc7-4757-84e4-70e2acf8e9e8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "21be7679-db9a-4880-83a2-c0b957627fd7",
      "Sequence": 1,
      "AncestorCategoryId": "49712fbb-7da8-4c1e-a595-1efa1de765db",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "85e1c9e8-0621-4ce1-8726-8f06d4923650",
          "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": "85e1c9e8-0621-4ce1-8726-8f06d4923650",
          "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": "03976ab8-afc7-4757-84e4-70e2acf8e9e8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "21be7679-db9a-4880-83a2-c0b957627fd7",
      "Sequence": 1,
      "AncestorCategoryId": "49712fbb-7da8-4c1e-a595-1efa1de765db",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "85e1c9e8-0621-4ce1-8726-8f06d4923650",
          "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": "85e1c9e8-0621-4ce1-8726-8f06d4923650",
          "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": "10fc0304-d087-4831-b4bb-d5e718033048",
    "CategoryId": "0a9c0868-e28e-403f-9005-6faba4368944",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "78bd2140-09df-47f0-b87d-6a1ea3115f6a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "78bd2140-09df-47f0-b87d-6a1ea3115f6a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9a8e26c6-9855-427a-83ab-93309b05b03d",
      "Questions": [
        {
          "Id": "200bf394-a3bb-4341-8f93-84a90162a798",
          "Answers": "sample string 2"
        },
        {
          "Id": "200bf394-a3bb-4341-8f93-84a90162a798",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9a8e26c6-9855-427a-83ab-93309b05b03d",
      "Questions": [
        {
          "Id": "200bf394-a3bb-4341-8f93-84a90162a798",
          "Answers": "sample string 2"
        },
        {
          "Id": "200bf394-a3bb-4341-8f93-84a90162a798",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0c074056-bfc1-4c56-ae12-1192b6c49b40",
      "ContentItemId": "fd109c6b-8c50-4fe7-b362-73b8cbe8d1c3",
      "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-09-23T16:58:14.7680176+00:00",
      "RescheduleDate": "2026-09-23T16:58:14.7680176+00:00"
    },
    {
      "Id": "0c074056-bfc1-4c56-ae12-1192b6c49b40",
      "ContentItemId": "fd109c6b-8c50-4fe7-b362-73b8cbe8d1c3",
      "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-09-23T16:58:14.7680176+00:00",
      "RescheduleDate": "2026-09-23T16:58:14.7680176+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}