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": "e8272cb7-b36b-487e-bcce-1bd914e8f44e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-13T10:28:34.3153311+00:00",
  "Registration": {
    "Id": "12fbf12c-b57f-48dc-8a87-3cb55b42e842",
    "UserId": "8aaf123f-2893-4710-8976-e8f9a3f03490",
    "IsCurrent": true,
    "CenterId": "751dc026-021b-4b00-9862-006b1e258e3a",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a3b1d9b0-5a41-4e39-b3ff-236a7049e5a0",
    "EndDate": "2026-10-13T10:28:34.2996497+00:00",
    "StartDate": "2026-10-13T10:28:34.2996497+00:00",
    "SchedulePreferenceDate": "2026-10-13T10:28:34.2996497+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-13T10:28:34.2996497+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "fce196e0-b547-4513-a416-176c13b19770",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "040ec834-58a5-4578-a35e-5f8bce806972",
      "Sequence": 1,
      "AncestorCategoryId": "265e0e8c-af62-4970-afd4-f8c7e14c5277",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3f7cb4a3-f6bc-4fd3-a17d-9e428c1bbdb0",
          "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": "3f7cb4a3-f6bc-4fd3-a17d-9e428c1bbdb0",
          "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": "fce196e0-b547-4513-a416-176c13b19770",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "040ec834-58a5-4578-a35e-5f8bce806972",
      "Sequence": 1,
      "AncestorCategoryId": "265e0e8c-af62-4970-afd4-f8c7e14c5277",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3f7cb4a3-f6bc-4fd3-a17d-9e428c1bbdb0",
          "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": "3f7cb4a3-f6bc-4fd3-a17d-9e428c1bbdb0",
          "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": "af45389d-42ac-4bb0-8dcb-d43b43da6872",
    "CategoryId": "dde1e78b-20a0-439c-8b4e-20033d60320e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "22a8a667-63e4-4f30-9d5f-63b2af2810b8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "22a8a667-63e4-4f30-9d5f-63b2af2810b8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "36f738c6-2643-472a-b56a-9468dba0e81e",
      "Questions": [
        {
          "Id": "67714be9-7120-458c-97bf-99b955f2b7c2",
          "Answers": "sample string 2"
        },
        {
          "Id": "67714be9-7120-458c-97bf-99b955f2b7c2",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "36f738c6-2643-472a-b56a-9468dba0e81e",
      "Questions": [
        {
          "Id": "67714be9-7120-458c-97bf-99b955f2b7c2",
          "Answers": "sample string 2"
        },
        {
          "Id": "67714be9-7120-458c-97bf-99b955f2b7c2",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0d130943-865f-45cd-b503-df0be08f5d41",
      "ContentItemId": "eebe468a-85f4-48af-a47e-6b96e688ccec",
      "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-13T10:28:34.2996497+00:00",
      "RescheduleDate": "2026-10-13T10:28:34.2996497+00:00"
    },
    {
      "Id": "0d130943-865f-45cd-b503-df0be08f5d41",
      "ContentItemId": "eebe468a-85f4-48af-a47e-6b96e688ccec",
      "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-13T10:28:34.2996497+00:00",
      "RescheduleDate": "2026-10-13T10:28:34.2996497+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "e8272cb7-b36b-487e-bcce-1bd914e8f44e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-13T10:28:34.3309075+00:00",
  "Registration": {
    "Id": "12fbf12c-b57f-48dc-8a87-3cb55b42e842",
    "UserId": "8aaf123f-2893-4710-8976-e8f9a3f03490",
    "IsCurrent": true,
    "CenterId": "751dc026-021b-4b00-9862-006b1e258e3a",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a3b1d9b0-5a41-4e39-b3ff-236a7049e5a0",
    "EndDate": "2026-10-13T10:28:34.2996497+00:00",
    "StartDate": "2026-10-13T10:28:34.2996497+00:00",
    "SchedulePreferenceDate": "2026-10-13T10:28:34.2996497+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-13T10:28:34.2996497+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "fce196e0-b547-4513-a416-176c13b19770",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "040ec834-58a5-4578-a35e-5f8bce806972",
      "Sequence": 1,
      "AncestorCategoryId": "265e0e8c-af62-4970-afd4-f8c7e14c5277",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3f7cb4a3-f6bc-4fd3-a17d-9e428c1bbdb0",
          "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": "3f7cb4a3-f6bc-4fd3-a17d-9e428c1bbdb0",
          "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": "fce196e0-b547-4513-a416-176c13b19770",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "040ec834-58a5-4578-a35e-5f8bce806972",
      "Sequence": 1,
      "AncestorCategoryId": "265e0e8c-af62-4970-afd4-f8c7e14c5277",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3f7cb4a3-f6bc-4fd3-a17d-9e428c1bbdb0",
          "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": "3f7cb4a3-f6bc-4fd3-a17d-9e428c1bbdb0",
          "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": "af45389d-42ac-4bb0-8dcb-d43b43da6872",
    "CategoryId": "dde1e78b-20a0-439c-8b4e-20033d60320e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "22a8a667-63e4-4f30-9d5f-63b2af2810b8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "22a8a667-63e4-4f30-9d5f-63b2af2810b8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "36f738c6-2643-472a-b56a-9468dba0e81e",
      "Questions": [
        {
          "Id": "67714be9-7120-458c-97bf-99b955f2b7c2",
          "Answers": "sample string 2"
        },
        {
          "Id": "67714be9-7120-458c-97bf-99b955f2b7c2",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "36f738c6-2643-472a-b56a-9468dba0e81e",
      "Questions": [
        {
          "Id": "67714be9-7120-458c-97bf-99b955f2b7c2",
          "Answers": "sample string 2"
        },
        {
          "Id": "67714be9-7120-458c-97bf-99b955f2b7c2",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "0d130943-865f-45cd-b503-df0be08f5d41",
      "ContentItemId": "eebe468a-85f4-48af-a47e-6b96e688ccec",
      "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-13T10:28:34.2996497+00:00",
      "RescheduleDate": "2026-10-13T10:28:34.2996497+00:00"
    },
    {
      "Id": "0d130943-865f-45cd-b503-df0be08f5d41",
      "ContentItemId": "eebe468a-85f4-48af-a47e-6b96e688ccec",
      "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-13T10:28:34.2996497+00:00",
      "RescheduleDate": "2026-10-13T10:28:34.2996497+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}