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": "bd82a103-71e7-4959-bb56-13e331e3410f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-22T02:23:11.886779+00:00",
  "Registration": {
    "Id": "8ef42504-0929-478a-9250-cd1b1c8fccc9",
    "UserId": "bbf405b5-7cd8-45f0-abb2-d1a5d05e6340",
    "IsCurrent": true,
    "CenterId": "82224a0d-fe10-4450-ad67-79f79f4883c3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "7064a45d-708e-40b3-9811-6067316fdf29",
    "EndDate": "2026-03-22T02:23:11.886779+00:00",
    "StartDate": "2026-03-22T02:23:11.886779+00:00",
    "SchedulePreferenceDate": "2026-03-22T02:23:11.886779+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-03-22T02:23:11.886779+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2881485c-a2b3-4836-87df-9beac5807b2a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0de23b15-fd36-49d6-8ddd-96c08ecb1820",
      "Sequence": 1,
      "AncestorCategoryId": "17b9084c-993c-4781-8cef-41417cc39f78",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "802f87ed-86cc-42cf-8c23-c948c4f41f6d",
          "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": "802f87ed-86cc-42cf-8c23-c948c4f41f6d",
          "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": "2881485c-a2b3-4836-87df-9beac5807b2a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0de23b15-fd36-49d6-8ddd-96c08ecb1820",
      "Sequence": 1,
      "AncestorCategoryId": "17b9084c-993c-4781-8cef-41417cc39f78",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "802f87ed-86cc-42cf-8c23-c948c4f41f6d",
          "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": "802f87ed-86cc-42cf-8c23-c948c4f41f6d",
          "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": "eb886e41-fe7e-450d-92e9-ab37ead00507",
    "CategoryId": "ef5d022f-a088-4b8a-b749-2a0395587157",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "9841f771-309e-4d83-a214-d73a38869875",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "9841f771-309e-4d83-a214-d73a38869875",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a1f4618c-cba3-4ed8-87d6-725119a1e19e",
      "Questions": [
        {
          "Id": "80a2f3d3-53d5-4262-a948-a6770f1456a0",
          "Answers": "sample string 2"
        },
        {
          "Id": "80a2f3d3-53d5-4262-a948-a6770f1456a0",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a1f4618c-cba3-4ed8-87d6-725119a1e19e",
      "Questions": [
        {
          "Id": "80a2f3d3-53d5-4262-a948-a6770f1456a0",
          "Answers": "sample string 2"
        },
        {
          "Id": "80a2f3d3-53d5-4262-a948-a6770f1456a0",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "3b431f6d-7c5e-45be-9648-47f73cc62f2b",
      "ContentItemId": "0cd08218-cfce-4294-96f7-19139682e548",
      "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-03-22T02:23:11.886779+00:00",
      "RescheduleDate": "2026-03-22T02:23:11.886779+00:00"
    },
    {
      "Id": "3b431f6d-7c5e-45be-9648-47f73cc62f2b",
      "ContentItemId": "0cd08218-cfce-4294-96f7-19139682e548",
      "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-03-22T02:23:11.886779+00:00",
      "RescheduleDate": "2026-03-22T02:23:11.886779+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "bd82a103-71e7-4959-bb56-13e331e3410f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-22T02:23:11.918028+00:00",
  "Registration": {
    "Id": "8ef42504-0929-478a-9250-cd1b1c8fccc9",
    "UserId": "bbf405b5-7cd8-45f0-abb2-d1a5d05e6340",
    "IsCurrent": true,
    "CenterId": "82224a0d-fe10-4450-ad67-79f79f4883c3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "7064a45d-708e-40b3-9811-6067316fdf29",
    "EndDate": "2026-03-22T02:23:11.886779+00:00",
    "StartDate": "2026-03-22T02:23:11.886779+00:00",
    "SchedulePreferenceDate": "2026-03-22T02:23:11.886779+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-03-22T02:23:11.886779+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2881485c-a2b3-4836-87df-9beac5807b2a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0de23b15-fd36-49d6-8ddd-96c08ecb1820",
      "Sequence": 1,
      "AncestorCategoryId": "17b9084c-993c-4781-8cef-41417cc39f78",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "802f87ed-86cc-42cf-8c23-c948c4f41f6d",
          "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": "802f87ed-86cc-42cf-8c23-c948c4f41f6d",
          "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": "2881485c-a2b3-4836-87df-9beac5807b2a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0de23b15-fd36-49d6-8ddd-96c08ecb1820",
      "Sequence": 1,
      "AncestorCategoryId": "17b9084c-993c-4781-8cef-41417cc39f78",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "802f87ed-86cc-42cf-8c23-c948c4f41f6d",
          "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": "802f87ed-86cc-42cf-8c23-c948c4f41f6d",
          "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": "eb886e41-fe7e-450d-92e9-ab37ead00507",
    "CategoryId": "ef5d022f-a088-4b8a-b749-2a0395587157",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "9841f771-309e-4d83-a214-d73a38869875",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "9841f771-309e-4d83-a214-d73a38869875",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a1f4618c-cba3-4ed8-87d6-725119a1e19e",
      "Questions": [
        {
          "Id": "80a2f3d3-53d5-4262-a948-a6770f1456a0",
          "Answers": "sample string 2"
        },
        {
          "Id": "80a2f3d3-53d5-4262-a948-a6770f1456a0",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a1f4618c-cba3-4ed8-87d6-725119a1e19e",
      "Questions": [
        {
          "Id": "80a2f3d3-53d5-4262-a948-a6770f1456a0",
          "Answers": "sample string 2"
        },
        {
          "Id": "80a2f3d3-53d5-4262-a948-a6770f1456a0",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "3b431f6d-7c5e-45be-9648-47f73cc62f2b",
      "ContentItemId": "0cd08218-cfce-4294-96f7-19139682e548",
      "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-03-22T02:23:11.886779+00:00",
      "RescheduleDate": "2026-03-22T02:23:11.886779+00:00"
    },
    {
      "Id": "3b431f6d-7c5e-45be-9648-47f73cc62f2b",
      "ContentItemId": "0cd08218-cfce-4294-96f7-19139682e548",
      "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-03-22T02:23:11.886779+00:00",
      "RescheduleDate": "2026-03-22T02:23:11.886779+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}