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": "62736e85-06f2-4f10-afb4-c60303ece2bd",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-08T19:51:58.8819113+00:00",
  "Registration": [
    {
      "Id": "6cbd6bd1-7ff4-4f5a-85e5-8279bc54037a",
      "UserId": "b84fd995-5e4f-49cc-a2f4-4a9996c28de5",
      "IsCurrent": true,
      "CenterId": "8deea3cf-e943-4840-b87c-ad375e91cf7d",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "0d5bd07b-78bd-4c0c-9dff-89483596bb99",
      "EndDate": "2026-10-08T19:51:58.8819113+00:00",
      "StartDate": "2026-10-08T19:51:58.8819113+00:00",
      "SchedulePreferenceDate": "2026-10-08T19:51:58.8819113+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": "6cbd6bd1-7ff4-4f5a-85e5-8279bc54037a",
      "UserId": "b84fd995-5e4f-49cc-a2f4-4a9996c28de5",
      "IsCurrent": true,
      "CenterId": "8deea3cf-e943-4840-b87c-ad375e91cf7d",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "0d5bd07b-78bd-4c0c-9dff-89483596bb99",
      "EndDate": "2026-10-08T19:51:58.8819113+00:00",
      "StartDate": "2026-10-08T19:51:58.8819113+00:00",
      "SchedulePreferenceDate": "2026-10-08T19:51:58.8819113+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-10-08T19:51:58.8819113+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "38eacd55-bfab-4348-a887-a0a5270ba2e7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8b19d5da-413b-4808-8d5f-88298f0a5f7a",
      "Sequence": 1,
      "AncestorCategoryId": "68ceef14-078d-4d16-9d99-2d4effe0ef6d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cf98c02a-ad05-4803-955f-6858759a8c84",
          "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": "cf98c02a-ad05-4803-955f-6858759a8c84",
          "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": "38eacd55-bfab-4348-a887-a0a5270ba2e7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8b19d5da-413b-4808-8d5f-88298f0a5f7a",
      "Sequence": 1,
      "AncestorCategoryId": "68ceef14-078d-4d16-9d99-2d4effe0ef6d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cf98c02a-ad05-4803-955f-6858759a8c84",
          "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": "cf98c02a-ad05-4803-955f-6858759a8c84",
          "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": "bcece0a7-8306-4c03-94ef-87019b64ba9a",
    "CategoryId": "92ba5d1a-724b-4c05-908a-979cd67f3ee5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d0815ab1-9de2-4cfc-a767-ea8bc22f5657",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d0815ab1-9de2-4cfc-a767-ea8bc22f5657",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "305ec6bc-57ea-490f-bb88-b2fb6abecce6",
      "Questions": [
        {
          "Id": "4502475a-5b46-48a1-94e0-606837da96a4",
          "Answers": "sample string 2"
        },
        {
          "Id": "4502475a-5b46-48a1-94e0-606837da96a4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "305ec6bc-57ea-490f-bb88-b2fb6abecce6",
      "Questions": [
        {
          "Id": "4502475a-5b46-48a1-94e0-606837da96a4",
          "Answers": "sample string 2"
        },
        {
          "Id": "4502475a-5b46-48a1-94e0-606837da96a4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "24da5088-ffc3-46e3-9eec-afd177412a2c",
      "ContentItemId": "b4335d5f-6eb4-4e16-92d7-8ed0dbc90700",
      "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-10-08T19:51:58.8819113+00:00",
      "RescheduleDate": "2026-10-08T19:51:58.8819113+00:00"
    },
    {
      "Id": "24da5088-ffc3-46e3-9eec-afd177412a2c",
      "ContentItemId": "b4335d5f-6eb4-4e16-92d7-8ed0dbc90700",
      "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-10-08T19:51:58.8819113+00:00",
      "RescheduleDate": "2026-10-08T19:51:58.8819113+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": "62736e85-06f2-4f10-afb4-c60303ece2bd",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-08T19:51:58.9131613+00:00",
  "Registration": [
    {
      "Id": "6cbd6bd1-7ff4-4f5a-85e5-8279bc54037a",
      "UserId": "b84fd995-5e4f-49cc-a2f4-4a9996c28de5",
      "IsCurrent": true,
      "CenterId": "8deea3cf-e943-4840-b87c-ad375e91cf7d",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "0d5bd07b-78bd-4c0c-9dff-89483596bb99",
      "EndDate": "2026-10-08T19:51:58.8819113+00:00",
      "StartDate": "2026-10-08T19:51:58.8819113+00:00",
      "SchedulePreferenceDate": "2026-10-08T19:51:58.8819113+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": "6cbd6bd1-7ff4-4f5a-85e5-8279bc54037a",
      "UserId": "b84fd995-5e4f-49cc-a2f4-4a9996c28de5",
      "IsCurrent": true,
      "CenterId": "8deea3cf-e943-4840-b87c-ad375e91cf7d",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "0d5bd07b-78bd-4c0c-9dff-89483596bb99",
      "EndDate": "2026-10-08T19:51:58.8819113+00:00",
      "StartDate": "2026-10-08T19:51:58.8819113+00:00",
      "SchedulePreferenceDate": "2026-10-08T19:51:58.8819113+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-10-08T19:51:58.8819113+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "38eacd55-bfab-4348-a887-a0a5270ba2e7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8b19d5da-413b-4808-8d5f-88298f0a5f7a",
      "Sequence": 1,
      "AncestorCategoryId": "68ceef14-078d-4d16-9d99-2d4effe0ef6d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cf98c02a-ad05-4803-955f-6858759a8c84",
          "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": "cf98c02a-ad05-4803-955f-6858759a8c84",
          "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": "38eacd55-bfab-4348-a887-a0a5270ba2e7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8b19d5da-413b-4808-8d5f-88298f0a5f7a",
      "Sequence": 1,
      "AncestorCategoryId": "68ceef14-078d-4d16-9d99-2d4effe0ef6d",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cf98c02a-ad05-4803-955f-6858759a8c84",
          "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": "cf98c02a-ad05-4803-955f-6858759a8c84",
          "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": "bcece0a7-8306-4c03-94ef-87019b64ba9a",
    "CategoryId": "92ba5d1a-724b-4c05-908a-979cd67f3ee5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d0815ab1-9de2-4cfc-a767-ea8bc22f5657",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d0815ab1-9de2-4cfc-a767-ea8bc22f5657",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "305ec6bc-57ea-490f-bb88-b2fb6abecce6",
      "Questions": [
        {
          "Id": "4502475a-5b46-48a1-94e0-606837da96a4",
          "Answers": "sample string 2"
        },
        {
          "Id": "4502475a-5b46-48a1-94e0-606837da96a4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "305ec6bc-57ea-490f-bb88-b2fb6abecce6",
      "Questions": [
        {
          "Id": "4502475a-5b46-48a1-94e0-606837da96a4",
          "Answers": "sample string 2"
        },
        {
          "Id": "4502475a-5b46-48a1-94e0-606837da96a4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "24da5088-ffc3-46e3-9eec-afd177412a2c",
      "ContentItemId": "b4335d5f-6eb4-4e16-92d7-8ed0dbc90700",
      "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-10-08T19:51:58.8819113+00:00",
      "RescheduleDate": "2026-10-08T19:51:58.8819113+00:00"
    },
    {
      "Id": "24da5088-ffc3-46e3-9eec-afd177412a2c",
      "ContentItemId": "b4335d5f-6eb4-4e16-92d7-8ed0dbc90700",
      "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-10-08T19:51:58.8819113+00:00",
      "RescheduleDate": "2026-10-08T19:51:58.8819113+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}