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": "c9e585c9-7237-4702-a90f-356b8d66173a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-19T12:24:38.7795144+00:00",
  "Registration": {
    "Id": "bcbe0960-a969-4de4-b25a-610eea2db3eb",
    "UserId": "55597a40-66dd-487f-95c6-22dc91f0461a",
    "IsCurrent": true,
    "CenterId": "39e2dd7d-46ab-4196-9926-2d9d1dc0f603",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "24b7ff92-a4cd-4f14-9bd4-271a07ee3076",
    "EndDate": "2026-05-19T12:24:38.7638908+00:00",
    "StartDate": "2026-05-19T12:24:38.7638908+00:00",
    "SchedulePreferenceDate": "2026-05-19T12:24:38.7638908+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-19T12:24:38.7638908+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3c99f7ea-25dc-4854-90c1-336e093ba0bd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6dc16abc-0897-4fa7-8215-cf2217d0305a",
      "Sequence": 1,
      "AncestorCategoryId": "23667a4c-aff2-4aae-b90c-9cb316653f1c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22ee4b6e-e490-433a-87ea-5ef33c75540d",
          "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": "22ee4b6e-e490-433a-87ea-5ef33c75540d",
          "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": "3c99f7ea-25dc-4854-90c1-336e093ba0bd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6dc16abc-0897-4fa7-8215-cf2217d0305a",
      "Sequence": 1,
      "AncestorCategoryId": "23667a4c-aff2-4aae-b90c-9cb316653f1c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22ee4b6e-e490-433a-87ea-5ef33c75540d",
          "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": "22ee4b6e-e490-433a-87ea-5ef33c75540d",
          "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": "6943ad50-8cba-4d84-9aec-4320b47389fc",
    "CategoryId": "12418704-cff3-4e86-8621-2acf8f47335c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a095ab46-29d7-4338-a1fd-f3b930cbacd3",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a095ab46-29d7-4338-a1fd-f3b930cbacd3",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d8ab1f19-a4f6-4949-89a7-94c0823bade8",
      "Questions": [
        {
          "Id": "54e13d22-b3e3-4764-8c25-0e07aa4f1a2e",
          "Answers": "sample string 2"
        },
        {
          "Id": "54e13d22-b3e3-4764-8c25-0e07aa4f1a2e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d8ab1f19-a4f6-4949-89a7-94c0823bade8",
      "Questions": [
        {
          "Id": "54e13d22-b3e3-4764-8c25-0e07aa4f1a2e",
          "Answers": "sample string 2"
        },
        {
          "Id": "54e13d22-b3e3-4764-8c25-0e07aa4f1a2e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b6fdd0f6-fbed-49a2-ba58-b8c0703a3b67",
      "ContentItemId": "d5df50e8-deaa-412c-bd45-d8117acfc941",
      "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-19T12:24:38.7638908+00:00",
      "RescheduleDate": "2026-05-19T12:24:38.7638908+00:00"
    },
    {
      "Id": "b6fdd0f6-fbed-49a2-ba58-b8c0703a3b67",
      "ContentItemId": "d5df50e8-deaa-412c-bd45-d8117acfc941",
      "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-19T12:24:38.7638908+00:00",
      "RescheduleDate": "2026-05-19T12:24:38.7638908+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "c9e585c9-7237-4702-a90f-356b8d66173a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-19T12:24:38.8107688+00:00",
  "Registration": {
    "Id": "bcbe0960-a969-4de4-b25a-610eea2db3eb",
    "UserId": "55597a40-66dd-487f-95c6-22dc91f0461a",
    "IsCurrent": true,
    "CenterId": "39e2dd7d-46ab-4196-9926-2d9d1dc0f603",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "24b7ff92-a4cd-4f14-9bd4-271a07ee3076",
    "EndDate": "2026-05-19T12:24:38.7638908+00:00",
    "StartDate": "2026-05-19T12:24:38.7638908+00:00",
    "SchedulePreferenceDate": "2026-05-19T12:24:38.7638908+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-19T12:24:38.7638908+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3c99f7ea-25dc-4854-90c1-336e093ba0bd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6dc16abc-0897-4fa7-8215-cf2217d0305a",
      "Sequence": 1,
      "AncestorCategoryId": "23667a4c-aff2-4aae-b90c-9cb316653f1c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22ee4b6e-e490-433a-87ea-5ef33c75540d",
          "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": "22ee4b6e-e490-433a-87ea-5ef33c75540d",
          "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": "3c99f7ea-25dc-4854-90c1-336e093ba0bd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6dc16abc-0897-4fa7-8215-cf2217d0305a",
      "Sequence": 1,
      "AncestorCategoryId": "23667a4c-aff2-4aae-b90c-9cb316653f1c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "22ee4b6e-e490-433a-87ea-5ef33c75540d",
          "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": "22ee4b6e-e490-433a-87ea-5ef33c75540d",
          "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": "6943ad50-8cba-4d84-9aec-4320b47389fc",
    "CategoryId": "12418704-cff3-4e86-8621-2acf8f47335c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a095ab46-29d7-4338-a1fd-f3b930cbacd3",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a095ab46-29d7-4338-a1fd-f3b930cbacd3",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d8ab1f19-a4f6-4949-89a7-94c0823bade8",
      "Questions": [
        {
          "Id": "54e13d22-b3e3-4764-8c25-0e07aa4f1a2e",
          "Answers": "sample string 2"
        },
        {
          "Id": "54e13d22-b3e3-4764-8c25-0e07aa4f1a2e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d8ab1f19-a4f6-4949-89a7-94c0823bade8",
      "Questions": [
        {
          "Id": "54e13d22-b3e3-4764-8c25-0e07aa4f1a2e",
          "Answers": "sample string 2"
        },
        {
          "Id": "54e13d22-b3e3-4764-8c25-0e07aa4f1a2e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b6fdd0f6-fbed-49a2-ba58-b8c0703a3b67",
      "ContentItemId": "d5df50e8-deaa-412c-bd45-d8117acfc941",
      "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-19T12:24:38.7638908+00:00",
      "RescheduleDate": "2026-05-19T12:24:38.7638908+00:00"
    },
    {
      "Id": "b6fdd0f6-fbed-49a2-ba58-b8c0703a3b67",
      "ContentItemId": "d5df50e8-deaa-412c-bd45-d8117acfc941",
      "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-19T12:24:38.7638908+00:00",
      "RescheduleDate": "2026-05-19T12:24:38.7638908+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}