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": "8c9e2b76-033e-4252-b060-f0b505451676",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-19T15:40:13.1969922+00:00",
  "Registration": {
    "Id": "e123c2cb-7556-4645-b6e0-271593703aad",
    "UserId": "746894a7-532e-43cc-9ec3-05edb917c329",
    "IsCurrent": true,
    "CenterId": "87994a75-fa40-4f4a-89b8-f7db418dac3c",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "ab5f1754-b432-40d6-a877-92e9a60ce579",
    "EndDate": "2026-05-19T15:40:13.1813686+00:00",
    "StartDate": "2026-05-19T15:40:13.1813686+00:00",
    "SchedulePreferenceDate": "2026-05-19T15:40:13.1813686+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-05-19T15:40:13.1813686+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "24a18a8e-8ed7-4c3b-a8df-46fb6b15ff20",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4cd8f1b5-b1ea-408c-aec0-e4c4127d45a9",
      "Sequence": 1,
      "AncestorCategoryId": "f2bdaf85-1c26-4d30-a948-ab9b12f2f802",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "40324e1b-b424-46ae-8233-949abebb57e8",
          "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": "40324e1b-b424-46ae-8233-949abebb57e8",
          "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": "24a18a8e-8ed7-4c3b-a8df-46fb6b15ff20",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4cd8f1b5-b1ea-408c-aec0-e4c4127d45a9",
      "Sequence": 1,
      "AncestorCategoryId": "f2bdaf85-1c26-4d30-a948-ab9b12f2f802",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "40324e1b-b424-46ae-8233-949abebb57e8",
          "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": "40324e1b-b424-46ae-8233-949abebb57e8",
          "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": "e3f6e3d7-6f10-45ee-8b75-f0b9b1801fba",
    "CategoryId": "5ac686c4-95a6-4080-af67-93b67d021494",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "04c20a0e-e81f-4465-bb30-259da3db0fda",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "04c20a0e-e81f-4465-bb30-259da3db0fda",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c2d81072-7b76-4774-b1bb-af5aa29fc399",
      "Questions": [
        {
          "Id": "05c5e84d-2acb-4ee8-890f-acdfdf58ea80",
          "Answers": "sample string 2"
        },
        {
          "Id": "05c5e84d-2acb-4ee8-890f-acdfdf58ea80",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c2d81072-7b76-4774-b1bb-af5aa29fc399",
      "Questions": [
        {
          "Id": "05c5e84d-2acb-4ee8-890f-acdfdf58ea80",
          "Answers": "sample string 2"
        },
        {
          "Id": "05c5e84d-2acb-4ee8-890f-acdfdf58ea80",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b61023eb-5b39-4158-92dc-51368817af47",
      "ContentItemId": "b1b53b1c-7792-4ded-9f7e-055559f8ada0",
      "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-05-19T15:40:13.1813686+00:00",
      "RescheduleDate": "2026-05-19T15:40:13.1813686+00:00"
    },
    {
      "Id": "b61023eb-5b39-4158-92dc-51368817af47",
      "ContentItemId": "b1b53b1c-7792-4ded-9f7e-055559f8ada0",
      "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-05-19T15:40:13.1813686+00:00",
      "RescheduleDate": "2026-05-19T15:40:13.1813686+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "8c9e2b76-033e-4252-b060-f0b505451676",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-19T15:40:13.2282384+00:00",
  "Registration": {
    "Id": "e123c2cb-7556-4645-b6e0-271593703aad",
    "UserId": "746894a7-532e-43cc-9ec3-05edb917c329",
    "IsCurrent": true,
    "CenterId": "87994a75-fa40-4f4a-89b8-f7db418dac3c",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "ab5f1754-b432-40d6-a877-92e9a60ce579",
    "EndDate": "2026-05-19T15:40:13.1813686+00:00",
    "StartDate": "2026-05-19T15:40:13.1813686+00:00",
    "SchedulePreferenceDate": "2026-05-19T15:40:13.1813686+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-05-19T15:40:13.1813686+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "24a18a8e-8ed7-4c3b-a8df-46fb6b15ff20",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4cd8f1b5-b1ea-408c-aec0-e4c4127d45a9",
      "Sequence": 1,
      "AncestorCategoryId": "f2bdaf85-1c26-4d30-a948-ab9b12f2f802",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "40324e1b-b424-46ae-8233-949abebb57e8",
          "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": "40324e1b-b424-46ae-8233-949abebb57e8",
          "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": "24a18a8e-8ed7-4c3b-a8df-46fb6b15ff20",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4cd8f1b5-b1ea-408c-aec0-e4c4127d45a9",
      "Sequence": 1,
      "AncestorCategoryId": "f2bdaf85-1c26-4d30-a948-ab9b12f2f802",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "40324e1b-b424-46ae-8233-949abebb57e8",
          "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": "40324e1b-b424-46ae-8233-949abebb57e8",
          "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": "e3f6e3d7-6f10-45ee-8b75-f0b9b1801fba",
    "CategoryId": "5ac686c4-95a6-4080-af67-93b67d021494",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "04c20a0e-e81f-4465-bb30-259da3db0fda",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "04c20a0e-e81f-4465-bb30-259da3db0fda",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c2d81072-7b76-4774-b1bb-af5aa29fc399",
      "Questions": [
        {
          "Id": "05c5e84d-2acb-4ee8-890f-acdfdf58ea80",
          "Answers": "sample string 2"
        },
        {
          "Id": "05c5e84d-2acb-4ee8-890f-acdfdf58ea80",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c2d81072-7b76-4774-b1bb-af5aa29fc399",
      "Questions": [
        {
          "Id": "05c5e84d-2acb-4ee8-890f-acdfdf58ea80",
          "Answers": "sample string 2"
        },
        {
          "Id": "05c5e84d-2acb-4ee8-890f-acdfdf58ea80",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b61023eb-5b39-4158-92dc-51368817af47",
      "ContentItemId": "b1b53b1c-7792-4ded-9f7e-055559f8ada0",
      "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-05-19T15:40:13.1813686+00:00",
      "RescheduleDate": "2026-05-19T15:40:13.1813686+00:00"
    },
    {
      "Id": "b61023eb-5b39-4158-92dc-51368817af47",
      "ContentItemId": "b1b53b1c-7792-4ded-9f7e-055559f8ada0",
      "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-05-19T15:40:13.1813686+00:00",
      "RescheduleDate": "2026-05-19T15:40:13.1813686+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}