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": "bdbe1bfb-c0da-44b5-a197-dddc17999cf7",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-05T01:21:10.2546389+00:00",
  "Registration": {
    "Id": "b9de95f4-bb8b-438f-b27d-79ba2370956b",
    "UserId": "df50c8b5-3f47-4724-a4a8-f55717200950",
    "IsCurrent": true,
    "CenterId": "fb899fc4-8491-4eb6-8f3a-702d2027ced6",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "1ef1d943-14fc-4816-a721-cb80c4bd247d",
    "EndDate": "2026-12-05T01:21:10.2546389+00:00",
    "StartDate": "2026-12-05T01:21:10.2546389+00:00",
    "SchedulePreferenceDate": "2026-12-05T01:21:10.2546389+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-12-05T01:21:10.2546389+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f421d180-93ce-4eed-b954-55213a8c3a85",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f5f8fe84-3562-4f1b-b8a0-9223fa4b0fa8",
      "Sequence": 1,
      "AncestorCategoryId": "98fa6463-bfcd-4f16-a3e9-fcf0e3da3e24",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8a0c9a32-bd03-440a-a5d6-dd579beadc03",
          "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": "8a0c9a32-bd03-440a-a5d6-dd579beadc03",
          "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": "f421d180-93ce-4eed-b954-55213a8c3a85",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f5f8fe84-3562-4f1b-b8a0-9223fa4b0fa8",
      "Sequence": 1,
      "AncestorCategoryId": "98fa6463-bfcd-4f16-a3e9-fcf0e3da3e24",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8a0c9a32-bd03-440a-a5d6-dd579beadc03",
          "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": "8a0c9a32-bd03-440a-a5d6-dd579beadc03",
          "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": "661c6da0-7e39-4e4c-974a-615d305135b5",
    "CategoryId": "c760feb3-621a-4197-8353-faa062ab55f7",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "9ce362fb-a460-4f72-b24b-f02975dcca19",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "9ce362fb-a460-4f72-b24b-f02975dcca19",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a79e0800-5be9-4960-b51c-2ad9f7f2c400",
      "Questions": [
        {
          "Id": "5fd28838-f381-42f1-8b14-ddc999e2afcc",
          "Answers": "sample string 2"
        },
        {
          "Id": "5fd28838-f381-42f1-8b14-ddc999e2afcc",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a79e0800-5be9-4960-b51c-2ad9f7f2c400",
      "Questions": [
        {
          "Id": "5fd28838-f381-42f1-8b14-ddc999e2afcc",
          "Answers": "sample string 2"
        },
        {
          "Id": "5fd28838-f381-42f1-8b14-ddc999e2afcc",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "fc1d8168-9180-4a22-9fd8-92857af86688",
      "ContentItemId": "abff4a05-cacf-413c-acae-36b853f5c4bd",
      "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-12-05T01:21:10.2546389+00:00",
      "RescheduleDate": "2026-12-05T01:21:10.2546389+00:00"
    },
    {
      "Id": "fc1d8168-9180-4a22-9fd8-92857af86688",
      "ContentItemId": "abff4a05-cacf-413c-acae-36b853f5c4bd",
      "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-12-05T01:21:10.2546389+00:00",
      "RescheduleDate": "2026-12-05T01:21:10.2546389+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "bdbe1bfb-c0da-44b5-a197-dddc17999cf7",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-05T01:21:10.3015161+00:00",
  "Registration": {
    "Id": "b9de95f4-bb8b-438f-b27d-79ba2370956b",
    "UserId": "df50c8b5-3f47-4724-a4a8-f55717200950",
    "IsCurrent": true,
    "CenterId": "fb899fc4-8491-4eb6-8f3a-702d2027ced6",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "1ef1d943-14fc-4816-a721-cb80c4bd247d",
    "EndDate": "2026-12-05T01:21:10.2546389+00:00",
    "StartDate": "2026-12-05T01:21:10.2546389+00:00",
    "SchedulePreferenceDate": "2026-12-05T01:21:10.2546389+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-12-05T01:21:10.2546389+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f421d180-93ce-4eed-b954-55213a8c3a85",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f5f8fe84-3562-4f1b-b8a0-9223fa4b0fa8",
      "Sequence": 1,
      "AncestorCategoryId": "98fa6463-bfcd-4f16-a3e9-fcf0e3da3e24",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8a0c9a32-bd03-440a-a5d6-dd579beadc03",
          "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": "8a0c9a32-bd03-440a-a5d6-dd579beadc03",
          "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": "f421d180-93ce-4eed-b954-55213a8c3a85",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "f5f8fe84-3562-4f1b-b8a0-9223fa4b0fa8",
      "Sequence": 1,
      "AncestorCategoryId": "98fa6463-bfcd-4f16-a3e9-fcf0e3da3e24",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8a0c9a32-bd03-440a-a5d6-dd579beadc03",
          "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": "8a0c9a32-bd03-440a-a5d6-dd579beadc03",
          "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": "661c6da0-7e39-4e4c-974a-615d305135b5",
    "CategoryId": "c760feb3-621a-4197-8353-faa062ab55f7",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "9ce362fb-a460-4f72-b24b-f02975dcca19",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "9ce362fb-a460-4f72-b24b-f02975dcca19",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a79e0800-5be9-4960-b51c-2ad9f7f2c400",
      "Questions": [
        {
          "Id": "5fd28838-f381-42f1-8b14-ddc999e2afcc",
          "Answers": "sample string 2"
        },
        {
          "Id": "5fd28838-f381-42f1-8b14-ddc999e2afcc",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a79e0800-5be9-4960-b51c-2ad9f7f2c400",
      "Questions": [
        {
          "Id": "5fd28838-f381-42f1-8b14-ddc999e2afcc",
          "Answers": "sample string 2"
        },
        {
          "Id": "5fd28838-f381-42f1-8b14-ddc999e2afcc",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "fc1d8168-9180-4a22-9fd8-92857af86688",
      "ContentItemId": "abff4a05-cacf-413c-acae-36b853f5c4bd",
      "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-12-05T01:21:10.2546389+00:00",
      "RescheduleDate": "2026-12-05T01:21:10.2546389+00:00"
    },
    {
      "Id": "fc1d8168-9180-4a22-9fd8-92857af86688",
      "ContentItemId": "abff4a05-cacf-413c-acae-36b853f5c4bd",
      "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-12-05T01:21:10.2546389+00:00",
      "RescheduleDate": "2026-12-05T01:21:10.2546389+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}