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": "36ba8e78-9a9d-4413-9958-4f507d4b6919",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-14T16:46:36.3827853+00:00",
  "Registration": {
    "Id": "da24bc64-5849-49a9-867a-b49fe7573075",
    "UserId": "bb5e55b2-71ae-446f-abe2-c829923b86a4",
    "IsCurrent": true,
    "CenterId": "471fefd3-9bd6-4684-8ea2-6ea56c7d7745",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c37c9f84-5eb5-4dda-b977-4a989368bde9",
    "EndDate": "2026-04-14T16:46:36.367162+00:00",
    "StartDate": "2026-04-14T16:46:36.367162+00:00",
    "SchedulePreferenceDate": "2026-04-14T16:46:36.367162+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-04-14T16:46:36.367162+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "49632da1-be4f-4759-b104-ccf259212f02",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "17ef08b2-b7ee-4e7b-aded-66efe89619ab",
      "Sequence": 1,
      "AncestorCategoryId": "ce9e083b-e675-4a2f-b260-681f48345ec2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac9a52da-5337-4c76-a78b-f0e20a9996af",
          "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": "ac9a52da-5337-4c76-a78b-f0e20a9996af",
          "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": "49632da1-be4f-4759-b104-ccf259212f02",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "17ef08b2-b7ee-4e7b-aded-66efe89619ab",
      "Sequence": 1,
      "AncestorCategoryId": "ce9e083b-e675-4a2f-b260-681f48345ec2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac9a52da-5337-4c76-a78b-f0e20a9996af",
          "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": "ac9a52da-5337-4c76-a78b-f0e20a9996af",
          "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": "42b8a76f-d8db-4356-a83c-4cde42a20581",
    "CategoryId": "68783ac9-da33-4516-a724-498fd1282cc7",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1d631c77-890a-4d01-830d-d63b0d800a61",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1d631c77-890a-4d01-830d-d63b0d800a61",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5fd797c6-c0e8-46b6-b75d-9af1f7fe9c06",
      "Questions": [
        {
          "Id": "010cf980-f70e-49b3-b3fc-38d9927307b6",
          "Answers": "sample string 2"
        },
        {
          "Id": "010cf980-f70e-49b3-b3fc-38d9927307b6",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5fd797c6-c0e8-46b6-b75d-9af1f7fe9c06",
      "Questions": [
        {
          "Id": "010cf980-f70e-49b3-b3fc-38d9927307b6",
          "Answers": "sample string 2"
        },
        {
          "Id": "010cf980-f70e-49b3-b3fc-38d9927307b6",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "c136223d-d42f-44e4-bc2d-ebc71d88a3a5",
      "ContentItemId": "3ca9bc66-efdf-453c-97e1-de9ec8a1e945",
      "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-04-14T16:46:36.367162+00:00",
      "RescheduleDate": "2026-04-14T16:46:36.367162+00:00"
    },
    {
      "Id": "c136223d-d42f-44e4-bc2d-ebc71d88a3a5",
      "ContentItemId": "3ca9bc66-efdf-453c-97e1-de9ec8a1e945",
      "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-04-14T16:46:36.367162+00:00",
      "RescheduleDate": "2026-04-14T16:46:36.367162+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "36ba8e78-9a9d-4413-9958-4f507d4b6919",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-14T16:46:36.42966+00:00",
  "Registration": {
    "Id": "da24bc64-5849-49a9-867a-b49fe7573075",
    "UserId": "bb5e55b2-71ae-446f-abe2-c829923b86a4",
    "IsCurrent": true,
    "CenterId": "471fefd3-9bd6-4684-8ea2-6ea56c7d7745",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c37c9f84-5eb5-4dda-b977-4a989368bde9",
    "EndDate": "2026-04-14T16:46:36.367162+00:00",
    "StartDate": "2026-04-14T16:46:36.367162+00:00",
    "SchedulePreferenceDate": "2026-04-14T16:46:36.367162+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-04-14T16:46:36.367162+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "49632da1-be4f-4759-b104-ccf259212f02",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "17ef08b2-b7ee-4e7b-aded-66efe89619ab",
      "Sequence": 1,
      "AncestorCategoryId": "ce9e083b-e675-4a2f-b260-681f48345ec2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac9a52da-5337-4c76-a78b-f0e20a9996af",
          "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": "ac9a52da-5337-4c76-a78b-f0e20a9996af",
          "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": "49632da1-be4f-4759-b104-ccf259212f02",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "17ef08b2-b7ee-4e7b-aded-66efe89619ab",
      "Sequence": 1,
      "AncestorCategoryId": "ce9e083b-e675-4a2f-b260-681f48345ec2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac9a52da-5337-4c76-a78b-f0e20a9996af",
          "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": "ac9a52da-5337-4c76-a78b-f0e20a9996af",
          "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": "42b8a76f-d8db-4356-a83c-4cde42a20581",
    "CategoryId": "68783ac9-da33-4516-a724-498fd1282cc7",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1d631c77-890a-4d01-830d-d63b0d800a61",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1d631c77-890a-4d01-830d-d63b0d800a61",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5fd797c6-c0e8-46b6-b75d-9af1f7fe9c06",
      "Questions": [
        {
          "Id": "010cf980-f70e-49b3-b3fc-38d9927307b6",
          "Answers": "sample string 2"
        },
        {
          "Id": "010cf980-f70e-49b3-b3fc-38d9927307b6",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5fd797c6-c0e8-46b6-b75d-9af1f7fe9c06",
      "Questions": [
        {
          "Id": "010cf980-f70e-49b3-b3fc-38d9927307b6",
          "Answers": "sample string 2"
        },
        {
          "Id": "010cf980-f70e-49b3-b3fc-38d9927307b6",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "c136223d-d42f-44e4-bc2d-ebc71d88a3a5",
      "ContentItemId": "3ca9bc66-efdf-453c-97e1-de9ec8a1e945",
      "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-04-14T16:46:36.367162+00:00",
      "RescheduleDate": "2026-04-14T16:46:36.367162+00:00"
    },
    {
      "Id": "c136223d-d42f-44e4-bc2d-ebc71d88a3a5",
      "ContentItemId": "3ca9bc66-efdf-453c-97e1-de9ec8a1e945",
      "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-04-14T16:46:36.367162+00:00",
      "RescheduleDate": "2026-04-14T16:46:36.367162+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}