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": "ff354d21-d4e3-46cd-8566-58dd74d65050",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-30T11:35:58.0009261+00:00",
  "Registration": {
    "Id": "b1d2fb48-68e1-4acf-a831-93dd37bcc691",
    "UserId": "2ef2364b-4209-45e4-811c-b93477bbd007",
    "IsCurrent": true,
    "CenterId": "c852654e-7815-4c3a-a561-9cacc5714154",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "60bdb75b-5709-41b9-b4db-9d70b0bf8e52",
    "EndDate": "2026-03-30T11:35:58.0009261+00:00",
    "StartDate": "2026-03-30T11:35:58.0009261+00:00",
    "SchedulePreferenceDate": "2026-03-30T11:35:58.0009261+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-30T11:35:58.0009261+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "019ee751-4140-437b-b4fa-1d5255cdb997",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "dcbb8a02-58c1-4e79-a06d-0e89c659b78a",
      "Sequence": 1,
      "AncestorCategoryId": "e01007ab-e016-4fc3-9645-f4209a188a26",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8e096c2f-b8c3-4463-bed4-4774b215665e",
          "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": "8e096c2f-b8c3-4463-bed4-4774b215665e",
          "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": "019ee751-4140-437b-b4fa-1d5255cdb997",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "dcbb8a02-58c1-4e79-a06d-0e89c659b78a",
      "Sequence": 1,
      "AncestorCategoryId": "e01007ab-e016-4fc3-9645-f4209a188a26",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8e096c2f-b8c3-4463-bed4-4774b215665e",
          "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": "8e096c2f-b8c3-4463-bed4-4774b215665e",
          "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": "13805fdf-7bd8-41f9-ab24-1841600de72f",
    "CategoryId": "2a0be672-9d18-472b-b54f-d4d2b2e9d052",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8a3e548e-e20a-450c-b7dd-20462fa67593",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8a3e548e-e20a-450c-b7dd-20462fa67593",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0db97675-f88d-4bd8-9633-b9c9718a6a77",
      "Questions": [
        {
          "Id": "c97bbbf8-57d1-4155-b3c7-e8b53a2eb19e",
          "Answers": "sample string 2"
        },
        {
          "Id": "c97bbbf8-57d1-4155-b3c7-e8b53a2eb19e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0db97675-f88d-4bd8-9633-b9c9718a6a77",
      "Questions": [
        {
          "Id": "c97bbbf8-57d1-4155-b3c7-e8b53a2eb19e",
          "Answers": "sample string 2"
        },
        {
          "Id": "c97bbbf8-57d1-4155-b3c7-e8b53a2eb19e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7a27f382-cc6d-4e66-88b0-baf297f07110",
      "ContentItemId": "1bfb63a8-401e-4dd9-bcc0-a80b135cdffe",
      "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-30T11:35:58.0009261+00:00",
      "RescheduleDate": "2026-03-30T11:35:58.0009261+00:00"
    },
    {
      "Id": "7a27f382-cc6d-4e66-88b0-baf297f07110",
      "ContentItemId": "1bfb63a8-401e-4dd9-bcc0-a80b135cdffe",
      "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-30T11:35:58.0009261+00:00",
      "RescheduleDate": "2026-03-30T11:35:58.0009261+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "ff354d21-d4e3-46cd-8566-58dd74d65050",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-30T11:35:58.0478043+00:00",
  "Registration": {
    "Id": "b1d2fb48-68e1-4acf-a831-93dd37bcc691",
    "UserId": "2ef2364b-4209-45e4-811c-b93477bbd007",
    "IsCurrent": true,
    "CenterId": "c852654e-7815-4c3a-a561-9cacc5714154",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "60bdb75b-5709-41b9-b4db-9d70b0bf8e52",
    "EndDate": "2026-03-30T11:35:58.0009261+00:00",
    "StartDate": "2026-03-30T11:35:58.0009261+00:00",
    "SchedulePreferenceDate": "2026-03-30T11:35:58.0009261+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-30T11:35:58.0009261+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "019ee751-4140-437b-b4fa-1d5255cdb997",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "dcbb8a02-58c1-4e79-a06d-0e89c659b78a",
      "Sequence": 1,
      "AncestorCategoryId": "e01007ab-e016-4fc3-9645-f4209a188a26",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8e096c2f-b8c3-4463-bed4-4774b215665e",
          "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": "8e096c2f-b8c3-4463-bed4-4774b215665e",
          "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": "019ee751-4140-437b-b4fa-1d5255cdb997",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "dcbb8a02-58c1-4e79-a06d-0e89c659b78a",
      "Sequence": 1,
      "AncestorCategoryId": "e01007ab-e016-4fc3-9645-f4209a188a26",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8e096c2f-b8c3-4463-bed4-4774b215665e",
          "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": "8e096c2f-b8c3-4463-bed4-4774b215665e",
          "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": "13805fdf-7bd8-41f9-ab24-1841600de72f",
    "CategoryId": "2a0be672-9d18-472b-b54f-d4d2b2e9d052",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8a3e548e-e20a-450c-b7dd-20462fa67593",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8a3e548e-e20a-450c-b7dd-20462fa67593",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0db97675-f88d-4bd8-9633-b9c9718a6a77",
      "Questions": [
        {
          "Id": "c97bbbf8-57d1-4155-b3c7-e8b53a2eb19e",
          "Answers": "sample string 2"
        },
        {
          "Id": "c97bbbf8-57d1-4155-b3c7-e8b53a2eb19e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0db97675-f88d-4bd8-9633-b9c9718a6a77",
      "Questions": [
        {
          "Id": "c97bbbf8-57d1-4155-b3c7-e8b53a2eb19e",
          "Answers": "sample string 2"
        },
        {
          "Id": "c97bbbf8-57d1-4155-b3c7-e8b53a2eb19e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7a27f382-cc6d-4e66-88b0-baf297f07110",
      "ContentItemId": "1bfb63a8-401e-4dd9-bcc0-a80b135cdffe",
      "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-30T11:35:58.0009261+00:00",
      "RescheduleDate": "2026-03-30T11:35:58.0009261+00:00"
    },
    {
      "Id": "7a27f382-cc6d-4e66-88b0-baf297f07110",
      "ContentItemId": "1bfb63a8-401e-4dd9-bcc0-a80b135cdffe",
      "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-30T11:35:58.0009261+00:00",
      "RescheduleDate": "2026-03-30T11:35:58.0009261+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}