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": "6c8b6664-6cd5-44b3-9524-2758ca327315",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-07T17:43:48.4461611+00:00",
  "Registration": {
    "Id": "5065e3d3-38b8-4b7c-8146-e4c7b6756c96",
    "UserId": "baaf1e61-292a-4f28-a22c-617208144462",
    "IsCurrent": true,
    "CenterId": "f14f38df-0e58-4b5c-b855-745fb7543713",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c35222f3-9211-4eec-92cf-4bc11ec531f2",
    "EndDate": "2026-11-07T17:43:48.4461611+00:00",
    "StartDate": "2026-11-07T17:43:48.4461611+00:00",
    "SchedulePreferenceDate": "2026-11-07T17:43:48.4461611+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-11-07T17:43:48.4461611+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "884693a2-4bd8-40e4-ae5c-aa7b7f06297e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e01f7b97-fa23-4b90-a496-d3caa673c118",
      "Sequence": 1,
      "AncestorCategoryId": "7be48f51-01bd-414e-8658-0f9bd9d707f3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cc19e076-ce2a-4802-a02f-be30ff47f1f9",
          "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": "cc19e076-ce2a-4802-a02f-be30ff47f1f9",
          "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": "884693a2-4bd8-40e4-ae5c-aa7b7f06297e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e01f7b97-fa23-4b90-a496-d3caa673c118",
      "Sequence": 1,
      "AncestorCategoryId": "7be48f51-01bd-414e-8658-0f9bd9d707f3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cc19e076-ce2a-4802-a02f-be30ff47f1f9",
          "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": "cc19e076-ce2a-4802-a02f-be30ff47f1f9",
          "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": "3eea6cff-bc46-4f73-adb0-56c96645c2e3",
    "CategoryId": "6525c0de-78d3-4a53-9a6c-3c7a3d19c013",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "12d571a1-ef8c-4363-a4aa-b6eba6c3259b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "12d571a1-ef8c-4363-a4aa-b6eba6c3259b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b7c1c269-f741-4800-8af9-f21df539a59d",
      "Questions": [
        {
          "Id": "e813b29b-2447-4b67-a59e-7affcf4bf056",
          "Answers": "sample string 2"
        },
        {
          "Id": "e813b29b-2447-4b67-a59e-7affcf4bf056",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b7c1c269-f741-4800-8af9-f21df539a59d",
      "Questions": [
        {
          "Id": "e813b29b-2447-4b67-a59e-7affcf4bf056",
          "Answers": "sample string 2"
        },
        {
          "Id": "e813b29b-2447-4b67-a59e-7affcf4bf056",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "2db7f238-62bb-4871-9cb8-f4623fd7ce62",
      "ContentItemId": "c5040e4b-6fac-46fb-af4d-9b7801287293",
      "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-11-07T17:43:48.4461611+00:00",
      "RescheduleDate": "2026-11-07T17:43:48.4461611+00:00"
    },
    {
      "Id": "2db7f238-62bb-4871-9cb8-f4623fd7ce62",
      "ContentItemId": "c5040e4b-6fac-46fb-af4d-9b7801287293",
      "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-11-07T17:43:48.4461611+00:00",
      "RescheduleDate": "2026-11-07T17:43:48.4461611+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "6c8b6664-6cd5-44b3-9524-2758ca327315",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-07T17:43:48.4617987+00:00",
  "Registration": {
    "Id": "5065e3d3-38b8-4b7c-8146-e4c7b6756c96",
    "UserId": "baaf1e61-292a-4f28-a22c-617208144462",
    "IsCurrent": true,
    "CenterId": "f14f38df-0e58-4b5c-b855-745fb7543713",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c35222f3-9211-4eec-92cf-4bc11ec531f2",
    "EndDate": "2026-11-07T17:43:48.4461611+00:00",
    "StartDate": "2026-11-07T17:43:48.4461611+00:00",
    "SchedulePreferenceDate": "2026-11-07T17:43:48.4461611+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-11-07T17:43:48.4461611+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "884693a2-4bd8-40e4-ae5c-aa7b7f06297e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e01f7b97-fa23-4b90-a496-d3caa673c118",
      "Sequence": 1,
      "AncestorCategoryId": "7be48f51-01bd-414e-8658-0f9bd9d707f3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cc19e076-ce2a-4802-a02f-be30ff47f1f9",
          "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": "cc19e076-ce2a-4802-a02f-be30ff47f1f9",
          "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": "884693a2-4bd8-40e4-ae5c-aa7b7f06297e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e01f7b97-fa23-4b90-a496-d3caa673c118",
      "Sequence": 1,
      "AncestorCategoryId": "7be48f51-01bd-414e-8658-0f9bd9d707f3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cc19e076-ce2a-4802-a02f-be30ff47f1f9",
          "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": "cc19e076-ce2a-4802-a02f-be30ff47f1f9",
          "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": "3eea6cff-bc46-4f73-adb0-56c96645c2e3",
    "CategoryId": "6525c0de-78d3-4a53-9a6c-3c7a3d19c013",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "12d571a1-ef8c-4363-a4aa-b6eba6c3259b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "12d571a1-ef8c-4363-a4aa-b6eba6c3259b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b7c1c269-f741-4800-8af9-f21df539a59d",
      "Questions": [
        {
          "Id": "e813b29b-2447-4b67-a59e-7affcf4bf056",
          "Answers": "sample string 2"
        },
        {
          "Id": "e813b29b-2447-4b67-a59e-7affcf4bf056",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b7c1c269-f741-4800-8af9-f21df539a59d",
      "Questions": [
        {
          "Id": "e813b29b-2447-4b67-a59e-7affcf4bf056",
          "Answers": "sample string 2"
        },
        {
          "Id": "e813b29b-2447-4b67-a59e-7affcf4bf056",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "2db7f238-62bb-4871-9cb8-f4623fd7ce62",
      "ContentItemId": "c5040e4b-6fac-46fb-af4d-9b7801287293",
      "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-11-07T17:43:48.4461611+00:00",
      "RescheduleDate": "2026-11-07T17:43:48.4461611+00:00"
    },
    {
      "Id": "2db7f238-62bb-4871-9cb8-f4623fd7ce62",
      "ContentItemId": "c5040e4b-6fac-46fb-af4d-9b7801287293",
      "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-11-07T17:43:48.4461611+00:00",
      "RescheduleDate": "2026-11-07T17:43:48.4461611+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}