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": "4afbd608-e011-4e0b-8fb2-874094a35f9b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-14T13:07:46.8927953+00:00",
  "Registration": [
    {
      "Id": "cddf84c6-2e89-4ee2-bcce-1bc01e0d7870",
      "UserId": "7c50fb00-11b5-424c-af52-db865d70c170",
      "IsCurrent": true,
      "CenterId": "8b422e05-637e-40b7-91bf-81387855e4b7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "6a7c63c5-ac8c-4970-ab82-682930ff52f3",
      "EndDate": "2026-05-14T13:07:46.8733827+00:00",
      "StartDate": "2026-05-14T13:07:46.8733827+00:00",
      "SchedulePreferenceDate": "2026-05-14T13:07:46.8733827+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": "cddf84c6-2e89-4ee2-bcce-1bc01e0d7870",
      "UserId": "7c50fb00-11b5-424c-af52-db865d70c170",
      "IsCurrent": true,
      "CenterId": "8b422e05-637e-40b7-91bf-81387855e4b7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "6a7c63c5-ac8c-4970-ab82-682930ff52f3",
      "EndDate": "2026-05-14T13:07:46.8733827+00:00",
      "StartDate": "2026-05-14T13:07:46.8733827+00:00",
      "SchedulePreferenceDate": "2026-05-14T13:07:46.8733827+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-05-14T13:07:46.8733827+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "088166ce-1019-4df1-8260-2e613e1772d7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c8d034e3-2886-46c5-b6d3-9dd09b3485f4",
      "Sequence": 1,
      "AncestorCategoryId": "efc37c58-b6c3-4584-b69e-a5e2c860de3d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "de83b3df-5e21-44dc-b429-3b0cea3ddb23",
          "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": "de83b3df-5e21-44dc-b429-3b0cea3ddb23",
          "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": "088166ce-1019-4df1-8260-2e613e1772d7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c8d034e3-2886-46c5-b6d3-9dd09b3485f4",
      "Sequence": 1,
      "AncestorCategoryId": "efc37c58-b6c3-4584-b69e-a5e2c860de3d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "de83b3df-5e21-44dc-b429-3b0cea3ddb23",
          "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": "de83b3df-5e21-44dc-b429-3b0cea3ddb23",
          "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": "178f902c-14ea-42ef-b365-2709ca3f33d2",
    "CategoryId": "38e3628f-ac6f-4074-b05c-a2ffe9ebc767",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3c4a6c69-6117-42a6-96fa-c06605043394",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3c4a6c69-6117-42a6-96fa-c06605043394",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d3a14737-762d-4d6e-ad0a-ec5f8a677b7c",
      "Questions": [
        {
          "Id": "d1ed335c-c3ff-4db3-bd4b-cb6b19dcb1be",
          "Answers": "sample string 2"
        },
        {
          "Id": "d1ed335c-c3ff-4db3-bd4b-cb6b19dcb1be",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d3a14737-762d-4d6e-ad0a-ec5f8a677b7c",
      "Questions": [
        {
          "Id": "d1ed335c-c3ff-4db3-bd4b-cb6b19dcb1be",
          "Answers": "sample string 2"
        },
        {
          "Id": "d1ed335c-c3ff-4db3-bd4b-cb6b19dcb1be",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "1ab6d026-abde-403f-b023-b2eaabdf2af9",
      "ContentItemId": "808345a2-c53c-46b6-94ab-8d5dedb891a2",
      "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-05-14T13:07:46.8733827+00:00",
      "RescheduleDate": "2026-05-14T13:07:46.8733827+00:00"
    },
    {
      "Id": "1ab6d026-abde-403f-b023-b2eaabdf2af9",
      "ContentItemId": "808345a2-c53c-46b6-94ab-8d5dedb891a2",
      "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-05-14T13:07:46.8733827+00:00",
      "RescheduleDate": "2026-05-14T13:07:46.8733827+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": "4afbd608-e011-4e0b-8fb2-874094a35f9b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-14T13:07:47.031954+00:00",
  "Registration": [
    {
      "Id": "cddf84c6-2e89-4ee2-bcce-1bc01e0d7870",
      "UserId": "7c50fb00-11b5-424c-af52-db865d70c170",
      "IsCurrent": true,
      "CenterId": "8b422e05-637e-40b7-91bf-81387855e4b7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "6a7c63c5-ac8c-4970-ab82-682930ff52f3",
      "EndDate": "2026-05-14T13:07:46.8733827+00:00",
      "StartDate": "2026-05-14T13:07:46.8733827+00:00",
      "SchedulePreferenceDate": "2026-05-14T13:07:46.8733827+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": "cddf84c6-2e89-4ee2-bcce-1bc01e0d7870",
      "UserId": "7c50fb00-11b5-424c-af52-db865d70c170",
      "IsCurrent": true,
      "CenterId": "8b422e05-637e-40b7-91bf-81387855e4b7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "6a7c63c5-ac8c-4970-ab82-682930ff52f3",
      "EndDate": "2026-05-14T13:07:46.8733827+00:00",
      "StartDate": "2026-05-14T13:07:46.8733827+00:00",
      "SchedulePreferenceDate": "2026-05-14T13:07:46.8733827+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-05-14T13:07:46.8733827+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "088166ce-1019-4df1-8260-2e613e1772d7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c8d034e3-2886-46c5-b6d3-9dd09b3485f4",
      "Sequence": 1,
      "AncestorCategoryId": "efc37c58-b6c3-4584-b69e-a5e2c860de3d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "de83b3df-5e21-44dc-b429-3b0cea3ddb23",
          "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": "de83b3df-5e21-44dc-b429-3b0cea3ddb23",
          "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": "088166ce-1019-4df1-8260-2e613e1772d7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c8d034e3-2886-46c5-b6d3-9dd09b3485f4",
      "Sequence": 1,
      "AncestorCategoryId": "efc37c58-b6c3-4584-b69e-a5e2c860de3d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "de83b3df-5e21-44dc-b429-3b0cea3ddb23",
          "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": "de83b3df-5e21-44dc-b429-3b0cea3ddb23",
          "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": "178f902c-14ea-42ef-b365-2709ca3f33d2",
    "CategoryId": "38e3628f-ac6f-4074-b05c-a2ffe9ebc767",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3c4a6c69-6117-42a6-96fa-c06605043394",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3c4a6c69-6117-42a6-96fa-c06605043394",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "d3a14737-762d-4d6e-ad0a-ec5f8a677b7c",
      "Questions": [
        {
          "Id": "d1ed335c-c3ff-4db3-bd4b-cb6b19dcb1be",
          "Answers": "sample string 2"
        },
        {
          "Id": "d1ed335c-c3ff-4db3-bd4b-cb6b19dcb1be",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "d3a14737-762d-4d6e-ad0a-ec5f8a677b7c",
      "Questions": [
        {
          "Id": "d1ed335c-c3ff-4db3-bd4b-cb6b19dcb1be",
          "Answers": "sample string 2"
        },
        {
          "Id": "d1ed335c-c3ff-4db3-bd4b-cb6b19dcb1be",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "1ab6d026-abde-403f-b023-b2eaabdf2af9",
      "ContentItemId": "808345a2-c53c-46b6-94ab-8d5dedb891a2",
      "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-05-14T13:07:46.8733827+00:00",
      "RescheduleDate": "2026-05-14T13:07:46.8733827+00:00"
    },
    {
      "Id": "1ab6d026-abde-403f-b023-b2eaabdf2af9",
      "ContentItemId": "808345a2-c53c-46b6-94ab-8d5dedb891a2",
      "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-05-14T13:07:46.8733827+00:00",
      "RescheduleDate": "2026-05-14T13:07:46.8733827+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}