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": "771e7ca9-6f25-4073-b29e-25acee193d2a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-03T23:36:24.0480055+00:00",
  "Registration": {
    "Id": "943e99bb-8d02-4522-b9ec-e9f47be5aead",
    "UserId": "ce3f0b1f-24fb-40e6-b87c-12f87f77097c",
    "IsCurrent": true,
    "CenterId": "ea7461cd-0d3d-43e2-991f-ac8a512da860",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "19eb5d68-2ca5-4e52-a3a8-facf60af764a",
    "EndDate": "2026-12-03T23:36:24.0480055+00:00",
    "StartDate": "2026-12-03T23:36:24.0480055+00:00",
    "SchedulePreferenceDate": "2026-12-03T23:36:24.0480055+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-03T23:36:24.0480055+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d61a73bf-c8b5-4b9c-a64a-54b790db2be7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "01f54a7f-ac82-42a4-b65e-e5334a56cdc6",
      "Sequence": 1,
      "AncestorCategoryId": "ad9d94c6-1664-4c87-8e52-b5cec05ff483",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d03039dc-bb6d-4b92-8da0-86fb9ea50879",
          "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": "d03039dc-bb6d-4b92-8da0-86fb9ea50879",
          "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": "d61a73bf-c8b5-4b9c-a64a-54b790db2be7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "01f54a7f-ac82-42a4-b65e-e5334a56cdc6",
      "Sequence": 1,
      "AncestorCategoryId": "ad9d94c6-1664-4c87-8e52-b5cec05ff483",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d03039dc-bb6d-4b92-8da0-86fb9ea50879",
          "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": "d03039dc-bb6d-4b92-8da0-86fb9ea50879",
          "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": "a7a2f0e6-c1e3-4d55-92fa-fa8890b84791",
    "CategoryId": "a52e41c9-c9a4-4eeb-985a-256788a8ee59",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f942fd28-4822-470e-a2cb-9c91ebab592a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f942fd28-4822-470e-a2cb-9c91ebab592a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "11a9a3fe-707c-4650-b6c4-b0bc047dd717",
      "Questions": [
        {
          "Id": "ac45fd79-3fda-4461-8776-89e1a0614b58",
          "Answers": "sample string 2"
        },
        {
          "Id": "ac45fd79-3fda-4461-8776-89e1a0614b58",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "11a9a3fe-707c-4650-b6c4-b0bc047dd717",
      "Questions": [
        {
          "Id": "ac45fd79-3fda-4461-8776-89e1a0614b58",
          "Answers": "sample string 2"
        },
        {
          "Id": "ac45fd79-3fda-4461-8776-89e1a0614b58",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "88264d3f-063b-4f92-b2d4-ac167df97034",
      "ContentItemId": "b655dff9-f07e-4d4b-bce8-5e5c53c6255c",
      "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-03T23:36:24.0480055+00:00",
      "RescheduleDate": "2026-12-03T23:36:24.0480055+00:00"
    },
    {
      "Id": "88264d3f-063b-4f92-b2d4-ac167df97034",
      "ContentItemId": "b655dff9-f07e-4d4b-bce8-5e5c53c6255c",
      "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-03T23:36:24.0480055+00:00",
      "RescheduleDate": "2026-12-03T23:36:24.0480055+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "771e7ca9-6f25-4073-b29e-25acee193d2a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-12-03T23:36:24.0948819+00:00",
  "Registration": {
    "Id": "943e99bb-8d02-4522-b9ec-e9f47be5aead",
    "UserId": "ce3f0b1f-24fb-40e6-b87c-12f87f77097c",
    "IsCurrent": true,
    "CenterId": "ea7461cd-0d3d-43e2-991f-ac8a512da860",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "19eb5d68-2ca5-4e52-a3a8-facf60af764a",
    "EndDate": "2026-12-03T23:36:24.0480055+00:00",
    "StartDate": "2026-12-03T23:36:24.0480055+00:00",
    "SchedulePreferenceDate": "2026-12-03T23:36:24.0480055+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-03T23:36:24.0480055+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d61a73bf-c8b5-4b9c-a64a-54b790db2be7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "01f54a7f-ac82-42a4-b65e-e5334a56cdc6",
      "Sequence": 1,
      "AncestorCategoryId": "ad9d94c6-1664-4c87-8e52-b5cec05ff483",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d03039dc-bb6d-4b92-8da0-86fb9ea50879",
          "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": "d03039dc-bb6d-4b92-8da0-86fb9ea50879",
          "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": "d61a73bf-c8b5-4b9c-a64a-54b790db2be7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "01f54a7f-ac82-42a4-b65e-e5334a56cdc6",
      "Sequence": 1,
      "AncestorCategoryId": "ad9d94c6-1664-4c87-8e52-b5cec05ff483",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d03039dc-bb6d-4b92-8da0-86fb9ea50879",
          "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": "d03039dc-bb6d-4b92-8da0-86fb9ea50879",
          "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": "a7a2f0e6-c1e3-4d55-92fa-fa8890b84791",
    "CategoryId": "a52e41c9-c9a4-4eeb-985a-256788a8ee59",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "f942fd28-4822-470e-a2cb-9c91ebab592a",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "f942fd28-4822-470e-a2cb-9c91ebab592a",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "11a9a3fe-707c-4650-b6c4-b0bc047dd717",
      "Questions": [
        {
          "Id": "ac45fd79-3fda-4461-8776-89e1a0614b58",
          "Answers": "sample string 2"
        },
        {
          "Id": "ac45fd79-3fda-4461-8776-89e1a0614b58",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "11a9a3fe-707c-4650-b6c4-b0bc047dd717",
      "Questions": [
        {
          "Id": "ac45fd79-3fda-4461-8776-89e1a0614b58",
          "Answers": "sample string 2"
        },
        {
          "Id": "ac45fd79-3fda-4461-8776-89e1a0614b58",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "88264d3f-063b-4f92-b2d4-ac167df97034",
      "ContentItemId": "b655dff9-f07e-4d4b-bce8-5e5c53c6255c",
      "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-03T23:36:24.0480055+00:00",
      "RescheduleDate": "2026-12-03T23:36:24.0480055+00:00"
    },
    {
      "Id": "88264d3f-063b-4f92-b2d4-ac167df97034",
      "ContentItemId": "b655dff9-f07e-4d4b-bce8-5e5c53c6255c",
      "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-03T23:36:24.0480055+00:00",
      "RescheduleDate": "2026-12-03T23:36:24.0480055+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}