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": "14c7b99f-ad8d-46bc-807c-63a8e6369b58",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-22T14:48:38.6791936+00:00",
  "Registration": {
    "Id": "7c442581-5102-414b-9b0b-98c905de1d7c",
    "UserId": "bf7d45d2-2502-4d67-9c1d-49b650a2b48f",
    "IsCurrent": true,
    "CenterId": "0957a451-200a-44dc-a7fe-cf661c6b13be",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "e05874d1-b596-4de7-a2f1-82dc00484e5b",
    "EndDate": "2026-05-22T14:48:38.6791936+00:00",
    "StartDate": "2026-05-22T14:48:38.6791936+00:00",
    "SchedulePreferenceDate": "2026-05-22T14:48:38.6791936+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-05-22T14:48:38.6791936+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8c327c9a-3bd7-4cc3-a47a-89618181b744",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8dd614aa-f0d1-4523-8629-947fcdedd345",
      "Sequence": 1,
      "AncestorCategoryId": "1a947e2b-ac76-4105-b35b-e578245cd0c4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4c56f84f-3602-4a8e-9784-06399fe50902",
          "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": "4c56f84f-3602-4a8e-9784-06399fe50902",
          "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": "8c327c9a-3bd7-4cc3-a47a-89618181b744",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8dd614aa-f0d1-4523-8629-947fcdedd345",
      "Sequence": 1,
      "AncestorCategoryId": "1a947e2b-ac76-4105-b35b-e578245cd0c4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4c56f84f-3602-4a8e-9784-06399fe50902",
          "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": "4c56f84f-3602-4a8e-9784-06399fe50902",
          "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": "c0ab314f-847c-411f-8069-a5297ebf35d8",
    "CategoryId": "d5248286-ca90-4649-a6e0-ff97faa63564",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1b99b8c8-22b1-4400-aa32-0aae3c3096cc",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1b99b8c8-22b1-4400-aa32-0aae3c3096cc",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "648f24ad-6488-42a4-b754-37c9c02bfb29",
      "Questions": [
        {
          "Id": "843f698d-b759-443a-b3e2-81f1460bc842",
          "Answers": "sample string 2"
        },
        {
          "Id": "843f698d-b759-443a-b3e2-81f1460bc842",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "648f24ad-6488-42a4-b754-37c9c02bfb29",
      "Questions": [
        {
          "Id": "843f698d-b759-443a-b3e2-81f1460bc842",
          "Answers": "sample string 2"
        },
        {
          "Id": "843f698d-b759-443a-b3e2-81f1460bc842",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5f13af2b-58de-4bfb-9209-d06a3e2b5123",
      "ContentItemId": "bf30c17a-2f1b-4ea3-be06-8b5bbcc4cef1",
      "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-05-22T14:48:38.6791936+00:00",
      "RescheduleDate": "2026-05-22T14:48:38.6791936+00:00"
    },
    {
      "Id": "5f13af2b-58de-4bfb-9209-d06a3e2b5123",
      "ContentItemId": "bf30c17a-2f1b-4ea3-be06-8b5bbcc4cef1",
      "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-05-22T14:48:38.6791936+00:00",
      "RescheduleDate": "2026-05-22T14:48:38.6791936+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "14c7b99f-ad8d-46bc-807c-63a8e6369b58",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-22T14:48:38.7261098+00:00",
  "Registration": {
    "Id": "7c442581-5102-414b-9b0b-98c905de1d7c",
    "UserId": "bf7d45d2-2502-4d67-9c1d-49b650a2b48f",
    "IsCurrent": true,
    "CenterId": "0957a451-200a-44dc-a7fe-cf661c6b13be",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "e05874d1-b596-4de7-a2f1-82dc00484e5b",
    "EndDate": "2026-05-22T14:48:38.6791936+00:00",
    "StartDate": "2026-05-22T14:48:38.6791936+00:00",
    "SchedulePreferenceDate": "2026-05-22T14:48:38.6791936+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-05-22T14:48:38.6791936+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8c327c9a-3bd7-4cc3-a47a-89618181b744",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8dd614aa-f0d1-4523-8629-947fcdedd345",
      "Sequence": 1,
      "AncestorCategoryId": "1a947e2b-ac76-4105-b35b-e578245cd0c4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4c56f84f-3602-4a8e-9784-06399fe50902",
          "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": "4c56f84f-3602-4a8e-9784-06399fe50902",
          "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": "8c327c9a-3bd7-4cc3-a47a-89618181b744",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8dd614aa-f0d1-4523-8629-947fcdedd345",
      "Sequence": 1,
      "AncestorCategoryId": "1a947e2b-ac76-4105-b35b-e578245cd0c4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4c56f84f-3602-4a8e-9784-06399fe50902",
          "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": "4c56f84f-3602-4a8e-9784-06399fe50902",
          "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": "c0ab314f-847c-411f-8069-a5297ebf35d8",
    "CategoryId": "d5248286-ca90-4649-a6e0-ff97faa63564",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "1b99b8c8-22b1-4400-aa32-0aae3c3096cc",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "1b99b8c8-22b1-4400-aa32-0aae3c3096cc",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "648f24ad-6488-42a4-b754-37c9c02bfb29",
      "Questions": [
        {
          "Id": "843f698d-b759-443a-b3e2-81f1460bc842",
          "Answers": "sample string 2"
        },
        {
          "Id": "843f698d-b759-443a-b3e2-81f1460bc842",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "648f24ad-6488-42a4-b754-37c9c02bfb29",
      "Questions": [
        {
          "Id": "843f698d-b759-443a-b3e2-81f1460bc842",
          "Answers": "sample string 2"
        },
        {
          "Id": "843f698d-b759-443a-b3e2-81f1460bc842",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5f13af2b-58de-4bfb-9209-d06a3e2b5123",
      "ContentItemId": "bf30c17a-2f1b-4ea3-be06-8b5bbcc4cef1",
      "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-05-22T14:48:38.6791936+00:00",
      "RescheduleDate": "2026-05-22T14:48:38.6791936+00:00"
    },
    {
      "Id": "5f13af2b-58de-4bfb-9209-d06a3e2b5123",
      "ContentItemId": "bf30c17a-2f1b-4ea3-be06-8b5bbcc4cef1",
      "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-05-22T14:48:38.6791936+00:00",
      "RescheduleDate": "2026-05-22T14:48:38.6791936+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}