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": "b4a74da3-79c2-48be-8403-a8426ed4d81b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-28T14:27:43.7814478+00:00",
  "Registration": [
    {
      "Id": "da5d63df-7bc1-4177-bfe2-99eab2e7ad2d",
      "UserId": "eb7a62fe-15ed-427b-8649-c445498d1b81",
      "IsCurrent": true,
      "CenterId": "b526f876-cddd-4dd0-8646-d4913d84563f",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b94dd847-cfab-4402-8c59-24dd603976df",
      "EndDate": "2026-01-28T14:27:43.7814478+00:00",
      "StartDate": "2026-01-28T14:27:43.7814478+00:00",
      "SchedulePreferenceDate": "2026-01-28T14:27:43.7814478+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": "da5d63df-7bc1-4177-bfe2-99eab2e7ad2d",
      "UserId": "eb7a62fe-15ed-427b-8649-c445498d1b81",
      "IsCurrent": true,
      "CenterId": "b526f876-cddd-4dd0-8646-d4913d84563f",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b94dd847-cfab-4402-8c59-24dd603976df",
      "EndDate": "2026-01-28T14:27:43.7814478+00:00",
      "StartDate": "2026-01-28T14:27:43.7814478+00:00",
      "SchedulePreferenceDate": "2026-01-28T14:27:43.7814478+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-01-28T14:27:43.7814478+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3377b12f-8204-4a70-8209-467d0225ef15",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7d340c0e-ddfc-44e2-80f1-e785de4e77cd",
      "Sequence": 1,
      "AncestorCategoryId": "10ff35d2-e238-4655-853b-288b3c00b657",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a925aee4-c019-4d11-8142-404bcda0469d",
          "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": "a925aee4-c019-4d11-8142-404bcda0469d",
          "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": "3377b12f-8204-4a70-8209-467d0225ef15",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7d340c0e-ddfc-44e2-80f1-e785de4e77cd",
      "Sequence": 1,
      "AncestorCategoryId": "10ff35d2-e238-4655-853b-288b3c00b657",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a925aee4-c019-4d11-8142-404bcda0469d",
          "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": "a925aee4-c019-4d11-8142-404bcda0469d",
          "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": "b414e063-d018-40e6-8c49-cdc9fc0bd9c3",
    "CategoryId": "148dbe88-72b3-4436-a0f7-c99239371705",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "7b219546-6b71-4efc-b4cd-c3ca2333f078",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "7b219546-6b71-4efc-b4cd-c3ca2333f078",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b67807b9-6717-4d07-a8c8-ab8616a528a9",
      "Questions": [
        {
          "Id": "9426c3e6-fded-4614-9183-057c0f912d02",
          "Answers": "sample string 2"
        },
        {
          "Id": "9426c3e6-fded-4614-9183-057c0f912d02",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b67807b9-6717-4d07-a8c8-ab8616a528a9",
      "Questions": [
        {
          "Id": "9426c3e6-fded-4614-9183-057c0f912d02",
          "Answers": "sample string 2"
        },
        {
          "Id": "9426c3e6-fded-4614-9183-057c0f912d02",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d60089b7-3e14-4c4f-a072-74881013a135",
      "ContentItemId": "153a75c0-835e-4890-9bea-f8ee74ccc031",
      "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-01-28T14:27:43.7814478+00:00",
      "RescheduleDate": "2026-01-28T14:27:43.7814478+00:00"
    },
    {
      "Id": "d60089b7-3e14-4c4f-a072-74881013a135",
      "ContentItemId": "153a75c0-835e-4890-9bea-f8ee74ccc031",
      "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-01-28T14:27:43.7814478+00:00",
      "RescheduleDate": "2026-01-28T14:27:43.7814478+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": "b4a74da3-79c2-48be-8403-a8426ed4d81b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-28T14:27:43.8439452+00:00",
  "Registration": [
    {
      "Id": "da5d63df-7bc1-4177-bfe2-99eab2e7ad2d",
      "UserId": "eb7a62fe-15ed-427b-8649-c445498d1b81",
      "IsCurrent": true,
      "CenterId": "b526f876-cddd-4dd0-8646-d4913d84563f",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b94dd847-cfab-4402-8c59-24dd603976df",
      "EndDate": "2026-01-28T14:27:43.7814478+00:00",
      "StartDate": "2026-01-28T14:27:43.7814478+00:00",
      "SchedulePreferenceDate": "2026-01-28T14:27:43.7814478+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": "da5d63df-7bc1-4177-bfe2-99eab2e7ad2d",
      "UserId": "eb7a62fe-15ed-427b-8649-c445498d1b81",
      "IsCurrent": true,
      "CenterId": "b526f876-cddd-4dd0-8646-d4913d84563f",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b94dd847-cfab-4402-8c59-24dd603976df",
      "EndDate": "2026-01-28T14:27:43.7814478+00:00",
      "StartDate": "2026-01-28T14:27:43.7814478+00:00",
      "SchedulePreferenceDate": "2026-01-28T14:27:43.7814478+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-01-28T14:27:43.7814478+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3377b12f-8204-4a70-8209-467d0225ef15",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7d340c0e-ddfc-44e2-80f1-e785de4e77cd",
      "Sequence": 1,
      "AncestorCategoryId": "10ff35d2-e238-4655-853b-288b3c00b657",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a925aee4-c019-4d11-8142-404bcda0469d",
          "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": "a925aee4-c019-4d11-8142-404bcda0469d",
          "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": "3377b12f-8204-4a70-8209-467d0225ef15",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7d340c0e-ddfc-44e2-80f1-e785de4e77cd",
      "Sequence": 1,
      "AncestorCategoryId": "10ff35d2-e238-4655-853b-288b3c00b657",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a925aee4-c019-4d11-8142-404bcda0469d",
          "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": "a925aee4-c019-4d11-8142-404bcda0469d",
          "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": "b414e063-d018-40e6-8c49-cdc9fc0bd9c3",
    "CategoryId": "148dbe88-72b3-4436-a0f7-c99239371705",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "7b219546-6b71-4efc-b4cd-c3ca2333f078",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "7b219546-6b71-4efc-b4cd-c3ca2333f078",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b67807b9-6717-4d07-a8c8-ab8616a528a9",
      "Questions": [
        {
          "Id": "9426c3e6-fded-4614-9183-057c0f912d02",
          "Answers": "sample string 2"
        },
        {
          "Id": "9426c3e6-fded-4614-9183-057c0f912d02",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b67807b9-6717-4d07-a8c8-ab8616a528a9",
      "Questions": [
        {
          "Id": "9426c3e6-fded-4614-9183-057c0f912d02",
          "Answers": "sample string 2"
        },
        {
          "Id": "9426c3e6-fded-4614-9183-057c0f912d02",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d60089b7-3e14-4c4f-a072-74881013a135",
      "ContentItemId": "153a75c0-835e-4890-9bea-f8ee74ccc031",
      "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-01-28T14:27:43.7814478+00:00",
      "RescheduleDate": "2026-01-28T14:27:43.7814478+00:00"
    },
    {
      "Id": "d60089b7-3e14-4c4f-a072-74881013a135",
      "ContentItemId": "153a75c0-835e-4890-9bea-f8ee74ccc031",
      "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-01-28T14:27:43.7814478+00:00",
      "RescheduleDate": "2026-01-28T14:27:43.7814478+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}