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": "a6f7b3c0-431a-4d7e-b29c-9addfa7961d3",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-02T12:09:05.4496521+00:00",
  "Registration": {
    "Id": "0f5f35a9-b082-444d-a92d-43560b791fc3",
    "UserId": "ccf95248-3a17-4e26-8ebd-14e8944f8dd6",
    "IsCurrent": true,
    "CenterId": "ffacd510-6fb2-4cca-a889-e9f9735ed4af",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c868b967-c8f2-4f21-b52d-74d2bd5cdbd6",
    "EndDate": "2026-06-02T12:09:05.4340265+00:00",
    "StartDate": "2026-06-02T12:09:05.4340265+00:00",
    "SchedulePreferenceDate": "2026-06-02T12:09:05.4340265+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-02T12:09:05.4340265+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "eefeb4c7-6bf9-4ad1-b621-fd725c9a619d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "bd4a1f08-b6c9-4e94-a4ee-d34ae13b25bd",
      "Sequence": 1,
      "AncestorCategoryId": "b91534c7-03be-4d1c-8aa2-268282b32bdd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3fd1e55a-3923-447d-802d-fa80aab3960f",
          "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": "3fd1e55a-3923-447d-802d-fa80aab3960f",
          "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": "eefeb4c7-6bf9-4ad1-b621-fd725c9a619d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "bd4a1f08-b6c9-4e94-a4ee-d34ae13b25bd",
      "Sequence": 1,
      "AncestorCategoryId": "b91534c7-03be-4d1c-8aa2-268282b32bdd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3fd1e55a-3923-447d-802d-fa80aab3960f",
          "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": "3fd1e55a-3923-447d-802d-fa80aab3960f",
          "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": "8cd2389d-14ef-4b99-97ad-17d73145fee2",
    "CategoryId": "0fd015dd-736d-4156-bc3a-7c1b7b8948c2",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0c7eae40-b257-4b44-aada-37a7b7f49a5b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0c7eae40-b257-4b44-aada-37a7b7f49a5b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "acd70364-e969-49e7-9730-047f077703e7",
      "Questions": [
        {
          "Id": "ec28a788-2ce4-4dd3-9555-e5f0d85bf6d3",
          "Answers": "sample string 2"
        },
        {
          "Id": "ec28a788-2ce4-4dd3-9555-e5f0d85bf6d3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "acd70364-e969-49e7-9730-047f077703e7",
      "Questions": [
        {
          "Id": "ec28a788-2ce4-4dd3-9555-e5f0d85bf6d3",
          "Answers": "sample string 2"
        },
        {
          "Id": "ec28a788-2ce4-4dd3-9555-e5f0d85bf6d3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4d7057e6-25b5-4e70-b074-3e0e22cf0937",
      "ContentItemId": "c9a664b2-8646-4d18-ba87-68c1b454a7d9",
      "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-02T12:09:05.4340265+00:00",
      "RescheduleDate": "2026-06-02T12:09:05.4340265+00:00"
    },
    {
      "Id": "4d7057e6-25b5-4e70-b074-3e0e22cf0937",
      "ContentItemId": "c9a664b2-8646-4d18-ba87-68c1b454a7d9",
      "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-02T12:09:05.4340265+00:00",
      "RescheduleDate": "2026-06-02T12:09:05.4340265+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "a6f7b3c0-431a-4d7e-b29c-9addfa7961d3",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-02T12:09:05.4809074+00:00",
  "Registration": {
    "Id": "0f5f35a9-b082-444d-a92d-43560b791fc3",
    "UserId": "ccf95248-3a17-4e26-8ebd-14e8944f8dd6",
    "IsCurrent": true,
    "CenterId": "ffacd510-6fb2-4cca-a889-e9f9735ed4af",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "c868b967-c8f2-4f21-b52d-74d2bd5cdbd6",
    "EndDate": "2026-06-02T12:09:05.4340265+00:00",
    "StartDate": "2026-06-02T12:09:05.4340265+00:00",
    "SchedulePreferenceDate": "2026-06-02T12:09:05.4340265+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-02T12:09:05.4340265+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "eefeb4c7-6bf9-4ad1-b621-fd725c9a619d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "bd4a1f08-b6c9-4e94-a4ee-d34ae13b25bd",
      "Sequence": 1,
      "AncestorCategoryId": "b91534c7-03be-4d1c-8aa2-268282b32bdd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3fd1e55a-3923-447d-802d-fa80aab3960f",
          "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": "3fd1e55a-3923-447d-802d-fa80aab3960f",
          "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": "eefeb4c7-6bf9-4ad1-b621-fd725c9a619d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "bd4a1f08-b6c9-4e94-a4ee-d34ae13b25bd",
      "Sequence": 1,
      "AncestorCategoryId": "b91534c7-03be-4d1c-8aa2-268282b32bdd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3fd1e55a-3923-447d-802d-fa80aab3960f",
          "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": "3fd1e55a-3923-447d-802d-fa80aab3960f",
          "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": "8cd2389d-14ef-4b99-97ad-17d73145fee2",
    "CategoryId": "0fd015dd-736d-4156-bc3a-7c1b7b8948c2",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0c7eae40-b257-4b44-aada-37a7b7f49a5b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0c7eae40-b257-4b44-aada-37a7b7f49a5b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "acd70364-e969-49e7-9730-047f077703e7",
      "Questions": [
        {
          "Id": "ec28a788-2ce4-4dd3-9555-e5f0d85bf6d3",
          "Answers": "sample string 2"
        },
        {
          "Id": "ec28a788-2ce4-4dd3-9555-e5f0d85bf6d3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "acd70364-e969-49e7-9730-047f077703e7",
      "Questions": [
        {
          "Id": "ec28a788-2ce4-4dd3-9555-e5f0d85bf6d3",
          "Answers": "sample string 2"
        },
        {
          "Id": "ec28a788-2ce4-4dd3-9555-e5f0d85bf6d3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4d7057e6-25b5-4e70-b074-3e0e22cf0937",
      "ContentItemId": "c9a664b2-8646-4d18-ba87-68c1b454a7d9",
      "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-02T12:09:05.4340265+00:00",
      "RescheduleDate": "2026-06-02T12:09:05.4340265+00:00"
    },
    {
      "Id": "4d7057e6-25b5-4e70-b074-3e0e22cf0937",
      "ContentItemId": "c9a664b2-8646-4d18-ba87-68c1b454a7d9",
      "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-02T12:09:05.4340265+00:00",
      "RescheduleDate": "2026-06-02T12:09:05.4340265+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}