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": "fec7152b-ba5c-44f0-9264-29168ac5d9d7",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-28T23:33:08.4297022+00:00",
  "Registration": [
    {
      "Id": "22e8704b-7543-4e31-8fcf-10f6df5632cc",
      "UserId": "ce2ac344-8d90-4fb3-95b8-4c561b3d3e74",
      "IsCurrent": true,
      "CenterId": "fae206ae-9336-45e4-acd1-a0f6ef8bf880",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b8a87b14-bcab-4858-9651-418cd8d41968",
      "EndDate": "2026-09-28T23:33:08.4183284+00:00",
      "StartDate": "2026-09-28T23:33:08.4183284+00:00",
      "SchedulePreferenceDate": "2026-09-28T23:33:08.4183284+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": "22e8704b-7543-4e31-8fcf-10f6df5632cc",
      "UserId": "ce2ac344-8d90-4fb3-95b8-4c561b3d3e74",
      "IsCurrent": true,
      "CenterId": "fae206ae-9336-45e4-acd1-a0f6ef8bf880",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b8a87b14-bcab-4858-9651-418cd8d41968",
      "EndDate": "2026-09-28T23:33:08.4183284+00:00",
      "StartDate": "2026-09-28T23:33:08.4183284+00:00",
      "SchedulePreferenceDate": "2026-09-28T23:33:08.4183284+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-09-28T23:33:08.4183284+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "fd3e6533-e82f-4792-ad96-31f24632b783",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "82c91ba5-e22d-4375-8334-3b6de01bb4df",
      "Sequence": 1,
      "AncestorCategoryId": "a927b7a5-0f40-4095-b9b1-55bdc9b6b19f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "292267c8-ad16-4a0b-a11e-b1a39acb5979",
          "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": "292267c8-ad16-4a0b-a11e-b1a39acb5979",
          "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": "fd3e6533-e82f-4792-ad96-31f24632b783",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "82c91ba5-e22d-4375-8334-3b6de01bb4df",
      "Sequence": 1,
      "AncestorCategoryId": "a927b7a5-0f40-4095-b9b1-55bdc9b6b19f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "292267c8-ad16-4a0b-a11e-b1a39acb5979",
          "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": "292267c8-ad16-4a0b-a11e-b1a39acb5979",
          "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": "38cd61ca-1da9-4393-aed4-5c9ca92ffe14",
    "CategoryId": "0e614f94-5fd4-405a-ae18-f6a90ad4d539",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "974afbab-4912-49e0-a91e-4d12a837b225",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "974afbab-4912-49e0-a91e-4d12a837b225",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "cd5c65d0-1993-4c00-996a-59caaa9acae8",
      "Questions": [
        {
          "Id": "8abd3b29-605e-4558-884b-ef8f72668db3",
          "Answers": "sample string 2"
        },
        {
          "Id": "8abd3b29-605e-4558-884b-ef8f72668db3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "cd5c65d0-1993-4c00-996a-59caaa9acae8",
      "Questions": [
        {
          "Id": "8abd3b29-605e-4558-884b-ef8f72668db3",
          "Answers": "sample string 2"
        },
        {
          "Id": "8abd3b29-605e-4558-884b-ef8f72668db3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6299b72b-b738-4227-bb21-5edaa62dde39",
      "ContentItemId": "3f4bd073-57a9-448a-9bf7-31ad1a3a6f85",
      "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-09-28T23:33:08.4183284+00:00",
      "RescheduleDate": "2026-09-28T23:33:08.4183284+00:00"
    },
    {
      "Id": "6299b72b-b738-4227-bb21-5edaa62dde39",
      "ContentItemId": "3f4bd073-57a9-448a-9bf7-31ad1a3a6f85",
      "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-09-28T23:33:08.4183284+00:00",
      "RescheduleDate": "2026-09-28T23:33:08.4183284+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": "fec7152b-ba5c-44f0-9264-29168ac5d9d7",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-28T23:33:08.539077+00:00",
  "Registration": [
    {
      "Id": "22e8704b-7543-4e31-8fcf-10f6df5632cc",
      "UserId": "ce2ac344-8d90-4fb3-95b8-4c561b3d3e74",
      "IsCurrent": true,
      "CenterId": "fae206ae-9336-45e4-acd1-a0f6ef8bf880",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b8a87b14-bcab-4858-9651-418cd8d41968",
      "EndDate": "2026-09-28T23:33:08.4183284+00:00",
      "StartDate": "2026-09-28T23:33:08.4183284+00:00",
      "SchedulePreferenceDate": "2026-09-28T23:33:08.4183284+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": "22e8704b-7543-4e31-8fcf-10f6df5632cc",
      "UserId": "ce2ac344-8d90-4fb3-95b8-4c561b3d3e74",
      "IsCurrent": true,
      "CenterId": "fae206ae-9336-45e4-acd1-a0f6ef8bf880",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b8a87b14-bcab-4858-9651-418cd8d41968",
      "EndDate": "2026-09-28T23:33:08.4183284+00:00",
      "StartDate": "2026-09-28T23:33:08.4183284+00:00",
      "SchedulePreferenceDate": "2026-09-28T23:33:08.4183284+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-09-28T23:33:08.4183284+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "fd3e6533-e82f-4792-ad96-31f24632b783",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "82c91ba5-e22d-4375-8334-3b6de01bb4df",
      "Sequence": 1,
      "AncestorCategoryId": "a927b7a5-0f40-4095-b9b1-55bdc9b6b19f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "292267c8-ad16-4a0b-a11e-b1a39acb5979",
          "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": "292267c8-ad16-4a0b-a11e-b1a39acb5979",
          "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": "fd3e6533-e82f-4792-ad96-31f24632b783",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "82c91ba5-e22d-4375-8334-3b6de01bb4df",
      "Sequence": 1,
      "AncestorCategoryId": "a927b7a5-0f40-4095-b9b1-55bdc9b6b19f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "292267c8-ad16-4a0b-a11e-b1a39acb5979",
          "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": "292267c8-ad16-4a0b-a11e-b1a39acb5979",
          "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": "38cd61ca-1da9-4393-aed4-5c9ca92ffe14",
    "CategoryId": "0e614f94-5fd4-405a-ae18-f6a90ad4d539",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "974afbab-4912-49e0-a91e-4d12a837b225",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "974afbab-4912-49e0-a91e-4d12a837b225",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "cd5c65d0-1993-4c00-996a-59caaa9acae8",
      "Questions": [
        {
          "Id": "8abd3b29-605e-4558-884b-ef8f72668db3",
          "Answers": "sample string 2"
        },
        {
          "Id": "8abd3b29-605e-4558-884b-ef8f72668db3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "cd5c65d0-1993-4c00-996a-59caaa9acae8",
      "Questions": [
        {
          "Id": "8abd3b29-605e-4558-884b-ef8f72668db3",
          "Answers": "sample string 2"
        },
        {
          "Id": "8abd3b29-605e-4558-884b-ef8f72668db3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6299b72b-b738-4227-bb21-5edaa62dde39",
      "ContentItemId": "3f4bd073-57a9-448a-9bf7-31ad1a3a6f85",
      "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-09-28T23:33:08.4183284+00:00",
      "RescheduleDate": "2026-09-28T23:33:08.4183284+00:00"
    },
    {
      "Id": "6299b72b-b738-4227-bb21-5edaa62dde39",
      "ContentItemId": "3f4bd073-57a9-448a-9bf7-31ad1a3a6f85",
      "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-09-28T23:33:08.4183284+00:00",
      "RescheduleDate": "2026-09-28T23:33:08.4183284+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}