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": "2b67dfe5-8af9-4278-8751-2edd1ee4700a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-24T04:11:09.6210646+00:00",
  "Registration": {
    "Id": "86d9274c-8007-4b2c-b69d-9bb68c2390be",
    "UserId": "02c7a769-6f9e-4207-a2e4-2ada46bedd66",
    "IsCurrent": true,
    "CenterId": "b2dc29e0-6db5-4489-9f00-82759b236440",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "8a7cf712-82cb-4784-86bf-d05a6b97a2e2",
    "EndDate": "2026-10-24T04:11:09.6210646+00:00",
    "StartDate": "2026-10-24T04:11:09.6210646+00:00",
    "SchedulePreferenceDate": "2026-10-24T04:11:09.6210646+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-10-24T04:11:09.6210646+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e7c577ec-70e3-4d72-8ebf-d1e5bcd51774",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "77e48fc3-1398-4f38-a571-866248ab9997",
      "Sequence": 1,
      "AncestorCategoryId": "8c91e32b-59fa-4259-8392-e729c1b3945b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "27632995-85fa-4111-8a3f-072420eb382a",
          "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": "27632995-85fa-4111-8a3f-072420eb382a",
          "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": "e7c577ec-70e3-4d72-8ebf-d1e5bcd51774",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "77e48fc3-1398-4f38-a571-866248ab9997",
      "Sequence": 1,
      "AncestorCategoryId": "8c91e32b-59fa-4259-8392-e729c1b3945b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "27632995-85fa-4111-8a3f-072420eb382a",
          "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": "27632995-85fa-4111-8a3f-072420eb382a",
          "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": "02fa49b7-6322-4093-a471-8bcf5c1bb67e",
    "CategoryId": "d87d721f-73b2-4ff0-884d-bd2f39d13b00",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b22809b4-b69d-402d-93dd-650e986b7402",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b22809b4-b69d-402d-93dd-650e986b7402",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e6bb69e2-fd22-4995-9e19-00d0bd0b4258",
      "Questions": [
        {
          "Id": "5a003fed-1c83-4d8b-8009-9def1ac9718f",
          "Answers": "sample string 2"
        },
        {
          "Id": "5a003fed-1c83-4d8b-8009-9def1ac9718f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e6bb69e2-fd22-4995-9e19-00d0bd0b4258",
      "Questions": [
        {
          "Id": "5a003fed-1c83-4d8b-8009-9def1ac9718f",
          "Answers": "sample string 2"
        },
        {
          "Id": "5a003fed-1c83-4d8b-8009-9def1ac9718f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4f7df85b-b23b-4ea9-b76f-2a292f7aaead",
      "ContentItemId": "f0c70f03-4ec1-4aa2-b109-df30de56b03b",
      "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-10-24T04:11:09.6210646+00:00",
      "RescheduleDate": "2026-10-24T04:11:09.6210646+00:00"
    },
    {
      "Id": "4f7df85b-b23b-4ea9-b76f-2a292f7aaead",
      "ContentItemId": "f0c70f03-4ec1-4aa2-b109-df30de56b03b",
      "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-10-24T04:11:09.6210646+00:00",
      "RescheduleDate": "2026-10-24T04:11:09.6210646+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "2b67dfe5-8af9-4278-8751-2edd1ee4700a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-24T04:11:09.652315+00:00",
  "Registration": {
    "Id": "86d9274c-8007-4b2c-b69d-9bb68c2390be",
    "UserId": "02c7a769-6f9e-4207-a2e4-2ada46bedd66",
    "IsCurrent": true,
    "CenterId": "b2dc29e0-6db5-4489-9f00-82759b236440",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "8a7cf712-82cb-4784-86bf-d05a6b97a2e2",
    "EndDate": "2026-10-24T04:11:09.6210646+00:00",
    "StartDate": "2026-10-24T04:11:09.6210646+00:00",
    "SchedulePreferenceDate": "2026-10-24T04:11:09.6210646+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-10-24T04:11:09.6210646+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e7c577ec-70e3-4d72-8ebf-d1e5bcd51774",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "77e48fc3-1398-4f38-a571-866248ab9997",
      "Sequence": 1,
      "AncestorCategoryId": "8c91e32b-59fa-4259-8392-e729c1b3945b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "27632995-85fa-4111-8a3f-072420eb382a",
          "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": "27632995-85fa-4111-8a3f-072420eb382a",
          "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": "e7c577ec-70e3-4d72-8ebf-d1e5bcd51774",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "77e48fc3-1398-4f38-a571-866248ab9997",
      "Sequence": 1,
      "AncestorCategoryId": "8c91e32b-59fa-4259-8392-e729c1b3945b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "27632995-85fa-4111-8a3f-072420eb382a",
          "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": "27632995-85fa-4111-8a3f-072420eb382a",
          "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": "02fa49b7-6322-4093-a471-8bcf5c1bb67e",
    "CategoryId": "d87d721f-73b2-4ff0-884d-bd2f39d13b00",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "b22809b4-b69d-402d-93dd-650e986b7402",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "b22809b4-b69d-402d-93dd-650e986b7402",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e6bb69e2-fd22-4995-9e19-00d0bd0b4258",
      "Questions": [
        {
          "Id": "5a003fed-1c83-4d8b-8009-9def1ac9718f",
          "Answers": "sample string 2"
        },
        {
          "Id": "5a003fed-1c83-4d8b-8009-9def1ac9718f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e6bb69e2-fd22-4995-9e19-00d0bd0b4258",
      "Questions": [
        {
          "Id": "5a003fed-1c83-4d8b-8009-9def1ac9718f",
          "Answers": "sample string 2"
        },
        {
          "Id": "5a003fed-1c83-4d8b-8009-9def1ac9718f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4f7df85b-b23b-4ea9-b76f-2a292f7aaead",
      "ContentItemId": "f0c70f03-4ec1-4aa2-b109-df30de56b03b",
      "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-10-24T04:11:09.6210646+00:00",
      "RescheduleDate": "2026-10-24T04:11:09.6210646+00:00"
    },
    {
      "Id": "4f7df85b-b23b-4ea9-b76f-2a292f7aaead",
      "ContentItemId": "f0c70f03-4ec1-4aa2-b109-df30de56b03b",
      "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-10-24T04:11:09.6210646+00:00",
      "RescheduleDate": "2026-10-24T04:11:09.6210646+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}