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": "98067ae9-4648-4da0-bfb6-4c94ec49f936",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-28T06:04:33.1418147+00:00",
  "Registration": [
    {
      "Id": "a3b82ac1-c487-4000-a342-528f0a26a173",
      "UserId": "60770bcd-23df-45fa-a490-16a3b4de5727",
      "IsCurrent": true,
      "CenterId": "6b1f8b3c-bd91-4264-9e1a-a85df712a918",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "e29003fa-7cdb-4070-b1a1-8e119f5271f5",
      "EndDate": "2026-03-28T06:04:33.1418147+00:00",
      "StartDate": "2026-03-28T06:04:33.1418147+00:00",
      "SchedulePreferenceDate": "2026-03-28T06:04:33.1418147+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": "a3b82ac1-c487-4000-a342-528f0a26a173",
      "UserId": "60770bcd-23df-45fa-a490-16a3b4de5727",
      "IsCurrent": true,
      "CenterId": "6b1f8b3c-bd91-4264-9e1a-a85df712a918",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "e29003fa-7cdb-4070-b1a1-8e119f5271f5",
      "EndDate": "2026-03-28T06:04:33.1418147+00:00",
      "StartDate": "2026-03-28T06:04:33.1418147+00:00",
      "SchedulePreferenceDate": "2026-03-28T06:04:33.1418147+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-03-28T06:04:33.1418147+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8544aad4-a929-464a-9d13-732d77fcef05",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9ae92c40-0740-44d1-b7e3-fa8787507ec6",
      "Sequence": 1,
      "AncestorCategoryId": "77b68a19-9a7d-4706-b4fa-5ea367660acb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e4a7ae2b-7630-4148-81ae-4599410440f1",
          "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": "e4a7ae2b-7630-4148-81ae-4599410440f1",
          "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": "8544aad4-a929-464a-9d13-732d77fcef05",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9ae92c40-0740-44d1-b7e3-fa8787507ec6",
      "Sequence": 1,
      "AncestorCategoryId": "77b68a19-9a7d-4706-b4fa-5ea367660acb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e4a7ae2b-7630-4148-81ae-4599410440f1",
          "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": "e4a7ae2b-7630-4148-81ae-4599410440f1",
          "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": "d7afccd3-627a-4f69-ad28-8be485f7bc3f",
    "CategoryId": "ef27055b-41ed-4b55-aed6-4dfd1215ad1d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "798a2599-395b-44cf-9807-722315c93586",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "798a2599-395b-44cf-9807-722315c93586",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "8deb8af1-d884-4060-8db1-9f59c87d2a46",
      "Questions": [
        {
          "Id": "a60bf225-1e46-4b8c-9e81-08462f9cf74f",
          "Answers": "sample string 2"
        },
        {
          "Id": "a60bf225-1e46-4b8c-9e81-08462f9cf74f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "8deb8af1-d884-4060-8db1-9f59c87d2a46",
      "Questions": [
        {
          "Id": "a60bf225-1e46-4b8c-9e81-08462f9cf74f",
          "Answers": "sample string 2"
        },
        {
          "Id": "a60bf225-1e46-4b8c-9e81-08462f9cf74f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6d924f7c-6240-4b73-9730-991baf7e69d6",
      "ContentItemId": "6438c267-0b32-4a26-9c26-005d264047db",
      "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-03-28T06:04:33.1418147+00:00",
      "RescheduleDate": "2026-03-28T06:04:33.1418147+00:00"
    },
    {
      "Id": "6d924f7c-6240-4b73-9730-991baf7e69d6",
      "ContentItemId": "6438c267-0b32-4a26-9c26-005d264047db",
      "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-03-28T06:04:33.1418147+00:00",
      "RescheduleDate": "2026-03-28T06:04:33.1418147+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": "98067ae9-4648-4da0-bfb6-4c94ec49f936",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-03-28T06:04:33.1886884+00:00",
  "Registration": [
    {
      "Id": "a3b82ac1-c487-4000-a342-528f0a26a173",
      "UserId": "60770bcd-23df-45fa-a490-16a3b4de5727",
      "IsCurrent": true,
      "CenterId": "6b1f8b3c-bd91-4264-9e1a-a85df712a918",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "e29003fa-7cdb-4070-b1a1-8e119f5271f5",
      "EndDate": "2026-03-28T06:04:33.1418147+00:00",
      "StartDate": "2026-03-28T06:04:33.1418147+00:00",
      "SchedulePreferenceDate": "2026-03-28T06:04:33.1418147+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": "a3b82ac1-c487-4000-a342-528f0a26a173",
      "UserId": "60770bcd-23df-45fa-a490-16a3b4de5727",
      "IsCurrent": true,
      "CenterId": "6b1f8b3c-bd91-4264-9e1a-a85df712a918",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "e29003fa-7cdb-4070-b1a1-8e119f5271f5",
      "EndDate": "2026-03-28T06:04:33.1418147+00:00",
      "StartDate": "2026-03-28T06:04:33.1418147+00:00",
      "SchedulePreferenceDate": "2026-03-28T06:04:33.1418147+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-03-28T06:04:33.1418147+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8544aad4-a929-464a-9d13-732d77fcef05",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9ae92c40-0740-44d1-b7e3-fa8787507ec6",
      "Sequence": 1,
      "AncestorCategoryId": "77b68a19-9a7d-4706-b4fa-5ea367660acb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e4a7ae2b-7630-4148-81ae-4599410440f1",
          "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": "e4a7ae2b-7630-4148-81ae-4599410440f1",
          "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": "8544aad4-a929-464a-9d13-732d77fcef05",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "9ae92c40-0740-44d1-b7e3-fa8787507ec6",
      "Sequence": 1,
      "AncestorCategoryId": "77b68a19-9a7d-4706-b4fa-5ea367660acb",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e4a7ae2b-7630-4148-81ae-4599410440f1",
          "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": "e4a7ae2b-7630-4148-81ae-4599410440f1",
          "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": "d7afccd3-627a-4f69-ad28-8be485f7bc3f",
    "CategoryId": "ef27055b-41ed-4b55-aed6-4dfd1215ad1d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "798a2599-395b-44cf-9807-722315c93586",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "798a2599-395b-44cf-9807-722315c93586",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "8deb8af1-d884-4060-8db1-9f59c87d2a46",
      "Questions": [
        {
          "Id": "a60bf225-1e46-4b8c-9e81-08462f9cf74f",
          "Answers": "sample string 2"
        },
        {
          "Id": "a60bf225-1e46-4b8c-9e81-08462f9cf74f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "8deb8af1-d884-4060-8db1-9f59c87d2a46",
      "Questions": [
        {
          "Id": "a60bf225-1e46-4b8c-9e81-08462f9cf74f",
          "Answers": "sample string 2"
        },
        {
          "Id": "a60bf225-1e46-4b8c-9e81-08462f9cf74f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6d924f7c-6240-4b73-9730-991baf7e69d6",
      "ContentItemId": "6438c267-0b32-4a26-9c26-005d264047db",
      "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-03-28T06:04:33.1418147+00:00",
      "RescheduleDate": "2026-03-28T06:04:33.1418147+00:00"
    },
    {
      "Id": "6d924f7c-6240-4b73-9730-991baf7e69d6",
      "ContentItemId": "6438c267-0b32-4a26-9c26-005d264047db",
      "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-03-28T06:04:33.1418147+00:00",
      "RescheduleDate": "2026-03-28T06:04:33.1418147+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}