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": "cb6c2f14-6905-4ddb-8fbf-a140e86174cb",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-30T12:36:27.3327318+00:00",
  "Registration": {
    "Id": "0e40f385-044b-4590-99fa-a9533e8e21fc",
    "UserId": "e8ca6d43-f4cd-4240-aeeb-5e89b41142df",
    "IsCurrent": true,
    "CenterId": "7138b016-cb20-4678-aa85-a7be0e8bf590",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6d383c65-8464-4c23-9b98-108e4b17affc",
    "EndDate": "2026-11-30T12:36:27.3327318+00:00",
    "StartDate": "2026-11-30T12:36:27.3327318+00:00",
    "SchedulePreferenceDate": "2026-11-30T12:36:27.3327318+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-11-30T12:36:27.3327318+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a3b47627-d81f-46e6-bc2a-e36cfe4365df",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5bde1e7c-3bc7-4701-825f-e91faac72852",
      "Sequence": 1,
      "AncestorCategoryId": "6eef3bcc-05e7-4cd6-b98b-0a6a8cd2fbe7",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4281ffef-b52a-4d6e-9405-08d948a7c9a0",
          "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": "4281ffef-b52a-4d6e-9405-08d948a7c9a0",
          "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": "a3b47627-d81f-46e6-bc2a-e36cfe4365df",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5bde1e7c-3bc7-4701-825f-e91faac72852",
      "Sequence": 1,
      "AncestorCategoryId": "6eef3bcc-05e7-4cd6-b98b-0a6a8cd2fbe7",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4281ffef-b52a-4d6e-9405-08d948a7c9a0",
          "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": "4281ffef-b52a-4d6e-9405-08d948a7c9a0",
          "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": "b67e5b20-d7d5-42be-841d-fdf377f9b31b",
    "CategoryId": "00a03cb1-e98c-4b62-a75d-8aaca0ccf592",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "27d6772b-7479-480b-8524-acd2c8568de1",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "27d6772b-7479-480b-8524-acd2c8568de1",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "80ae26ab-5089-4228-b790-3dcea968dd39",
      "Questions": [
        {
          "Id": "9d8f9ae8-9fdf-4bc7-8de7-ae8e0eb2cfd4",
          "Answers": "sample string 2"
        },
        {
          "Id": "9d8f9ae8-9fdf-4bc7-8de7-ae8e0eb2cfd4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "80ae26ab-5089-4228-b790-3dcea968dd39",
      "Questions": [
        {
          "Id": "9d8f9ae8-9fdf-4bc7-8de7-ae8e0eb2cfd4",
          "Answers": "sample string 2"
        },
        {
          "Id": "9d8f9ae8-9fdf-4bc7-8de7-ae8e0eb2cfd4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ddd5daa5-8ada-4568-b3a0-70a6d2d730ae",
      "ContentItemId": "1a75ecbc-3261-4b51-9594-485a212d08fd",
      "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-11-30T12:36:27.3327318+00:00",
      "RescheduleDate": "2026-11-30T12:36:27.3327318+00:00"
    },
    {
      "Id": "ddd5daa5-8ada-4568-b3a0-70a6d2d730ae",
      "ContentItemId": "1a75ecbc-3261-4b51-9594-485a212d08fd",
      "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-11-30T12:36:27.3327318+00:00",
      "RescheduleDate": "2026-11-30T12:36:27.3327318+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "cb6c2f14-6905-4ddb-8fbf-a140e86174cb",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-30T12:36:27.3639803+00:00",
  "Registration": {
    "Id": "0e40f385-044b-4590-99fa-a9533e8e21fc",
    "UserId": "e8ca6d43-f4cd-4240-aeeb-5e89b41142df",
    "IsCurrent": true,
    "CenterId": "7138b016-cb20-4678-aa85-a7be0e8bf590",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "6d383c65-8464-4c23-9b98-108e4b17affc",
    "EndDate": "2026-11-30T12:36:27.3327318+00:00",
    "StartDate": "2026-11-30T12:36:27.3327318+00:00",
    "SchedulePreferenceDate": "2026-11-30T12:36:27.3327318+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-11-30T12:36:27.3327318+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a3b47627-d81f-46e6-bc2a-e36cfe4365df",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5bde1e7c-3bc7-4701-825f-e91faac72852",
      "Sequence": 1,
      "AncestorCategoryId": "6eef3bcc-05e7-4cd6-b98b-0a6a8cd2fbe7",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4281ffef-b52a-4d6e-9405-08d948a7c9a0",
          "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": "4281ffef-b52a-4d6e-9405-08d948a7c9a0",
          "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": "a3b47627-d81f-46e6-bc2a-e36cfe4365df",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5bde1e7c-3bc7-4701-825f-e91faac72852",
      "Sequence": 1,
      "AncestorCategoryId": "6eef3bcc-05e7-4cd6-b98b-0a6a8cd2fbe7",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4281ffef-b52a-4d6e-9405-08d948a7c9a0",
          "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": "4281ffef-b52a-4d6e-9405-08d948a7c9a0",
          "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": "b67e5b20-d7d5-42be-841d-fdf377f9b31b",
    "CategoryId": "00a03cb1-e98c-4b62-a75d-8aaca0ccf592",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "27d6772b-7479-480b-8524-acd2c8568de1",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "27d6772b-7479-480b-8524-acd2c8568de1",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "80ae26ab-5089-4228-b790-3dcea968dd39",
      "Questions": [
        {
          "Id": "9d8f9ae8-9fdf-4bc7-8de7-ae8e0eb2cfd4",
          "Answers": "sample string 2"
        },
        {
          "Id": "9d8f9ae8-9fdf-4bc7-8de7-ae8e0eb2cfd4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "80ae26ab-5089-4228-b790-3dcea968dd39",
      "Questions": [
        {
          "Id": "9d8f9ae8-9fdf-4bc7-8de7-ae8e0eb2cfd4",
          "Answers": "sample string 2"
        },
        {
          "Id": "9d8f9ae8-9fdf-4bc7-8de7-ae8e0eb2cfd4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ddd5daa5-8ada-4568-b3a0-70a6d2d730ae",
      "ContentItemId": "1a75ecbc-3261-4b51-9594-485a212d08fd",
      "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-11-30T12:36:27.3327318+00:00",
      "RescheduleDate": "2026-11-30T12:36:27.3327318+00:00"
    },
    {
      "Id": "ddd5daa5-8ada-4568-b3a0-70a6d2d730ae",
      "ContentItemId": "1a75ecbc-3261-4b51-9594-485a212d08fd",
      "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-11-30T12:36:27.3327318+00:00",
      "RescheduleDate": "2026-11-30T12:36:27.3327318+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}