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": "2f367a11-57b1-4080-95a7-e9c229bcaf4b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-20T05:18:42.1132412+00:00",
  "Registration": {
    "Id": "5c269f73-fe39-470c-940a-a64d0a922927",
    "UserId": "30403534-a7ec-4fb4-b185-5601dbcb2d25",
    "IsCurrent": true,
    "CenterId": "afabf0ed-f4b5-4fa7-9902-82fe80db86cc",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "b75446db-d4df-41d4-95f5-852e45012889",
    "EndDate": "2026-10-20T05:18:42.0976129+00:00",
    "StartDate": "2026-10-20T05:18:42.0976129+00:00",
    "SchedulePreferenceDate": "2026-10-20T05:18:42.0976129+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-20T05:18:42.0976129+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "bcc0ac48-284b-4abe-bd59-543c274c99f9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "94fab88a-8d08-4419-af0c-b16816d93c6d",
      "Sequence": 1,
      "AncestorCategoryId": "0097139a-50f1-4053-bc92-1ed2ef415c3a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f94f286d-0b08-481e-a5ae-39eece36228f",
          "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": "f94f286d-0b08-481e-a5ae-39eece36228f",
          "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": "bcc0ac48-284b-4abe-bd59-543c274c99f9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "94fab88a-8d08-4419-af0c-b16816d93c6d",
      "Sequence": 1,
      "AncestorCategoryId": "0097139a-50f1-4053-bc92-1ed2ef415c3a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f94f286d-0b08-481e-a5ae-39eece36228f",
          "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": "f94f286d-0b08-481e-a5ae-39eece36228f",
          "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": "53ae8186-86fd-43d6-8384-22da4d05400c",
    "CategoryId": "754995c4-e1ff-4810-baa4-8af94001af93",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "75ac09ac-d3d6-498b-88cb-691dbc290261",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "75ac09ac-d3d6-498b-88cb-691dbc290261",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e84704e0-0754-45ab-a26e-76109df3f791",
      "Questions": [
        {
          "Id": "c2f710d1-f4bb-4168-894b-55b76eb6b1d8",
          "Answers": "sample string 2"
        },
        {
          "Id": "c2f710d1-f4bb-4168-894b-55b76eb6b1d8",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e84704e0-0754-45ab-a26e-76109df3f791",
      "Questions": [
        {
          "Id": "c2f710d1-f4bb-4168-894b-55b76eb6b1d8",
          "Answers": "sample string 2"
        },
        {
          "Id": "c2f710d1-f4bb-4168-894b-55b76eb6b1d8",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "64c3de1e-eb10-4a95-82b7-3d016e7eef87",
      "ContentItemId": "a1766908-e65d-4b35-b02f-999ca869dda4",
      "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-20T05:18:42.1132412+00:00",
      "RescheduleDate": "2026-10-20T05:18:42.1132412+00:00"
    },
    {
      "Id": "64c3de1e-eb10-4a95-82b7-3d016e7eef87",
      "ContentItemId": "a1766908-e65d-4b35-b02f-999ca869dda4",
      "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-20T05:18:42.1132412+00:00",
      "RescheduleDate": "2026-10-20T05:18:42.1132412+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "2f367a11-57b1-4080-95a7-e9c229bcaf4b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-20T05:18:42.160115+00:00",
  "Registration": {
    "Id": "5c269f73-fe39-470c-940a-a64d0a922927",
    "UserId": "30403534-a7ec-4fb4-b185-5601dbcb2d25",
    "IsCurrent": true,
    "CenterId": "afabf0ed-f4b5-4fa7-9902-82fe80db86cc",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "b75446db-d4df-41d4-95f5-852e45012889",
    "EndDate": "2026-10-20T05:18:42.0976129+00:00",
    "StartDate": "2026-10-20T05:18:42.0976129+00:00",
    "SchedulePreferenceDate": "2026-10-20T05:18:42.0976129+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-20T05:18:42.0976129+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "bcc0ac48-284b-4abe-bd59-543c274c99f9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "94fab88a-8d08-4419-af0c-b16816d93c6d",
      "Sequence": 1,
      "AncestorCategoryId": "0097139a-50f1-4053-bc92-1ed2ef415c3a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f94f286d-0b08-481e-a5ae-39eece36228f",
          "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": "f94f286d-0b08-481e-a5ae-39eece36228f",
          "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": "bcc0ac48-284b-4abe-bd59-543c274c99f9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "94fab88a-8d08-4419-af0c-b16816d93c6d",
      "Sequence": 1,
      "AncestorCategoryId": "0097139a-50f1-4053-bc92-1ed2ef415c3a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f94f286d-0b08-481e-a5ae-39eece36228f",
          "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": "f94f286d-0b08-481e-a5ae-39eece36228f",
          "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": "53ae8186-86fd-43d6-8384-22da4d05400c",
    "CategoryId": "754995c4-e1ff-4810-baa4-8af94001af93",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "75ac09ac-d3d6-498b-88cb-691dbc290261",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "75ac09ac-d3d6-498b-88cb-691dbc290261",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e84704e0-0754-45ab-a26e-76109df3f791",
      "Questions": [
        {
          "Id": "c2f710d1-f4bb-4168-894b-55b76eb6b1d8",
          "Answers": "sample string 2"
        },
        {
          "Id": "c2f710d1-f4bb-4168-894b-55b76eb6b1d8",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e84704e0-0754-45ab-a26e-76109df3f791",
      "Questions": [
        {
          "Id": "c2f710d1-f4bb-4168-894b-55b76eb6b1d8",
          "Answers": "sample string 2"
        },
        {
          "Id": "c2f710d1-f4bb-4168-894b-55b76eb6b1d8",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "64c3de1e-eb10-4a95-82b7-3d016e7eef87",
      "ContentItemId": "a1766908-e65d-4b35-b02f-999ca869dda4",
      "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-20T05:18:42.1132412+00:00",
      "RescheduleDate": "2026-10-20T05:18:42.1132412+00:00"
    },
    {
      "Id": "64c3de1e-eb10-4a95-82b7-3d016e7eef87",
      "ContentItemId": "a1766908-e65d-4b35-b02f-999ca869dda4",
      "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-20T05:18:42.1132412+00:00",
      "RescheduleDate": "2026-10-20T05:18:42.1132412+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}