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": "fa58e8c9-3c2a-4e0a-8bae-ddd056c66c1b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-29T04:03:27.5231998+00:00",
  "Registration": {
    "Id": "420e3c2a-60ab-4e38-8034-0c2925bb34ae",
    "UserId": "9af0ab61-5e48-4792-8a4e-6ed397648433",
    "IsCurrent": true,
    "CenterId": "85e66f5b-9acc-4184-9f68-d81dabec31b4",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6db44af3-2180-4e11-b538-10556e304ae8",
    "EndDate": "2026-07-29T04:03:27.5231998+00:00",
    "StartDate": "2026-07-29T04:03:27.5231998+00:00",
    "SchedulePreferenceDate": "2026-07-29T04:03:27.5231998+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-07-29T04:03:27.5231998+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "93abc8c5-421a-42c0-bc21-670c7af39996",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5644c4b3-3c79-4376-8878-c37dbdece940",
      "Sequence": 1,
      "AncestorCategoryId": "8a9ccbe6-a613-4302-ab31-16c3657ed5f5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "59603934-d2fd-4f61-8135-762dd27fb406",
          "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": "59603934-d2fd-4f61-8135-762dd27fb406",
          "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": "93abc8c5-421a-42c0-bc21-670c7af39996",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5644c4b3-3c79-4376-8878-c37dbdece940",
      "Sequence": 1,
      "AncestorCategoryId": "8a9ccbe6-a613-4302-ab31-16c3657ed5f5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "59603934-d2fd-4f61-8135-762dd27fb406",
          "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": "59603934-d2fd-4f61-8135-762dd27fb406",
          "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": "4f661e94-6ec5-45fc-bc3d-5ca9c37e5b97",
    "CategoryId": "06c087e1-78d2-4723-9546-7cda705c3e4f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ca60d75a-ae15-44a5-8ead-de6b2e6cbaa7",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ca60d75a-ae15-44a5-8ead-de6b2e6cbaa7",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "126686bc-67fa-4aac-a4da-2a2e09fa2636",
      "Questions": [
        {
          "Id": "1a11af11-dec3-4969-9d03-1ebd45033f35",
          "Answers": "sample string 2"
        },
        {
          "Id": "1a11af11-dec3-4969-9d03-1ebd45033f35",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "126686bc-67fa-4aac-a4da-2a2e09fa2636",
      "Questions": [
        {
          "Id": "1a11af11-dec3-4969-9d03-1ebd45033f35",
          "Answers": "sample string 2"
        },
        {
          "Id": "1a11af11-dec3-4969-9d03-1ebd45033f35",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b6f10568-95d1-4f8f-af80-1883d6155bbf",
      "ContentItemId": "53aef998-dbf7-49c3-a7a6-ee5cec1f944d",
      "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-07-29T04:03:27.5231998+00:00",
      "RescheduleDate": "2026-07-29T04:03:27.5231998+00:00"
    },
    {
      "Id": "b6f10568-95d1-4f8f-af80-1883d6155bbf",
      "ContentItemId": "53aef998-dbf7-49c3-a7a6-ee5cec1f944d",
      "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-07-29T04:03:27.5231998+00:00",
      "RescheduleDate": "2026-07-29T04:03:27.5231998+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "fa58e8c9-3c2a-4e0a-8bae-ddd056c66c1b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-29T04:03:27.5544586+00:00",
  "Registration": {
    "Id": "420e3c2a-60ab-4e38-8034-0c2925bb34ae",
    "UserId": "9af0ab61-5e48-4792-8a4e-6ed397648433",
    "IsCurrent": true,
    "CenterId": "85e66f5b-9acc-4184-9f68-d81dabec31b4",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6db44af3-2180-4e11-b538-10556e304ae8",
    "EndDate": "2026-07-29T04:03:27.5231998+00:00",
    "StartDate": "2026-07-29T04:03:27.5231998+00:00",
    "SchedulePreferenceDate": "2026-07-29T04:03:27.5231998+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-07-29T04:03:27.5231998+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "93abc8c5-421a-42c0-bc21-670c7af39996",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5644c4b3-3c79-4376-8878-c37dbdece940",
      "Sequence": 1,
      "AncestorCategoryId": "8a9ccbe6-a613-4302-ab31-16c3657ed5f5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "59603934-d2fd-4f61-8135-762dd27fb406",
          "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": "59603934-d2fd-4f61-8135-762dd27fb406",
          "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": "93abc8c5-421a-42c0-bc21-670c7af39996",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5644c4b3-3c79-4376-8878-c37dbdece940",
      "Sequence": 1,
      "AncestorCategoryId": "8a9ccbe6-a613-4302-ab31-16c3657ed5f5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "59603934-d2fd-4f61-8135-762dd27fb406",
          "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": "59603934-d2fd-4f61-8135-762dd27fb406",
          "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": "4f661e94-6ec5-45fc-bc3d-5ca9c37e5b97",
    "CategoryId": "06c087e1-78d2-4723-9546-7cda705c3e4f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ca60d75a-ae15-44a5-8ead-de6b2e6cbaa7",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ca60d75a-ae15-44a5-8ead-de6b2e6cbaa7",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "126686bc-67fa-4aac-a4da-2a2e09fa2636",
      "Questions": [
        {
          "Id": "1a11af11-dec3-4969-9d03-1ebd45033f35",
          "Answers": "sample string 2"
        },
        {
          "Id": "1a11af11-dec3-4969-9d03-1ebd45033f35",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "126686bc-67fa-4aac-a4da-2a2e09fa2636",
      "Questions": [
        {
          "Id": "1a11af11-dec3-4969-9d03-1ebd45033f35",
          "Answers": "sample string 2"
        },
        {
          "Id": "1a11af11-dec3-4969-9d03-1ebd45033f35",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b6f10568-95d1-4f8f-af80-1883d6155bbf",
      "ContentItemId": "53aef998-dbf7-49c3-a7a6-ee5cec1f944d",
      "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-07-29T04:03:27.5231998+00:00",
      "RescheduleDate": "2026-07-29T04:03:27.5231998+00:00"
    },
    {
      "Id": "b6f10568-95d1-4f8f-af80-1883d6155bbf",
      "ContentItemId": "53aef998-dbf7-49c3-a7a6-ee5cec1f944d",
      "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-07-29T04:03:27.5231998+00:00",
      "RescheduleDate": "2026-07-29T04:03:27.5231998+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}