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": "e56784bf-f05d-4e28-bfda-b1e049de8eff",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-30T13:50:23.6451426+00:00",
  "Registration": {
    "Id": "e8205a0e-1bce-4db5-8060-166cf79b5861",
    "UserId": "bad0bc91-0197-45dc-843f-55e90027459e",
    "IsCurrent": true,
    "CenterId": "9141d8a6-473c-4474-b3d6-b25907f7c60b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "bfac1c28-a731-4ba9-8ff8-ab9f7d5c2b10",
    "EndDate": "2026-10-30T13:50:23.6295205+00:00",
    "StartDate": "2026-10-30T13:50:23.6295205+00:00",
    "SchedulePreferenceDate": "2026-10-30T13:50:23.6295205+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-10-30T13:50:23.6295205+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "6773e5b3-2a25-41be-a83a-d15eda580b11",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "56bdbb71-c772-4bd8-a103-196a4ea314f2",
      "Sequence": 1,
      "AncestorCategoryId": "df9ce71e-a9ef-4aa8-8ed1-878a0114635a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a3f6ed64-c427-493f-885a-1de5a1283ad0",
          "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": "a3f6ed64-c427-493f-885a-1de5a1283ad0",
          "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": "6773e5b3-2a25-41be-a83a-d15eda580b11",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "56bdbb71-c772-4bd8-a103-196a4ea314f2",
      "Sequence": 1,
      "AncestorCategoryId": "df9ce71e-a9ef-4aa8-8ed1-878a0114635a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a3f6ed64-c427-493f-885a-1de5a1283ad0",
          "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": "a3f6ed64-c427-493f-885a-1de5a1283ad0",
          "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": "a75466ea-ec71-4b52-bdca-7295383e700a",
    "CategoryId": "25d3dfcf-0c1a-425d-9730-5b96be6a08c7",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "bd105418-e5d6-4f10-bc48-d2cb34931aef",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "bd105418-e5d6-4f10-bc48-d2cb34931aef",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "379635cf-593a-4874-8f4a-d1f5b7db4616",
      "Questions": [
        {
          "Id": "a12c5175-6873-4e37-8ddd-e1d2dd382d3f",
          "Answers": "sample string 2"
        },
        {
          "Id": "a12c5175-6873-4e37-8ddd-e1d2dd382d3f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "379635cf-593a-4874-8f4a-d1f5b7db4616",
      "Questions": [
        {
          "Id": "a12c5175-6873-4e37-8ddd-e1d2dd382d3f",
          "Answers": "sample string 2"
        },
        {
          "Id": "a12c5175-6873-4e37-8ddd-e1d2dd382d3f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "59e12cb6-f388-46fa-8d43-f4ff6093a2e6",
      "ContentItemId": "41960fa3-7330-476b-b191-529f13b1fce0",
      "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-10-30T13:50:23.6295205+00:00",
      "RescheduleDate": "2026-10-30T13:50:23.6295205+00:00"
    },
    {
      "Id": "59e12cb6-f388-46fa-8d43-f4ff6093a2e6",
      "ContentItemId": "41960fa3-7330-476b-b191-529f13b1fce0",
      "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-10-30T13:50:23.6295205+00:00",
      "RescheduleDate": "2026-10-30T13:50:23.6295205+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "e56784bf-f05d-4e28-bfda-b1e049de8eff",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-30T13:50:23.6763932+00:00",
  "Registration": {
    "Id": "e8205a0e-1bce-4db5-8060-166cf79b5861",
    "UserId": "bad0bc91-0197-45dc-843f-55e90027459e",
    "IsCurrent": true,
    "CenterId": "9141d8a6-473c-4474-b3d6-b25907f7c60b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "bfac1c28-a731-4ba9-8ff8-ab9f7d5c2b10",
    "EndDate": "2026-10-30T13:50:23.6295205+00:00",
    "StartDate": "2026-10-30T13:50:23.6295205+00:00",
    "SchedulePreferenceDate": "2026-10-30T13:50:23.6295205+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-10-30T13:50:23.6295205+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "6773e5b3-2a25-41be-a83a-d15eda580b11",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "56bdbb71-c772-4bd8-a103-196a4ea314f2",
      "Sequence": 1,
      "AncestorCategoryId": "df9ce71e-a9ef-4aa8-8ed1-878a0114635a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a3f6ed64-c427-493f-885a-1de5a1283ad0",
          "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": "a3f6ed64-c427-493f-885a-1de5a1283ad0",
          "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": "6773e5b3-2a25-41be-a83a-d15eda580b11",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "56bdbb71-c772-4bd8-a103-196a4ea314f2",
      "Sequence": 1,
      "AncestorCategoryId": "df9ce71e-a9ef-4aa8-8ed1-878a0114635a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a3f6ed64-c427-493f-885a-1de5a1283ad0",
          "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": "a3f6ed64-c427-493f-885a-1de5a1283ad0",
          "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": "a75466ea-ec71-4b52-bdca-7295383e700a",
    "CategoryId": "25d3dfcf-0c1a-425d-9730-5b96be6a08c7",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "bd105418-e5d6-4f10-bc48-d2cb34931aef",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "bd105418-e5d6-4f10-bc48-d2cb34931aef",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "379635cf-593a-4874-8f4a-d1f5b7db4616",
      "Questions": [
        {
          "Id": "a12c5175-6873-4e37-8ddd-e1d2dd382d3f",
          "Answers": "sample string 2"
        },
        {
          "Id": "a12c5175-6873-4e37-8ddd-e1d2dd382d3f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "379635cf-593a-4874-8f4a-d1f5b7db4616",
      "Questions": [
        {
          "Id": "a12c5175-6873-4e37-8ddd-e1d2dd382d3f",
          "Answers": "sample string 2"
        },
        {
          "Id": "a12c5175-6873-4e37-8ddd-e1d2dd382d3f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "59e12cb6-f388-46fa-8d43-f4ff6093a2e6",
      "ContentItemId": "41960fa3-7330-476b-b191-529f13b1fce0",
      "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-10-30T13:50:23.6295205+00:00",
      "RescheduleDate": "2026-10-30T13:50:23.6295205+00:00"
    },
    {
      "Id": "59e12cb6-f388-46fa-8d43-f4ff6093a2e6",
      "ContentItemId": "41960fa3-7330-476b-b191-529f13b1fce0",
      "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-10-30T13:50:23.6295205+00:00",
      "RescheduleDate": "2026-10-30T13:50:23.6295205+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}