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": "cea58051-ae60-4f11-acb6-1c13fbdab5b9",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-18T15:17:20.3061368+00:00",
  "Registration": {
    "Id": "3ff5b1a9-4a58-4cdb-a910-39f4812619bc",
    "UserId": "68e1f9f7-4b89-48b3-bad8-c99b98ca0dd4",
    "IsCurrent": true,
    "CenterId": "d7a2f1ec-0aba-42b4-8ecc-cfaef3b26014",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "20948229-f4c5-4c74-9673-ee7f09b7d7fc",
    "EndDate": "2026-09-18T15:17:20.2905119+00:00",
    "StartDate": "2026-09-18T15:17:20.2905119+00:00",
    "SchedulePreferenceDate": "2026-09-18T15:17:20.2905119+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-18T15:17:20.2905119+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "7ff75df6-975d-4b7d-bd1e-15442a3099a8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c40b6eb1-36b2-4b1b-b9a8-e9f059b1110f",
      "Sequence": 1,
      "AncestorCategoryId": "25f3f372-f448-492b-8587-e22336a93977",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e7ee6c0c-aa6a-4eef-8d05-dee2f26d1c14",
          "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": "e7ee6c0c-aa6a-4eef-8d05-dee2f26d1c14",
          "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": "7ff75df6-975d-4b7d-bd1e-15442a3099a8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c40b6eb1-36b2-4b1b-b9a8-e9f059b1110f",
      "Sequence": 1,
      "AncestorCategoryId": "25f3f372-f448-492b-8587-e22336a93977",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e7ee6c0c-aa6a-4eef-8d05-dee2f26d1c14",
          "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": "e7ee6c0c-aa6a-4eef-8d05-dee2f26d1c14",
          "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": "40ef70a5-ede1-47d3-9104-ace685978225",
    "CategoryId": "c33a01f1-51ef-4825-871d-d8dc4977ef43",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "05e8869c-0e10-4bfe-b47c-def984603c7d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "05e8869c-0e10-4bfe-b47c-def984603c7d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0127e267-37a6-4b26-9869-4bd46e608d20",
      "Questions": [
        {
          "Id": "14189dec-9f9e-438e-ba28-ea8f087d9ec4",
          "Answers": "sample string 2"
        },
        {
          "Id": "14189dec-9f9e-438e-ba28-ea8f087d9ec4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0127e267-37a6-4b26-9869-4bd46e608d20",
      "Questions": [
        {
          "Id": "14189dec-9f9e-438e-ba28-ea8f087d9ec4",
          "Answers": "sample string 2"
        },
        {
          "Id": "14189dec-9f9e-438e-ba28-ea8f087d9ec4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7f1df97f-b654-47a4-8e09-134e903be4b6",
      "ContentItemId": "4e891fb8-b9e6-4c42-925e-63b2bcd47dca",
      "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-18T15:17:20.2905119+00:00",
      "RescheduleDate": "2026-09-18T15:17:20.2905119+00:00"
    },
    {
      "Id": "7f1df97f-b654-47a4-8e09-134e903be4b6",
      "ContentItemId": "4e891fb8-b9e6-4c42-925e-63b2bcd47dca",
      "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-18T15:17:20.2905119+00:00",
      "RescheduleDate": "2026-09-18T15:17:20.2905119+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "cea58051-ae60-4f11-acb6-1c13fbdab5b9",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-18T15:17:20.3373889+00:00",
  "Registration": {
    "Id": "3ff5b1a9-4a58-4cdb-a910-39f4812619bc",
    "UserId": "68e1f9f7-4b89-48b3-bad8-c99b98ca0dd4",
    "IsCurrent": true,
    "CenterId": "d7a2f1ec-0aba-42b4-8ecc-cfaef3b26014",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "20948229-f4c5-4c74-9673-ee7f09b7d7fc",
    "EndDate": "2026-09-18T15:17:20.2905119+00:00",
    "StartDate": "2026-09-18T15:17:20.2905119+00:00",
    "SchedulePreferenceDate": "2026-09-18T15:17:20.2905119+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-18T15:17:20.2905119+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "7ff75df6-975d-4b7d-bd1e-15442a3099a8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c40b6eb1-36b2-4b1b-b9a8-e9f059b1110f",
      "Sequence": 1,
      "AncestorCategoryId": "25f3f372-f448-492b-8587-e22336a93977",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e7ee6c0c-aa6a-4eef-8d05-dee2f26d1c14",
          "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": "e7ee6c0c-aa6a-4eef-8d05-dee2f26d1c14",
          "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": "7ff75df6-975d-4b7d-bd1e-15442a3099a8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c40b6eb1-36b2-4b1b-b9a8-e9f059b1110f",
      "Sequence": 1,
      "AncestorCategoryId": "25f3f372-f448-492b-8587-e22336a93977",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e7ee6c0c-aa6a-4eef-8d05-dee2f26d1c14",
          "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": "e7ee6c0c-aa6a-4eef-8d05-dee2f26d1c14",
          "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": "40ef70a5-ede1-47d3-9104-ace685978225",
    "CategoryId": "c33a01f1-51ef-4825-871d-d8dc4977ef43",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "05e8869c-0e10-4bfe-b47c-def984603c7d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "05e8869c-0e10-4bfe-b47c-def984603c7d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0127e267-37a6-4b26-9869-4bd46e608d20",
      "Questions": [
        {
          "Id": "14189dec-9f9e-438e-ba28-ea8f087d9ec4",
          "Answers": "sample string 2"
        },
        {
          "Id": "14189dec-9f9e-438e-ba28-ea8f087d9ec4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0127e267-37a6-4b26-9869-4bd46e608d20",
      "Questions": [
        {
          "Id": "14189dec-9f9e-438e-ba28-ea8f087d9ec4",
          "Answers": "sample string 2"
        },
        {
          "Id": "14189dec-9f9e-438e-ba28-ea8f087d9ec4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7f1df97f-b654-47a4-8e09-134e903be4b6",
      "ContentItemId": "4e891fb8-b9e6-4c42-925e-63b2bcd47dca",
      "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-18T15:17:20.2905119+00:00",
      "RescheduleDate": "2026-09-18T15:17:20.2905119+00:00"
    },
    {
      "Id": "7f1df97f-b654-47a4-8e09-134e903be4b6",
      "ContentItemId": "4e891fb8-b9e6-4c42-925e-63b2bcd47dca",
      "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-18T15:17:20.2905119+00:00",
      "RescheduleDate": "2026-09-18T15:17:20.2905119+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}