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": "a3b77f5a-c778-4804-9ff9-167ea3ca9221",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-14T15:26:30.2445432+00:00",
  "Registration": {
    "Id": "ed66ddd4-09bc-461e-8f90-4d965a73fb0e",
    "UserId": "ff1a7977-ea90-4337-9267-b288a603fa62",
    "IsCurrent": true,
    "CenterId": "e4747039-1e09-4231-ba15-e2be65f62afd",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "5063064f-abd5-4bcf-b2d2-5d7ce3098e3b",
    "EndDate": "2026-09-14T15:26:30.2445432+00:00",
    "StartDate": "2026-09-14T15:26:30.2445432+00:00",
    "SchedulePreferenceDate": "2026-09-14T15:26:30.2445432+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-14T15:26:30.2445432+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "879b0879-33b9-4175-bb31-6d8e03302aea",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "370dd86f-bddd-4f0a-95b6-3f5c5e62256c",
      "Sequence": 1,
      "AncestorCategoryId": "6b193cc1-62dc-4b5b-b29d-2dc8a24c5590",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c4342d28-a612-472e-a8c5-6338c0ca8235",
          "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": "c4342d28-a612-472e-a8c5-6338c0ca8235",
          "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": "879b0879-33b9-4175-bb31-6d8e03302aea",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "370dd86f-bddd-4f0a-95b6-3f5c5e62256c",
      "Sequence": 1,
      "AncestorCategoryId": "6b193cc1-62dc-4b5b-b29d-2dc8a24c5590",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c4342d28-a612-472e-a8c5-6338c0ca8235",
          "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": "c4342d28-a612-472e-a8c5-6338c0ca8235",
          "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": "4113a171-bb93-43e4-8db7-a6c938ac72a3",
    "CategoryId": "e3423d34-53db-423c-9f63-1c20584c2d94",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "e829c240-ecb0-4e6e-b337-b5cc60c3d80b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "e829c240-ecb0-4e6e-b337-b5cc60c3d80b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "1650dfc3-6fc9-41e5-ae58-503900051b8f",
      "Questions": [
        {
          "Id": "a613e7c6-fba0-486c-b6c7-343922240482",
          "Answers": "sample string 2"
        },
        {
          "Id": "a613e7c6-fba0-486c-b6c7-343922240482",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "1650dfc3-6fc9-41e5-ae58-503900051b8f",
      "Questions": [
        {
          "Id": "a613e7c6-fba0-486c-b6c7-343922240482",
          "Answers": "sample string 2"
        },
        {
          "Id": "a613e7c6-fba0-486c-b6c7-343922240482",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a2e1aff8-da19-45ed-9025-43300d81496e",
      "ContentItemId": "b1070d72-bf75-415a-8816-f91926e671cd",
      "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-14T15:26:30.2445432+00:00",
      "RescheduleDate": "2026-09-14T15:26:30.2445432+00:00"
    },
    {
      "Id": "a2e1aff8-da19-45ed-9025-43300d81496e",
      "ContentItemId": "b1070d72-bf75-415a-8816-f91926e671cd",
      "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-14T15:26:30.2445432+00:00",
      "RescheduleDate": "2026-09-14T15:26:30.2445432+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "a3b77f5a-c778-4804-9ff9-167ea3ca9221",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-14T15:26:30.2914207+00:00",
  "Registration": {
    "Id": "ed66ddd4-09bc-461e-8f90-4d965a73fb0e",
    "UserId": "ff1a7977-ea90-4337-9267-b288a603fa62",
    "IsCurrent": true,
    "CenterId": "e4747039-1e09-4231-ba15-e2be65f62afd",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "5063064f-abd5-4bcf-b2d2-5d7ce3098e3b",
    "EndDate": "2026-09-14T15:26:30.2445432+00:00",
    "StartDate": "2026-09-14T15:26:30.2445432+00:00",
    "SchedulePreferenceDate": "2026-09-14T15:26:30.2445432+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-14T15:26:30.2445432+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "879b0879-33b9-4175-bb31-6d8e03302aea",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "370dd86f-bddd-4f0a-95b6-3f5c5e62256c",
      "Sequence": 1,
      "AncestorCategoryId": "6b193cc1-62dc-4b5b-b29d-2dc8a24c5590",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c4342d28-a612-472e-a8c5-6338c0ca8235",
          "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": "c4342d28-a612-472e-a8c5-6338c0ca8235",
          "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": "879b0879-33b9-4175-bb31-6d8e03302aea",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "370dd86f-bddd-4f0a-95b6-3f5c5e62256c",
      "Sequence": 1,
      "AncestorCategoryId": "6b193cc1-62dc-4b5b-b29d-2dc8a24c5590",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c4342d28-a612-472e-a8c5-6338c0ca8235",
          "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": "c4342d28-a612-472e-a8c5-6338c0ca8235",
          "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": "4113a171-bb93-43e4-8db7-a6c938ac72a3",
    "CategoryId": "e3423d34-53db-423c-9f63-1c20584c2d94",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "e829c240-ecb0-4e6e-b337-b5cc60c3d80b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "e829c240-ecb0-4e6e-b337-b5cc60c3d80b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "1650dfc3-6fc9-41e5-ae58-503900051b8f",
      "Questions": [
        {
          "Id": "a613e7c6-fba0-486c-b6c7-343922240482",
          "Answers": "sample string 2"
        },
        {
          "Id": "a613e7c6-fba0-486c-b6c7-343922240482",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "1650dfc3-6fc9-41e5-ae58-503900051b8f",
      "Questions": [
        {
          "Id": "a613e7c6-fba0-486c-b6c7-343922240482",
          "Answers": "sample string 2"
        },
        {
          "Id": "a613e7c6-fba0-486c-b6c7-343922240482",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a2e1aff8-da19-45ed-9025-43300d81496e",
      "ContentItemId": "b1070d72-bf75-415a-8816-f91926e671cd",
      "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-14T15:26:30.2445432+00:00",
      "RescheduleDate": "2026-09-14T15:26:30.2445432+00:00"
    },
    {
      "Id": "a2e1aff8-da19-45ed-9025-43300d81496e",
      "ContentItemId": "b1070d72-bf75-415a-8816-f91926e671cd",
      "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-14T15:26:30.2445432+00:00",
      "RescheduleDate": "2026-09-14T15:26:30.2445432+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}