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": "d531cb7c-6d7f-4ac6-93d1-1537b7132ae6",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-05T23:37:47.9620341+00:00",
  "Registration": [
    {
      "Id": "dce34408-72f1-4349-bc23-19a39f30d4db",
      "UserId": "4aaff6be-6966-42bf-bbab-e4d7e7396211",
      "IsCurrent": true,
      "CenterId": "60de454f-543d-4f2a-9104-1843fcb513e7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "20a1cd50-e0c4-4c92-b5bf-3a1ccfdbaebe",
      "EndDate": "2026-09-05T23:37:47.9464038+00:00",
      "StartDate": "2026-09-05T23:37:47.9464038+00:00",
      "SchedulePreferenceDate": "2026-09-05T23:37:47.9464038+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": "dce34408-72f1-4349-bc23-19a39f30d4db",
      "UserId": "4aaff6be-6966-42bf-bbab-e4d7e7396211",
      "IsCurrent": true,
      "CenterId": "60de454f-543d-4f2a-9104-1843fcb513e7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "20a1cd50-e0c4-4c92-b5bf-3a1ccfdbaebe",
      "EndDate": "2026-09-05T23:37:47.9464038+00:00",
      "StartDate": "2026-09-05T23:37:47.9464038+00:00",
      "SchedulePreferenceDate": "2026-09-05T23:37:47.9464038+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-05T23:37:47.9464038+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "216e085b-d1a3-4ed7-8b1a-24318c534947",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ae321e5e-e33f-40ee-b5e2-63da933aa574",
      "Sequence": 1,
      "AncestorCategoryId": "5743afb9-6aa6-4a76-968c-a60b17201d72",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4a16b1c6-f99f-4fd2-b52b-1c7f5272e6d6",
          "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": "4a16b1c6-f99f-4fd2-b52b-1c7f5272e6d6",
          "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": "216e085b-d1a3-4ed7-8b1a-24318c534947",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ae321e5e-e33f-40ee-b5e2-63da933aa574",
      "Sequence": 1,
      "AncestorCategoryId": "5743afb9-6aa6-4a76-968c-a60b17201d72",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4a16b1c6-f99f-4fd2-b52b-1c7f5272e6d6",
          "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": "4a16b1c6-f99f-4fd2-b52b-1c7f5272e6d6",
          "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": "b29089fd-bd64-44f2-9921-fb3b89fea583",
    "CategoryId": "a4397ec5-cebd-4e80-a24f-f22d099e3029",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "4dd94eac-17de-4bf6-8ab6-d05cb7ab73f3",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "4dd94eac-17de-4bf6-8ab6-d05cb7ab73f3",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e3b1352b-d7cf-4d81-a994-bd04b840984d",
      "Questions": [
        {
          "Id": "00fe7478-a206-4535-a488-ffa3caedc756",
          "Answers": "sample string 2"
        },
        {
          "Id": "00fe7478-a206-4535-a488-ffa3caedc756",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e3b1352b-d7cf-4d81-a994-bd04b840984d",
      "Questions": [
        {
          "Id": "00fe7478-a206-4535-a488-ffa3caedc756",
          "Answers": "sample string 2"
        },
        {
          "Id": "00fe7478-a206-4535-a488-ffa3caedc756",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7546a185-29a4-48a8-a439-3a3d183b7f9d",
      "ContentItemId": "9a391df2-9d24-450b-996d-02eba0ce3782",
      "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-05T23:37:47.9464038+00:00",
      "RescheduleDate": "2026-09-05T23:37:47.9464038+00:00"
    },
    {
      "Id": "7546a185-29a4-48a8-a439-3a3d183b7f9d",
      "ContentItemId": "9a391df2-9d24-450b-996d-02eba0ce3782",
      "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-05T23:37:47.9464038+00:00",
      "RescheduleDate": "2026-09-05T23:37:47.9464038+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": "d531cb7c-6d7f-4ac6-93d1-1537b7132ae6",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-05T23:37:47.9776506+00:00",
  "Registration": [
    {
      "Id": "dce34408-72f1-4349-bc23-19a39f30d4db",
      "UserId": "4aaff6be-6966-42bf-bbab-e4d7e7396211",
      "IsCurrent": true,
      "CenterId": "60de454f-543d-4f2a-9104-1843fcb513e7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "20a1cd50-e0c4-4c92-b5bf-3a1ccfdbaebe",
      "EndDate": "2026-09-05T23:37:47.9464038+00:00",
      "StartDate": "2026-09-05T23:37:47.9464038+00:00",
      "SchedulePreferenceDate": "2026-09-05T23:37:47.9464038+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": "dce34408-72f1-4349-bc23-19a39f30d4db",
      "UserId": "4aaff6be-6966-42bf-bbab-e4d7e7396211",
      "IsCurrent": true,
      "CenterId": "60de454f-543d-4f2a-9104-1843fcb513e7",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "20a1cd50-e0c4-4c92-b5bf-3a1ccfdbaebe",
      "EndDate": "2026-09-05T23:37:47.9464038+00:00",
      "StartDate": "2026-09-05T23:37:47.9464038+00:00",
      "SchedulePreferenceDate": "2026-09-05T23:37:47.9464038+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-05T23:37:47.9464038+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "216e085b-d1a3-4ed7-8b1a-24318c534947",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ae321e5e-e33f-40ee-b5e2-63da933aa574",
      "Sequence": 1,
      "AncestorCategoryId": "5743afb9-6aa6-4a76-968c-a60b17201d72",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4a16b1c6-f99f-4fd2-b52b-1c7f5272e6d6",
          "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": "4a16b1c6-f99f-4fd2-b52b-1c7f5272e6d6",
          "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": "216e085b-d1a3-4ed7-8b1a-24318c534947",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ae321e5e-e33f-40ee-b5e2-63da933aa574",
      "Sequence": 1,
      "AncestorCategoryId": "5743afb9-6aa6-4a76-968c-a60b17201d72",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4a16b1c6-f99f-4fd2-b52b-1c7f5272e6d6",
          "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": "4a16b1c6-f99f-4fd2-b52b-1c7f5272e6d6",
          "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": "b29089fd-bd64-44f2-9921-fb3b89fea583",
    "CategoryId": "a4397ec5-cebd-4e80-a24f-f22d099e3029",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "4dd94eac-17de-4bf6-8ab6-d05cb7ab73f3",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "4dd94eac-17de-4bf6-8ab6-d05cb7ab73f3",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e3b1352b-d7cf-4d81-a994-bd04b840984d",
      "Questions": [
        {
          "Id": "00fe7478-a206-4535-a488-ffa3caedc756",
          "Answers": "sample string 2"
        },
        {
          "Id": "00fe7478-a206-4535-a488-ffa3caedc756",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e3b1352b-d7cf-4d81-a994-bd04b840984d",
      "Questions": [
        {
          "Id": "00fe7478-a206-4535-a488-ffa3caedc756",
          "Answers": "sample string 2"
        },
        {
          "Id": "00fe7478-a206-4535-a488-ffa3caedc756",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7546a185-29a4-48a8-a439-3a3d183b7f9d",
      "ContentItemId": "9a391df2-9d24-450b-996d-02eba0ce3782",
      "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-05T23:37:47.9464038+00:00",
      "RescheduleDate": "2026-09-05T23:37:47.9464038+00:00"
    },
    {
      "Id": "7546a185-29a4-48a8-a439-3a3d183b7f9d",
      "ContentItemId": "9a391df2-9d24-450b-996d-02eba0ce3782",
      "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-05T23:37:47.9464038+00:00",
      "RescheduleDate": "2026-09-05T23:37:47.9464038+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}