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": "e09536c2-604a-4e8e-ae53-5c287327ea57",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-06T09:15:35.1555741+00:00",
  "Registration": {
    "Id": "f8a6db2d-89b7-4e90-a615-5fd8c0e5692a",
    "UserId": "c709ad07-b9b5-48a0-983a-c3f506294023",
    "IsCurrent": true,
    "CenterId": "7f1d3058-4d05-40ee-aac9-12b58ac6f6dd",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "dc2cb8af-febf-46c9-9c21-c1c71ac7fd7e",
    "EndDate": "2026-06-06T09:15:35.1399503+00:00",
    "StartDate": "2026-06-06T09:15:35.1399503+00:00",
    "SchedulePreferenceDate": "2026-06-06T09:15:35.1399503+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-06-06T09:15:35.1399503+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2d1f0a25-bb5d-4ebc-81e3-5528a2d533cd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "69e14667-1c77-4d81-9dea-c7289b1738a0",
      "Sequence": 1,
      "AncestorCategoryId": "b9338e1d-087f-4c3e-8635-4cfa8e2661c6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f9126e0a-d429-42ed-8040-972f66218f2e",
          "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": "f9126e0a-d429-42ed-8040-972f66218f2e",
          "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": "2d1f0a25-bb5d-4ebc-81e3-5528a2d533cd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "69e14667-1c77-4d81-9dea-c7289b1738a0",
      "Sequence": 1,
      "AncestorCategoryId": "b9338e1d-087f-4c3e-8635-4cfa8e2661c6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f9126e0a-d429-42ed-8040-972f66218f2e",
          "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": "f9126e0a-d429-42ed-8040-972f66218f2e",
          "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": "aabb9008-b276-4225-8b42-9599e163f238",
    "CategoryId": "5ffffe44-6341-49dd-81b5-01ca28f3be83",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "42e543e9-91c5-4434-aa6d-f5b2e710ad7c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "42e543e9-91c5-4434-aa6d-f5b2e710ad7c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f1e2bb9b-71b1-459d-a4c5-a0d6f7bc1dcf",
      "Questions": [
        {
          "Id": "1d674e6c-58f1-4cd7-bfa2-314796458e99",
          "Answers": "sample string 2"
        },
        {
          "Id": "1d674e6c-58f1-4cd7-bfa2-314796458e99",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f1e2bb9b-71b1-459d-a4c5-a0d6f7bc1dcf",
      "Questions": [
        {
          "Id": "1d674e6c-58f1-4cd7-bfa2-314796458e99",
          "Answers": "sample string 2"
        },
        {
          "Id": "1d674e6c-58f1-4cd7-bfa2-314796458e99",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6a8482ee-e4c7-457f-abfd-c50945e57f6f",
      "ContentItemId": "1b92967e-a743-450a-98a7-f503ed9ae52a",
      "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-06-06T09:15:35.1399503+00:00",
      "RescheduleDate": "2026-06-06T09:15:35.1399503+00:00"
    },
    {
      "Id": "6a8482ee-e4c7-457f-abfd-c50945e57f6f",
      "ContentItemId": "1b92967e-a743-450a-98a7-f503ed9ae52a",
      "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-06-06T09:15:35.1399503+00:00",
      "RescheduleDate": "2026-06-06T09:15:35.1399503+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "e09536c2-604a-4e8e-ae53-5c287327ea57",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-06T09:15:35.1712035+00:00",
  "Registration": {
    "Id": "f8a6db2d-89b7-4e90-a615-5fd8c0e5692a",
    "UserId": "c709ad07-b9b5-48a0-983a-c3f506294023",
    "IsCurrent": true,
    "CenterId": "7f1d3058-4d05-40ee-aac9-12b58ac6f6dd",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "dc2cb8af-febf-46c9-9c21-c1c71ac7fd7e",
    "EndDate": "2026-06-06T09:15:35.1399503+00:00",
    "StartDate": "2026-06-06T09:15:35.1399503+00:00",
    "SchedulePreferenceDate": "2026-06-06T09:15:35.1399503+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-06-06T09:15:35.1399503+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2d1f0a25-bb5d-4ebc-81e3-5528a2d533cd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "69e14667-1c77-4d81-9dea-c7289b1738a0",
      "Sequence": 1,
      "AncestorCategoryId": "b9338e1d-087f-4c3e-8635-4cfa8e2661c6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f9126e0a-d429-42ed-8040-972f66218f2e",
          "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": "f9126e0a-d429-42ed-8040-972f66218f2e",
          "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": "2d1f0a25-bb5d-4ebc-81e3-5528a2d533cd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "69e14667-1c77-4d81-9dea-c7289b1738a0",
      "Sequence": 1,
      "AncestorCategoryId": "b9338e1d-087f-4c3e-8635-4cfa8e2661c6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f9126e0a-d429-42ed-8040-972f66218f2e",
          "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": "f9126e0a-d429-42ed-8040-972f66218f2e",
          "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": "aabb9008-b276-4225-8b42-9599e163f238",
    "CategoryId": "5ffffe44-6341-49dd-81b5-01ca28f3be83",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "42e543e9-91c5-4434-aa6d-f5b2e710ad7c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "42e543e9-91c5-4434-aa6d-f5b2e710ad7c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f1e2bb9b-71b1-459d-a4c5-a0d6f7bc1dcf",
      "Questions": [
        {
          "Id": "1d674e6c-58f1-4cd7-bfa2-314796458e99",
          "Answers": "sample string 2"
        },
        {
          "Id": "1d674e6c-58f1-4cd7-bfa2-314796458e99",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f1e2bb9b-71b1-459d-a4c5-a0d6f7bc1dcf",
      "Questions": [
        {
          "Id": "1d674e6c-58f1-4cd7-bfa2-314796458e99",
          "Answers": "sample string 2"
        },
        {
          "Id": "1d674e6c-58f1-4cd7-bfa2-314796458e99",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6a8482ee-e4c7-457f-abfd-c50945e57f6f",
      "ContentItemId": "1b92967e-a743-450a-98a7-f503ed9ae52a",
      "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-06-06T09:15:35.1399503+00:00",
      "RescheduleDate": "2026-06-06T09:15:35.1399503+00:00"
    },
    {
      "Id": "6a8482ee-e4c7-457f-abfd-c50945e57f6f",
      "ContentItemId": "1b92967e-a743-450a-98a7-f503ed9ae52a",
      "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-06-06T09:15:35.1399503+00:00",
      "RescheduleDate": "2026-06-06T09:15:35.1399503+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}