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": "99353ef0-196a-4f2d-877a-2e4a0391730a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-02T23:09:19.9707307+00:00",
  "Registration": {
    "Id": "b2843288-77db-479c-940f-26a83dc31a8e",
    "UserId": "386db2f4-131c-40d8-bec1-3a7351aedc0e",
    "IsCurrent": true,
    "CenterId": "156a159d-f39f-4258-8b05-cfad2e376646",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "680f6b22-bdb9-4008-a6b5-34fc0fd508c0",
    "EndDate": "2026-08-02T23:09:19.9551076+00:00",
    "StartDate": "2026-08-02T23:09:19.9551076+00:00",
    "SchedulePreferenceDate": "2026-08-02T23:09:19.9551076+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-08-02T23:09:19.9551076+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8f0c6a48-df7c-4f6d-9bc0-aa4401787ff4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be7eab8d-13dc-44a5-aa6b-d9629687add2",
      "Sequence": 1,
      "AncestorCategoryId": "a116ebde-2284-46b5-a86a-3aa0372ebafe",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9abb81b3-d766-4bd2-86de-1dd57393c67c",
          "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": "9abb81b3-d766-4bd2-86de-1dd57393c67c",
          "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": "8f0c6a48-df7c-4f6d-9bc0-aa4401787ff4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be7eab8d-13dc-44a5-aa6b-d9629687add2",
      "Sequence": 1,
      "AncestorCategoryId": "a116ebde-2284-46b5-a86a-3aa0372ebafe",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9abb81b3-d766-4bd2-86de-1dd57393c67c",
          "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": "9abb81b3-d766-4bd2-86de-1dd57393c67c",
          "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": "0a0d8e51-39f4-4b0e-b6fd-4dd2f4405091",
    "CategoryId": "6ff2a8dd-ab6e-4ea7-a47e-84262fef21e1",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "215b8853-aeae-419c-86c9-7ac88ee3a9f7",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "215b8853-aeae-419c-86c9-7ac88ee3a9f7",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "71e837b5-a877-45bd-aab4-3b4272a28c7a",
      "Questions": [
        {
          "Id": "f82991f6-9071-4158-8475-719d1c74ebb4",
          "Answers": "sample string 2"
        },
        {
          "Id": "f82991f6-9071-4158-8475-719d1c74ebb4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "71e837b5-a877-45bd-aab4-3b4272a28c7a",
      "Questions": [
        {
          "Id": "f82991f6-9071-4158-8475-719d1c74ebb4",
          "Answers": "sample string 2"
        },
        {
          "Id": "f82991f6-9071-4158-8475-719d1c74ebb4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "67cfb696-6242-47bc-b174-e04df3497142",
      "ContentItemId": "b6b0195a-2d7f-4e98-84ab-77360e5b5107",
      "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-08-02T23:09:19.9551076+00:00",
      "RescheduleDate": "2026-08-02T23:09:19.9551076+00:00"
    },
    {
      "Id": "67cfb696-6242-47bc-b174-e04df3497142",
      "ContentItemId": "b6b0195a-2d7f-4e98-84ab-77360e5b5107",
      "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-08-02T23:09:19.9551076+00:00",
      "RescheduleDate": "2026-08-02T23:09:19.9551076+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "99353ef0-196a-4f2d-877a-2e4a0391730a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-02T23:09:19.9863545+00:00",
  "Registration": {
    "Id": "b2843288-77db-479c-940f-26a83dc31a8e",
    "UserId": "386db2f4-131c-40d8-bec1-3a7351aedc0e",
    "IsCurrent": true,
    "CenterId": "156a159d-f39f-4258-8b05-cfad2e376646",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "680f6b22-bdb9-4008-a6b5-34fc0fd508c0",
    "EndDate": "2026-08-02T23:09:19.9551076+00:00",
    "StartDate": "2026-08-02T23:09:19.9551076+00:00",
    "SchedulePreferenceDate": "2026-08-02T23:09:19.9551076+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-08-02T23:09:19.9551076+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8f0c6a48-df7c-4f6d-9bc0-aa4401787ff4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be7eab8d-13dc-44a5-aa6b-d9629687add2",
      "Sequence": 1,
      "AncestorCategoryId": "a116ebde-2284-46b5-a86a-3aa0372ebafe",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9abb81b3-d766-4bd2-86de-1dd57393c67c",
          "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": "9abb81b3-d766-4bd2-86de-1dd57393c67c",
          "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": "8f0c6a48-df7c-4f6d-9bc0-aa4401787ff4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "be7eab8d-13dc-44a5-aa6b-d9629687add2",
      "Sequence": 1,
      "AncestorCategoryId": "a116ebde-2284-46b5-a86a-3aa0372ebafe",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9abb81b3-d766-4bd2-86de-1dd57393c67c",
          "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": "9abb81b3-d766-4bd2-86de-1dd57393c67c",
          "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": "0a0d8e51-39f4-4b0e-b6fd-4dd2f4405091",
    "CategoryId": "6ff2a8dd-ab6e-4ea7-a47e-84262fef21e1",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "215b8853-aeae-419c-86c9-7ac88ee3a9f7",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "215b8853-aeae-419c-86c9-7ac88ee3a9f7",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "71e837b5-a877-45bd-aab4-3b4272a28c7a",
      "Questions": [
        {
          "Id": "f82991f6-9071-4158-8475-719d1c74ebb4",
          "Answers": "sample string 2"
        },
        {
          "Id": "f82991f6-9071-4158-8475-719d1c74ebb4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "71e837b5-a877-45bd-aab4-3b4272a28c7a",
      "Questions": [
        {
          "Id": "f82991f6-9071-4158-8475-719d1c74ebb4",
          "Answers": "sample string 2"
        },
        {
          "Id": "f82991f6-9071-4158-8475-719d1c74ebb4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "67cfb696-6242-47bc-b174-e04df3497142",
      "ContentItemId": "b6b0195a-2d7f-4e98-84ab-77360e5b5107",
      "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-08-02T23:09:19.9551076+00:00",
      "RescheduleDate": "2026-08-02T23:09:19.9551076+00:00"
    },
    {
      "Id": "67cfb696-6242-47bc-b174-e04df3497142",
      "ContentItemId": "b6b0195a-2d7f-4e98-84ab-77360e5b5107",
      "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-08-02T23:09:19.9551076+00:00",
      "RescheduleDate": "2026-08-02T23:09:19.9551076+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}