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": "c359a225-687a-4cd5-a97e-e742d6a261dc",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-22T10:02:18.5835334+00:00",
  "Registration": {
    "Id": "28d271ad-0691-4246-8562-6554d66b8e9c",
    "UserId": "7c85b6f6-9408-482c-b20d-531c8b5f7ce1",
    "IsCurrent": true,
    "CenterId": "4ad64f86-0e83-45fe-b78f-bfce5d4dded2",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "00ce3dfe-192e-4033-b2db-5d430b41b17e",
    "EndDate": "2026-03-22T10:02:18.5835334+00:00",
    "StartDate": "2026-03-22T10:02:18.5835334+00:00",
    "SchedulePreferenceDate": "2026-03-22T10:02:18.5835334+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-22T10:02:18.5835334+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2a6a8185-ad86-407e-a741-6ef3561dccb4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "22136801-cb8c-46c3-9915-4fd7c6db3f94",
      "Sequence": 1,
      "AncestorCategoryId": "d4fb632b-d6f0-47fb-8750-60ef30243efa",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "94425c66-8592-4728-83b1-29b13ede95cf",
          "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": "94425c66-8592-4728-83b1-29b13ede95cf",
          "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": "2a6a8185-ad86-407e-a741-6ef3561dccb4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "22136801-cb8c-46c3-9915-4fd7c6db3f94",
      "Sequence": 1,
      "AncestorCategoryId": "d4fb632b-d6f0-47fb-8750-60ef30243efa",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "94425c66-8592-4728-83b1-29b13ede95cf",
          "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": "94425c66-8592-4728-83b1-29b13ede95cf",
          "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": "9a63929a-4fa2-41ee-8fdb-74f5c64a1e6d",
    "CategoryId": "fa216156-5319-43dc-9c1f-6fd87eebc0a4",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "7ef4dbb2-c7cc-4969-87e7-26ccfc228f17",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "7ef4dbb2-c7cc-4969-87e7-26ccfc228f17",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "bb29ced1-a866-450a-a11a-e83642d91a94",
      "Questions": [
        {
          "Id": "9f1f4d08-852f-4e0e-8a4c-849e0ba8a942",
          "Answers": "sample string 2"
        },
        {
          "Id": "9f1f4d08-852f-4e0e-8a4c-849e0ba8a942",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "bb29ced1-a866-450a-a11a-e83642d91a94",
      "Questions": [
        {
          "Id": "9f1f4d08-852f-4e0e-8a4c-849e0ba8a942",
          "Answers": "sample string 2"
        },
        {
          "Id": "9f1f4d08-852f-4e0e-8a4c-849e0ba8a942",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "aad17978-8e53-4516-b4b6-55f0f9fd03c6",
      "ContentItemId": "f97eb317-89f4-491b-8185-0af4b6fb70eb",
      "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-22T10:02:18.5835334+00:00",
      "RescheduleDate": "2026-03-22T10:02:18.5835334+00:00"
    },
    {
      "Id": "aad17978-8e53-4516-b4b6-55f0f9fd03c6",
      "ContentItemId": "f97eb317-89f4-491b-8185-0af4b6fb70eb",
      "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-22T10:02:18.5835334+00:00",
      "RescheduleDate": "2026-03-22T10:02:18.5835334+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "c359a225-687a-4cd5-a97e-e742d6a261dc",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-22T10:02:18.6304147+00:00",
  "Registration": {
    "Id": "28d271ad-0691-4246-8562-6554d66b8e9c",
    "UserId": "7c85b6f6-9408-482c-b20d-531c8b5f7ce1",
    "IsCurrent": true,
    "CenterId": "4ad64f86-0e83-45fe-b78f-bfce5d4dded2",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "00ce3dfe-192e-4033-b2db-5d430b41b17e",
    "EndDate": "2026-03-22T10:02:18.5835334+00:00",
    "StartDate": "2026-03-22T10:02:18.5835334+00:00",
    "SchedulePreferenceDate": "2026-03-22T10:02:18.5835334+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-22T10:02:18.5835334+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2a6a8185-ad86-407e-a741-6ef3561dccb4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "22136801-cb8c-46c3-9915-4fd7c6db3f94",
      "Sequence": 1,
      "AncestorCategoryId": "d4fb632b-d6f0-47fb-8750-60ef30243efa",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "94425c66-8592-4728-83b1-29b13ede95cf",
          "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": "94425c66-8592-4728-83b1-29b13ede95cf",
          "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": "2a6a8185-ad86-407e-a741-6ef3561dccb4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "22136801-cb8c-46c3-9915-4fd7c6db3f94",
      "Sequence": 1,
      "AncestorCategoryId": "d4fb632b-d6f0-47fb-8750-60ef30243efa",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "94425c66-8592-4728-83b1-29b13ede95cf",
          "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": "94425c66-8592-4728-83b1-29b13ede95cf",
          "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": "9a63929a-4fa2-41ee-8fdb-74f5c64a1e6d",
    "CategoryId": "fa216156-5319-43dc-9c1f-6fd87eebc0a4",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "7ef4dbb2-c7cc-4969-87e7-26ccfc228f17",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "7ef4dbb2-c7cc-4969-87e7-26ccfc228f17",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "bb29ced1-a866-450a-a11a-e83642d91a94",
      "Questions": [
        {
          "Id": "9f1f4d08-852f-4e0e-8a4c-849e0ba8a942",
          "Answers": "sample string 2"
        },
        {
          "Id": "9f1f4d08-852f-4e0e-8a4c-849e0ba8a942",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "bb29ced1-a866-450a-a11a-e83642d91a94",
      "Questions": [
        {
          "Id": "9f1f4d08-852f-4e0e-8a4c-849e0ba8a942",
          "Answers": "sample string 2"
        },
        {
          "Id": "9f1f4d08-852f-4e0e-8a4c-849e0ba8a942",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "aad17978-8e53-4516-b4b6-55f0f9fd03c6",
      "ContentItemId": "f97eb317-89f4-491b-8185-0af4b6fb70eb",
      "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-22T10:02:18.5835334+00:00",
      "RescheduleDate": "2026-03-22T10:02:18.5835334+00:00"
    },
    {
      "Id": "aad17978-8e53-4516-b4b6-55f0f9fd03c6",
      "ContentItemId": "f97eb317-89f4-491b-8185-0af4b6fb70eb",
      "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-22T10:02:18.5835334+00:00",
      "RescheduleDate": "2026-03-22T10:02:18.5835334+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}