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": "64490d39-d940-4b6b-bad9-40a9cdb466ef",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-27T00:10:29.3124789+00:00",
  "Registration": {
    "Id": "a631de7f-f4c7-4aac-99e3-60acd356e945",
    "UserId": "76deffa3-1dbe-47b6-b9fe-12d8379825aa",
    "IsCurrent": true,
    "CenterId": "d4200714-60e8-4e3e-9e14-dc31e6eabc88",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6061667c-ada8-4388-9ec6-3697b1cb4e05",
    "EndDate": "2026-08-27T00:10:29.3124789+00:00",
    "StartDate": "2026-08-27T00:10:29.3124789+00:00",
    "SchedulePreferenceDate": "2026-08-27T00:10:29.3124789+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-08-27T00:10:29.3124789+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "24da78f9-ff03-49c7-beb3-25585d7dca0c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "cbaf32e2-7ff4-4a98-9c31-36cd6cf647c1",
      "Sequence": 1,
      "AncestorCategoryId": "abc4bad4-0ea4-47c1-8055-8f37528cb020",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b029632d-0f4b-4008-82ed-782cfa1f68ff",
          "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": "b029632d-0f4b-4008-82ed-782cfa1f68ff",
          "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": "24da78f9-ff03-49c7-beb3-25585d7dca0c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "cbaf32e2-7ff4-4a98-9c31-36cd6cf647c1",
      "Sequence": 1,
      "AncestorCategoryId": "abc4bad4-0ea4-47c1-8055-8f37528cb020",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b029632d-0f4b-4008-82ed-782cfa1f68ff",
          "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": "b029632d-0f4b-4008-82ed-782cfa1f68ff",
          "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": "6c0bb184-5287-442e-b282-09c566e3aa78",
    "CategoryId": "0f0392c5-fd82-4118-9565-2e238eadb2bc",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "55698147-0d08-43bc-8415-ce1f418e19d9",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "55698147-0d08-43bc-8415-ce1f418e19d9",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9658edc1-ef4d-4bfc-b7eb-ebfbbb50db2c",
      "Questions": [
        {
          "Id": "8642d0f3-d560-4e71-a00d-f6d63ab97849",
          "Answers": "sample string 2"
        },
        {
          "Id": "8642d0f3-d560-4e71-a00d-f6d63ab97849",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9658edc1-ef4d-4bfc-b7eb-ebfbbb50db2c",
      "Questions": [
        {
          "Id": "8642d0f3-d560-4e71-a00d-f6d63ab97849",
          "Answers": "sample string 2"
        },
        {
          "Id": "8642d0f3-d560-4e71-a00d-f6d63ab97849",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "212b022b-0e65-4576-b702-12322232b4da",
      "ContentItemId": "e3187155-5cfe-4291-b3c2-f5083116b854",
      "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-08-27T00:10:29.3124789+00:00",
      "RescheduleDate": "2026-08-27T00:10:29.3124789+00:00"
    },
    {
      "Id": "212b022b-0e65-4576-b702-12322232b4da",
      "ContentItemId": "e3187155-5cfe-4291-b3c2-f5083116b854",
      "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-08-27T00:10:29.3124789+00:00",
      "RescheduleDate": "2026-08-27T00:10:29.3124789+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "64490d39-d940-4b6b-bad9-40a9cdb466ef",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-27T00:10:29.3281039+00:00",
  "Registration": {
    "Id": "a631de7f-f4c7-4aac-99e3-60acd356e945",
    "UserId": "76deffa3-1dbe-47b6-b9fe-12d8379825aa",
    "IsCurrent": true,
    "CenterId": "d4200714-60e8-4e3e-9e14-dc31e6eabc88",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6061667c-ada8-4388-9ec6-3697b1cb4e05",
    "EndDate": "2026-08-27T00:10:29.3124789+00:00",
    "StartDate": "2026-08-27T00:10:29.3124789+00:00",
    "SchedulePreferenceDate": "2026-08-27T00:10:29.3124789+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-08-27T00:10:29.3124789+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "24da78f9-ff03-49c7-beb3-25585d7dca0c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "cbaf32e2-7ff4-4a98-9c31-36cd6cf647c1",
      "Sequence": 1,
      "AncestorCategoryId": "abc4bad4-0ea4-47c1-8055-8f37528cb020",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b029632d-0f4b-4008-82ed-782cfa1f68ff",
          "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": "b029632d-0f4b-4008-82ed-782cfa1f68ff",
          "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": "24da78f9-ff03-49c7-beb3-25585d7dca0c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "cbaf32e2-7ff4-4a98-9c31-36cd6cf647c1",
      "Sequence": 1,
      "AncestorCategoryId": "abc4bad4-0ea4-47c1-8055-8f37528cb020",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b029632d-0f4b-4008-82ed-782cfa1f68ff",
          "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": "b029632d-0f4b-4008-82ed-782cfa1f68ff",
          "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": "6c0bb184-5287-442e-b282-09c566e3aa78",
    "CategoryId": "0f0392c5-fd82-4118-9565-2e238eadb2bc",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "55698147-0d08-43bc-8415-ce1f418e19d9",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "55698147-0d08-43bc-8415-ce1f418e19d9",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9658edc1-ef4d-4bfc-b7eb-ebfbbb50db2c",
      "Questions": [
        {
          "Id": "8642d0f3-d560-4e71-a00d-f6d63ab97849",
          "Answers": "sample string 2"
        },
        {
          "Id": "8642d0f3-d560-4e71-a00d-f6d63ab97849",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9658edc1-ef4d-4bfc-b7eb-ebfbbb50db2c",
      "Questions": [
        {
          "Id": "8642d0f3-d560-4e71-a00d-f6d63ab97849",
          "Answers": "sample string 2"
        },
        {
          "Id": "8642d0f3-d560-4e71-a00d-f6d63ab97849",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "212b022b-0e65-4576-b702-12322232b4da",
      "ContentItemId": "e3187155-5cfe-4291-b3c2-f5083116b854",
      "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-08-27T00:10:29.3124789+00:00",
      "RescheduleDate": "2026-08-27T00:10:29.3124789+00:00"
    },
    {
      "Id": "212b022b-0e65-4576-b702-12322232b4da",
      "ContentItemId": "e3187155-5cfe-4291-b3c2-f5083116b854",
      "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-08-27T00:10:29.3124789+00:00",
      "RescheduleDate": "2026-08-27T00:10:29.3124789+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}