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": "54f2f828-5895-4e73-a941-5cee5f059505",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-17T16:04:42.9732636+00:00",
  "Registration": {
    "Id": "2774b054-7395-4eaa-a149-ae9da235a39e",
    "UserId": "3d590e96-2c35-4f6e-8cac-c3c9e963ca19",
    "IsCurrent": true,
    "CenterId": "b1975e87-a28c-41d4-b3d5-4f48929f7efb",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "37612ac5-ed19-4065-8dae-456f95e63fc7",
    "EndDate": "2026-08-17T16:04:42.9732636+00:00",
    "StartDate": "2026-08-17T16:04:42.9732636+00:00",
    "SchedulePreferenceDate": "2026-08-17T16:04:42.9732636+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-08-17T16:04:42.9732636+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "7488532e-afd2-4e82-a305-d5803b27eb25",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0a14dd3c-7570-409b-802b-bf189e0adc12",
      "Sequence": 1,
      "AncestorCategoryId": "63d4613f-072c-456b-a4e4-7d5fbfb2f4b6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "08bc347f-6ea5-43b0-afe0-8a15ce27f025",
          "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": "08bc347f-6ea5-43b0-afe0-8a15ce27f025",
          "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": "7488532e-afd2-4e82-a305-d5803b27eb25",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0a14dd3c-7570-409b-802b-bf189e0adc12",
      "Sequence": 1,
      "AncestorCategoryId": "63d4613f-072c-456b-a4e4-7d5fbfb2f4b6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "08bc347f-6ea5-43b0-afe0-8a15ce27f025",
          "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": "08bc347f-6ea5-43b0-afe0-8a15ce27f025",
          "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": "906685d9-f135-4b06-b1e9-cb8c178198dd",
    "CategoryId": "354a1d43-674d-481e-aa17-4deb4c7360c0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "deac3621-4ec4-4a0e-9815-90fcf5bc7d6e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "deac3621-4ec4-4a0e-9815-90fcf5bc7d6e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d4e4e879-e13f-452f-a515-bb2f43779a72",
      "Questions": [
        {
          "Id": "10589e6f-b7e2-44d9-b7bd-38421fa2861a",
          "Answers": "sample string 2"
        },
        {
          "Id": "10589e6f-b7e2-44d9-b7bd-38421fa2861a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d4e4e879-e13f-452f-a515-bb2f43779a72",
      "Questions": [
        {
          "Id": "10589e6f-b7e2-44d9-b7bd-38421fa2861a",
          "Answers": "sample string 2"
        },
        {
          "Id": "10589e6f-b7e2-44d9-b7bd-38421fa2861a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a69d4786-4f09-484d-b47a-dc5a1248b6d3",
      "ContentItemId": "fc63a64d-3af5-473c-b997-c8dd033c4295",
      "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-08-17T16:04:42.9732636+00:00",
      "RescheduleDate": "2026-08-17T16:04:42.9732636+00:00"
    },
    {
      "Id": "a69d4786-4f09-484d-b47a-dc5a1248b6d3",
      "ContentItemId": "fc63a64d-3af5-473c-b997-c8dd033c4295",
      "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-08-17T16:04:42.9732636+00:00",
      "RescheduleDate": "2026-08-17T16:04:42.9732636+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "54f2f828-5895-4e73-a941-5cee5f059505",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-17T16:04:43.0201402+00:00",
  "Registration": {
    "Id": "2774b054-7395-4eaa-a149-ae9da235a39e",
    "UserId": "3d590e96-2c35-4f6e-8cac-c3c9e963ca19",
    "IsCurrent": true,
    "CenterId": "b1975e87-a28c-41d4-b3d5-4f48929f7efb",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "37612ac5-ed19-4065-8dae-456f95e63fc7",
    "EndDate": "2026-08-17T16:04:42.9732636+00:00",
    "StartDate": "2026-08-17T16:04:42.9732636+00:00",
    "SchedulePreferenceDate": "2026-08-17T16:04:42.9732636+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-08-17T16:04:42.9732636+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "7488532e-afd2-4e82-a305-d5803b27eb25",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0a14dd3c-7570-409b-802b-bf189e0adc12",
      "Sequence": 1,
      "AncestorCategoryId": "63d4613f-072c-456b-a4e4-7d5fbfb2f4b6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "08bc347f-6ea5-43b0-afe0-8a15ce27f025",
          "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": "08bc347f-6ea5-43b0-afe0-8a15ce27f025",
          "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": "7488532e-afd2-4e82-a305-d5803b27eb25",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0a14dd3c-7570-409b-802b-bf189e0adc12",
      "Sequence": 1,
      "AncestorCategoryId": "63d4613f-072c-456b-a4e4-7d5fbfb2f4b6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "08bc347f-6ea5-43b0-afe0-8a15ce27f025",
          "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": "08bc347f-6ea5-43b0-afe0-8a15ce27f025",
          "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": "906685d9-f135-4b06-b1e9-cb8c178198dd",
    "CategoryId": "354a1d43-674d-481e-aa17-4deb4c7360c0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "deac3621-4ec4-4a0e-9815-90fcf5bc7d6e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "deac3621-4ec4-4a0e-9815-90fcf5bc7d6e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d4e4e879-e13f-452f-a515-bb2f43779a72",
      "Questions": [
        {
          "Id": "10589e6f-b7e2-44d9-b7bd-38421fa2861a",
          "Answers": "sample string 2"
        },
        {
          "Id": "10589e6f-b7e2-44d9-b7bd-38421fa2861a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d4e4e879-e13f-452f-a515-bb2f43779a72",
      "Questions": [
        {
          "Id": "10589e6f-b7e2-44d9-b7bd-38421fa2861a",
          "Answers": "sample string 2"
        },
        {
          "Id": "10589e6f-b7e2-44d9-b7bd-38421fa2861a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a69d4786-4f09-484d-b47a-dc5a1248b6d3",
      "ContentItemId": "fc63a64d-3af5-473c-b997-c8dd033c4295",
      "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-08-17T16:04:42.9732636+00:00",
      "RescheduleDate": "2026-08-17T16:04:42.9732636+00:00"
    },
    {
      "Id": "a69d4786-4f09-484d-b47a-dc5a1248b6d3",
      "ContentItemId": "fc63a64d-3af5-473c-b997-c8dd033c4295",
      "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-08-17T16:04:42.9732636+00:00",
      "RescheduleDate": "2026-08-17T16:04:42.9732636+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}