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": "9f1e32d8-5e50-4f70-90c2-24e741068739",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-22T12:52:26.7160674+00:00",
  "Registration": {
    "Id": "af6efed5-7708-4d51-8f76-b1d8826947c6",
    "UserId": "b55e4268-7447-4a8d-a864-73a14a93e37d",
    "IsCurrent": true,
    "CenterId": "fdb1472e-d83f-467c-854c-d3be478972aa",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6eaff074-5a17-4058-b689-9b2dc410bf6f",
    "EndDate": "2026-09-22T12:52:26.7004447+00:00",
    "StartDate": "2026-09-22T12:52:26.7004447+00:00",
    "SchedulePreferenceDate": "2026-09-22T12:52:26.7004447+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-09-22T12:52:26.7004447+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "94b61585-a48b-4cb7-b2bf-2f6a6d533bdb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fed4c3fe-569a-43a1-800b-874f0fc2bf20",
      "Sequence": 1,
      "AncestorCategoryId": "778104f0-7885-4bdc-a472-ced2de28ce61",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "380dae0a-6c39-45bd-aab1-33a85cb8388d",
          "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": "380dae0a-6c39-45bd-aab1-33a85cb8388d",
          "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": "94b61585-a48b-4cb7-b2bf-2f6a6d533bdb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fed4c3fe-569a-43a1-800b-874f0fc2bf20",
      "Sequence": 1,
      "AncestorCategoryId": "778104f0-7885-4bdc-a472-ced2de28ce61",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "380dae0a-6c39-45bd-aab1-33a85cb8388d",
          "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": "380dae0a-6c39-45bd-aab1-33a85cb8388d",
          "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": "1d01fcb9-bb4a-40f0-85c6-006936d29f48",
    "CategoryId": "f1533ba1-b912-4ca8-8018-93eaa77a5961",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "94208ae8-8dd9-4634-950c-002383d1de1d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "94208ae8-8dd9-4634-950c-002383d1de1d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c5b9db95-39ee-4a95-8959-216abe39f215",
      "Questions": [
        {
          "Id": "2e8d9da7-34fc-4b92-8b52-f6a9009eb090",
          "Answers": "sample string 2"
        },
        {
          "Id": "2e8d9da7-34fc-4b92-8b52-f6a9009eb090",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c5b9db95-39ee-4a95-8959-216abe39f215",
      "Questions": [
        {
          "Id": "2e8d9da7-34fc-4b92-8b52-f6a9009eb090",
          "Answers": "sample string 2"
        },
        {
          "Id": "2e8d9da7-34fc-4b92-8b52-f6a9009eb090",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ca878322-cbcb-424a-a853-93fa452ed29b",
      "ContentItemId": "58d91b3e-b048-4824-b8fc-5117ebe32577",
      "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-09-22T12:52:26.7004447+00:00",
      "RescheduleDate": "2026-09-22T12:52:26.7004447+00:00"
    },
    {
      "Id": "ca878322-cbcb-424a-a853-93fa452ed29b",
      "ContentItemId": "58d91b3e-b048-4824-b8fc-5117ebe32577",
      "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-09-22T12:52:26.7004447+00:00",
      "RescheduleDate": "2026-09-22T12:52:26.7004447+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "9f1e32d8-5e50-4f70-90c2-24e741068739",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-22T12:52:26.7629503+00:00",
  "Registration": {
    "Id": "af6efed5-7708-4d51-8f76-b1d8826947c6",
    "UserId": "b55e4268-7447-4a8d-a864-73a14a93e37d",
    "IsCurrent": true,
    "CenterId": "fdb1472e-d83f-467c-854c-d3be478972aa",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6eaff074-5a17-4058-b689-9b2dc410bf6f",
    "EndDate": "2026-09-22T12:52:26.7004447+00:00",
    "StartDate": "2026-09-22T12:52:26.7004447+00:00",
    "SchedulePreferenceDate": "2026-09-22T12:52:26.7004447+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-09-22T12:52:26.7004447+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "94b61585-a48b-4cb7-b2bf-2f6a6d533bdb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fed4c3fe-569a-43a1-800b-874f0fc2bf20",
      "Sequence": 1,
      "AncestorCategoryId": "778104f0-7885-4bdc-a472-ced2de28ce61",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "380dae0a-6c39-45bd-aab1-33a85cb8388d",
          "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": "380dae0a-6c39-45bd-aab1-33a85cb8388d",
          "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": "94b61585-a48b-4cb7-b2bf-2f6a6d533bdb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fed4c3fe-569a-43a1-800b-874f0fc2bf20",
      "Sequence": 1,
      "AncestorCategoryId": "778104f0-7885-4bdc-a472-ced2de28ce61",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "380dae0a-6c39-45bd-aab1-33a85cb8388d",
          "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": "380dae0a-6c39-45bd-aab1-33a85cb8388d",
          "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": "1d01fcb9-bb4a-40f0-85c6-006936d29f48",
    "CategoryId": "f1533ba1-b912-4ca8-8018-93eaa77a5961",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "94208ae8-8dd9-4634-950c-002383d1de1d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "94208ae8-8dd9-4634-950c-002383d1de1d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c5b9db95-39ee-4a95-8959-216abe39f215",
      "Questions": [
        {
          "Id": "2e8d9da7-34fc-4b92-8b52-f6a9009eb090",
          "Answers": "sample string 2"
        },
        {
          "Id": "2e8d9da7-34fc-4b92-8b52-f6a9009eb090",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c5b9db95-39ee-4a95-8959-216abe39f215",
      "Questions": [
        {
          "Id": "2e8d9da7-34fc-4b92-8b52-f6a9009eb090",
          "Answers": "sample string 2"
        },
        {
          "Id": "2e8d9da7-34fc-4b92-8b52-f6a9009eb090",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ca878322-cbcb-424a-a853-93fa452ed29b",
      "ContentItemId": "58d91b3e-b048-4824-b8fc-5117ebe32577",
      "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-09-22T12:52:26.7004447+00:00",
      "RescheduleDate": "2026-09-22T12:52:26.7004447+00:00"
    },
    {
      "Id": "ca878322-cbcb-424a-a853-93fa452ed29b",
      "ContentItemId": "58d91b3e-b048-4824-b8fc-5117ebe32577",
      "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-09-22T12:52:26.7004447+00:00",
      "RescheduleDate": "2026-09-22T12:52:26.7004447+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}