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": "ea559c3e-18d9-4bec-8d68-acdb0480f171",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-23T23:57:02.5466999+00:00",
  "Registration": {
    "Id": "0f37c3e9-8d72-4334-aa27-c3011afff369",
    "UserId": "fb7562b9-0330-4d65-989e-d0a21e657b3d",
    "IsCurrent": true,
    "CenterId": "5ecd53bc-e8e5-4fbd-915c-f43755b79695",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "37b83174-b6a6-4492-aecf-5e1cbb19b2ed",
    "EndDate": "2026-05-23T23:57:02.5310695+00:00",
    "StartDate": "2026-05-23T23:57:02.5310695+00:00",
    "SchedulePreferenceDate": "2026-05-23T23:57:02.5310695+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-05-23T23:57:02.5310695+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f69b5ada-efff-4594-8e9d-45d2f7d1bf90",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "51f783c1-4c4d-45a6-9002-c7011f7c8133",
      "Sequence": 1,
      "AncestorCategoryId": "c110aae3-44ba-4da6-a8ce-88ed760380ef",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c6a955cb-9376-4f88-b003-3088ace1aeaa",
          "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": "c6a955cb-9376-4f88-b003-3088ace1aeaa",
          "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": "f69b5ada-efff-4594-8e9d-45d2f7d1bf90",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "51f783c1-4c4d-45a6-9002-c7011f7c8133",
      "Sequence": 1,
      "AncestorCategoryId": "c110aae3-44ba-4da6-a8ce-88ed760380ef",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c6a955cb-9376-4f88-b003-3088ace1aeaa",
          "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": "c6a955cb-9376-4f88-b003-3088ace1aeaa",
          "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": "4e97178d-e472-4063-ad7e-507d52c06dc6",
    "CategoryId": "73947bf9-999f-4723-ae97-8a787132bb09",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "163838f1-194b-4467-8b0b-9e4c8c845248",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "163838f1-194b-4467-8b0b-9e4c8c845248",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "73a85f92-82b4-41c8-99fa-e9ad849d382c",
      "Questions": [
        {
          "Id": "e56d7ecf-70f0-4197-b1bd-d60b4a9cd054",
          "Answers": "sample string 2"
        },
        {
          "Id": "e56d7ecf-70f0-4197-b1bd-d60b4a9cd054",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "73a85f92-82b4-41c8-99fa-e9ad849d382c",
      "Questions": [
        {
          "Id": "e56d7ecf-70f0-4197-b1bd-d60b4a9cd054",
          "Answers": "sample string 2"
        },
        {
          "Id": "e56d7ecf-70f0-4197-b1bd-d60b4a9cd054",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "50a10c94-0c32-44b9-8790-f126bc863a69",
      "ContentItemId": "e8f340b1-eb24-4ee6-8061-898c4cf88912",
      "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-05-23T23:57:02.5310695+00:00",
      "RescheduleDate": "2026-05-23T23:57:02.5310695+00:00"
    },
    {
      "Id": "50a10c94-0c32-44b9-8790-f126bc863a69",
      "ContentItemId": "e8f340b1-eb24-4ee6-8061-898c4cf88912",
      "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-05-23T23:57:02.5310695+00:00",
      "RescheduleDate": "2026-05-23T23:57:02.5310695+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "ea559c3e-18d9-4bec-8d68-acdb0480f171",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-23T23:57:02.5779486+00:00",
  "Registration": {
    "Id": "0f37c3e9-8d72-4334-aa27-c3011afff369",
    "UserId": "fb7562b9-0330-4d65-989e-d0a21e657b3d",
    "IsCurrent": true,
    "CenterId": "5ecd53bc-e8e5-4fbd-915c-f43755b79695",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "37b83174-b6a6-4492-aecf-5e1cbb19b2ed",
    "EndDate": "2026-05-23T23:57:02.5310695+00:00",
    "StartDate": "2026-05-23T23:57:02.5310695+00:00",
    "SchedulePreferenceDate": "2026-05-23T23:57:02.5310695+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-05-23T23:57:02.5310695+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f69b5ada-efff-4594-8e9d-45d2f7d1bf90",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "51f783c1-4c4d-45a6-9002-c7011f7c8133",
      "Sequence": 1,
      "AncestorCategoryId": "c110aae3-44ba-4da6-a8ce-88ed760380ef",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c6a955cb-9376-4f88-b003-3088ace1aeaa",
          "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": "c6a955cb-9376-4f88-b003-3088ace1aeaa",
          "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": "f69b5ada-efff-4594-8e9d-45d2f7d1bf90",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "51f783c1-4c4d-45a6-9002-c7011f7c8133",
      "Sequence": 1,
      "AncestorCategoryId": "c110aae3-44ba-4da6-a8ce-88ed760380ef",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c6a955cb-9376-4f88-b003-3088ace1aeaa",
          "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": "c6a955cb-9376-4f88-b003-3088ace1aeaa",
          "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": "4e97178d-e472-4063-ad7e-507d52c06dc6",
    "CategoryId": "73947bf9-999f-4723-ae97-8a787132bb09",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "163838f1-194b-4467-8b0b-9e4c8c845248",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "163838f1-194b-4467-8b0b-9e4c8c845248",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "73a85f92-82b4-41c8-99fa-e9ad849d382c",
      "Questions": [
        {
          "Id": "e56d7ecf-70f0-4197-b1bd-d60b4a9cd054",
          "Answers": "sample string 2"
        },
        {
          "Id": "e56d7ecf-70f0-4197-b1bd-d60b4a9cd054",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "73a85f92-82b4-41c8-99fa-e9ad849d382c",
      "Questions": [
        {
          "Id": "e56d7ecf-70f0-4197-b1bd-d60b4a9cd054",
          "Answers": "sample string 2"
        },
        {
          "Id": "e56d7ecf-70f0-4197-b1bd-d60b4a9cd054",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "50a10c94-0c32-44b9-8790-f126bc863a69",
      "ContentItemId": "e8f340b1-eb24-4ee6-8061-898c4cf88912",
      "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-05-23T23:57:02.5310695+00:00",
      "RescheduleDate": "2026-05-23T23:57:02.5310695+00:00"
    },
    {
      "Id": "50a10c94-0c32-44b9-8790-f126bc863a69",
      "ContentItemId": "e8f340b1-eb24-4ee6-8061-898c4cf88912",
      "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-05-23T23:57:02.5310695+00:00",
      "RescheduleDate": "2026-05-23T23:57:02.5310695+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}