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": "b24dcbed-a6c6-45fd-bb03-eabf0e079f40",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-05T23:33:47.9884903+00:00",
  "Registration": {
    "Id": "bdd0b8e2-7b15-4828-b8d2-2fade09becc1",
    "UserId": "28fedc64-9a8f-4384-8173-780b7d03b57b",
    "IsCurrent": true,
    "CenterId": "06becc26-8f96-4dc0-a88b-aae36b9b9860",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "8200bf6b-46b5-4f4b-ba22-9233b76e425b",
    "EndDate": "2026-07-05T23:33:47.9728678+00:00",
    "StartDate": "2026-07-05T23:33:47.9728678+00:00",
    "SchedulePreferenceDate": "2026-07-05T23:33:47.9728678+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-07-05T23:33:47.9728678+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "409b6577-4467-4b0c-a5f5-e4ee267d1d0f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2a73594b-63a0-46ae-9967-2a6bcdbb1b4f",
      "Sequence": 1,
      "AncestorCategoryId": "9f3f5754-b6c9-428d-983e-a661d6c164a1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b7bab77a-668e-4ac0-a2e8-50f2640875a2",
          "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": "b7bab77a-668e-4ac0-a2e8-50f2640875a2",
          "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": "409b6577-4467-4b0c-a5f5-e4ee267d1d0f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2a73594b-63a0-46ae-9967-2a6bcdbb1b4f",
      "Sequence": 1,
      "AncestorCategoryId": "9f3f5754-b6c9-428d-983e-a661d6c164a1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b7bab77a-668e-4ac0-a2e8-50f2640875a2",
          "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": "b7bab77a-668e-4ac0-a2e8-50f2640875a2",
          "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": "f49ef4d0-7dee-44d6-bf31-636117fd953a",
    "CategoryId": "8cd79097-9e26-4770-92c7-a224ebf167e4",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "7c925014-e108-4c02-8b11-4ce267c33643",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "7c925014-e108-4c02-8b11-4ce267c33643",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "7cb9fd83-166f-4d1b-8eec-ed69dfaf9772",
      "Questions": [
        {
          "Id": "d861e187-fb25-46a5-be4a-69f854a82f5f",
          "Answers": "sample string 2"
        },
        {
          "Id": "d861e187-fb25-46a5-be4a-69f854a82f5f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "7cb9fd83-166f-4d1b-8eec-ed69dfaf9772",
      "Questions": [
        {
          "Id": "d861e187-fb25-46a5-be4a-69f854a82f5f",
          "Answers": "sample string 2"
        },
        {
          "Id": "d861e187-fb25-46a5-be4a-69f854a82f5f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "853ad542-8972-4cbf-b3e6-597934ae290f",
      "ContentItemId": "e0c3bf13-b251-454a-8b9e-1b5709b4f541",
      "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-07-05T23:33:47.9728678+00:00",
      "RescheduleDate": "2026-07-05T23:33:47.9728678+00:00"
    },
    {
      "Id": "853ad542-8972-4cbf-b3e6-597934ae290f",
      "ContentItemId": "e0c3bf13-b251-454a-8b9e-1b5709b4f541",
      "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-07-05T23:33:47.9728678+00:00",
      "RescheduleDate": "2026-07-05T23:33:47.9728678+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "b24dcbed-a6c6-45fd-bb03-eabf0e079f40",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-05T23:33:48.0197413+00:00",
  "Registration": {
    "Id": "bdd0b8e2-7b15-4828-b8d2-2fade09becc1",
    "UserId": "28fedc64-9a8f-4384-8173-780b7d03b57b",
    "IsCurrent": true,
    "CenterId": "06becc26-8f96-4dc0-a88b-aae36b9b9860",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "8200bf6b-46b5-4f4b-ba22-9233b76e425b",
    "EndDate": "2026-07-05T23:33:47.9728678+00:00",
    "StartDate": "2026-07-05T23:33:47.9728678+00:00",
    "SchedulePreferenceDate": "2026-07-05T23:33:47.9728678+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-07-05T23:33:47.9728678+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "409b6577-4467-4b0c-a5f5-e4ee267d1d0f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2a73594b-63a0-46ae-9967-2a6bcdbb1b4f",
      "Sequence": 1,
      "AncestorCategoryId": "9f3f5754-b6c9-428d-983e-a661d6c164a1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b7bab77a-668e-4ac0-a2e8-50f2640875a2",
          "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": "b7bab77a-668e-4ac0-a2e8-50f2640875a2",
          "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": "409b6577-4467-4b0c-a5f5-e4ee267d1d0f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2a73594b-63a0-46ae-9967-2a6bcdbb1b4f",
      "Sequence": 1,
      "AncestorCategoryId": "9f3f5754-b6c9-428d-983e-a661d6c164a1",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b7bab77a-668e-4ac0-a2e8-50f2640875a2",
          "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": "b7bab77a-668e-4ac0-a2e8-50f2640875a2",
          "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": "f49ef4d0-7dee-44d6-bf31-636117fd953a",
    "CategoryId": "8cd79097-9e26-4770-92c7-a224ebf167e4",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "7c925014-e108-4c02-8b11-4ce267c33643",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "7c925014-e108-4c02-8b11-4ce267c33643",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "7cb9fd83-166f-4d1b-8eec-ed69dfaf9772",
      "Questions": [
        {
          "Id": "d861e187-fb25-46a5-be4a-69f854a82f5f",
          "Answers": "sample string 2"
        },
        {
          "Id": "d861e187-fb25-46a5-be4a-69f854a82f5f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "7cb9fd83-166f-4d1b-8eec-ed69dfaf9772",
      "Questions": [
        {
          "Id": "d861e187-fb25-46a5-be4a-69f854a82f5f",
          "Answers": "sample string 2"
        },
        {
          "Id": "d861e187-fb25-46a5-be4a-69f854a82f5f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "853ad542-8972-4cbf-b3e6-597934ae290f",
      "ContentItemId": "e0c3bf13-b251-454a-8b9e-1b5709b4f541",
      "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-07-05T23:33:47.9728678+00:00",
      "RescheduleDate": "2026-07-05T23:33:47.9728678+00:00"
    },
    {
      "Id": "853ad542-8972-4cbf-b3e6-597934ae290f",
      "ContentItemId": "e0c3bf13-b251-454a-8b9e-1b5709b4f541",
      "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-07-05T23:33:47.9728678+00:00",
      "RescheduleDate": "2026-07-05T23:33:47.9728678+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}