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": "3e0f37a8-b437-4bc3-9ccf-b8fbf4f39c35",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-04T13:28:59.6745715+00:00",
  "Registration": {
    "Id": "971c1641-2f9a-42cf-b03a-11a398c1c6fc",
    "UserId": "1f554f87-cd84-4e45-98c3-8fad90799169",
    "IsCurrent": true,
    "CenterId": "f4b052c0-5054-4d68-9512-9f96694c7f7e",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c63c582e-d532-4cd4-a814-bf7058a838b4",
    "EndDate": "2026-04-04T13:28:59.646181+00:00",
    "StartDate": "2026-04-04T13:28:59.646181+00:00",
    "SchedulePreferenceDate": "2026-04-04T13:28:59.646181+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-04-04T13:28:59.646181+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "7d015193-59c6-45d0-8f03-91d769ef51ca",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "94e04fe6-7063-4ee8-bf83-2c3dfed48897",
      "Sequence": 1,
      "AncestorCategoryId": "ef84c02a-00cb-46af-94ea-3dcdeca5b9cb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1ed2ba2c-00d3-4d8a-87d4-c06bcbf922bf",
          "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": "1ed2ba2c-00d3-4d8a-87d4-c06bcbf922bf",
          "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": "7d015193-59c6-45d0-8f03-91d769ef51ca",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "94e04fe6-7063-4ee8-bf83-2c3dfed48897",
      "Sequence": 1,
      "AncestorCategoryId": "ef84c02a-00cb-46af-94ea-3dcdeca5b9cb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1ed2ba2c-00d3-4d8a-87d4-c06bcbf922bf",
          "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": "1ed2ba2c-00d3-4d8a-87d4-c06bcbf922bf",
          "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": "026c3289-34a9-4c3e-a2d8-dd2873ae1ec2",
    "CategoryId": "bffa91aa-74a0-41a8-8b3f-dc0051bb89fc",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a4a10fcd-07b6-4f0a-9881-b95bd7796ab7",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a4a10fcd-07b6-4f0a-9881-b95bd7796ab7",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "833f2407-501c-4253-bfa5-cf3322015fa1",
      "Questions": [
        {
          "Id": "a3c55ca0-8911-4edd-bf58-9442ccf3c6cc",
          "Answers": "sample string 2"
        },
        {
          "Id": "a3c55ca0-8911-4edd-bf58-9442ccf3c6cc",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "833f2407-501c-4253-bfa5-cf3322015fa1",
      "Questions": [
        {
          "Id": "a3c55ca0-8911-4edd-bf58-9442ccf3c6cc",
          "Answers": "sample string 2"
        },
        {
          "Id": "a3c55ca0-8911-4edd-bf58-9442ccf3c6cc",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "575de6e6-f795-48cc-829b-ce7e1f570e75",
      "ContentItemId": "657b0490-a8b3-4e95-b71d-fa55edf84920",
      "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-04-04T13:28:59.646181+00:00",
      "RescheduleDate": "2026-04-04T13:28:59.646181+00:00"
    },
    {
      "Id": "575de6e6-f795-48cc-829b-ce7e1f570e75",
      "ContentItemId": "657b0490-a8b3-4e95-b71d-fa55edf84920",
      "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-04-04T13:28:59.646181+00:00",
      "RescheduleDate": "2026-04-04T13:28:59.646181+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "3e0f37a8-b437-4bc3-9ccf-b8fbf4f39c35",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-04T13:28:59.7683435+00:00",
  "Registration": {
    "Id": "971c1641-2f9a-42cf-b03a-11a398c1c6fc",
    "UserId": "1f554f87-cd84-4e45-98c3-8fad90799169",
    "IsCurrent": true,
    "CenterId": "f4b052c0-5054-4d68-9512-9f96694c7f7e",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c63c582e-d532-4cd4-a814-bf7058a838b4",
    "EndDate": "2026-04-04T13:28:59.646181+00:00",
    "StartDate": "2026-04-04T13:28:59.646181+00:00",
    "SchedulePreferenceDate": "2026-04-04T13:28:59.646181+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-04-04T13:28:59.646181+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "7d015193-59c6-45d0-8f03-91d769ef51ca",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "94e04fe6-7063-4ee8-bf83-2c3dfed48897",
      "Sequence": 1,
      "AncestorCategoryId": "ef84c02a-00cb-46af-94ea-3dcdeca5b9cb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1ed2ba2c-00d3-4d8a-87d4-c06bcbf922bf",
          "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": "1ed2ba2c-00d3-4d8a-87d4-c06bcbf922bf",
          "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": "7d015193-59c6-45d0-8f03-91d769ef51ca",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "94e04fe6-7063-4ee8-bf83-2c3dfed48897",
      "Sequence": 1,
      "AncestorCategoryId": "ef84c02a-00cb-46af-94ea-3dcdeca5b9cb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1ed2ba2c-00d3-4d8a-87d4-c06bcbf922bf",
          "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": "1ed2ba2c-00d3-4d8a-87d4-c06bcbf922bf",
          "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": "026c3289-34a9-4c3e-a2d8-dd2873ae1ec2",
    "CategoryId": "bffa91aa-74a0-41a8-8b3f-dc0051bb89fc",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a4a10fcd-07b6-4f0a-9881-b95bd7796ab7",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a4a10fcd-07b6-4f0a-9881-b95bd7796ab7",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "833f2407-501c-4253-bfa5-cf3322015fa1",
      "Questions": [
        {
          "Id": "a3c55ca0-8911-4edd-bf58-9442ccf3c6cc",
          "Answers": "sample string 2"
        },
        {
          "Id": "a3c55ca0-8911-4edd-bf58-9442ccf3c6cc",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "833f2407-501c-4253-bfa5-cf3322015fa1",
      "Questions": [
        {
          "Id": "a3c55ca0-8911-4edd-bf58-9442ccf3c6cc",
          "Answers": "sample string 2"
        },
        {
          "Id": "a3c55ca0-8911-4edd-bf58-9442ccf3c6cc",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "575de6e6-f795-48cc-829b-ce7e1f570e75",
      "ContentItemId": "657b0490-a8b3-4e95-b71d-fa55edf84920",
      "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-04-04T13:28:59.646181+00:00",
      "RescheduleDate": "2026-04-04T13:28:59.646181+00:00"
    },
    {
      "Id": "575de6e6-f795-48cc-829b-ce7e1f570e75",
      "ContentItemId": "657b0490-a8b3-4e95-b71d-fa55edf84920",
      "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-04-04T13:28:59.646181+00:00",
      "RescheduleDate": "2026-04-04T13:28:59.646181+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}