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": "a2e08339-a8fe-4b52-a63b-9ad8a339efb0",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-10T13:19:19.100023+00:00",
  "Registration": {
    "Id": "ae6f6150-8272-4489-9171-14a082728616",
    "UserId": "57f9a779-da97-4073-96e9-c1db2f75936a",
    "IsCurrent": true,
    "CenterId": "f6cf6df1-b87a-4d39-9f90-f7196c3adf2c",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a01b8257-620d-4ddc-b327-7ccb32b982a0",
    "EndDate": "2026-11-10T13:19:19.084397+00:00",
    "StartDate": "2026-11-10T13:19:19.084397+00:00",
    "SchedulePreferenceDate": "2026-11-10T13:19:19.084397+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-11-10T13:19:19.084397+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "ed4140c5-2597-46b6-9165-db4e66499dd5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ef11064a-e13b-4708-b4de-ca8575cd7b0e",
      "Sequence": 1,
      "AncestorCategoryId": "ea37b422-9fba-4d6a-a765-862b8575f404",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "dd8a6901-a2bc-4fc8-89f8-c2d210705a27",
          "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": "dd8a6901-a2bc-4fc8-89f8-c2d210705a27",
          "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": "ed4140c5-2597-46b6-9165-db4e66499dd5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ef11064a-e13b-4708-b4de-ca8575cd7b0e",
      "Sequence": 1,
      "AncestorCategoryId": "ea37b422-9fba-4d6a-a765-862b8575f404",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "dd8a6901-a2bc-4fc8-89f8-c2d210705a27",
          "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": "dd8a6901-a2bc-4fc8-89f8-c2d210705a27",
          "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": "9d61b8bc-2a30-4568-b8a6-3ab28416dbde",
    "CategoryId": "b7d18cc0-e42a-41dc-9e87-5a1ff419a615",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d9599441-fa45-417a-877d-d21d8a1b1f0c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d9599441-fa45-417a-877d-d21d8a1b1f0c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ac1d2f33-5cb3-46e7-a47d-5104431038a0",
      "Questions": [
        {
          "Id": "0748f120-8fd3-4bc6-9512-cfd3338c88a3",
          "Answers": "sample string 2"
        },
        {
          "Id": "0748f120-8fd3-4bc6-9512-cfd3338c88a3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ac1d2f33-5cb3-46e7-a47d-5104431038a0",
      "Questions": [
        {
          "Id": "0748f120-8fd3-4bc6-9512-cfd3338c88a3",
          "Answers": "sample string 2"
        },
        {
          "Id": "0748f120-8fd3-4bc6-9512-cfd3338c88a3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "937e51e6-e631-467e-8569-c83635509905",
      "ContentItemId": "d6a6eb5e-0c36-4a59-80c6-ca68cb214fb9",
      "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-11-10T13:19:19.084397+00:00",
      "RescheduleDate": "2026-11-10T13:19:19.084397+00:00"
    },
    {
      "Id": "937e51e6-e631-467e-8569-c83635509905",
      "ContentItemId": "d6a6eb5e-0c36-4a59-80c6-ca68cb214fb9",
      "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-11-10T13:19:19.084397+00:00",
      "RescheduleDate": "2026-11-10T13:19:19.084397+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "a2e08339-a8fe-4b52-a63b-9ad8a339efb0",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-10T13:19:19.2093968+00:00",
  "Registration": {
    "Id": "ae6f6150-8272-4489-9171-14a082728616",
    "UserId": "57f9a779-da97-4073-96e9-c1db2f75936a",
    "IsCurrent": true,
    "CenterId": "f6cf6df1-b87a-4d39-9f90-f7196c3adf2c",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a01b8257-620d-4ddc-b327-7ccb32b982a0",
    "EndDate": "2026-11-10T13:19:19.084397+00:00",
    "StartDate": "2026-11-10T13:19:19.084397+00:00",
    "SchedulePreferenceDate": "2026-11-10T13:19:19.084397+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-11-10T13:19:19.084397+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "ed4140c5-2597-46b6-9165-db4e66499dd5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ef11064a-e13b-4708-b4de-ca8575cd7b0e",
      "Sequence": 1,
      "AncestorCategoryId": "ea37b422-9fba-4d6a-a765-862b8575f404",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "dd8a6901-a2bc-4fc8-89f8-c2d210705a27",
          "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": "dd8a6901-a2bc-4fc8-89f8-c2d210705a27",
          "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": "ed4140c5-2597-46b6-9165-db4e66499dd5",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ef11064a-e13b-4708-b4de-ca8575cd7b0e",
      "Sequence": 1,
      "AncestorCategoryId": "ea37b422-9fba-4d6a-a765-862b8575f404",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "dd8a6901-a2bc-4fc8-89f8-c2d210705a27",
          "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": "dd8a6901-a2bc-4fc8-89f8-c2d210705a27",
          "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": "9d61b8bc-2a30-4568-b8a6-3ab28416dbde",
    "CategoryId": "b7d18cc0-e42a-41dc-9e87-5a1ff419a615",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d9599441-fa45-417a-877d-d21d8a1b1f0c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d9599441-fa45-417a-877d-d21d8a1b1f0c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ac1d2f33-5cb3-46e7-a47d-5104431038a0",
      "Questions": [
        {
          "Id": "0748f120-8fd3-4bc6-9512-cfd3338c88a3",
          "Answers": "sample string 2"
        },
        {
          "Id": "0748f120-8fd3-4bc6-9512-cfd3338c88a3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ac1d2f33-5cb3-46e7-a47d-5104431038a0",
      "Questions": [
        {
          "Id": "0748f120-8fd3-4bc6-9512-cfd3338c88a3",
          "Answers": "sample string 2"
        },
        {
          "Id": "0748f120-8fd3-4bc6-9512-cfd3338c88a3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "937e51e6-e631-467e-8569-c83635509905",
      "ContentItemId": "d6a6eb5e-0c36-4a59-80c6-ca68cb214fb9",
      "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-11-10T13:19:19.084397+00:00",
      "RescheduleDate": "2026-11-10T13:19:19.084397+00:00"
    },
    {
      "Id": "937e51e6-e631-467e-8569-c83635509905",
      "ContentItemId": "d6a6eb5e-0c36-4a59-80c6-ca68cb214fb9",
      "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-11-10T13:19:19.084397+00:00",
      "RescheduleDate": "2026-11-10T13:19:19.084397+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}