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": "10b9631c-708e-4c1b-b25a-ca4fdc602144",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-01T20:53:05.8945814+00:00",
  "Registration": {
    "Id": "07a9b58c-4b23-441d-99f0-bcbbe08121cb",
    "UserId": "f3791d40-9031-41fb-b4cb-8d5155cb9a36",
    "IsCurrent": true,
    "CenterId": "00320518-53a6-4387-9a80-55cc37af729b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "cd9d626b-0e8c-4b9e-8b72-217fe943b264",
    "EndDate": "2026-11-01T20:53:05.8945814+00:00",
    "StartDate": "2026-11-01T20:53:05.8945814+00:00",
    "SchedulePreferenceDate": "2026-11-01T20:53:05.8945814+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-01T20:53:05.8945814+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9bf6bc1c-792c-4ac3-83b9-418df34c46f1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8ae06307-c4c0-45c5-80a9-d07efca430a6",
      "Sequence": 1,
      "AncestorCategoryId": "9367e2b9-248f-4d0e-a45a-8091a2a55bfc",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "218b9065-870a-4df6-b525-d8f5b44a8658",
          "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": "218b9065-870a-4df6-b525-d8f5b44a8658",
          "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": "9bf6bc1c-792c-4ac3-83b9-418df34c46f1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8ae06307-c4c0-45c5-80a9-d07efca430a6",
      "Sequence": 1,
      "AncestorCategoryId": "9367e2b9-248f-4d0e-a45a-8091a2a55bfc",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "218b9065-870a-4df6-b525-d8f5b44a8658",
          "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": "218b9065-870a-4df6-b525-d8f5b44a8658",
          "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": "eb5ea6cc-27e2-4b30-9f5f-03d52faa75b4",
    "CategoryId": "62c8d7a3-69ba-4589-9341-5c0c67239d06",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0ef9aebe-f6de-4214-b82d-484756d55592",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0ef9aebe-f6de-4214-b82d-484756d55592",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "36ab06f7-c4fb-429c-a47e-8fd5ce362797",
      "Questions": [
        {
          "Id": "3ba8667c-825a-453b-a882-0dd3289f7946",
          "Answers": "sample string 2"
        },
        {
          "Id": "3ba8667c-825a-453b-a882-0dd3289f7946",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "36ab06f7-c4fb-429c-a47e-8fd5ce362797",
      "Questions": [
        {
          "Id": "3ba8667c-825a-453b-a882-0dd3289f7946",
          "Answers": "sample string 2"
        },
        {
          "Id": "3ba8667c-825a-453b-a882-0dd3289f7946",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f9145373-eae9-4302-a515-356244ac5ccb",
      "ContentItemId": "a905d9a1-3d55-4117-afbc-82fa45d7a4d8",
      "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-01T20:53:05.8945814+00:00",
      "RescheduleDate": "2026-11-01T20:53:05.8945814+00:00"
    },
    {
      "Id": "f9145373-eae9-4302-a515-356244ac5ccb",
      "ContentItemId": "a905d9a1-3d55-4117-afbc-82fa45d7a4d8",
      "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-01T20:53:05.8945814+00:00",
      "RescheduleDate": "2026-11-01T20:53:05.8945814+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "10b9631c-708e-4c1b-b25a-ca4fdc602144",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-01T20:53:05.9102056+00:00",
  "Registration": {
    "Id": "07a9b58c-4b23-441d-99f0-bcbbe08121cb",
    "UserId": "f3791d40-9031-41fb-b4cb-8d5155cb9a36",
    "IsCurrent": true,
    "CenterId": "00320518-53a6-4387-9a80-55cc37af729b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "cd9d626b-0e8c-4b9e-8b72-217fe943b264",
    "EndDate": "2026-11-01T20:53:05.8945814+00:00",
    "StartDate": "2026-11-01T20:53:05.8945814+00:00",
    "SchedulePreferenceDate": "2026-11-01T20:53:05.8945814+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-01T20:53:05.8945814+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9bf6bc1c-792c-4ac3-83b9-418df34c46f1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8ae06307-c4c0-45c5-80a9-d07efca430a6",
      "Sequence": 1,
      "AncestorCategoryId": "9367e2b9-248f-4d0e-a45a-8091a2a55bfc",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "218b9065-870a-4df6-b525-d8f5b44a8658",
          "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": "218b9065-870a-4df6-b525-d8f5b44a8658",
          "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": "9bf6bc1c-792c-4ac3-83b9-418df34c46f1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8ae06307-c4c0-45c5-80a9-d07efca430a6",
      "Sequence": 1,
      "AncestorCategoryId": "9367e2b9-248f-4d0e-a45a-8091a2a55bfc",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "218b9065-870a-4df6-b525-d8f5b44a8658",
          "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": "218b9065-870a-4df6-b525-d8f5b44a8658",
          "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": "eb5ea6cc-27e2-4b30-9f5f-03d52faa75b4",
    "CategoryId": "62c8d7a3-69ba-4589-9341-5c0c67239d06",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0ef9aebe-f6de-4214-b82d-484756d55592",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0ef9aebe-f6de-4214-b82d-484756d55592",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "36ab06f7-c4fb-429c-a47e-8fd5ce362797",
      "Questions": [
        {
          "Id": "3ba8667c-825a-453b-a882-0dd3289f7946",
          "Answers": "sample string 2"
        },
        {
          "Id": "3ba8667c-825a-453b-a882-0dd3289f7946",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "36ab06f7-c4fb-429c-a47e-8fd5ce362797",
      "Questions": [
        {
          "Id": "3ba8667c-825a-453b-a882-0dd3289f7946",
          "Answers": "sample string 2"
        },
        {
          "Id": "3ba8667c-825a-453b-a882-0dd3289f7946",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "f9145373-eae9-4302-a515-356244ac5ccb",
      "ContentItemId": "a905d9a1-3d55-4117-afbc-82fa45d7a4d8",
      "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-01T20:53:05.8945814+00:00",
      "RescheduleDate": "2026-11-01T20:53:05.8945814+00:00"
    },
    {
      "Id": "f9145373-eae9-4302-a515-356244ac5ccb",
      "ContentItemId": "a905d9a1-3d55-4117-afbc-82fa45d7a4d8",
      "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-01T20:53:05.8945814+00:00",
      "RescheduleDate": "2026-11-01T20:53:05.8945814+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}