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": "a235e5c7-f4a1-44a5-b153-9fab3faf9d63",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-11-19T20:30:08.9900759+00:00",
  "Registration": {
    "Id": "b45d92be-d705-498d-ba60-9ef1c6e142d3",
    "UserId": "f358dea6-8bed-4b7f-974a-41dc0c9d5be7",
    "IsCurrent": true,
    "CenterId": "5283c9d2-5d85-40d2-9caa-628e7513f8c3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "834b99c1-a5c2-4296-b72a-459c4d49bd7d",
    "EndDate": "2025-11-19T20:30:08.9900759+00:00",
    "StartDate": "2025-11-19T20:30:08.9900759+00:00",
    "SchedulePreferenceDate": "2025-11-19T20:30:08.9900759+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": "2025-11-19T20:30:08.9900759+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "20c798f2-23ab-4adb-9018-73981e2ab028",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "cc58da5d-f0e7-42ef-92b7-689de9721af4",
      "Sequence": 1,
      "AncestorCategoryId": "6de34cec-9505-4033-ac7d-7ec14ea99304",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "47b634c5-bc4b-4b54-94e1-f69f67d253a8",
          "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": "47b634c5-bc4b-4b54-94e1-f69f67d253a8",
          "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": "20c798f2-23ab-4adb-9018-73981e2ab028",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "cc58da5d-f0e7-42ef-92b7-689de9721af4",
      "Sequence": 1,
      "AncestorCategoryId": "6de34cec-9505-4033-ac7d-7ec14ea99304",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "47b634c5-bc4b-4b54-94e1-f69f67d253a8",
          "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": "47b634c5-bc4b-4b54-94e1-f69f67d253a8",
          "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": "7c9963b2-6286-4e57-914c-9fa54d313df5",
    "CategoryId": "6d12b14e-7dda-4c5e-a1fa-918655726691",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "db0b7709-d037-43b2-ad02-8d901340455d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "db0b7709-d037-43b2-ad02-8d901340455d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "247650cc-5f32-4753-9ff6-3a815e5037c3",
      "Questions": [
        {
          "Id": "886fd16c-beef-4227-ae8c-437705d0c7f0",
          "Answers": "sample string 2"
        },
        {
          "Id": "886fd16c-beef-4227-ae8c-437705d0c7f0",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "247650cc-5f32-4753-9ff6-3a815e5037c3",
      "Questions": [
        {
          "Id": "886fd16c-beef-4227-ae8c-437705d0c7f0",
          "Answers": "sample string 2"
        },
        {
          "Id": "886fd16c-beef-4227-ae8c-437705d0c7f0",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cfa65ee4-d571-47b3-bafa-13d351fe5f09",
      "ContentItemId": "579e8b31-b3c0-40c0-bb8c-1419795562f6",
      "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": "2025-11-19T20:30:08.9900759+00:00",
      "RescheduleDate": "2025-11-19T20:30:08.9900759+00:00"
    },
    {
      "Id": "cfa65ee4-d571-47b3-bafa-13d351fe5f09",
      "ContentItemId": "579e8b31-b3c0-40c0-bb8c-1419795562f6",
      "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": "2025-11-19T20:30:08.9900759+00:00",
      "RescheduleDate": "2025-11-19T20:30:08.9900759+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "a235e5c7-f4a1-44a5-b153-9fab3faf9d63",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-11-19T20:30:09.0525756+00:00",
  "Registration": {
    "Id": "b45d92be-d705-498d-ba60-9ef1c6e142d3",
    "UserId": "f358dea6-8bed-4b7f-974a-41dc0c9d5be7",
    "IsCurrent": true,
    "CenterId": "5283c9d2-5d85-40d2-9caa-628e7513f8c3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "834b99c1-a5c2-4296-b72a-459c4d49bd7d",
    "EndDate": "2025-11-19T20:30:08.9900759+00:00",
    "StartDate": "2025-11-19T20:30:08.9900759+00:00",
    "SchedulePreferenceDate": "2025-11-19T20:30:08.9900759+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": "2025-11-19T20:30:08.9900759+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "20c798f2-23ab-4adb-9018-73981e2ab028",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "cc58da5d-f0e7-42ef-92b7-689de9721af4",
      "Sequence": 1,
      "AncestorCategoryId": "6de34cec-9505-4033-ac7d-7ec14ea99304",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "47b634c5-bc4b-4b54-94e1-f69f67d253a8",
          "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": "47b634c5-bc4b-4b54-94e1-f69f67d253a8",
          "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": "20c798f2-23ab-4adb-9018-73981e2ab028",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "cc58da5d-f0e7-42ef-92b7-689de9721af4",
      "Sequence": 1,
      "AncestorCategoryId": "6de34cec-9505-4033-ac7d-7ec14ea99304",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "47b634c5-bc4b-4b54-94e1-f69f67d253a8",
          "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": "47b634c5-bc4b-4b54-94e1-f69f67d253a8",
          "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": "7c9963b2-6286-4e57-914c-9fa54d313df5",
    "CategoryId": "6d12b14e-7dda-4c5e-a1fa-918655726691",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "db0b7709-d037-43b2-ad02-8d901340455d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "db0b7709-d037-43b2-ad02-8d901340455d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "247650cc-5f32-4753-9ff6-3a815e5037c3",
      "Questions": [
        {
          "Id": "886fd16c-beef-4227-ae8c-437705d0c7f0",
          "Answers": "sample string 2"
        },
        {
          "Id": "886fd16c-beef-4227-ae8c-437705d0c7f0",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "247650cc-5f32-4753-9ff6-3a815e5037c3",
      "Questions": [
        {
          "Id": "886fd16c-beef-4227-ae8c-437705d0c7f0",
          "Answers": "sample string 2"
        },
        {
          "Id": "886fd16c-beef-4227-ae8c-437705d0c7f0",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cfa65ee4-d571-47b3-bafa-13d351fe5f09",
      "ContentItemId": "579e8b31-b3c0-40c0-bb8c-1419795562f6",
      "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": "2025-11-19T20:30:08.9900759+00:00",
      "RescheduleDate": "2025-11-19T20:30:08.9900759+00:00"
    },
    {
      "Id": "cfa65ee4-d571-47b3-bafa-13d351fe5f09",
      "ContentItemId": "579e8b31-b3c0-40c0-bb8c-1419795562f6",
      "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": "2025-11-19T20:30:08.9900759+00:00",
      "RescheduleDate": "2025-11-19T20:30:08.9900759+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}