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": "7ad38f54-57ce-473a-9b1a-89662861b1e7",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-11T10:46:07.8874548+00:00",
  "Registration": {
    "Id": "cf2c82e9-96fc-4038-a396-35c608ba5ab8",
    "UserId": "10523a35-90fa-4bb2-ae1e-072f74441693",
    "IsCurrent": true,
    "CenterId": "f2f6e435-9c47-4552-b90b-8fa6c4f93821",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "1ff62bc2-5d5c-4815-b8b3-59a0644050e7",
    "EndDate": "2026-10-11T10:46:07.8874548+00:00",
    "StartDate": "2026-10-11T10:46:07.8874548+00:00",
    "SchedulePreferenceDate": "2026-10-11T10:46:07.8874548+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-10-11T10:46:07.8874548+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c4f11d33-f4bc-4603-ab7b-836cf90f06df",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3a47cb18-0917-4b5e-bfac-54c067a482fe",
      "Sequence": 1,
      "AncestorCategoryId": "aff05232-a8ac-47b7-be47-c04bf04bb008",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7046634d-b481-481b-a3a7-d6dc4c20ccbb",
          "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": "7046634d-b481-481b-a3a7-d6dc4c20ccbb",
          "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": "c4f11d33-f4bc-4603-ab7b-836cf90f06df",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3a47cb18-0917-4b5e-bfac-54c067a482fe",
      "Sequence": 1,
      "AncestorCategoryId": "aff05232-a8ac-47b7-be47-c04bf04bb008",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7046634d-b481-481b-a3a7-d6dc4c20ccbb",
          "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": "7046634d-b481-481b-a3a7-d6dc4c20ccbb",
          "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": "e2af231a-12e0-46ff-8862-947e69cbed70",
    "CategoryId": "1127dedb-ae53-4d59-a044-3868b1dd2ef4",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d6283642-04d2-4872-bfef-bf483fdb3a88",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d6283642-04d2-4872-bfef-bf483fdb3a88",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0100053a-88f0-444e-8dae-2be2dba28607",
      "Questions": [
        {
          "Id": "fcdb430f-3253-4a7c-9480-0276ef07de7e",
          "Answers": "sample string 2"
        },
        {
          "Id": "fcdb430f-3253-4a7c-9480-0276ef07de7e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0100053a-88f0-444e-8dae-2be2dba28607",
      "Questions": [
        {
          "Id": "fcdb430f-3253-4a7c-9480-0276ef07de7e",
          "Answers": "sample string 2"
        },
        {
          "Id": "fcdb430f-3253-4a7c-9480-0276ef07de7e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a26c26d2-84e4-404d-9fdf-4f246b86e28a",
      "ContentItemId": "6b130e76-6a4a-42e0-bf02-595272893d54",
      "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-10-11T10:46:07.8874548+00:00",
      "RescheduleDate": "2026-10-11T10:46:07.8874548+00:00"
    },
    {
      "Id": "a26c26d2-84e4-404d-9fdf-4f246b86e28a",
      "ContentItemId": "6b130e76-6a4a-42e0-bf02-595272893d54",
      "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-10-11T10:46:07.8874548+00:00",
      "RescheduleDate": "2026-10-11T10:46:07.8874548+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "7ad38f54-57ce-473a-9b1a-89662861b1e7",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-11T10:46:07.9343293+00:00",
  "Registration": {
    "Id": "cf2c82e9-96fc-4038-a396-35c608ba5ab8",
    "UserId": "10523a35-90fa-4bb2-ae1e-072f74441693",
    "IsCurrent": true,
    "CenterId": "f2f6e435-9c47-4552-b90b-8fa6c4f93821",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "1ff62bc2-5d5c-4815-b8b3-59a0644050e7",
    "EndDate": "2026-10-11T10:46:07.8874548+00:00",
    "StartDate": "2026-10-11T10:46:07.8874548+00:00",
    "SchedulePreferenceDate": "2026-10-11T10:46:07.8874548+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-10-11T10:46:07.8874548+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c4f11d33-f4bc-4603-ab7b-836cf90f06df",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3a47cb18-0917-4b5e-bfac-54c067a482fe",
      "Sequence": 1,
      "AncestorCategoryId": "aff05232-a8ac-47b7-be47-c04bf04bb008",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7046634d-b481-481b-a3a7-d6dc4c20ccbb",
          "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": "7046634d-b481-481b-a3a7-d6dc4c20ccbb",
          "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": "c4f11d33-f4bc-4603-ab7b-836cf90f06df",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3a47cb18-0917-4b5e-bfac-54c067a482fe",
      "Sequence": 1,
      "AncestorCategoryId": "aff05232-a8ac-47b7-be47-c04bf04bb008",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7046634d-b481-481b-a3a7-d6dc4c20ccbb",
          "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": "7046634d-b481-481b-a3a7-d6dc4c20ccbb",
          "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": "e2af231a-12e0-46ff-8862-947e69cbed70",
    "CategoryId": "1127dedb-ae53-4d59-a044-3868b1dd2ef4",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d6283642-04d2-4872-bfef-bf483fdb3a88",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d6283642-04d2-4872-bfef-bf483fdb3a88",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0100053a-88f0-444e-8dae-2be2dba28607",
      "Questions": [
        {
          "Id": "fcdb430f-3253-4a7c-9480-0276ef07de7e",
          "Answers": "sample string 2"
        },
        {
          "Id": "fcdb430f-3253-4a7c-9480-0276ef07de7e",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0100053a-88f0-444e-8dae-2be2dba28607",
      "Questions": [
        {
          "Id": "fcdb430f-3253-4a7c-9480-0276ef07de7e",
          "Answers": "sample string 2"
        },
        {
          "Id": "fcdb430f-3253-4a7c-9480-0276ef07de7e",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a26c26d2-84e4-404d-9fdf-4f246b86e28a",
      "ContentItemId": "6b130e76-6a4a-42e0-bf02-595272893d54",
      "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-10-11T10:46:07.8874548+00:00",
      "RescheduleDate": "2026-10-11T10:46:07.8874548+00:00"
    },
    {
      "Id": "a26c26d2-84e4-404d-9fdf-4f246b86e28a",
      "ContentItemId": "6b130e76-6a4a-42e0-bf02-595272893d54",
      "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-10-11T10:46:07.8874548+00:00",
      "RescheduleDate": "2026-10-11T10:46:07.8874548+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}