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": "3222cda6-1220-4dc9-a4a1-55dec8f5272a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-27T09:57:55.6185037+00:00",
  "Registration": {
    "Id": "43718c96-a43e-4d9f-946c-1e407af55f95",
    "UserId": "c6aefd71-a883-416f-8472-e0d113fad8f5",
    "IsCurrent": true,
    "CenterId": "38c2e1a2-1438-4e5c-b6b0-7b3f00446ff5",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "e81ccef7-1b66-4614-afc8-1b1b4a6fec36",
    "EndDate": "2026-03-27T09:57:55.6185037+00:00",
    "StartDate": "2026-03-27T09:57:55.6185037+00:00",
    "SchedulePreferenceDate": "2026-03-27T09:57:55.6185037+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-03-27T09:57:55.6185037+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "045a0605-57fa-42e7-ae59-4320b3f55301",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2711b3ad-0ec8-437a-b4ef-c39125f0f6ab",
      "Sequence": 1,
      "AncestorCategoryId": "3acb1e9f-5d2b-41ed-b13f-7e8a11c524f5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ef9ab98d-466c-4b7f-bded-0814d8c8b9e6",
          "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": "ef9ab98d-466c-4b7f-bded-0814d8c8b9e6",
          "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": "045a0605-57fa-42e7-ae59-4320b3f55301",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2711b3ad-0ec8-437a-b4ef-c39125f0f6ab",
      "Sequence": 1,
      "AncestorCategoryId": "3acb1e9f-5d2b-41ed-b13f-7e8a11c524f5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ef9ab98d-466c-4b7f-bded-0814d8c8b9e6",
          "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": "ef9ab98d-466c-4b7f-bded-0814d8c8b9e6",
          "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": "4ced9009-7b5f-44b8-91b8-4e5fa02af8b1",
    "CategoryId": "f464d110-703b-4fbe-afa4-1b090f3c5364",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1bdd49bc-aac8-48d0-887c-a111d1ae537a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1bdd49bc-aac8-48d0-887c-a111d1ae537a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9cf7c930-5a7d-414c-a540-989ce1d9071c",
      "Questions": [
        {
          "Id": "6dc87d2b-cf6d-44f3-94df-46951fb910c9",
          "Answers": "sample string 2"
        },
        {
          "Id": "6dc87d2b-cf6d-44f3-94df-46951fb910c9",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9cf7c930-5a7d-414c-a540-989ce1d9071c",
      "Questions": [
        {
          "Id": "6dc87d2b-cf6d-44f3-94df-46951fb910c9",
          "Answers": "sample string 2"
        },
        {
          "Id": "6dc87d2b-cf6d-44f3-94df-46951fb910c9",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "188dd6bf-d65d-4f2d-8ea1-c8bc235fd5da",
      "ContentItemId": "4e7695f7-4e94-4e2c-8a82-afc0832f85bf",
      "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-03-27T09:57:55.6185037+00:00",
      "RescheduleDate": "2026-03-27T09:57:55.6185037+00:00"
    },
    {
      "Id": "188dd6bf-d65d-4f2d-8ea1-c8bc235fd5da",
      "ContentItemId": "4e7695f7-4e94-4e2c-8a82-afc0832f85bf",
      "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-03-27T09:57:55.6185037+00:00",
      "RescheduleDate": "2026-03-27T09:57:55.6185037+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "3222cda6-1220-4dc9-a4a1-55dec8f5272a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-27T09:57:55.649758+00:00",
  "Registration": {
    "Id": "43718c96-a43e-4d9f-946c-1e407af55f95",
    "UserId": "c6aefd71-a883-416f-8472-e0d113fad8f5",
    "IsCurrent": true,
    "CenterId": "38c2e1a2-1438-4e5c-b6b0-7b3f00446ff5",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "e81ccef7-1b66-4614-afc8-1b1b4a6fec36",
    "EndDate": "2026-03-27T09:57:55.6185037+00:00",
    "StartDate": "2026-03-27T09:57:55.6185037+00:00",
    "SchedulePreferenceDate": "2026-03-27T09:57:55.6185037+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-03-27T09:57:55.6185037+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "045a0605-57fa-42e7-ae59-4320b3f55301",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2711b3ad-0ec8-437a-b4ef-c39125f0f6ab",
      "Sequence": 1,
      "AncestorCategoryId": "3acb1e9f-5d2b-41ed-b13f-7e8a11c524f5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ef9ab98d-466c-4b7f-bded-0814d8c8b9e6",
          "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": "ef9ab98d-466c-4b7f-bded-0814d8c8b9e6",
          "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": "045a0605-57fa-42e7-ae59-4320b3f55301",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "2711b3ad-0ec8-437a-b4ef-c39125f0f6ab",
      "Sequence": 1,
      "AncestorCategoryId": "3acb1e9f-5d2b-41ed-b13f-7e8a11c524f5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ef9ab98d-466c-4b7f-bded-0814d8c8b9e6",
          "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": "ef9ab98d-466c-4b7f-bded-0814d8c8b9e6",
          "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": "4ced9009-7b5f-44b8-91b8-4e5fa02af8b1",
    "CategoryId": "f464d110-703b-4fbe-afa4-1b090f3c5364",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1bdd49bc-aac8-48d0-887c-a111d1ae537a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1bdd49bc-aac8-48d0-887c-a111d1ae537a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9cf7c930-5a7d-414c-a540-989ce1d9071c",
      "Questions": [
        {
          "Id": "6dc87d2b-cf6d-44f3-94df-46951fb910c9",
          "Answers": "sample string 2"
        },
        {
          "Id": "6dc87d2b-cf6d-44f3-94df-46951fb910c9",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9cf7c930-5a7d-414c-a540-989ce1d9071c",
      "Questions": [
        {
          "Id": "6dc87d2b-cf6d-44f3-94df-46951fb910c9",
          "Answers": "sample string 2"
        },
        {
          "Id": "6dc87d2b-cf6d-44f3-94df-46951fb910c9",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "188dd6bf-d65d-4f2d-8ea1-c8bc235fd5da",
      "ContentItemId": "4e7695f7-4e94-4e2c-8a82-afc0832f85bf",
      "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-03-27T09:57:55.6185037+00:00",
      "RescheduleDate": "2026-03-27T09:57:55.6185037+00:00"
    },
    {
      "Id": "188dd6bf-d65d-4f2d-8ea1-c8bc235fd5da",
      "ContentItemId": "4e7695f7-4e94-4e2c-8a82-afc0832f85bf",
      "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-03-27T09:57:55.6185037+00:00",
      "RescheduleDate": "2026-03-27T09:57:55.6185037+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}