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": "e83f4119-bf35-4504-bf7a-6c53f9731778",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-12-17T19:17:57.9124877+00:00",
  "Registration": [
    {
      "Id": "9aa887bc-8d03-4299-8dd5-a0afabb5f19a",
      "UserId": "b68c4d28-3f29-4b40-a3f2-e9a3ea42e547",
      "IsCurrent": true,
      "CenterId": "e3265bda-f1c4-4311-b707-92292b6d8e8e",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "6938ec22-c50b-463b-a707-ae60dfc0319f",
      "EndDate": "2025-12-17T19:17:57.9124877+00:00",
      "StartDate": "2025-12-17T19:17:57.9124877+00:00",
      "SchedulePreferenceDate": "2025-12-17T19:17:57.9124877+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": "9aa887bc-8d03-4299-8dd5-a0afabb5f19a",
      "UserId": "b68c4d28-3f29-4b40-a3f2-e9a3ea42e547",
      "IsCurrent": true,
      "CenterId": "e3265bda-f1c4-4311-b707-92292b6d8e8e",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "6938ec22-c50b-463b-a707-ae60dfc0319f",
      "EndDate": "2025-12-17T19:17:57.9124877+00:00",
      "StartDate": "2025-12-17T19:17:57.9124877+00:00",
      "SchedulePreferenceDate": "2025-12-17T19:17:57.9124877+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": "2025-12-17T19:17:57.9124877+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "976402ad-afb6-49c5-a175-13a6890d3a18",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3511ba10-28f7-47ea-b2f8-27c44c0e86f4",
      "Sequence": 1,
      "AncestorCategoryId": "532e8ee2-173b-4923-9e2c-ceeb9938d5d8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9c900d29-97ae-4083-b81d-1b464a9b4794",
          "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": "9c900d29-97ae-4083-b81d-1b464a9b4794",
          "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": "976402ad-afb6-49c5-a175-13a6890d3a18",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3511ba10-28f7-47ea-b2f8-27c44c0e86f4",
      "Sequence": 1,
      "AncestorCategoryId": "532e8ee2-173b-4923-9e2c-ceeb9938d5d8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9c900d29-97ae-4083-b81d-1b464a9b4794",
          "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": "9c900d29-97ae-4083-b81d-1b464a9b4794",
          "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": "5b58f4cb-4423-47d7-8da5-04ed9bbbe7b5",
    "CategoryId": "adc785b3-3c9c-4b16-833e-8b44f5a1b5ee",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "6e2ceca7-1094-412a-8075-bf410487f1f6",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "6e2ceca7-1094-412a-8075-bf410487f1f6",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b2d1615f-d7cb-4f67-899b-1a4e3812f248",
      "Questions": [
        {
          "Id": "ecadeca0-101c-43f7-8f30-c845c6e26b62",
          "Answers": "sample string 2"
        },
        {
          "Id": "ecadeca0-101c-43f7-8f30-c845c6e26b62",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b2d1615f-d7cb-4f67-899b-1a4e3812f248",
      "Questions": [
        {
          "Id": "ecadeca0-101c-43f7-8f30-c845c6e26b62",
          "Answers": "sample string 2"
        },
        {
          "Id": "ecadeca0-101c-43f7-8f30-c845c6e26b62",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7d3d7c1a-9e55-4ff9-8c7c-ffa33694349e",
      "ContentItemId": "a6782c54-d53a-4eab-8a63-f33d1f8dc01f",
      "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": "2025-12-17T19:17:57.9124877+00:00",
      "RescheduleDate": "2025-12-17T19:17:57.9124877+00:00"
    },
    {
      "Id": "7d3d7c1a-9e55-4ff9-8c7c-ffa33694349e",
      "ContentItemId": "a6782c54-d53a-4eab-8a63-f33d1f8dc01f",
      "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": "2025-12-17T19:17:57.9124877+00:00",
      "RescheduleDate": "2025-12-17T19:17:57.9124877+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": "e83f4119-bf35-4504-bf7a-6c53f9731778",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-12-17T19:17:57.9437462+00:00",
  "Registration": [
    {
      "Id": "9aa887bc-8d03-4299-8dd5-a0afabb5f19a",
      "UserId": "b68c4d28-3f29-4b40-a3f2-e9a3ea42e547",
      "IsCurrent": true,
      "CenterId": "e3265bda-f1c4-4311-b707-92292b6d8e8e",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "6938ec22-c50b-463b-a707-ae60dfc0319f",
      "EndDate": "2025-12-17T19:17:57.9124877+00:00",
      "StartDate": "2025-12-17T19:17:57.9124877+00:00",
      "SchedulePreferenceDate": "2025-12-17T19:17:57.9124877+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": "9aa887bc-8d03-4299-8dd5-a0afabb5f19a",
      "UserId": "b68c4d28-3f29-4b40-a3f2-e9a3ea42e547",
      "IsCurrent": true,
      "CenterId": "e3265bda-f1c4-4311-b707-92292b6d8e8e",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "6938ec22-c50b-463b-a707-ae60dfc0319f",
      "EndDate": "2025-12-17T19:17:57.9124877+00:00",
      "StartDate": "2025-12-17T19:17:57.9124877+00:00",
      "SchedulePreferenceDate": "2025-12-17T19:17:57.9124877+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": "2025-12-17T19:17:57.9124877+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "976402ad-afb6-49c5-a175-13a6890d3a18",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3511ba10-28f7-47ea-b2f8-27c44c0e86f4",
      "Sequence": 1,
      "AncestorCategoryId": "532e8ee2-173b-4923-9e2c-ceeb9938d5d8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9c900d29-97ae-4083-b81d-1b464a9b4794",
          "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": "9c900d29-97ae-4083-b81d-1b464a9b4794",
          "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": "976402ad-afb6-49c5-a175-13a6890d3a18",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3511ba10-28f7-47ea-b2f8-27c44c0e86f4",
      "Sequence": 1,
      "AncestorCategoryId": "532e8ee2-173b-4923-9e2c-ceeb9938d5d8",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9c900d29-97ae-4083-b81d-1b464a9b4794",
          "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": "9c900d29-97ae-4083-b81d-1b464a9b4794",
          "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": "5b58f4cb-4423-47d7-8da5-04ed9bbbe7b5",
    "CategoryId": "adc785b3-3c9c-4b16-833e-8b44f5a1b5ee",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "6e2ceca7-1094-412a-8075-bf410487f1f6",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "6e2ceca7-1094-412a-8075-bf410487f1f6",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "b2d1615f-d7cb-4f67-899b-1a4e3812f248",
      "Questions": [
        {
          "Id": "ecadeca0-101c-43f7-8f30-c845c6e26b62",
          "Answers": "sample string 2"
        },
        {
          "Id": "ecadeca0-101c-43f7-8f30-c845c6e26b62",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "b2d1615f-d7cb-4f67-899b-1a4e3812f248",
      "Questions": [
        {
          "Id": "ecadeca0-101c-43f7-8f30-c845c6e26b62",
          "Answers": "sample string 2"
        },
        {
          "Id": "ecadeca0-101c-43f7-8f30-c845c6e26b62",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7d3d7c1a-9e55-4ff9-8c7c-ffa33694349e",
      "ContentItemId": "a6782c54-d53a-4eab-8a63-f33d1f8dc01f",
      "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": "2025-12-17T19:17:57.9124877+00:00",
      "RescheduleDate": "2025-12-17T19:17:57.9124877+00:00"
    },
    {
      "Id": "7d3d7c1a-9e55-4ff9-8c7c-ffa33694349e",
      "ContentItemId": "a6782c54-d53a-4eab-8a63-f33d1f8dc01f",
      "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": "2025-12-17T19:17:57.9124877+00:00",
      "RescheduleDate": "2025-12-17T19:17:57.9124877+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}