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": "51f7b004-a927-4e1e-bf01-eeff6c76d29c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-09T01:02:30.8121403+00:00",
  "Registration": {
    "Id": "0b1e04be-a2ab-4c1d-b55e-31f72ffb2d92",
    "UserId": "7b8e8875-2957-4f32-89bf-642149de0d27",
    "IsCurrent": true,
    "CenterId": "62b407db-84f9-4750-a5a7-6748ecbad52b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "3e3dd518-e1c8-4efc-bec7-7f87a4a836a6",
    "EndDate": "2026-07-09T01:02:30.7965182+00:00",
    "StartDate": "2026-07-09T01:02:30.7965182+00:00",
    "SchedulePreferenceDate": "2026-07-09T01:02:30.7965182+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-07-09T01:02:30.7965182+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "4ea57e1e-e00a-4931-81e3-f506d185e29d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a159fe37-ea75-48ed-bd9d-72a40e16a481",
      "Sequence": 1,
      "AncestorCategoryId": "6d1c864f-5175-4edc-9573-cbfbfbc2ad5c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5dfadf40-f55d-40f2-86de-0cb6de0825d7",
          "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": "5dfadf40-f55d-40f2-86de-0cb6de0825d7",
          "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": "4ea57e1e-e00a-4931-81e3-f506d185e29d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a159fe37-ea75-48ed-bd9d-72a40e16a481",
      "Sequence": 1,
      "AncestorCategoryId": "6d1c864f-5175-4edc-9573-cbfbfbc2ad5c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5dfadf40-f55d-40f2-86de-0cb6de0825d7",
          "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": "5dfadf40-f55d-40f2-86de-0cb6de0825d7",
          "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": "d38389b0-1088-4ff1-b598-66575af35294",
    "CategoryId": "c049f94d-efc3-4377-83d4-3dd003671313",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "83253933-fabb-4606-aa76-309b8f793e09",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "83253933-fabb-4606-aa76-309b8f793e09",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "be08d20f-4e06-490d-a4d1-27d0f91327f3",
      "Questions": [
        {
          "Id": "5fb98739-f14b-42ce-a597-62ee09b1563d",
          "Answers": "sample string 2"
        },
        {
          "Id": "5fb98739-f14b-42ce-a597-62ee09b1563d",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "be08d20f-4e06-490d-a4d1-27d0f91327f3",
      "Questions": [
        {
          "Id": "5fb98739-f14b-42ce-a597-62ee09b1563d",
          "Answers": "sample string 2"
        },
        {
          "Id": "5fb98739-f14b-42ce-a597-62ee09b1563d",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "66e89c11-4fa8-4753-b4aa-480996455e47",
      "ContentItemId": "e033fd86-e83f-4a94-bfd1-747240100050",
      "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-07-09T01:02:30.7965182+00:00",
      "RescheduleDate": "2026-07-09T01:02:30.7965182+00:00"
    },
    {
      "Id": "66e89c11-4fa8-4753-b4aa-480996455e47",
      "ContentItemId": "e033fd86-e83f-4a94-bfd1-747240100050",
      "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-07-09T01:02:30.7965182+00:00",
      "RescheduleDate": "2026-07-09T01:02:30.7965182+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "51f7b004-a927-4e1e-bf01-eeff6c76d29c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-09T01:02:30.8433921+00:00",
  "Registration": {
    "Id": "0b1e04be-a2ab-4c1d-b55e-31f72ffb2d92",
    "UserId": "7b8e8875-2957-4f32-89bf-642149de0d27",
    "IsCurrent": true,
    "CenterId": "62b407db-84f9-4750-a5a7-6748ecbad52b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "3e3dd518-e1c8-4efc-bec7-7f87a4a836a6",
    "EndDate": "2026-07-09T01:02:30.7965182+00:00",
    "StartDate": "2026-07-09T01:02:30.7965182+00:00",
    "SchedulePreferenceDate": "2026-07-09T01:02:30.7965182+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-07-09T01:02:30.7965182+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "4ea57e1e-e00a-4931-81e3-f506d185e29d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a159fe37-ea75-48ed-bd9d-72a40e16a481",
      "Sequence": 1,
      "AncestorCategoryId": "6d1c864f-5175-4edc-9573-cbfbfbc2ad5c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5dfadf40-f55d-40f2-86de-0cb6de0825d7",
          "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": "5dfadf40-f55d-40f2-86de-0cb6de0825d7",
          "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": "4ea57e1e-e00a-4931-81e3-f506d185e29d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a159fe37-ea75-48ed-bd9d-72a40e16a481",
      "Sequence": 1,
      "AncestorCategoryId": "6d1c864f-5175-4edc-9573-cbfbfbc2ad5c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5dfadf40-f55d-40f2-86de-0cb6de0825d7",
          "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": "5dfadf40-f55d-40f2-86de-0cb6de0825d7",
          "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": "d38389b0-1088-4ff1-b598-66575af35294",
    "CategoryId": "c049f94d-efc3-4377-83d4-3dd003671313",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "83253933-fabb-4606-aa76-309b8f793e09",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "83253933-fabb-4606-aa76-309b8f793e09",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "be08d20f-4e06-490d-a4d1-27d0f91327f3",
      "Questions": [
        {
          "Id": "5fb98739-f14b-42ce-a597-62ee09b1563d",
          "Answers": "sample string 2"
        },
        {
          "Id": "5fb98739-f14b-42ce-a597-62ee09b1563d",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "be08d20f-4e06-490d-a4d1-27d0f91327f3",
      "Questions": [
        {
          "Id": "5fb98739-f14b-42ce-a597-62ee09b1563d",
          "Answers": "sample string 2"
        },
        {
          "Id": "5fb98739-f14b-42ce-a597-62ee09b1563d",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "66e89c11-4fa8-4753-b4aa-480996455e47",
      "ContentItemId": "e033fd86-e83f-4a94-bfd1-747240100050",
      "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-07-09T01:02:30.7965182+00:00",
      "RescheduleDate": "2026-07-09T01:02:30.7965182+00:00"
    },
    {
      "Id": "66e89c11-4fa8-4753-b4aa-480996455e47",
      "ContentItemId": "e033fd86-e83f-4a94-bfd1-747240100050",
      "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-07-09T01:02:30.7965182+00:00",
      "RescheduleDate": "2026-07-09T01:02:30.7965182+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}