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": "650b446f-0c75-4a78-967d-f25c93863893",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-09T21:46:42.5609116+00:00",
  "Registration": {
    "Id": "c0d66cfa-81d9-4f7e-98e5-fb5d76e72d43",
    "UserId": "e4d0373f-eee5-4f38-a67d-f4b4351ad95b",
    "IsCurrent": true,
    "CenterId": "b5cea416-f45b-4828-8b79-b29f80949a0d",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "8919e0c8-407d-46f7-966a-f4da9ee3f245",
    "EndDate": "2026-06-09T21:46:42.5609116+00:00",
    "StartDate": "2026-06-09T21:46:42.5609116+00:00",
    "SchedulePreferenceDate": "2026-06-09T21:46:42.5609116+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-06-09T21:46:42.5609116+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5b138c3a-7bbf-48eb-8b31-c9d9bb0280f0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "09451982-46b5-4376-8d53-8c8a73894a93",
      "Sequence": 1,
      "AncestorCategoryId": "f9fb058a-a074-4695-a3fe-bce7a72ed105",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "df9cf00e-7f73-4294-aec9-850536a06540",
          "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": "df9cf00e-7f73-4294-aec9-850536a06540",
          "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": "5b138c3a-7bbf-48eb-8b31-c9d9bb0280f0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "09451982-46b5-4376-8d53-8c8a73894a93",
      "Sequence": 1,
      "AncestorCategoryId": "f9fb058a-a074-4695-a3fe-bce7a72ed105",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "df9cf00e-7f73-4294-aec9-850536a06540",
          "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": "df9cf00e-7f73-4294-aec9-850536a06540",
          "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": "fc36d5dc-e867-4cb4-a055-7ca34f517aee",
    "CategoryId": "44af734f-ebc1-4ef7-8834-7b766398e311",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5a2c8228-b4e7-4e82-8325-d9623c72ab5e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5a2c8228-b4e7-4e82-8325-d9623c72ab5e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "7d831252-4ce1-4ab3-b659-9efdce0ff40d",
      "Questions": [
        {
          "Id": "cd9639e3-5d97-40f4-8242-22f1a0c51c1a",
          "Answers": "sample string 2"
        },
        {
          "Id": "cd9639e3-5d97-40f4-8242-22f1a0c51c1a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "7d831252-4ce1-4ab3-b659-9efdce0ff40d",
      "Questions": [
        {
          "Id": "cd9639e3-5d97-40f4-8242-22f1a0c51c1a",
          "Answers": "sample string 2"
        },
        {
          "Id": "cd9639e3-5d97-40f4-8242-22f1a0c51c1a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "29f6559c-ea61-44a5-b2d9-1b1b0fb9700a",
      "ContentItemId": "52b78a37-facd-4dc4-ad51-780c740d3d1f",
      "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-06-09T21:46:42.5609116+00:00",
      "RescheduleDate": "2026-06-09T21:46:42.5609116+00:00"
    },
    {
      "Id": "29f6559c-ea61-44a5-b2d9-1b1b0fb9700a",
      "ContentItemId": "52b78a37-facd-4dc4-ad51-780c740d3d1f",
      "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-06-09T21:46:42.5609116+00:00",
      "RescheduleDate": "2026-06-09T21:46:42.5609116+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "650b446f-0c75-4a78-967d-f25c93863893",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-09T21:46:42.5921614+00:00",
  "Registration": {
    "Id": "c0d66cfa-81d9-4f7e-98e5-fb5d76e72d43",
    "UserId": "e4d0373f-eee5-4f38-a67d-f4b4351ad95b",
    "IsCurrent": true,
    "CenterId": "b5cea416-f45b-4828-8b79-b29f80949a0d",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "8919e0c8-407d-46f7-966a-f4da9ee3f245",
    "EndDate": "2026-06-09T21:46:42.5609116+00:00",
    "StartDate": "2026-06-09T21:46:42.5609116+00:00",
    "SchedulePreferenceDate": "2026-06-09T21:46:42.5609116+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-06-09T21:46:42.5609116+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5b138c3a-7bbf-48eb-8b31-c9d9bb0280f0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "09451982-46b5-4376-8d53-8c8a73894a93",
      "Sequence": 1,
      "AncestorCategoryId": "f9fb058a-a074-4695-a3fe-bce7a72ed105",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "df9cf00e-7f73-4294-aec9-850536a06540",
          "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": "df9cf00e-7f73-4294-aec9-850536a06540",
          "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": "5b138c3a-7bbf-48eb-8b31-c9d9bb0280f0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "09451982-46b5-4376-8d53-8c8a73894a93",
      "Sequence": 1,
      "AncestorCategoryId": "f9fb058a-a074-4695-a3fe-bce7a72ed105",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "df9cf00e-7f73-4294-aec9-850536a06540",
          "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": "df9cf00e-7f73-4294-aec9-850536a06540",
          "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": "fc36d5dc-e867-4cb4-a055-7ca34f517aee",
    "CategoryId": "44af734f-ebc1-4ef7-8834-7b766398e311",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5a2c8228-b4e7-4e82-8325-d9623c72ab5e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5a2c8228-b4e7-4e82-8325-d9623c72ab5e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "7d831252-4ce1-4ab3-b659-9efdce0ff40d",
      "Questions": [
        {
          "Id": "cd9639e3-5d97-40f4-8242-22f1a0c51c1a",
          "Answers": "sample string 2"
        },
        {
          "Id": "cd9639e3-5d97-40f4-8242-22f1a0c51c1a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "7d831252-4ce1-4ab3-b659-9efdce0ff40d",
      "Questions": [
        {
          "Id": "cd9639e3-5d97-40f4-8242-22f1a0c51c1a",
          "Answers": "sample string 2"
        },
        {
          "Id": "cd9639e3-5d97-40f4-8242-22f1a0c51c1a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "29f6559c-ea61-44a5-b2d9-1b1b0fb9700a",
      "ContentItemId": "52b78a37-facd-4dc4-ad51-780c740d3d1f",
      "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-06-09T21:46:42.5609116+00:00",
      "RescheduleDate": "2026-06-09T21:46:42.5609116+00:00"
    },
    {
      "Id": "29f6559c-ea61-44a5-b2d9-1b1b0fb9700a",
      "ContentItemId": "52b78a37-facd-4dc4-ad51-780c740d3d1f",
      "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-06-09T21:46:42.5609116+00:00",
      "RescheduleDate": "2026-06-09T21:46:42.5609116+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}