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": "1009e145-793a-44e2-aa78-c8eee9e1615c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-20T01:02:54.8217354+00:00",
  "Registration": {
    "Id": "80bff038-9b5f-4383-8e8e-693d486e1b29",
    "UserId": "2ba9de8f-a08e-46e2-afd5-e9ccd8e4397d",
    "IsCurrent": true,
    "CenterId": "aaeabf73-87c3-41eb-8771-1f2570afd3f6",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c1303fd9-1b94-447f-b5f5-e08a76e1c3f0",
    "EndDate": "2026-05-20T01:02:54.8061076+00:00",
    "StartDate": "2026-05-20T01:02:54.8061076+00:00",
    "SchedulePreferenceDate": "2026-05-20T01:02:54.8061076+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-20T01:02:54.8061076+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "bbdd886b-8e5b-45a6-bf68-d9c999fdea56",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5f565fed-4fe4-4dc6-a773-442e71e9974f",
      "Sequence": 1,
      "AncestorCategoryId": "3ef3d308-9434-49b0-a3fe-c68d2a85f891",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "29c7a45f-974e-42c1-9874-f5cbb1823417",
          "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": "29c7a45f-974e-42c1-9874-f5cbb1823417",
          "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": "bbdd886b-8e5b-45a6-bf68-d9c999fdea56",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5f565fed-4fe4-4dc6-a773-442e71e9974f",
      "Sequence": 1,
      "AncestorCategoryId": "3ef3d308-9434-49b0-a3fe-c68d2a85f891",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "29c7a45f-974e-42c1-9874-f5cbb1823417",
          "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": "29c7a45f-974e-42c1-9874-f5cbb1823417",
          "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": "d7b7f1ff-1f5c-4910-86c4-29b6a0dc939b",
    "CategoryId": "4cf968e5-92ac-4bfa-8f23-ebfe5d39023d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "adeb75ca-fda6-4cb4-87b8-2cc54456ca75",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "adeb75ca-fda6-4cb4-87b8-2cc54456ca75",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9d85dc88-7c04-4209-bc5c-dea6f9e3a216",
      "Questions": [
        {
          "Id": "72661d3f-4c68-4638-b9d8-e3a23f908d97",
          "Answers": "sample string 2"
        },
        {
          "Id": "72661d3f-4c68-4638-b9d8-e3a23f908d97",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9d85dc88-7c04-4209-bc5c-dea6f9e3a216",
      "Questions": [
        {
          "Id": "72661d3f-4c68-4638-b9d8-e3a23f908d97",
          "Answers": "sample string 2"
        },
        {
          "Id": "72661d3f-4c68-4638-b9d8-e3a23f908d97",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0917b30f-520d-4fd9-9156-7a1ec3c64157",
      "ContentItemId": "7c156ba3-c8f7-42a3-9343-cb20503cfa18",
      "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-20T01:02:54.8217354+00:00",
      "RescheduleDate": "2026-05-20T01:02:54.8217354+00:00"
    },
    {
      "Id": "0917b30f-520d-4fd9-9156-7a1ec3c64157",
      "ContentItemId": "7c156ba3-c8f7-42a3-9343-cb20503cfa18",
      "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-20T01:02:54.8217354+00:00",
      "RescheduleDate": "2026-05-20T01:02:54.8217354+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "1009e145-793a-44e2-aa78-c8eee9e1615c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-20T01:02:54.8529841+00:00",
  "Registration": {
    "Id": "80bff038-9b5f-4383-8e8e-693d486e1b29",
    "UserId": "2ba9de8f-a08e-46e2-afd5-e9ccd8e4397d",
    "IsCurrent": true,
    "CenterId": "aaeabf73-87c3-41eb-8771-1f2570afd3f6",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c1303fd9-1b94-447f-b5f5-e08a76e1c3f0",
    "EndDate": "2026-05-20T01:02:54.8061076+00:00",
    "StartDate": "2026-05-20T01:02:54.8061076+00:00",
    "SchedulePreferenceDate": "2026-05-20T01:02:54.8061076+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-20T01:02:54.8061076+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "bbdd886b-8e5b-45a6-bf68-d9c999fdea56",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5f565fed-4fe4-4dc6-a773-442e71e9974f",
      "Sequence": 1,
      "AncestorCategoryId": "3ef3d308-9434-49b0-a3fe-c68d2a85f891",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "29c7a45f-974e-42c1-9874-f5cbb1823417",
          "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": "29c7a45f-974e-42c1-9874-f5cbb1823417",
          "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": "bbdd886b-8e5b-45a6-bf68-d9c999fdea56",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5f565fed-4fe4-4dc6-a773-442e71e9974f",
      "Sequence": 1,
      "AncestorCategoryId": "3ef3d308-9434-49b0-a3fe-c68d2a85f891",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "29c7a45f-974e-42c1-9874-f5cbb1823417",
          "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": "29c7a45f-974e-42c1-9874-f5cbb1823417",
          "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": "d7b7f1ff-1f5c-4910-86c4-29b6a0dc939b",
    "CategoryId": "4cf968e5-92ac-4bfa-8f23-ebfe5d39023d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "adeb75ca-fda6-4cb4-87b8-2cc54456ca75",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "adeb75ca-fda6-4cb4-87b8-2cc54456ca75",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9d85dc88-7c04-4209-bc5c-dea6f9e3a216",
      "Questions": [
        {
          "Id": "72661d3f-4c68-4638-b9d8-e3a23f908d97",
          "Answers": "sample string 2"
        },
        {
          "Id": "72661d3f-4c68-4638-b9d8-e3a23f908d97",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9d85dc88-7c04-4209-bc5c-dea6f9e3a216",
      "Questions": [
        {
          "Id": "72661d3f-4c68-4638-b9d8-e3a23f908d97",
          "Answers": "sample string 2"
        },
        {
          "Id": "72661d3f-4c68-4638-b9d8-e3a23f908d97",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0917b30f-520d-4fd9-9156-7a1ec3c64157",
      "ContentItemId": "7c156ba3-c8f7-42a3-9343-cb20503cfa18",
      "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-20T01:02:54.8217354+00:00",
      "RescheduleDate": "2026-05-20T01:02:54.8217354+00:00"
    },
    {
      "Id": "0917b30f-520d-4fd9-9156-7a1ec3c64157",
      "ContentItemId": "7c156ba3-c8f7-42a3-9343-cb20503cfa18",
      "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-20T01:02:54.8217354+00:00",
      "RescheduleDate": "2026-05-20T01:02:54.8217354+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}