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": "46d42dfc-bcd0-4a6f-941f-57f195220f27",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-15T14:33:02.3813169+00:00",
  "Registration": {
    "Id": "ee697db3-f229-40de-b838-101d8bebb5cf",
    "UserId": "ad0f78c8-b6d4-4cfe-a127-d7a70b29c219",
    "IsCurrent": true,
    "CenterId": "2745cff4-478c-4734-b5d5-3b5719b43abb",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "740bf024-397a-47d7-8c54-5c4395520c46",
    "EndDate": "2026-07-15T14:33:02.3656903+00:00",
    "StartDate": "2026-07-15T14:33:02.3656903+00:00",
    "SchedulePreferenceDate": "2026-07-15T14:33:02.3656903+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-07-15T14:33:02.3656903+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2abcfd70-27a7-422f-920c-1037c245190e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6e76a8eb-599b-4252-9a76-149210a89c57",
      "Sequence": 1,
      "AncestorCategoryId": "6f60f362-8caa-4a53-9573-e182d5e44f1e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b65fb09a-54ad-42c5-84d8-efa1aa727f9b",
          "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": "b65fb09a-54ad-42c5-84d8-efa1aa727f9b",
          "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": "2abcfd70-27a7-422f-920c-1037c245190e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6e76a8eb-599b-4252-9a76-149210a89c57",
      "Sequence": 1,
      "AncestorCategoryId": "6f60f362-8caa-4a53-9573-e182d5e44f1e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b65fb09a-54ad-42c5-84d8-efa1aa727f9b",
          "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": "b65fb09a-54ad-42c5-84d8-efa1aa727f9b",
          "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": "9561155a-0fa3-4672-92f9-6cfa430bfd39",
    "CategoryId": "ef8ad729-2b77-4c28-9852-124408cd103d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "be6f516f-f697-4b89-bb5e-44b63d770163",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "be6f516f-f697-4b89-bb5e-44b63d770163",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "24ffdaeb-258b-4986-8234-af9d59af68c9",
      "Questions": [
        {
          "Id": "c627df4d-3281-49c8-8358-bf634d0e15f4",
          "Answers": "sample string 2"
        },
        {
          "Id": "c627df4d-3281-49c8-8358-bf634d0e15f4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "24ffdaeb-258b-4986-8234-af9d59af68c9",
      "Questions": [
        {
          "Id": "c627df4d-3281-49c8-8358-bf634d0e15f4",
          "Answers": "sample string 2"
        },
        {
          "Id": "c627df4d-3281-49c8-8358-bf634d0e15f4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ca10c0d4-7a6f-403e-81f1-c875cf9c353b",
      "ContentItemId": "539fdbe8-c37c-4665-b15c-ac91e1a09a23",
      "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-07-15T14:33:02.3656903+00:00",
      "RescheduleDate": "2026-07-15T14:33:02.3656903+00:00"
    },
    {
      "Id": "ca10c0d4-7a6f-403e-81f1-c875cf9c353b",
      "ContentItemId": "539fdbe8-c37c-4665-b15c-ac91e1a09a23",
      "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-07-15T14:33:02.3656903+00:00",
      "RescheduleDate": "2026-07-15T14:33:02.3656903+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "46d42dfc-bcd0-4a6f-941f-57f195220f27",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-15T14:33:02.4125675+00:00",
  "Registration": {
    "Id": "ee697db3-f229-40de-b838-101d8bebb5cf",
    "UserId": "ad0f78c8-b6d4-4cfe-a127-d7a70b29c219",
    "IsCurrent": true,
    "CenterId": "2745cff4-478c-4734-b5d5-3b5719b43abb",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "740bf024-397a-47d7-8c54-5c4395520c46",
    "EndDate": "2026-07-15T14:33:02.3656903+00:00",
    "StartDate": "2026-07-15T14:33:02.3656903+00:00",
    "SchedulePreferenceDate": "2026-07-15T14:33:02.3656903+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-07-15T14:33:02.3656903+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2abcfd70-27a7-422f-920c-1037c245190e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6e76a8eb-599b-4252-9a76-149210a89c57",
      "Sequence": 1,
      "AncestorCategoryId": "6f60f362-8caa-4a53-9573-e182d5e44f1e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b65fb09a-54ad-42c5-84d8-efa1aa727f9b",
          "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": "b65fb09a-54ad-42c5-84d8-efa1aa727f9b",
          "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": "2abcfd70-27a7-422f-920c-1037c245190e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "6e76a8eb-599b-4252-9a76-149210a89c57",
      "Sequence": 1,
      "AncestorCategoryId": "6f60f362-8caa-4a53-9573-e182d5e44f1e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b65fb09a-54ad-42c5-84d8-efa1aa727f9b",
          "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": "b65fb09a-54ad-42c5-84d8-efa1aa727f9b",
          "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": "9561155a-0fa3-4672-92f9-6cfa430bfd39",
    "CategoryId": "ef8ad729-2b77-4c28-9852-124408cd103d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "be6f516f-f697-4b89-bb5e-44b63d770163",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "be6f516f-f697-4b89-bb5e-44b63d770163",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "24ffdaeb-258b-4986-8234-af9d59af68c9",
      "Questions": [
        {
          "Id": "c627df4d-3281-49c8-8358-bf634d0e15f4",
          "Answers": "sample string 2"
        },
        {
          "Id": "c627df4d-3281-49c8-8358-bf634d0e15f4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "24ffdaeb-258b-4986-8234-af9d59af68c9",
      "Questions": [
        {
          "Id": "c627df4d-3281-49c8-8358-bf634d0e15f4",
          "Answers": "sample string 2"
        },
        {
          "Id": "c627df4d-3281-49c8-8358-bf634d0e15f4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ca10c0d4-7a6f-403e-81f1-c875cf9c353b",
      "ContentItemId": "539fdbe8-c37c-4665-b15c-ac91e1a09a23",
      "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-07-15T14:33:02.3656903+00:00",
      "RescheduleDate": "2026-07-15T14:33:02.3656903+00:00"
    },
    {
      "Id": "ca10c0d4-7a6f-403e-81f1-c875cf9c353b",
      "ContentItemId": "539fdbe8-c37c-4665-b15c-ac91e1a09a23",
      "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-07-15T14:33:02.3656903+00:00",
      "RescheduleDate": "2026-07-15T14:33:02.3656903+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}