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": "264d3356-19e8-43b2-8079-d7acb6fd9fed",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-28T23:31:01.0013848+00:00",
  "Registration": {
    "Id": "67888877-1ff0-4735-9209-6bf79e93108b",
    "UserId": "be585d08-1cec-4873-ae3b-2c3abbfd36fc",
    "IsCurrent": true,
    "CenterId": "f5759071-b35f-4d4d-a559-85b3a540ec60",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "0d9df6e9-b7be-4c12-bd7a-c350518cfc92",
    "EndDate": "2026-09-28T23:31:00.9701363+00:00",
    "StartDate": "2026-09-28T23:31:00.9701363+00:00",
    "SchedulePreferenceDate": "2026-09-28T23:31:00.9701363+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-09-28T23:31:00.9701363+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9838171a-c8b8-4b37-9b51-296002fefadf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ca62842c-0a03-490d-9ac8-9ec29015f9e1",
      "Sequence": 1,
      "AncestorCategoryId": "62d843d8-283b-4cd0-83b9-0b1a92848417",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2ed33ae9-fcfa-489c-938d-ce4dcb2b60c7",
          "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": "2ed33ae9-fcfa-489c-938d-ce4dcb2b60c7",
          "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": "9838171a-c8b8-4b37-9b51-296002fefadf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ca62842c-0a03-490d-9ac8-9ec29015f9e1",
      "Sequence": 1,
      "AncestorCategoryId": "62d843d8-283b-4cd0-83b9-0b1a92848417",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2ed33ae9-fcfa-489c-938d-ce4dcb2b60c7",
          "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": "2ed33ae9-fcfa-489c-938d-ce4dcb2b60c7",
          "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": "1d1a5469-9c0d-4b43-ac10-4dd9967361c0",
    "CategoryId": "05487a93-f35d-44bf-bb26-623aa602c480",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "eb22a130-462c-434b-8bb6-beb547329081",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "eb22a130-462c-434b-8bb6-beb547329081",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "70f3dccd-850c-4bd7-b9f7-8b2a5670f277",
      "Questions": [
        {
          "Id": "59545c51-4b16-4e58-b8ca-0e52689d91c8",
          "Answers": "sample string 2"
        },
        {
          "Id": "59545c51-4b16-4e58-b8ca-0e52689d91c8",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "70f3dccd-850c-4bd7-b9f7-8b2a5670f277",
      "Questions": [
        {
          "Id": "59545c51-4b16-4e58-b8ca-0e52689d91c8",
          "Answers": "sample string 2"
        },
        {
          "Id": "59545c51-4b16-4e58-b8ca-0e52689d91c8",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "1a8ccabc-1990-464e-b12d-503ae93f7742",
      "ContentItemId": "77e511c9-20f5-4679-820f-bfec171c0b32",
      "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-09-28T23:31:00.9701363+00:00",
      "RescheduleDate": "2026-09-28T23:31:00.9701363+00:00"
    },
    {
      "Id": "1a8ccabc-1990-464e-b12d-503ae93f7742",
      "ContentItemId": "77e511c9-20f5-4679-820f-bfec171c0b32",
      "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-09-28T23:31:00.9701363+00:00",
      "RescheduleDate": "2026-09-28T23:31:00.9701363+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "264d3356-19e8-43b2-8079-d7acb6fd9fed",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-28T23:31:01.1296644+00:00",
  "Registration": {
    "Id": "67888877-1ff0-4735-9209-6bf79e93108b",
    "UserId": "be585d08-1cec-4873-ae3b-2c3abbfd36fc",
    "IsCurrent": true,
    "CenterId": "f5759071-b35f-4d4d-a559-85b3a540ec60",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "0d9df6e9-b7be-4c12-bd7a-c350518cfc92",
    "EndDate": "2026-09-28T23:31:00.9701363+00:00",
    "StartDate": "2026-09-28T23:31:00.9701363+00:00",
    "SchedulePreferenceDate": "2026-09-28T23:31:00.9701363+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-09-28T23:31:00.9701363+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9838171a-c8b8-4b37-9b51-296002fefadf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ca62842c-0a03-490d-9ac8-9ec29015f9e1",
      "Sequence": 1,
      "AncestorCategoryId": "62d843d8-283b-4cd0-83b9-0b1a92848417",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2ed33ae9-fcfa-489c-938d-ce4dcb2b60c7",
          "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": "2ed33ae9-fcfa-489c-938d-ce4dcb2b60c7",
          "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": "9838171a-c8b8-4b37-9b51-296002fefadf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ca62842c-0a03-490d-9ac8-9ec29015f9e1",
      "Sequence": 1,
      "AncestorCategoryId": "62d843d8-283b-4cd0-83b9-0b1a92848417",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "2ed33ae9-fcfa-489c-938d-ce4dcb2b60c7",
          "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": "2ed33ae9-fcfa-489c-938d-ce4dcb2b60c7",
          "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": "1d1a5469-9c0d-4b43-ac10-4dd9967361c0",
    "CategoryId": "05487a93-f35d-44bf-bb26-623aa602c480",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "eb22a130-462c-434b-8bb6-beb547329081",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "eb22a130-462c-434b-8bb6-beb547329081",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "70f3dccd-850c-4bd7-b9f7-8b2a5670f277",
      "Questions": [
        {
          "Id": "59545c51-4b16-4e58-b8ca-0e52689d91c8",
          "Answers": "sample string 2"
        },
        {
          "Id": "59545c51-4b16-4e58-b8ca-0e52689d91c8",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "70f3dccd-850c-4bd7-b9f7-8b2a5670f277",
      "Questions": [
        {
          "Id": "59545c51-4b16-4e58-b8ca-0e52689d91c8",
          "Answers": "sample string 2"
        },
        {
          "Id": "59545c51-4b16-4e58-b8ca-0e52689d91c8",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "1a8ccabc-1990-464e-b12d-503ae93f7742",
      "ContentItemId": "77e511c9-20f5-4679-820f-bfec171c0b32",
      "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-09-28T23:31:00.9701363+00:00",
      "RescheduleDate": "2026-09-28T23:31:00.9701363+00:00"
    },
    {
      "Id": "1a8ccabc-1990-464e-b12d-503ae93f7742",
      "ContentItemId": "77e511c9-20f5-4679-820f-bfec171c0b32",
      "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-09-28T23:31:00.9701363+00:00",
      "RescheduleDate": "2026-09-28T23:31:00.9701363+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}