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": "0de996c3-f294-48fe-a428-acea1722cf5e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-09-16T00:38:31.6645616+00:00",
  "Registration": {
    "Id": "79931786-e974-4103-b650-586b75a6a992",
    "UserId": "4c2c9704-0140-42b6-9a5a-9942735d3cc7",
    "IsCurrent": true,
    "CenterId": "dbe563af-e3cc-485d-b520-a26b009d613e",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d75391ea-f800-4eb6-a756-796e53ee3fd4",
    "EndDate": "2025-09-16T00:38:31.6489359+00:00",
    "StartDate": "2025-09-16T00:38:31.6489359+00:00",
    "SchedulePreferenceDate": "2025-09-16T00:38:31.6489359+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": "2025-09-16T00:38:31.6489359+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "78b4f7fe-c45c-435e-8c0d-7211c4185b00",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "46b84b58-0778-40d6-b1ca-da4eb1882dc9",
      "Sequence": 1,
      "AncestorCategoryId": "d86e1263-a629-4eff-bc94-79a1d125dfa2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "64b31c9a-9334-4fc6-b17f-a7901933190a",
          "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": "64b31c9a-9334-4fc6-b17f-a7901933190a",
          "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": "78b4f7fe-c45c-435e-8c0d-7211c4185b00",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "46b84b58-0778-40d6-b1ca-da4eb1882dc9",
      "Sequence": 1,
      "AncestorCategoryId": "d86e1263-a629-4eff-bc94-79a1d125dfa2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "64b31c9a-9334-4fc6-b17f-a7901933190a",
          "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": "64b31c9a-9334-4fc6-b17f-a7901933190a",
          "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": "640ed999-84b8-4506-be01-54d983b2833d",
    "CategoryId": "a5b8028c-445e-4fc1-ac09-e75bc9496c04",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c181aead-e188-4ec1-9b76-8e36ab31c7fb",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c181aead-e188-4ec1-9b76-8e36ab31c7fb",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5e38fbe6-51df-4308-9329-24002d519b19",
      "Questions": [
        {
          "Id": "33fc02cf-59a0-4c73-b927-172696210516",
          "Answers": "sample string 2"
        },
        {
          "Id": "33fc02cf-59a0-4c73-b927-172696210516",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5e38fbe6-51df-4308-9329-24002d519b19",
      "Questions": [
        {
          "Id": "33fc02cf-59a0-4c73-b927-172696210516",
          "Answers": "sample string 2"
        },
        {
          "Id": "33fc02cf-59a0-4c73-b927-172696210516",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "8a49bb95-01b0-4c86-8abd-b194ca2610b5",
      "ContentItemId": "75c6367d-a9f4-441a-a79f-b0c495166e22",
      "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": "2025-09-16T00:38:31.6489359+00:00",
      "RescheduleDate": "2025-09-16T00:38:31.6489359+00:00"
    },
    {
      "Id": "8a49bb95-01b0-4c86-8abd-b194ca2610b5",
      "ContentItemId": "75c6367d-a9f4-441a-a79f-b0c495166e22",
      "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": "2025-09-16T00:38:31.6489359+00:00",
      "RescheduleDate": "2025-09-16T00:38:31.6489359+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "0de996c3-f294-48fe-a428-acea1722cf5e",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-09-16T00:38:31.6958124+00:00",
  "Registration": {
    "Id": "79931786-e974-4103-b650-586b75a6a992",
    "UserId": "4c2c9704-0140-42b6-9a5a-9942735d3cc7",
    "IsCurrent": true,
    "CenterId": "dbe563af-e3cc-485d-b520-a26b009d613e",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d75391ea-f800-4eb6-a756-796e53ee3fd4",
    "EndDate": "2025-09-16T00:38:31.6489359+00:00",
    "StartDate": "2025-09-16T00:38:31.6489359+00:00",
    "SchedulePreferenceDate": "2025-09-16T00:38:31.6489359+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": "2025-09-16T00:38:31.6489359+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "78b4f7fe-c45c-435e-8c0d-7211c4185b00",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "46b84b58-0778-40d6-b1ca-da4eb1882dc9",
      "Sequence": 1,
      "AncestorCategoryId": "d86e1263-a629-4eff-bc94-79a1d125dfa2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "64b31c9a-9334-4fc6-b17f-a7901933190a",
          "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": "64b31c9a-9334-4fc6-b17f-a7901933190a",
          "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": "78b4f7fe-c45c-435e-8c0d-7211c4185b00",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "46b84b58-0778-40d6-b1ca-da4eb1882dc9",
      "Sequence": 1,
      "AncestorCategoryId": "d86e1263-a629-4eff-bc94-79a1d125dfa2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "64b31c9a-9334-4fc6-b17f-a7901933190a",
          "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": "64b31c9a-9334-4fc6-b17f-a7901933190a",
          "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": "640ed999-84b8-4506-be01-54d983b2833d",
    "CategoryId": "a5b8028c-445e-4fc1-ac09-e75bc9496c04",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c181aead-e188-4ec1-9b76-8e36ab31c7fb",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c181aead-e188-4ec1-9b76-8e36ab31c7fb",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5e38fbe6-51df-4308-9329-24002d519b19",
      "Questions": [
        {
          "Id": "33fc02cf-59a0-4c73-b927-172696210516",
          "Answers": "sample string 2"
        },
        {
          "Id": "33fc02cf-59a0-4c73-b927-172696210516",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5e38fbe6-51df-4308-9329-24002d519b19",
      "Questions": [
        {
          "Id": "33fc02cf-59a0-4c73-b927-172696210516",
          "Answers": "sample string 2"
        },
        {
          "Id": "33fc02cf-59a0-4c73-b927-172696210516",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "8a49bb95-01b0-4c86-8abd-b194ca2610b5",
      "ContentItemId": "75c6367d-a9f4-441a-a79f-b0c495166e22",
      "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": "2025-09-16T00:38:31.6489359+00:00",
      "RescheduleDate": "2025-09-16T00:38:31.6489359+00:00"
    },
    {
      "Id": "8a49bb95-01b0-4c86-8abd-b194ca2610b5",
      "ContentItemId": "75c6367d-a9f4-441a-a79f-b0c495166e22",
      "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": "2025-09-16T00:38:31.6489359+00:00",
      "RescheduleDate": "2025-09-16T00:38:31.6489359+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}