GET v2/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.View.UserStateViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

Collection of 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.

StudentSpeakPlusLevelInfo

string

None.

Response Formats

application/json

Sample:
{
  "UserId": "e60191e9-782c-4502-8f8c-7988b67f7ab5",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-29T21:26:36.1191287+00:00",
  "Registration": [
    {
      "Id": "9e5f1a36-3392-438a-8d68-5af93d69e09b",
      "UserId": "265e3a84-e1f8-4dc5-a4d8-806cab89df42",
      "IsCurrent": true,
      "CenterId": "d6b55c56-6c0d-4eb7-ad69-7b4632cc0b08",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "cf53be05-ecc9-4dbd-8d03-0e242359d7df",
      "EndDate": "2026-08-29T21:26:36.1191287+00:00",
      "StartDate": "2026-08-29T21:26:36.1191287+00:00",
      "SchedulePreferenceDate": "2026-08-29T21:26:36.1191287+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"
    },
    {
      "Id": "9e5f1a36-3392-438a-8d68-5af93d69e09b",
      "UserId": "265e3a84-e1f8-4dc5-a4d8-806cab89df42",
      "IsCurrent": true,
      "CenterId": "d6b55c56-6c0d-4eb7-ad69-7b4632cc0b08",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "cf53be05-ecc9-4dbd-8d03-0e242359d7df",
      "EndDate": "2026-08-29T21:26:36.1191287+00:00",
      "StartDate": "2026-08-29T21:26:36.1191287+00:00",
      "SchedulePreferenceDate": "2026-08-29T21:26:36.1191287+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-29T21:26:36.1191287+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "15147999-cf1d-46db-8066-86408eb7d5a8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4da21c0e-1087-4c9a-8e34-ad59c2f03a36",
      "Sequence": 1,
      "AncestorCategoryId": "725cc1a6-45e2-4f57-bb03-a0c0433eebf4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1e37fc9d-ca12-4eaf-a1b8-ef56e1f536ec",
          "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": "1e37fc9d-ca12-4eaf-a1b8-ef56e1f536ec",
          "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": "15147999-cf1d-46db-8066-86408eb7d5a8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4da21c0e-1087-4c9a-8e34-ad59c2f03a36",
      "Sequence": 1,
      "AncestorCategoryId": "725cc1a6-45e2-4f57-bb03-a0c0433eebf4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1e37fc9d-ca12-4eaf-a1b8-ef56e1f536ec",
          "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": "1e37fc9d-ca12-4eaf-a1b8-ef56e1f536ec",
          "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": "a280476c-d588-48a2-b9e3-9a730573b575",
    "CategoryId": "921042c6-f5d5-475d-ba41-9dea03819688",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0ef338ce-f832-400b-8dd1-cde3577e421d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0ef338ce-f832-400b-8dd1-cde3577e421d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "6c537a18-8118-415d-bf5e-c706d98dabad",
      "Questions": [
        {
          "Id": "906a6502-4a27-4c75-a52c-9e84f354d04c",
          "Answers": "sample string 2"
        },
        {
          "Id": "906a6502-4a27-4c75-a52c-9e84f354d04c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "6c537a18-8118-415d-bf5e-c706d98dabad",
      "Questions": [
        {
          "Id": "906a6502-4a27-4c75-a52c-9e84f354d04c",
          "Answers": "sample string 2"
        },
        {
          "Id": "906a6502-4a27-4c75-a52c-9e84f354d04c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ce15402b-2e94-428d-90b7-db4566dc1bc4",
      "ContentItemId": "2b1a1638-fa04-47e8-996a-af275d71d1b0",
      "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-29T21:26:36.1191287+00:00",
      "RescheduleDate": "2026-08-29T21:26:36.1191287+00:00"
    },
    {
      "Id": "ce15402b-2e94-428d-90b7-db4566dc1bc4",
      "ContentItemId": "2b1a1638-fa04-47e8-996a-af275d71d1b0",
      "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-29T21:26:36.1191287+00:00",
      "RescheduleDate": "2026-08-29T21:26:36.1191287+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}

text/json

Sample:
{
  "UserId": "e60191e9-782c-4502-8f8c-7988b67f7ab5",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-29T21:26:36.1503622+00:00",
  "Registration": [
    {
      "Id": "9e5f1a36-3392-438a-8d68-5af93d69e09b",
      "UserId": "265e3a84-e1f8-4dc5-a4d8-806cab89df42",
      "IsCurrent": true,
      "CenterId": "d6b55c56-6c0d-4eb7-ad69-7b4632cc0b08",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "cf53be05-ecc9-4dbd-8d03-0e242359d7df",
      "EndDate": "2026-08-29T21:26:36.1191287+00:00",
      "StartDate": "2026-08-29T21:26:36.1191287+00:00",
      "SchedulePreferenceDate": "2026-08-29T21:26:36.1191287+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"
    },
    {
      "Id": "9e5f1a36-3392-438a-8d68-5af93d69e09b",
      "UserId": "265e3a84-e1f8-4dc5-a4d8-806cab89df42",
      "IsCurrent": true,
      "CenterId": "d6b55c56-6c0d-4eb7-ad69-7b4632cc0b08",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "cf53be05-ecc9-4dbd-8d03-0e242359d7df",
      "EndDate": "2026-08-29T21:26:36.1191287+00:00",
      "StartDate": "2026-08-29T21:26:36.1191287+00:00",
      "SchedulePreferenceDate": "2026-08-29T21:26:36.1191287+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-29T21:26:36.1191287+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "15147999-cf1d-46db-8066-86408eb7d5a8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4da21c0e-1087-4c9a-8e34-ad59c2f03a36",
      "Sequence": 1,
      "AncestorCategoryId": "725cc1a6-45e2-4f57-bb03-a0c0433eebf4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1e37fc9d-ca12-4eaf-a1b8-ef56e1f536ec",
          "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": "1e37fc9d-ca12-4eaf-a1b8-ef56e1f536ec",
          "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": "15147999-cf1d-46db-8066-86408eb7d5a8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4da21c0e-1087-4c9a-8e34-ad59c2f03a36",
      "Sequence": 1,
      "AncestorCategoryId": "725cc1a6-45e2-4f57-bb03-a0c0433eebf4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1e37fc9d-ca12-4eaf-a1b8-ef56e1f536ec",
          "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": "1e37fc9d-ca12-4eaf-a1b8-ef56e1f536ec",
          "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": "a280476c-d588-48a2-b9e3-9a730573b575",
    "CategoryId": "921042c6-f5d5-475d-ba41-9dea03819688",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0ef338ce-f832-400b-8dd1-cde3577e421d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0ef338ce-f832-400b-8dd1-cde3577e421d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "6c537a18-8118-415d-bf5e-c706d98dabad",
      "Questions": [
        {
          "Id": "906a6502-4a27-4c75-a52c-9e84f354d04c",
          "Answers": "sample string 2"
        },
        {
          "Id": "906a6502-4a27-4c75-a52c-9e84f354d04c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "6c537a18-8118-415d-bf5e-c706d98dabad",
      "Questions": [
        {
          "Id": "906a6502-4a27-4c75-a52c-9e84f354d04c",
          "Answers": "sample string 2"
        },
        {
          "Id": "906a6502-4a27-4c75-a52c-9e84f354d04c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "ce15402b-2e94-428d-90b7-db4566dc1bc4",
      "ContentItemId": "2b1a1638-fa04-47e8-996a-af275d71d1b0",
      "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-29T21:26:36.1191287+00:00",
      "RescheduleDate": "2026-08-29T21:26:36.1191287+00:00"
    },
    {
      "Id": "ce15402b-2e94-428d-90b7-db4566dc1bc4",
      "ContentItemId": "2b1a1638-fa04-47e8-996a-af275d71d1b0",
      "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-29T21:26:36.1191287+00:00",
      "RescheduleDate": "2026-08-29T21:26:36.1191287+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}