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": "fc98c50a-3567-4e8f-bd6c-125cb2524df7",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-03T09:13:32.0631008+00:00",
  "Registration": {
    "Id": "3082a98c-af92-4b04-bff0-803ae5abfab3",
    "UserId": "3e1cb5af-36d8-4473-8902-eafaff685506",
    "IsCurrent": true,
    "CenterId": "4c1a5437-41b8-407e-ada0-98e88e984a49",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d36afa2b-83cc-4b8d-8e83-eb19b0e24b51",
    "EndDate": "2026-12-03T09:13:32.0474743+00:00",
    "StartDate": "2026-12-03T09:13:32.0474743+00:00",
    "SchedulePreferenceDate": "2026-12-03T09:13:32.0474743+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-12-03T09:13:32.0474743+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "35b87c8b-7e91-4540-8401-b19ad3a8c833",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "02e38d39-6734-4e94-8de2-e4768a25e795",
      "Sequence": 1,
      "AncestorCategoryId": "63b762c1-eec1-41ed-b4c8-78098d758efc",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e1665fcb-5b97-4b01-b0ab-00b784c5992c",
          "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": "e1665fcb-5b97-4b01-b0ab-00b784c5992c",
          "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": "35b87c8b-7e91-4540-8401-b19ad3a8c833",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "02e38d39-6734-4e94-8de2-e4768a25e795",
      "Sequence": 1,
      "AncestorCategoryId": "63b762c1-eec1-41ed-b4c8-78098d758efc",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e1665fcb-5b97-4b01-b0ab-00b784c5992c",
          "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": "e1665fcb-5b97-4b01-b0ab-00b784c5992c",
          "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": "b800360d-bf7d-4650-87c4-44299eab5a49",
    "CategoryId": "e3aa5086-8b5b-452d-9870-32fa6351c793",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "9004b03e-4f01-4e8a-8df8-c7036d4b446f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "9004b03e-4f01-4e8a-8df8-c7036d4b446f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d86fd71a-59a9-4641-ac05-e7bc9c0fbb2e",
      "Questions": [
        {
          "Id": "5f94a9a2-cd13-4cfc-8b43-7065ddb24dad",
          "Answers": "sample string 2"
        },
        {
          "Id": "5f94a9a2-cd13-4cfc-8b43-7065ddb24dad",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d86fd71a-59a9-4641-ac05-e7bc9c0fbb2e",
      "Questions": [
        {
          "Id": "5f94a9a2-cd13-4cfc-8b43-7065ddb24dad",
          "Answers": "sample string 2"
        },
        {
          "Id": "5f94a9a2-cd13-4cfc-8b43-7065ddb24dad",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f633bfac-c924-4493-8cc7-7da5485385e4",
      "ContentItemId": "e65f6999-ed60-4580-a7e9-0db2c796874c",
      "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-12-03T09:13:32.0474743+00:00",
      "RescheduleDate": "2026-12-03T09:13:32.0474743+00:00"
    },
    {
      "Id": "f633bfac-c924-4493-8cc7-7da5485385e4",
      "ContentItemId": "e65f6999-ed60-4580-a7e9-0db2c796874c",
      "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-12-03T09:13:32.0474743+00:00",
      "RescheduleDate": "2026-12-03T09:13:32.0474743+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "fc98c50a-3567-4e8f-bd6c-125cb2524df7",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-03T09:13:32.0943524+00:00",
  "Registration": {
    "Id": "3082a98c-af92-4b04-bff0-803ae5abfab3",
    "UserId": "3e1cb5af-36d8-4473-8902-eafaff685506",
    "IsCurrent": true,
    "CenterId": "4c1a5437-41b8-407e-ada0-98e88e984a49",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d36afa2b-83cc-4b8d-8e83-eb19b0e24b51",
    "EndDate": "2026-12-03T09:13:32.0474743+00:00",
    "StartDate": "2026-12-03T09:13:32.0474743+00:00",
    "SchedulePreferenceDate": "2026-12-03T09:13:32.0474743+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-12-03T09:13:32.0474743+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "35b87c8b-7e91-4540-8401-b19ad3a8c833",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "02e38d39-6734-4e94-8de2-e4768a25e795",
      "Sequence": 1,
      "AncestorCategoryId": "63b762c1-eec1-41ed-b4c8-78098d758efc",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e1665fcb-5b97-4b01-b0ab-00b784c5992c",
          "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": "e1665fcb-5b97-4b01-b0ab-00b784c5992c",
          "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": "35b87c8b-7e91-4540-8401-b19ad3a8c833",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "02e38d39-6734-4e94-8de2-e4768a25e795",
      "Sequence": 1,
      "AncestorCategoryId": "63b762c1-eec1-41ed-b4c8-78098d758efc",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e1665fcb-5b97-4b01-b0ab-00b784c5992c",
          "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": "e1665fcb-5b97-4b01-b0ab-00b784c5992c",
          "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": "b800360d-bf7d-4650-87c4-44299eab5a49",
    "CategoryId": "e3aa5086-8b5b-452d-9870-32fa6351c793",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "9004b03e-4f01-4e8a-8df8-c7036d4b446f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "9004b03e-4f01-4e8a-8df8-c7036d4b446f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d86fd71a-59a9-4641-ac05-e7bc9c0fbb2e",
      "Questions": [
        {
          "Id": "5f94a9a2-cd13-4cfc-8b43-7065ddb24dad",
          "Answers": "sample string 2"
        },
        {
          "Id": "5f94a9a2-cd13-4cfc-8b43-7065ddb24dad",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d86fd71a-59a9-4641-ac05-e7bc9c0fbb2e",
      "Questions": [
        {
          "Id": "5f94a9a2-cd13-4cfc-8b43-7065ddb24dad",
          "Answers": "sample string 2"
        },
        {
          "Id": "5f94a9a2-cd13-4cfc-8b43-7065ddb24dad",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f633bfac-c924-4493-8cc7-7da5485385e4",
      "ContentItemId": "e65f6999-ed60-4580-a7e9-0db2c796874c",
      "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-12-03T09:13:32.0474743+00:00",
      "RescheduleDate": "2026-12-03T09:13:32.0474743+00:00"
    },
    {
      "Id": "f633bfac-c924-4493-8cc7-7da5485385e4",
      "ContentItemId": "e65f6999-ed60-4580-a7e9-0db2c796874c",
      "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-12-03T09:13:32.0474743+00:00",
      "RescheduleDate": "2026-12-03T09:13:32.0474743+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}