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": "9cf3885b-f798-4f16-8c73-4fa7295ca9a8",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-07T14:10:38.6492196+00:00",
  "Registration": {
    "Id": "486e61c6-72f4-45bd-8098-d4649c421dc3",
    "UserId": "13a0ff81-8b0a-4261-868d-9720e70244f6",
    "IsCurrent": true,
    "CenterId": "6d38fae8-f208-40c2-9785-58777542a329",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "20f9b7b4-b062-4b6c-b6a6-7e6b252b7f23",
    "EndDate": "2026-08-07T14:10:38.6335895+00:00",
    "StartDate": "2026-08-07T14:10:38.6335895+00:00",
    "SchedulePreferenceDate": "2026-08-07T14:10:38.6335895+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-08-07T14:10:38.6335895+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "67d26748-5ad5-4467-8862-42f51d2ffe35",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "32402efc-caf7-4031-bc2d-91d470a6c450",
      "Sequence": 1,
      "AncestorCategoryId": "7a489c5c-99c4-432f-8046-682c1c35a3d3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "46907e96-e7f4-46a8-935e-3b06770af230",
          "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": "46907e96-e7f4-46a8-935e-3b06770af230",
          "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": "67d26748-5ad5-4467-8862-42f51d2ffe35",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "32402efc-caf7-4031-bc2d-91d470a6c450",
      "Sequence": 1,
      "AncestorCategoryId": "7a489c5c-99c4-432f-8046-682c1c35a3d3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "46907e96-e7f4-46a8-935e-3b06770af230",
          "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": "46907e96-e7f4-46a8-935e-3b06770af230",
          "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": "468002c8-82d4-48f1-bd4d-1e4c6bf3e760",
    "CategoryId": "4c1600d4-5196-4510-9925-999e8bf8d2ae",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ef56b389-c9ca-4c0c-98dd-cc6ffa06d2f9",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ef56b389-c9ca-4c0c-98dd-cc6ffa06d2f9",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0e237fe5-5fc2-4eab-8e7d-6c570dc4524f",
      "Questions": [
        {
          "Id": "bb6f2d3f-4fe7-47be-816e-8aa71a49e9e2",
          "Answers": "sample string 2"
        },
        {
          "Id": "bb6f2d3f-4fe7-47be-816e-8aa71a49e9e2",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0e237fe5-5fc2-4eab-8e7d-6c570dc4524f",
      "Questions": [
        {
          "Id": "bb6f2d3f-4fe7-47be-816e-8aa71a49e9e2",
          "Answers": "sample string 2"
        },
        {
          "Id": "bb6f2d3f-4fe7-47be-816e-8aa71a49e9e2",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6869ad63-8a8e-4e1c-b8b6-0735c95675d7",
      "ContentItemId": "a55441ae-8dfa-4de8-a89b-d6b2f148d005",
      "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-08-07T14:10:38.6335895+00:00",
      "RescheduleDate": "2026-08-07T14:10:38.6335895+00:00"
    },
    {
      "Id": "6869ad63-8a8e-4e1c-b8b6-0735c95675d7",
      "ContentItemId": "a55441ae-8dfa-4de8-a89b-d6b2f148d005",
      "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-08-07T14:10:38.6335895+00:00",
      "RescheduleDate": "2026-08-07T14:10:38.6335895+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "9cf3885b-f798-4f16-8c73-4fa7295ca9a8",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-07T14:10:38.6804693+00:00",
  "Registration": {
    "Id": "486e61c6-72f4-45bd-8098-d4649c421dc3",
    "UserId": "13a0ff81-8b0a-4261-868d-9720e70244f6",
    "IsCurrent": true,
    "CenterId": "6d38fae8-f208-40c2-9785-58777542a329",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "20f9b7b4-b062-4b6c-b6a6-7e6b252b7f23",
    "EndDate": "2026-08-07T14:10:38.6335895+00:00",
    "StartDate": "2026-08-07T14:10:38.6335895+00:00",
    "SchedulePreferenceDate": "2026-08-07T14:10:38.6335895+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-08-07T14:10:38.6335895+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "67d26748-5ad5-4467-8862-42f51d2ffe35",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "32402efc-caf7-4031-bc2d-91d470a6c450",
      "Sequence": 1,
      "AncestorCategoryId": "7a489c5c-99c4-432f-8046-682c1c35a3d3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "46907e96-e7f4-46a8-935e-3b06770af230",
          "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": "46907e96-e7f4-46a8-935e-3b06770af230",
          "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": "67d26748-5ad5-4467-8862-42f51d2ffe35",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "32402efc-caf7-4031-bc2d-91d470a6c450",
      "Sequence": 1,
      "AncestorCategoryId": "7a489c5c-99c4-432f-8046-682c1c35a3d3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "46907e96-e7f4-46a8-935e-3b06770af230",
          "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": "46907e96-e7f4-46a8-935e-3b06770af230",
          "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": "468002c8-82d4-48f1-bd4d-1e4c6bf3e760",
    "CategoryId": "4c1600d4-5196-4510-9925-999e8bf8d2ae",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ef56b389-c9ca-4c0c-98dd-cc6ffa06d2f9",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ef56b389-c9ca-4c0c-98dd-cc6ffa06d2f9",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0e237fe5-5fc2-4eab-8e7d-6c570dc4524f",
      "Questions": [
        {
          "Id": "bb6f2d3f-4fe7-47be-816e-8aa71a49e9e2",
          "Answers": "sample string 2"
        },
        {
          "Id": "bb6f2d3f-4fe7-47be-816e-8aa71a49e9e2",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0e237fe5-5fc2-4eab-8e7d-6c570dc4524f",
      "Questions": [
        {
          "Id": "bb6f2d3f-4fe7-47be-816e-8aa71a49e9e2",
          "Answers": "sample string 2"
        },
        {
          "Id": "bb6f2d3f-4fe7-47be-816e-8aa71a49e9e2",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6869ad63-8a8e-4e1c-b8b6-0735c95675d7",
      "ContentItemId": "a55441ae-8dfa-4de8-a89b-d6b2f148d005",
      "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-08-07T14:10:38.6335895+00:00",
      "RescheduleDate": "2026-08-07T14:10:38.6335895+00:00"
    },
    {
      "Id": "6869ad63-8a8e-4e1c-b8b6-0735c95675d7",
      "ContentItemId": "a55441ae-8dfa-4de8-a89b-d6b2f148d005",
      "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-08-07T14:10:38.6335895+00:00",
      "RescheduleDate": "2026-08-07T14:10:38.6335895+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}