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": "fb82f119-4786-435d-b6c8-7835e93a4ddf",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-12-11T01:41:13.065398+00:00",
  "Registration": {
    "Id": "da23d967-510d-4ab2-8eee-7218d36c9b9b",
    "UserId": "a8bb0014-b5fa-4d58-b65e-be3d50ec5569",
    "IsCurrent": true,
    "CenterId": "dca38e6a-ccaf-4fd0-ba5b-093ca91efd01",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "fe419ce8-68a7-4db0-bf45-40f0c357ad0f",
    "EndDate": "2025-12-11T01:41:13.0342206+00:00",
    "StartDate": "2025-12-11T01:41:13.0342206+00:00",
    "SchedulePreferenceDate": "2025-12-11T01:41:13.0342206+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": "2025-12-11T01:41:13.0342206+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3aa3ccfb-704c-4110-9ee7-eb2f4d517a59",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "10835502-5c3b-40d2-9e03-2f2cb8bd2a9a",
      "Sequence": 1,
      "AncestorCategoryId": "e7292846-5d80-47d2-8478-6e3624692141",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "668b5231-cef7-40df-b22e-97ed2cf69365",
          "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": "668b5231-cef7-40df-b22e-97ed2cf69365",
          "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": "3aa3ccfb-704c-4110-9ee7-eb2f4d517a59",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "10835502-5c3b-40d2-9e03-2f2cb8bd2a9a",
      "Sequence": 1,
      "AncestorCategoryId": "e7292846-5d80-47d2-8478-6e3624692141",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "668b5231-cef7-40df-b22e-97ed2cf69365",
          "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": "668b5231-cef7-40df-b22e-97ed2cf69365",
          "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": "6f96b12b-758d-4edf-b075-2d73a803f029",
    "CategoryId": "142ee636-7b77-468d-837d-c5f75cfe0258",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "6805074e-a434-4773-a0cc-d025688ea55f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "6805074e-a434-4773-a0cc-d025688ea55f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "396bb43e-6c6c-4d52-919f-98d141fd3412",
      "Questions": [
        {
          "Id": "3a80245f-a512-4386-b412-5b6fd46704d1",
          "Answers": "sample string 2"
        },
        {
          "Id": "3a80245f-a512-4386-b412-5b6fd46704d1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "396bb43e-6c6c-4d52-919f-98d141fd3412",
      "Questions": [
        {
          "Id": "3a80245f-a512-4386-b412-5b6fd46704d1",
          "Answers": "sample string 2"
        },
        {
          "Id": "3a80245f-a512-4386-b412-5b6fd46704d1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f84ebbd7-8e17-4789-b0f1-f2d787222a3d",
      "ContentItemId": "431713c2-0d9c-4e8a-bf46-c3c8ddc9c10c",
      "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": "2025-12-11T01:41:13.0342206+00:00",
      "RescheduleDate": "2025-12-11T01:41:13.0342206+00:00"
    },
    {
      "Id": "f84ebbd7-8e17-4789-b0f1-f2d787222a3d",
      "ContentItemId": "431713c2-0d9c-4e8a-bf46-c3c8ddc9c10c",
      "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": "2025-12-11T01:41:13.0342206+00:00",
      "RescheduleDate": "2025-12-11T01:41:13.0342206+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "fb82f119-4786-435d-b6c8-7835e93a4ddf",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-12-11T01:41:13.1748364+00:00",
  "Registration": {
    "Id": "da23d967-510d-4ab2-8eee-7218d36c9b9b",
    "UserId": "a8bb0014-b5fa-4d58-b65e-be3d50ec5569",
    "IsCurrent": true,
    "CenterId": "dca38e6a-ccaf-4fd0-ba5b-093ca91efd01",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "fe419ce8-68a7-4db0-bf45-40f0c357ad0f",
    "EndDate": "2025-12-11T01:41:13.0342206+00:00",
    "StartDate": "2025-12-11T01:41:13.0342206+00:00",
    "SchedulePreferenceDate": "2025-12-11T01:41:13.0342206+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": "2025-12-11T01:41:13.0342206+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3aa3ccfb-704c-4110-9ee7-eb2f4d517a59",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "10835502-5c3b-40d2-9e03-2f2cb8bd2a9a",
      "Sequence": 1,
      "AncestorCategoryId": "e7292846-5d80-47d2-8478-6e3624692141",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "668b5231-cef7-40df-b22e-97ed2cf69365",
          "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": "668b5231-cef7-40df-b22e-97ed2cf69365",
          "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": "3aa3ccfb-704c-4110-9ee7-eb2f4d517a59",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "10835502-5c3b-40d2-9e03-2f2cb8bd2a9a",
      "Sequence": 1,
      "AncestorCategoryId": "e7292846-5d80-47d2-8478-6e3624692141",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "668b5231-cef7-40df-b22e-97ed2cf69365",
          "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": "668b5231-cef7-40df-b22e-97ed2cf69365",
          "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": "6f96b12b-758d-4edf-b075-2d73a803f029",
    "CategoryId": "142ee636-7b77-468d-837d-c5f75cfe0258",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "6805074e-a434-4773-a0cc-d025688ea55f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "6805074e-a434-4773-a0cc-d025688ea55f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "396bb43e-6c6c-4d52-919f-98d141fd3412",
      "Questions": [
        {
          "Id": "3a80245f-a512-4386-b412-5b6fd46704d1",
          "Answers": "sample string 2"
        },
        {
          "Id": "3a80245f-a512-4386-b412-5b6fd46704d1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "396bb43e-6c6c-4d52-919f-98d141fd3412",
      "Questions": [
        {
          "Id": "3a80245f-a512-4386-b412-5b6fd46704d1",
          "Answers": "sample string 2"
        },
        {
          "Id": "3a80245f-a512-4386-b412-5b6fd46704d1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f84ebbd7-8e17-4789-b0f1-f2d787222a3d",
      "ContentItemId": "431713c2-0d9c-4e8a-bf46-c3c8ddc9c10c",
      "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": "2025-12-11T01:41:13.0342206+00:00",
      "RescheduleDate": "2025-12-11T01:41:13.0342206+00:00"
    },
    {
      "Id": "f84ebbd7-8e17-4789-b0f1-f2d787222a3d",
      "ContentItemId": "431713c2-0d9c-4e8a-bf46-c3c8ddc9c10c",
      "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": "2025-12-11T01:41:13.0342206+00:00",
      "RescheduleDate": "2025-12-11T01:41:13.0342206+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}