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": "b42b7db5-5dfc-40b8-a574-6686d06f9bf8",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-27T17:56:50.2719319+00:00",
  "Registration": {
    "Id": "dfdf491c-6877-4adf-84e3-d6069b65aa0c",
    "UserId": "8594bcb7-839c-48af-911e-e6cd5ea7d22c",
    "IsCurrent": true,
    "CenterId": "c412c6b3-882c-4786-8f8e-e2fa18ad00a8",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "9caa6981-2d9d-4a41-a546-5abb55736e66",
    "EndDate": "2026-10-27T17:56:50.2563082+00:00",
    "StartDate": "2026-10-27T17:56:50.2563082+00:00",
    "SchedulePreferenceDate": "2026-10-27T17:56:50.2563082+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-27T17:56:50.2563082+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c6e155c6-a0cd-4c51-a8e3-efae7e898976",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "823b0861-4f4c-4326-a878-c5e46bea27ed",
      "Sequence": 1,
      "AncestorCategoryId": "ed0a3d0d-d3ba-46fb-9849-2cb256753067",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f4c8b41c-7109-4425-b254-2244535ff057",
          "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": "f4c8b41c-7109-4425-b254-2244535ff057",
          "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": "c6e155c6-a0cd-4c51-a8e3-efae7e898976",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "823b0861-4f4c-4326-a878-c5e46bea27ed",
      "Sequence": 1,
      "AncestorCategoryId": "ed0a3d0d-d3ba-46fb-9849-2cb256753067",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f4c8b41c-7109-4425-b254-2244535ff057",
          "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": "f4c8b41c-7109-4425-b254-2244535ff057",
          "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": "91346977-2f88-41a2-bcb6-308835148fb0",
    "CategoryId": "fb0a4cd9-cca0-4b2b-96e3-f8dfb48447bb",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a906ee43-3806-4d3d-8a15-c046337ae18c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a906ee43-3806-4d3d-8a15-c046337ae18c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ea21241d-1553-4946-91e4-5d78f8ed4663",
      "Questions": [
        {
          "Id": "e46334d2-185e-4dc7-9e59-3eeb134b389c",
          "Answers": "sample string 2"
        },
        {
          "Id": "e46334d2-185e-4dc7-9e59-3eeb134b389c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ea21241d-1553-4946-91e4-5d78f8ed4663",
      "Questions": [
        {
          "Id": "e46334d2-185e-4dc7-9e59-3eeb134b389c",
          "Answers": "sample string 2"
        },
        {
          "Id": "e46334d2-185e-4dc7-9e59-3eeb134b389c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b9639ce1-206e-4a5e-819c-57809ced6727",
      "ContentItemId": "9eb2dfc0-235d-4bdf-9674-09ca4fb882bf",
      "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-27T17:56:50.2563082+00:00",
      "RescheduleDate": "2026-10-27T17:56:50.2563082+00:00"
    },
    {
      "Id": "b9639ce1-206e-4a5e-819c-57809ced6727",
      "ContentItemId": "9eb2dfc0-235d-4bdf-9674-09ca4fb882bf",
      "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-27T17:56:50.2563082+00:00",
      "RescheduleDate": "2026-10-27T17:56:50.2563082+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "b42b7db5-5dfc-40b8-a574-6686d06f9bf8",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-27T17:56:50.2875644+00:00",
  "Registration": {
    "Id": "dfdf491c-6877-4adf-84e3-d6069b65aa0c",
    "UserId": "8594bcb7-839c-48af-911e-e6cd5ea7d22c",
    "IsCurrent": true,
    "CenterId": "c412c6b3-882c-4786-8f8e-e2fa18ad00a8",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "9caa6981-2d9d-4a41-a546-5abb55736e66",
    "EndDate": "2026-10-27T17:56:50.2563082+00:00",
    "StartDate": "2026-10-27T17:56:50.2563082+00:00",
    "SchedulePreferenceDate": "2026-10-27T17:56:50.2563082+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-27T17:56:50.2563082+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c6e155c6-a0cd-4c51-a8e3-efae7e898976",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "823b0861-4f4c-4326-a878-c5e46bea27ed",
      "Sequence": 1,
      "AncestorCategoryId": "ed0a3d0d-d3ba-46fb-9849-2cb256753067",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f4c8b41c-7109-4425-b254-2244535ff057",
          "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": "f4c8b41c-7109-4425-b254-2244535ff057",
          "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": "c6e155c6-a0cd-4c51-a8e3-efae7e898976",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "823b0861-4f4c-4326-a878-c5e46bea27ed",
      "Sequence": 1,
      "AncestorCategoryId": "ed0a3d0d-d3ba-46fb-9849-2cb256753067",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f4c8b41c-7109-4425-b254-2244535ff057",
          "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": "f4c8b41c-7109-4425-b254-2244535ff057",
          "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": "91346977-2f88-41a2-bcb6-308835148fb0",
    "CategoryId": "fb0a4cd9-cca0-4b2b-96e3-f8dfb48447bb",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a906ee43-3806-4d3d-8a15-c046337ae18c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a906ee43-3806-4d3d-8a15-c046337ae18c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ea21241d-1553-4946-91e4-5d78f8ed4663",
      "Questions": [
        {
          "Id": "e46334d2-185e-4dc7-9e59-3eeb134b389c",
          "Answers": "sample string 2"
        },
        {
          "Id": "e46334d2-185e-4dc7-9e59-3eeb134b389c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ea21241d-1553-4946-91e4-5d78f8ed4663",
      "Questions": [
        {
          "Id": "e46334d2-185e-4dc7-9e59-3eeb134b389c",
          "Answers": "sample string 2"
        },
        {
          "Id": "e46334d2-185e-4dc7-9e59-3eeb134b389c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b9639ce1-206e-4a5e-819c-57809ced6727",
      "ContentItemId": "9eb2dfc0-235d-4bdf-9674-09ca4fb882bf",
      "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-27T17:56:50.2563082+00:00",
      "RescheduleDate": "2026-10-27T17:56:50.2563082+00:00"
    },
    {
      "Id": "b9639ce1-206e-4a5e-819c-57809ced6727",
      "ContentItemId": "9eb2dfc0-235d-4bdf-9674-09ca4fb882bf",
      "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-27T17:56:50.2563082+00:00",
      "RescheduleDate": "2026-10-27T17:56:50.2563082+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}