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": "b8e82265-d159-41ef-894c-76dc5502d351",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-06T22:59:56.0000236+00:00",
  "Registration": {
    "Id": "178a3ad9-201b-468f-86fd-65e04556c7f5",
    "UserId": "8a6d1846-28b4-4929-a7a9-e71860183716",
    "IsCurrent": true,
    "CenterId": "d46bf3e6-d3b0-456b-ba51-6b47521bad26",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "1e12c2bd-df69-4a2a-828c-196ce6d48be5",
    "EndDate": "2026-12-06T22:59:56.0000236+00:00",
    "StartDate": "2026-12-06T22:59:56.0000236+00:00",
    "SchedulePreferenceDate": "2026-12-06T22:59:56.0000236+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-12-06T22:59:56.0000236+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "0b0c047e-9268-4e2e-a7a1-53b38dda47d9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "adca92f7-cae3-4c77-987d-772565826982",
      "Sequence": 1,
      "AncestorCategoryId": "e212ba8a-50d5-4097-b6a4-e5599ee6c8b2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "83b46c37-10ae-4590-a9d0-1d2eba0a933f",
          "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": "83b46c37-10ae-4590-a9d0-1d2eba0a933f",
          "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": "0b0c047e-9268-4e2e-a7a1-53b38dda47d9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "adca92f7-cae3-4c77-987d-772565826982",
      "Sequence": 1,
      "AncestorCategoryId": "e212ba8a-50d5-4097-b6a4-e5599ee6c8b2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "83b46c37-10ae-4590-a9d0-1d2eba0a933f",
          "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": "83b46c37-10ae-4590-a9d0-1d2eba0a933f",
          "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": "f666e007-7dd8-427b-b703-0e3ed34052bc",
    "CategoryId": "2b2d44bd-eb1a-4c51-b4bb-6e3ac6b7afc2",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "4e2be87f-1b73-4536-b831-9e166cbc864a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "4e2be87f-1b73-4536-b831-9e166cbc864a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "213b5704-c6be-437c-a515-7c6f3874e37f",
      "Questions": [
        {
          "Id": "12469e30-bea0-4b98-bc10-c960bd3f164f",
          "Answers": "sample string 2"
        },
        {
          "Id": "12469e30-bea0-4b98-bc10-c960bd3f164f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "213b5704-c6be-437c-a515-7c6f3874e37f",
      "Questions": [
        {
          "Id": "12469e30-bea0-4b98-bc10-c960bd3f164f",
          "Answers": "sample string 2"
        },
        {
          "Id": "12469e30-bea0-4b98-bc10-c960bd3f164f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "2769a87d-3d30-4136-a3c4-adb41b88f906",
      "ContentItemId": "4249e7e8-0246-4cd3-9f89-9da29723b146",
      "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-12-06T22:59:56.0000236+00:00",
      "RescheduleDate": "2026-12-06T22:59:56.0000236+00:00"
    },
    {
      "Id": "2769a87d-3d30-4136-a3c4-adb41b88f906",
      "ContentItemId": "4249e7e8-0246-4cd3-9f89-9da29723b146",
      "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-12-06T22:59:56.0000236+00:00",
      "RescheduleDate": "2026-12-06T22:59:56.0000236+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "b8e82265-d159-41ef-894c-76dc5502d351",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-06T22:59:56.0312751+00:00",
  "Registration": {
    "Id": "178a3ad9-201b-468f-86fd-65e04556c7f5",
    "UserId": "8a6d1846-28b4-4929-a7a9-e71860183716",
    "IsCurrent": true,
    "CenterId": "d46bf3e6-d3b0-456b-ba51-6b47521bad26",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "1e12c2bd-df69-4a2a-828c-196ce6d48be5",
    "EndDate": "2026-12-06T22:59:56.0000236+00:00",
    "StartDate": "2026-12-06T22:59:56.0000236+00:00",
    "SchedulePreferenceDate": "2026-12-06T22:59:56.0000236+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-12-06T22:59:56.0000236+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "0b0c047e-9268-4e2e-a7a1-53b38dda47d9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "adca92f7-cae3-4c77-987d-772565826982",
      "Sequence": 1,
      "AncestorCategoryId": "e212ba8a-50d5-4097-b6a4-e5599ee6c8b2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "83b46c37-10ae-4590-a9d0-1d2eba0a933f",
          "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": "83b46c37-10ae-4590-a9d0-1d2eba0a933f",
          "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": "0b0c047e-9268-4e2e-a7a1-53b38dda47d9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "adca92f7-cae3-4c77-987d-772565826982",
      "Sequence": 1,
      "AncestorCategoryId": "e212ba8a-50d5-4097-b6a4-e5599ee6c8b2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "83b46c37-10ae-4590-a9d0-1d2eba0a933f",
          "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": "83b46c37-10ae-4590-a9d0-1d2eba0a933f",
          "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": "f666e007-7dd8-427b-b703-0e3ed34052bc",
    "CategoryId": "2b2d44bd-eb1a-4c51-b4bb-6e3ac6b7afc2",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "4e2be87f-1b73-4536-b831-9e166cbc864a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "4e2be87f-1b73-4536-b831-9e166cbc864a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "213b5704-c6be-437c-a515-7c6f3874e37f",
      "Questions": [
        {
          "Id": "12469e30-bea0-4b98-bc10-c960bd3f164f",
          "Answers": "sample string 2"
        },
        {
          "Id": "12469e30-bea0-4b98-bc10-c960bd3f164f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "213b5704-c6be-437c-a515-7c6f3874e37f",
      "Questions": [
        {
          "Id": "12469e30-bea0-4b98-bc10-c960bd3f164f",
          "Answers": "sample string 2"
        },
        {
          "Id": "12469e30-bea0-4b98-bc10-c960bd3f164f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "2769a87d-3d30-4136-a3c4-adb41b88f906",
      "ContentItemId": "4249e7e8-0246-4cd3-9f89-9da29723b146",
      "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-12-06T22:59:56.0000236+00:00",
      "RescheduleDate": "2026-12-06T22:59:56.0000236+00:00"
    },
    {
      "Id": "2769a87d-3d30-4136-a3c4-adb41b88f906",
      "ContentItemId": "4249e7e8-0246-4cd3-9f89-9da29723b146",
      "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-12-06T22:59:56.0000236+00:00",
      "RescheduleDate": "2026-12-06T22:59:56.0000236+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}