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": "860a223c-b80f-4971-a545-0a7bc6471e37",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-14T13:04:57.2113954+00:00",
  "Registration": {
    "Id": "998d2ed9-edd5-4f59-9674-d0947978435c",
    "UserId": "7e90085a-5dfe-4249-91db-4e0d8e408c45",
    "IsCurrent": true,
    "CenterId": "102c3554-dde1-4647-9eb5-c68078d29239",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "764cff28-351b-49d1-9614-2d0846691e1c",
    "EndDate": "2026-05-14T13:04:57.1636114+00:00",
    "StartDate": "2026-05-14T13:04:57.1636114+00:00",
    "SchedulePreferenceDate": "2026-05-14T13:04:57.1636114+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-14T13:04:57.1636114+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "443fa3dc-9a1a-4326-b609-b3096e5365f6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "bbffca61-7bbe-4001-a2d9-799f1d3f5e6b",
      "Sequence": 1,
      "AncestorCategoryId": "741ca39a-512e-40ee-9dcb-8a65fca2c3c7",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9df17e26-81ee-478c-a0ea-c2ba829f3d94",
          "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": "9df17e26-81ee-478c-a0ea-c2ba829f3d94",
          "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": "443fa3dc-9a1a-4326-b609-b3096e5365f6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "bbffca61-7bbe-4001-a2d9-799f1d3f5e6b",
      "Sequence": 1,
      "AncestorCategoryId": "741ca39a-512e-40ee-9dcb-8a65fca2c3c7",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9df17e26-81ee-478c-a0ea-c2ba829f3d94",
          "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": "9df17e26-81ee-478c-a0ea-c2ba829f3d94",
          "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": "1dcc77fe-f587-4be4-b6a4-d609875e3538",
    "CategoryId": "1bb4bcd7-3c9e-4c2d-8758-970e9381b922",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8116cb3d-604d-4da9-b3a0-2633a01f702c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8116cb3d-604d-4da9-b3a0-2633a01f702c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "2bed120a-650d-4f4e-afe4-6ba2f0288fd4",
      "Questions": [
        {
          "Id": "5e75f7b0-2269-4684-94a5-a3c07219d3fb",
          "Answers": "sample string 2"
        },
        {
          "Id": "5e75f7b0-2269-4684-94a5-a3c07219d3fb",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "2bed120a-650d-4f4e-afe4-6ba2f0288fd4",
      "Questions": [
        {
          "Id": "5e75f7b0-2269-4684-94a5-a3c07219d3fb",
          "Answers": "sample string 2"
        },
        {
          "Id": "5e75f7b0-2269-4684-94a5-a3c07219d3fb",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "3726ee2b-6a3b-40b4-9f86-0ec922868640",
      "ContentItemId": "66644843-3894-4220-add2-7d161050092b",
      "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-14T13:04:57.1636114+00:00",
      "RescheduleDate": "2026-05-14T13:04:57.1636114+00:00"
    },
    {
      "Id": "3726ee2b-6a3b-40b4-9f86-0ec922868640",
      "ContentItemId": "66644843-3894-4220-add2-7d161050092b",
      "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-14T13:04:57.1636114+00:00",
      "RescheduleDate": "2026-05-14T13:04:57.1636114+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "860a223c-b80f-4971-a545-0a7bc6471e37",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-14T13:04:57.3823618+00:00",
  "Registration": {
    "Id": "998d2ed9-edd5-4f59-9674-d0947978435c",
    "UserId": "7e90085a-5dfe-4249-91db-4e0d8e408c45",
    "IsCurrent": true,
    "CenterId": "102c3554-dde1-4647-9eb5-c68078d29239",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "764cff28-351b-49d1-9614-2d0846691e1c",
    "EndDate": "2026-05-14T13:04:57.1636114+00:00",
    "StartDate": "2026-05-14T13:04:57.1636114+00:00",
    "SchedulePreferenceDate": "2026-05-14T13:04:57.1636114+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-14T13:04:57.1636114+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "443fa3dc-9a1a-4326-b609-b3096e5365f6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "bbffca61-7bbe-4001-a2d9-799f1d3f5e6b",
      "Sequence": 1,
      "AncestorCategoryId": "741ca39a-512e-40ee-9dcb-8a65fca2c3c7",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9df17e26-81ee-478c-a0ea-c2ba829f3d94",
          "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": "9df17e26-81ee-478c-a0ea-c2ba829f3d94",
          "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": "443fa3dc-9a1a-4326-b609-b3096e5365f6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "bbffca61-7bbe-4001-a2d9-799f1d3f5e6b",
      "Sequence": 1,
      "AncestorCategoryId": "741ca39a-512e-40ee-9dcb-8a65fca2c3c7",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9df17e26-81ee-478c-a0ea-c2ba829f3d94",
          "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": "9df17e26-81ee-478c-a0ea-c2ba829f3d94",
          "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": "1dcc77fe-f587-4be4-b6a4-d609875e3538",
    "CategoryId": "1bb4bcd7-3c9e-4c2d-8758-970e9381b922",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8116cb3d-604d-4da9-b3a0-2633a01f702c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8116cb3d-604d-4da9-b3a0-2633a01f702c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "2bed120a-650d-4f4e-afe4-6ba2f0288fd4",
      "Questions": [
        {
          "Id": "5e75f7b0-2269-4684-94a5-a3c07219d3fb",
          "Answers": "sample string 2"
        },
        {
          "Id": "5e75f7b0-2269-4684-94a5-a3c07219d3fb",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "2bed120a-650d-4f4e-afe4-6ba2f0288fd4",
      "Questions": [
        {
          "Id": "5e75f7b0-2269-4684-94a5-a3c07219d3fb",
          "Answers": "sample string 2"
        },
        {
          "Id": "5e75f7b0-2269-4684-94a5-a3c07219d3fb",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "3726ee2b-6a3b-40b4-9f86-0ec922868640",
      "ContentItemId": "66644843-3894-4220-add2-7d161050092b",
      "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-14T13:04:57.1636114+00:00",
      "RescheduleDate": "2026-05-14T13:04:57.1636114+00:00"
    },
    {
      "Id": "3726ee2b-6a3b-40b4-9f86-0ec922868640",
      "ContentItemId": "66644843-3894-4220-add2-7d161050092b",
      "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-14T13:04:57.1636114+00:00",
      "RescheduleDate": "2026-05-14T13:04:57.1636114+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}