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": "bfb6d2fd-6781-4ed3-b302-a1cc3406a5b9",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-09T16:22:15.0480417+00:00",
  "Registration": {
    "Id": "d5d2f348-fb3a-4014-8eb7-7414f534efa9",
    "UserId": "ff30d92f-9d8c-4798-a34f-6a6f5c2f907d",
    "IsCurrent": true,
    "CenterId": "3db687e5-437b-4ec6-8843-e95ae5b5df0b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d56135f5-4224-477b-a631-c1f1c4579129",
    "EndDate": "2026-02-09T16:22:15.0167704+00:00",
    "StartDate": "2026-02-09T16:22:15.0167704+00:00",
    "SchedulePreferenceDate": "2026-02-09T16:22:15.0167704+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-02-09T16:22:15.0167704+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c86d9e9f-429a-490f-9515-f90f52c0d9ac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "68fb692c-0dc6-4f7a-8ef1-246389a2284b",
      "Sequence": 1,
      "AncestorCategoryId": "e818ff28-847b-45f9-bc2e-15c6875c8d92",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "64815045-c845-4175-9084-d0bbd75f8317",
          "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": "64815045-c845-4175-9084-d0bbd75f8317",
          "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": "c86d9e9f-429a-490f-9515-f90f52c0d9ac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "68fb692c-0dc6-4f7a-8ef1-246389a2284b",
      "Sequence": 1,
      "AncestorCategoryId": "e818ff28-847b-45f9-bc2e-15c6875c8d92",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "64815045-c845-4175-9084-d0bbd75f8317",
          "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": "64815045-c845-4175-9084-d0bbd75f8317",
          "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": "b22c0967-d943-45dd-8098-4531bc55cd5a",
    "CategoryId": "8266894a-2efd-45b0-ad5e-f57e6ae0357a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b0e014fa-ad21-4a13-a116-ce31bcc879e0",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b0e014fa-ad21-4a13-a116-ce31bcc879e0",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f4151447-b07d-4fba-9092-115d0abd0d0a",
      "Questions": [
        {
          "Id": "28457876-dd40-416e-af04-710307a9fcbd",
          "Answers": "sample string 2"
        },
        {
          "Id": "28457876-dd40-416e-af04-710307a9fcbd",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f4151447-b07d-4fba-9092-115d0abd0d0a",
      "Questions": [
        {
          "Id": "28457876-dd40-416e-af04-710307a9fcbd",
          "Answers": "sample string 2"
        },
        {
          "Id": "28457876-dd40-416e-af04-710307a9fcbd",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "41221e66-9d2c-450d-b5c8-af5132f6a3d3",
      "ContentItemId": "8693a0cd-4ff8-4893-9daa-898fd5b63934",
      "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-02-09T16:22:15.0167704+00:00",
      "RescheduleDate": "2026-02-09T16:22:15.0167704+00:00"
    },
    {
      "Id": "41221e66-9d2c-450d-b5c8-af5132f6a3d3",
      "ContentItemId": "8693a0cd-4ff8-4893-9daa-898fd5b63934",
      "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-02-09T16:22:15.0167704+00:00",
      "RescheduleDate": "2026-02-09T16:22:15.0167704+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "bfb6d2fd-6781-4ed3-b302-a1cc3406a5b9",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-09T16:22:15.1574602+00:00",
  "Registration": {
    "Id": "d5d2f348-fb3a-4014-8eb7-7414f534efa9",
    "UserId": "ff30d92f-9d8c-4798-a34f-6a6f5c2f907d",
    "IsCurrent": true,
    "CenterId": "3db687e5-437b-4ec6-8843-e95ae5b5df0b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d56135f5-4224-477b-a631-c1f1c4579129",
    "EndDate": "2026-02-09T16:22:15.0167704+00:00",
    "StartDate": "2026-02-09T16:22:15.0167704+00:00",
    "SchedulePreferenceDate": "2026-02-09T16:22:15.0167704+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-02-09T16:22:15.0167704+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c86d9e9f-429a-490f-9515-f90f52c0d9ac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "68fb692c-0dc6-4f7a-8ef1-246389a2284b",
      "Sequence": 1,
      "AncestorCategoryId": "e818ff28-847b-45f9-bc2e-15c6875c8d92",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "64815045-c845-4175-9084-d0bbd75f8317",
          "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": "64815045-c845-4175-9084-d0bbd75f8317",
          "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": "c86d9e9f-429a-490f-9515-f90f52c0d9ac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "68fb692c-0dc6-4f7a-8ef1-246389a2284b",
      "Sequence": 1,
      "AncestorCategoryId": "e818ff28-847b-45f9-bc2e-15c6875c8d92",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "64815045-c845-4175-9084-d0bbd75f8317",
          "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": "64815045-c845-4175-9084-d0bbd75f8317",
          "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": "b22c0967-d943-45dd-8098-4531bc55cd5a",
    "CategoryId": "8266894a-2efd-45b0-ad5e-f57e6ae0357a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b0e014fa-ad21-4a13-a116-ce31bcc879e0",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b0e014fa-ad21-4a13-a116-ce31bcc879e0",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f4151447-b07d-4fba-9092-115d0abd0d0a",
      "Questions": [
        {
          "Id": "28457876-dd40-416e-af04-710307a9fcbd",
          "Answers": "sample string 2"
        },
        {
          "Id": "28457876-dd40-416e-af04-710307a9fcbd",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f4151447-b07d-4fba-9092-115d0abd0d0a",
      "Questions": [
        {
          "Id": "28457876-dd40-416e-af04-710307a9fcbd",
          "Answers": "sample string 2"
        },
        {
          "Id": "28457876-dd40-416e-af04-710307a9fcbd",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "41221e66-9d2c-450d-b5c8-af5132f6a3d3",
      "ContentItemId": "8693a0cd-4ff8-4893-9daa-898fd5b63934",
      "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-02-09T16:22:15.0167704+00:00",
      "RescheduleDate": "2026-02-09T16:22:15.0167704+00:00"
    },
    {
      "Id": "41221e66-9d2c-450d-b5c8-af5132f6a3d3",
      "ContentItemId": "8693a0cd-4ff8-4893-9daa-898fd5b63934",
      "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-02-09T16:22:15.0167704+00:00",
      "RescheduleDate": "2026-02-09T16:22:15.0167704+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}