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": "e877ac06-4098-48f3-a82d-7fbe0856ad77",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-29T17:43:45.0386155+00:00",
  "Registration": [
    {
      "Id": "43b8d56a-6fe9-4ef8-98bc-870853931648",
      "UserId": "492bce29-4150-4f1d-a032-ef4c2a4791e0",
      "IsCurrent": true,
      "CenterId": "8ef61cdb-be67-4951-9f73-ed86e5923cc9",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f3fa5ce3-89dd-4272-af9e-911914f722c4",
      "EndDate": "2026-10-29T17:43:45.022986+00:00",
      "StartDate": "2026-10-29T17:43:45.022986+00:00",
      "SchedulePreferenceDate": "2026-10-29T17:43:45.022986+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": "43b8d56a-6fe9-4ef8-98bc-870853931648",
      "UserId": "492bce29-4150-4f1d-a032-ef4c2a4791e0",
      "IsCurrent": true,
      "CenterId": "8ef61cdb-be67-4951-9f73-ed86e5923cc9",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f3fa5ce3-89dd-4272-af9e-911914f722c4",
      "EndDate": "2026-10-29T17:43:45.022986+00:00",
      "StartDate": "2026-10-29T17:43:45.022986+00:00",
      "SchedulePreferenceDate": "2026-10-29T17:43:45.022986+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-29T17:43:45.022986+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8f0a016f-34bf-424f-94a4-c4e231f4ea1a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1ffa301a-e315-4643-87d1-450b47ce33c6",
      "Sequence": 1,
      "AncestorCategoryId": "667a72c1-17e5-4c4d-8db9-66a23a521125",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "42ef8b20-cef7-4325-9cb8-cc0e332a2437",
          "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": "42ef8b20-cef7-4325-9cb8-cc0e332a2437",
          "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": "8f0a016f-34bf-424f-94a4-c4e231f4ea1a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1ffa301a-e315-4643-87d1-450b47ce33c6",
      "Sequence": 1,
      "AncestorCategoryId": "667a72c1-17e5-4c4d-8db9-66a23a521125",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "42ef8b20-cef7-4325-9cb8-cc0e332a2437",
          "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": "42ef8b20-cef7-4325-9cb8-cc0e332a2437",
          "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": "df455d2b-c7df-49a9-861c-bc66a10c57e4",
    "CategoryId": "cb344c21-b2a1-4751-951a-8de3b0b4fca8",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "43d66624-162a-4d2e-9854-edbe5fd49124",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "43d66624-162a-4d2e-9854-edbe5fd49124",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5daf95d4-d5d7-45af-8022-0aba0540f7eb",
      "Questions": [
        {
          "Id": "36946944-9584-4529-9781-fd7203578a4f",
          "Answers": "sample string 2"
        },
        {
          "Id": "36946944-9584-4529-9781-fd7203578a4f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5daf95d4-d5d7-45af-8022-0aba0540f7eb",
      "Questions": [
        {
          "Id": "36946944-9584-4529-9781-fd7203578a4f",
          "Answers": "sample string 2"
        },
        {
          "Id": "36946944-9584-4529-9781-fd7203578a4f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "09a0ed3e-1aac-4e82-b651-f412b0c4346d",
      "ContentItemId": "96a5e7fe-e97a-4bff-bf8b-5491c412acc6",
      "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-29T17:43:45.022986+00:00",
      "RescheduleDate": "2026-10-29T17:43:45.022986+00:00"
    },
    {
      "Id": "09a0ed3e-1aac-4e82-b651-f412b0c4346d",
      "ContentItemId": "96a5e7fe-e97a-4bff-bf8b-5491c412acc6",
      "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-29T17:43:45.022986+00:00",
      "RescheduleDate": "2026-10-29T17:43:45.022986+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": "e877ac06-4098-48f3-a82d-7fbe0856ad77",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-29T17:43:45.0542425+00:00",
  "Registration": [
    {
      "Id": "43b8d56a-6fe9-4ef8-98bc-870853931648",
      "UserId": "492bce29-4150-4f1d-a032-ef4c2a4791e0",
      "IsCurrent": true,
      "CenterId": "8ef61cdb-be67-4951-9f73-ed86e5923cc9",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f3fa5ce3-89dd-4272-af9e-911914f722c4",
      "EndDate": "2026-10-29T17:43:45.022986+00:00",
      "StartDate": "2026-10-29T17:43:45.022986+00:00",
      "SchedulePreferenceDate": "2026-10-29T17:43:45.022986+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": "43b8d56a-6fe9-4ef8-98bc-870853931648",
      "UserId": "492bce29-4150-4f1d-a032-ef4c2a4791e0",
      "IsCurrent": true,
      "CenterId": "8ef61cdb-be67-4951-9f73-ed86e5923cc9",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f3fa5ce3-89dd-4272-af9e-911914f722c4",
      "EndDate": "2026-10-29T17:43:45.022986+00:00",
      "StartDate": "2026-10-29T17:43:45.022986+00:00",
      "SchedulePreferenceDate": "2026-10-29T17:43:45.022986+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-29T17:43:45.022986+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8f0a016f-34bf-424f-94a4-c4e231f4ea1a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1ffa301a-e315-4643-87d1-450b47ce33c6",
      "Sequence": 1,
      "AncestorCategoryId": "667a72c1-17e5-4c4d-8db9-66a23a521125",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "42ef8b20-cef7-4325-9cb8-cc0e332a2437",
          "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": "42ef8b20-cef7-4325-9cb8-cc0e332a2437",
          "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": "8f0a016f-34bf-424f-94a4-c4e231f4ea1a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1ffa301a-e315-4643-87d1-450b47ce33c6",
      "Sequence": 1,
      "AncestorCategoryId": "667a72c1-17e5-4c4d-8db9-66a23a521125",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "42ef8b20-cef7-4325-9cb8-cc0e332a2437",
          "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": "42ef8b20-cef7-4325-9cb8-cc0e332a2437",
          "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": "df455d2b-c7df-49a9-861c-bc66a10c57e4",
    "CategoryId": "cb344c21-b2a1-4751-951a-8de3b0b4fca8",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "43d66624-162a-4d2e-9854-edbe5fd49124",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "43d66624-162a-4d2e-9854-edbe5fd49124",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5daf95d4-d5d7-45af-8022-0aba0540f7eb",
      "Questions": [
        {
          "Id": "36946944-9584-4529-9781-fd7203578a4f",
          "Answers": "sample string 2"
        },
        {
          "Id": "36946944-9584-4529-9781-fd7203578a4f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5daf95d4-d5d7-45af-8022-0aba0540f7eb",
      "Questions": [
        {
          "Id": "36946944-9584-4529-9781-fd7203578a4f",
          "Answers": "sample string 2"
        },
        {
          "Id": "36946944-9584-4529-9781-fd7203578a4f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "09a0ed3e-1aac-4e82-b651-f412b0c4346d",
      "ContentItemId": "96a5e7fe-e97a-4bff-bf8b-5491c412acc6",
      "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-29T17:43:45.022986+00:00",
      "RescheduleDate": "2026-10-29T17:43:45.022986+00:00"
    },
    {
      "Id": "09a0ed3e-1aac-4e82-b651-f412b0c4346d",
      "ContentItemId": "96a5e7fe-e97a-4bff-bf8b-5491c412acc6",
      "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-29T17:43:45.022986+00:00",
      "RescheduleDate": "2026-10-29T17:43:45.022986+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}