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": "89d7a53b-1490-4257-a8f9-7868048177b9",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-06T22:46:30.4089296+00:00",
  "Registration": {
    "Id": "b5426322-e794-4a3a-8253-494d0d3ca55c",
    "UserId": "f5ffe5c5-cb7e-4861-935c-88d94c7e3abd",
    "IsCurrent": true,
    "CenterId": "a1f5f4bf-25e7-4cee-817f-e18018e3b2b0",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "e59f31ea-f5a0-4edc-80cf-f1c948398ab0",
    "EndDate": "2026-10-06T22:46:30.4089296+00:00",
    "StartDate": "2026-10-06T22:46:30.4089296+00:00",
    "SchedulePreferenceDate": "2026-10-06T22:46:30.4089296+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-06T22:46:30.4089296+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "7e046950-7162-41d4-a54d-e1cf862193e6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3609c18d-75b0-456f-965a-55fcd172b7e4",
      "Sequence": 1,
      "AncestorCategoryId": "239b17e8-854c-4710-9fd2-d3673fb7e0af",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c77c2b2d-c404-4a85-a3a4-6c3d1b1c8273",
          "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": "c77c2b2d-c404-4a85-a3a4-6c3d1b1c8273",
          "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": "7e046950-7162-41d4-a54d-e1cf862193e6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3609c18d-75b0-456f-965a-55fcd172b7e4",
      "Sequence": 1,
      "AncestorCategoryId": "239b17e8-854c-4710-9fd2-d3673fb7e0af",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c77c2b2d-c404-4a85-a3a4-6c3d1b1c8273",
          "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": "c77c2b2d-c404-4a85-a3a4-6c3d1b1c8273",
          "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": "dfd0312f-0c0e-4e73-80cf-7a9a0a5ebd75",
    "CategoryId": "90bda622-7775-4152-b733-edccd629ba40",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "77d34055-a69d-4bc5-8730-8e37db474661",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "77d34055-a69d-4bc5-8730-8e37db474661",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a1b5353f-7be3-43a2-93e9-ac7b96352ee1",
      "Questions": [
        {
          "Id": "66fa39f4-1ef8-4adf-b683-02ca9508d6c2",
          "Answers": "sample string 2"
        },
        {
          "Id": "66fa39f4-1ef8-4adf-b683-02ca9508d6c2",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a1b5353f-7be3-43a2-93e9-ac7b96352ee1",
      "Questions": [
        {
          "Id": "66fa39f4-1ef8-4adf-b683-02ca9508d6c2",
          "Answers": "sample string 2"
        },
        {
          "Id": "66fa39f4-1ef8-4adf-b683-02ca9508d6c2",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "2f2ee1a4-e8fb-4023-ace7-74470156722f",
      "ContentItemId": "512905a1-330c-4fb6-8b27-f60aa47d6351",
      "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-06T22:46:30.4089296+00:00",
      "RescheduleDate": "2026-10-06T22:46:30.4089296+00:00"
    },
    {
      "Id": "2f2ee1a4-e8fb-4023-ace7-74470156722f",
      "ContentItemId": "512905a1-330c-4fb6-8b27-f60aa47d6351",
      "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-06T22:46:30.4089296+00:00",
      "RescheduleDate": "2026-10-06T22:46:30.4089296+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "89d7a53b-1490-4257-a8f9-7868048177b9",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-06T22:46:30.4401822+00:00",
  "Registration": {
    "Id": "b5426322-e794-4a3a-8253-494d0d3ca55c",
    "UserId": "f5ffe5c5-cb7e-4861-935c-88d94c7e3abd",
    "IsCurrent": true,
    "CenterId": "a1f5f4bf-25e7-4cee-817f-e18018e3b2b0",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "e59f31ea-f5a0-4edc-80cf-f1c948398ab0",
    "EndDate": "2026-10-06T22:46:30.4089296+00:00",
    "StartDate": "2026-10-06T22:46:30.4089296+00:00",
    "SchedulePreferenceDate": "2026-10-06T22:46:30.4089296+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-06T22:46:30.4089296+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "7e046950-7162-41d4-a54d-e1cf862193e6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3609c18d-75b0-456f-965a-55fcd172b7e4",
      "Sequence": 1,
      "AncestorCategoryId": "239b17e8-854c-4710-9fd2-d3673fb7e0af",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c77c2b2d-c404-4a85-a3a4-6c3d1b1c8273",
          "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": "c77c2b2d-c404-4a85-a3a4-6c3d1b1c8273",
          "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": "7e046950-7162-41d4-a54d-e1cf862193e6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3609c18d-75b0-456f-965a-55fcd172b7e4",
      "Sequence": 1,
      "AncestorCategoryId": "239b17e8-854c-4710-9fd2-d3673fb7e0af",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c77c2b2d-c404-4a85-a3a4-6c3d1b1c8273",
          "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": "c77c2b2d-c404-4a85-a3a4-6c3d1b1c8273",
          "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": "dfd0312f-0c0e-4e73-80cf-7a9a0a5ebd75",
    "CategoryId": "90bda622-7775-4152-b733-edccd629ba40",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "77d34055-a69d-4bc5-8730-8e37db474661",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "77d34055-a69d-4bc5-8730-8e37db474661",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a1b5353f-7be3-43a2-93e9-ac7b96352ee1",
      "Questions": [
        {
          "Id": "66fa39f4-1ef8-4adf-b683-02ca9508d6c2",
          "Answers": "sample string 2"
        },
        {
          "Id": "66fa39f4-1ef8-4adf-b683-02ca9508d6c2",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a1b5353f-7be3-43a2-93e9-ac7b96352ee1",
      "Questions": [
        {
          "Id": "66fa39f4-1ef8-4adf-b683-02ca9508d6c2",
          "Answers": "sample string 2"
        },
        {
          "Id": "66fa39f4-1ef8-4adf-b683-02ca9508d6c2",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "2f2ee1a4-e8fb-4023-ace7-74470156722f",
      "ContentItemId": "512905a1-330c-4fb6-8b27-f60aa47d6351",
      "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-06T22:46:30.4089296+00:00",
      "RescheduleDate": "2026-10-06T22:46:30.4089296+00:00"
    },
    {
      "Id": "2f2ee1a4-e8fb-4023-ace7-74470156722f",
      "ContentItemId": "512905a1-330c-4fb6-8b27-f60aa47d6351",
      "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-06T22:46:30.4089296+00:00",
      "RescheduleDate": "2026-10-06T22:46:30.4089296+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}