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": "76f4345b-786b-49e1-aa89-c6885e08a8f4",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-06T16:44:50.9995204+00:00",
  "Registration": {
    "Id": "01c7afcc-254a-44b8-b3b1-4d32b928b353",
    "UserId": "86283ae0-0c6f-498e-9474-cf3c2ad4aca5",
    "IsCurrent": true,
    "CenterId": "95752b71-be3f-4abc-b2b5-8ac4b5f1dfa9",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "e66449d2-5fc6-461b-9219-616e8abe8cea",
    "EndDate": "2026-12-06T16:44:50.9995204+00:00",
    "StartDate": "2026-12-06T16:44:50.9995204+00:00",
    "SchedulePreferenceDate": "2026-12-06T16:44:50.9995204+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-12-06T16:44:50.9995204+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a06ac664-0db7-48ba-b29e-a60c0dbdc6c6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eb6000cd-7064-4f0a-aee7-863072496d46",
      "Sequence": 1,
      "AncestorCategoryId": "74996d1b-2768-453e-8ae5-b2a3354fdd3f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "65fc6519-4eb5-48c0-96a9-d841f4fb553b",
          "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": "65fc6519-4eb5-48c0-96a9-d841f4fb553b",
          "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": "a06ac664-0db7-48ba-b29e-a60c0dbdc6c6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eb6000cd-7064-4f0a-aee7-863072496d46",
      "Sequence": 1,
      "AncestorCategoryId": "74996d1b-2768-453e-8ae5-b2a3354fdd3f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "65fc6519-4eb5-48c0-96a9-d841f4fb553b",
          "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": "65fc6519-4eb5-48c0-96a9-d841f4fb553b",
          "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": "7d6ef86b-631b-4110-a124-3f00e8903383",
    "CategoryId": "439d0ea6-2196-43b1-bd55-6a8e62f2280b",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3d146e07-541b-409d-8ebe-08c6b54ea7f3",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3d146e07-541b-409d-8ebe-08c6b54ea7f3",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "361a1a30-4cfa-490f-b10d-bf3d8ab4a44f",
      "Questions": [
        {
          "Id": "7414de16-1350-411e-ab19-13de277f1cd0",
          "Answers": "sample string 2"
        },
        {
          "Id": "7414de16-1350-411e-ab19-13de277f1cd0",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "361a1a30-4cfa-490f-b10d-bf3d8ab4a44f",
      "Questions": [
        {
          "Id": "7414de16-1350-411e-ab19-13de277f1cd0",
          "Answers": "sample string 2"
        },
        {
          "Id": "7414de16-1350-411e-ab19-13de277f1cd0",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f7b8847b-2cc0-477b-bbfd-5d708d0116af",
      "ContentItemId": "be3da006-1be6-4009-ae7d-459aed89a185",
      "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-12-06T16:44:50.9995204+00:00",
      "RescheduleDate": "2026-12-06T16:44:50.9995204+00:00"
    },
    {
      "Id": "f7b8847b-2cc0-477b-bbfd-5d708d0116af",
      "ContentItemId": "be3da006-1be6-4009-ae7d-459aed89a185",
      "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-12-06T16:44:50.9995204+00:00",
      "RescheduleDate": "2026-12-06T16:44:50.9995204+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "76f4345b-786b-49e1-aa89-c6885e08a8f4",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-06T16:44:51.0307904+00:00",
  "Registration": {
    "Id": "01c7afcc-254a-44b8-b3b1-4d32b928b353",
    "UserId": "86283ae0-0c6f-498e-9474-cf3c2ad4aca5",
    "IsCurrent": true,
    "CenterId": "95752b71-be3f-4abc-b2b5-8ac4b5f1dfa9",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "e66449d2-5fc6-461b-9219-616e8abe8cea",
    "EndDate": "2026-12-06T16:44:50.9995204+00:00",
    "StartDate": "2026-12-06T16:44:50.9995204+00:00",
    "SchedulePreferenceDate": "2026-12-06T16:44:50.9995204+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-12-06T16:44:50.9995204+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a06ac664-0db7-48ba-b29e-a60c0dbdc6c6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eb6000cd-7064-4f0a-aee7-863072496d46",
      "Sequence": 1,
      "AncestorCategoryId": "74996d1b-2768-453e-8ae5-b2a3354fdd3f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "65fc6519-4eb5-48c0-96a9-d841f4fb553b",
          "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": "65fc6519-4eb5-48c0-96a9-d841f4fb553b",
          "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": "a06ac664-0db7-48ba-b29e-a60c0dbdc6c6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eb6000cd-7064-4f0a-aee7-863072496d46",
      "Sequence": 1,
      "AncestorCategoryId": "74996d1b-2768-453e-8ae5-b2a3354fdd3f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "65fc6519-4eb5-48c0-96a9-d841f4fb553b",
          "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": "65fc6519-4eb5-48c0-96a9-d841f4fb553b",
          "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": "7d6ef86b-631b-4110-a124-3f00e8903383",
    "CategoryId": "439d0ea6-2196-43b1-bd55-6a8e62f2280b",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3d146e07-541b-409d-8ebe-08c6b54ea7f3",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3d146e07-541b-409d-8ebe-08c6b54ea7f3",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "361a1a30-4cfa-490f-b10d-bf3d8ab4a44f",
      "Questions": [
        {
          "Id": "7414de16-1350-411e-ab19-13de277f1cd0",
          "Answers": "sample string 2"
        },
        {
          "Id": "7414de16-1350-411e-ab19-13de277f1cd0",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "361a1a30-4cfa-490f-b10d-bf3d8ab4a44f",
      "Questions": [
        {
          "Id": "7414de16-1350-411e-ab19-13de277f1cd0",
          "Answers": "sample string 2"
        },
        {
          "Id": "7414de16-1350-411e-ab19-13de277f1cd0",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f7b8847b-2cc0-477b-bbfd-5d708d0116af",
      "ContentItemId": "be3da006-1be6-4009-ae7d-459aed89a185",
      "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-12-06T16:44:50.9995204+00:00",
      "RescheduleDate": "2026-12-06T16:44:50.9995204+00:00"
    },
    {
      "Id": "f7b8847b-2cc0-477b-bbfd-5d708d0116af",
      "ContentItemId": "be3da006-1be6-4009-ae7d-459aed89a185",
      "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-12-06T16:44:50.9995204+00:00",
      "RescheduleDate": "2026-12-06T16:44:50.9995204+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}