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": "54a5a9ea-3073-4386-94fd-7e25650d239e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-05T03:57:17.3616356+00:00",
  "Registration": {
    "Id": "f1d70c03-2f72-4484-91d3-71541009ef9c",
    "UserId": "19664301-5b3d-41f6-a0ff-4c54bfcd7242",
    "IsCurrent": true,
    "CenterId": "b32ca633-f9d6-4263-8a11-297914cb7535",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "589b0556-ac5a-4ae5-8d2d-a6afa6df16a7",
    "EndDate": "2026-09-05T03:57:17.3460135+00:00",
    "StartDate": "2026-09-05T03:57:17.3460135+00:00",
    "SchedulePreferenceDate": "2026-09-05T03:57:17.3460135+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-05T03:57:17.3460135+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b9f6d8b6-86ce-4617-ba86-d25a906cbebf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ae296e97-5624-4625-872e-426bbf9fa2da",
      "Sequence": 1,
      "AncestorCategoryId": "c317d009-e911-447d-9d7a-275c375237e9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "abb2bc2f-51be-41ac-83bd-ae03f4221ee3",
          "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": "abb2bc2f-51be-41ac-83bd-ae03f4221ee3",
          "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": "b9f6d8b6-86ce-4617-ba86-d25a906cbebf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ae296e97-5624-4625-872e-426bbf9fa2da",
      "Sequence": 1,
      "AncestorCategoryId": "c317d009-e911-447d-9d7a-275c375237e9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "abb2bc2f-51be-41ac-83bd-ae03f4221ee3",
          "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": "abb2bc2f-51be-41ac-83bd-ae03f4221ee3",
          "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": "44e52af8-b18a-41bf-a3fc-2d159b08c0f7",
    "CategoryId": "5383699d-5858-4947-b544-24f006dfde2d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d4a03413-22b2-4e15-bdc5-aa74b82ff959",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d4a03413-22b2-4e15-bdc5-aa74b82ff959",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b6a3dc3c-5b23-4305-8f60-5864ce5d665b",
      "Questions": [
        {
          "Id": "ef066c51-9d1a-4538-b940-34487e1a806e",
          "Answers": "sample string 2"
        },
        {
          "Id": "ef066c51-9d1a-4538-b940-34487e1a806e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b6a3dc3c-5b23-4305-8f60-5864ce5d665b",
      "Questions": [
        {
          "Id": "ef066c51-9d1a-4538-b940-34487e1a806e",
          "Answers": "sample string 2"
        },
        {
          "Id": "ef066c51-9d1a-4538-b940-34487e1a806e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5bbe458c-8356-4b83-affa-021ef4eef0f6",
      "ContentItemId": "75690606-3771-4dbf-95f5-efa238f5244e",
      "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-05T03:57:17.3460135+00:00",
      "RescheduleDate": "2026-09-05T03:57:17.3460135+00:00"
    },
    {
      "Id": "5bbe458c-8356-4b83-affa-021ef4eef0f6",
      "ContentItemId": "75690606-3771-4dbf-95f5-efa238f5244e",
      "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-05T03:57:17.3460135+00:00",
      "RescheduleDate": "2026-09-05T03:57:17.3460135+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "54a5a9ea-3073-4386-94fd-7e25650d239e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-05T03:57:17.3928956+00:00",
  "Registration": {
    "Id": "f1d70c03-2f72-4484-91d3-71541009ef9c",
    "UserId": "19664301-5b3d-41f6-a0ff-4c54bfcd7242",
    "IsCurrent": true,
    "CenterId": "b32ca633-f9d6-4263-8a11-297914cb7535",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "589b0556-ac5a-4ae5-8d2d-a6afa6df16a7",
    "EndDate": "2026-09-05T03:57:17.3460135+00:00",
    "StartDate": "2026-09-05T03:57:17.3460135+00:00",
    "SchedulePreferenceDate": "2026-09-05T03:57:17.3460135+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-05T03:57:17.3460135+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b9f6d8b6-86ce-4617-ba86-d25a906cbebf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ae296e97-5624-4625-872e-426bbf9fa2da",
      "Sequence": 1,
      "AncestorCategoryId": "c317d009-e911-447d-9d7a-275c375237e9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "abb2bc2f-51be-41ac-83bd-ae03f4221ee3",
          "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": "abb2bc2f-51be-41ac-83bd-ae03f4221ee3",
          "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": "b9f6d8b6-86ce-4617-ba86-d25a906cbebf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ae296e97-5624-4625-872e-426bbf9fa2da",
      "Sequence": 1,
      "AncestorCategoryId": "c317d009-e911-447d-9d7a-275c375237e9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "abb2bc2f-51be-41ac-83bd-ae03f4221ee3",
          "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": "abb2bc2f-51be-41ac-83bd-ae03f4221ee3",
          "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": "44e52af8-b18a-41bf-a3fc-2d159b08c0f7",
    "CategoryId": "5383699d-5858-4947-b544-24f006dfde2d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d4a03413-22b2-4e15-bdc5-aa74b82ff959",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d4a03413-22b2-4e15-bdc5-aa74b82ff959",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b6a3dc3c-5b23-4305-8f60-5864ce5d665b",
      "Questions": [
        {
          "Id": "ef066c51-9d1a-4538-b940-34487e1a806e",
          "Answers": "sample string 2"
        },
        {
          "Id": "ef066c51-9d1a-4538-b940-34487e1a806e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b6a3dc3c-5b23-4305-8f60-5864ce5d665b",
      "Questions": [
        {
          "Id": "ef066c51-9d1a-4538-b940-34487e1a806e",
          "Answers": "sample string 2"
        },
        {
          "Id": "ef066c51-9d1a-4538-b940-34487e1a806e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5bbe458c-8356-4b83-affa-021ef4eef0f6",
      "ContentItemId": "75690606-3771-4dbf-95f5-efa238f5244e",
      "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-05T03:57:17.3460135+00:00",
      "RescheduleDate": "2026-09-05T03:57:17.3460135+00:00"
    },
    {
      "Id": "5bbe458c-8356-4b83-affa-021ef4eef0f6",
      "ContentItemId": "75690606-3771-4dbf-95f5-efa238f5244e",
      "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-05T03:57:17.3460135+00:00",
      "RescheduleDate": "2026-09-05T03:57:17.3460135+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}