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": "233e84e4-464c-463c-ac90-09493b6ec083",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-27T07:40:05.7509416+00:00",
  "Registration": {
    "Id": "5a25c300-8663-410e-ad92-75c9809686e5",
    "UserId": "ac8cac9a-e5b2-4fc0-97f9-d3dce5ebcb4d",
    "IsCurrent": true,
    "CenterId": "b873d1a9-36e8-4ae5-88c4-dd51360c6e5d",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "f3e884f6-a870-4795-a8be-af41c647c940",
    "EndDate": "2026-03-27T07:40:05.7212338+00:00",
    "StartDate": "2026-03-27T07:40:05.7212338+00:00",
    "SchedulePreferenceDate": "2026-03-27T07:40:05.7212338+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-27T07:40:05.7212338+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "37c5865b-4fea-4c24-a671-f46ffbf9f9ed",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ff642010-01ba-46e6-b011-cb424119469c",
      "Sequence": 1,
      "AncestorCategoryId": "6078b505-cf95-4576-9954-c54ffc1442c3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "01999440-e3c8-4b63-bbae-0db4a9087110",
          "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": "01999440-e3c8-4b63-bbae-0db4a9087110",
          "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": "37c5865b-4fea-4c24-a671-f46ffbf9f9ed",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ff642010-01ba-46e6-b011-cb424119469c",
      "Sequence": 1,
      "AncestorCategoryId": "6078b505-cf95-4576-9954-c54ffc1442c3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "01999440-e3c8-4b63-bbae-0db4a9087110",
          "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": "01999440-e3c8-4b63-bbae-0db4a9087110",
          "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": "ab73f468-4cab-4659-9467-00eeaaf8e831",
    "CategoryId": "8b8e4160-9719-4120-8b7e-6a376df0917e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "87728177-1c03-4a5c-a575-dcbce462c7d0",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "87728177-1c03-4a5c-a575-dcbce462c7d0",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "6a16f592-60be-4f54-b487-66cc5edee45a",
      "Questions": [
        {
          "Id": "72c8a1d5-d10b-419d-a8da-267f2e44a230",
          "Answers": "sample string 2"
        },
        {
          "Id": "72c8a1d5-d10b-419d-a8da-267f2e44a230",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "6a16f592-60be-4f54-b487-66cc5edee45a",
      "Questions": [
        {
          "Id": "72c8a1d5-d10b-419d-a8da-267f2e44a230",
          "Answers": "sample string 2"
        },
        {
          "Id": "72c8a1d5-d10b-419d-a8da-267f2e44a230",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "88276400-8930-48d3-b380-6f3a1b57bb7b",
      "ContentItemId": "1baa7555-70c2-4344-824b-bf3874bb6fd7",
      "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-27T07:40:05.7212338+00:00",
      "RescheduleDate": "2026-03-27T07:40:05.7212338+00:00"
    },
    {
      "Id": "88276400-8930-48d3-b380-6f3a1b57bb7b",
      "ContentItemId": "1baa7555-70c2-4344-824b-bf3874bb6fd7",
      "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-27T07:40:05.7212338+00:00",
      "RescheduleDate": "2026-03-27T07:40:05.7212338+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "233e84e4-464c-463c-ac90-09493b6ec083",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-27T07:40:05.8598991+00:00",
  "Registration": {
    "Id": "5a25c300-8663-410e-ad92-75c9809686e5",
    "UserId": "ac8cac9a-e5b2-4fc0-97f9-d3dce5ebcb4d",
    "IsCurrent": true,
    "CenterId": "b873d1a9-36e8-4ae5-88c4-dd51360c6e5d",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "f3e884f6-a870-4795-a8be-af41c647c940",
    "EndDate": "2026-03-27T07:40:05.7212338+00:00",
    "StartDate": "2026-03-27T07:40:05.7212338+00:00",
    "SchedulePreferenceDate": "2026-03-27T07:40:05.7212338+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-27T07:40:05.7212338+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "37c5865b-4fea-4c24-a671-f46ffbf9f9ed",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ff642010-01ba-46e6-b011-cb424119469c",
      "Sequence": 1,
      "AncestorCategoryId": "6078b505-cf95-4576-9954-c54ffc1442c3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "01999440-e3c8-4b63-bbae-0db4a9087110",
          "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": "01999440-e3c8-4b63-bbae-0db4a9087110",
          "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": "37c5865b-4fea-4c24-a671-f46ffbf9f9ed",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ff642010-01ba-46e6-b011-cb424119469c",
      "Sequence": 1,
      "AncestorCategoryId": "6078b505-cf95-4576-9954-c54ffc1442c3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "01999440-e3c8-4b63-bbae-0db4a9087110",
          "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": "01999440-e3c8-4b63-bbae-0db4a9087110",
          "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": "ab73f468-4cab-4659-9467-00eeaaf8e831",
    "CategoryId": "8b8e4160-9719-4120-8b7e-6a376df0917e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "87728177-1c03-4a5c-a575-dcbce462c7d0",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "87728177-1c03-4a5c-a575-dcbce462c7d0",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "6a16f592-60be-4f54-b487-66cc5edee45a",
      "Questions": [
        {
          "Id": "72c8a1d5-d10b-419d-a8da-267f2e44a230",
          "Answers": "sample string 2"
        },
        {
          "Id": "72c8a1d5-d10b-419d-a8da-267f2e44a230",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "6a16f592-60be-4f54-b487-66cc5edee45a",
      "Questions": [
        {
          "Id": "72c8a1d5-d10b-419d-a8da-267f2e44a230",
          "Answers": "sample string 2"
        },
        {
          "Id": "72c8a1d5-d10b-419d-a8da-267f2e44a230",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "88276400-8930-48d3-b380-6f3a1b57bb7b",
      "ContentItemId": "1baa7555-70c2-4344-824b-bf3874bb6fd7",
      "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-27T07:40:05.7212338+00:00",
      "RescheduleDate": "2026-03-27T07:40:05.7212338+00:00"
    },
    {
      "Id": "88276400-8930-48d3-b380-6f3a1b57bb7b",
      "ContentItemId": "1baa7555-70c2-4344-824b-bf3874bb6fd7",
      "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-27T07:40:05.7212338+00:00",
      "RescheduleDate": "2026-03-27T07:40:05.7212338+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}