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": "942f7e61-3e83-4ed1-b072-a859269a3cda",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-21T05:34:56.7479107+00:00",
  "Registration": [
    {
      "Id": "b8324aca-8af8-4993-baf0-25fa10c12bb4",
      "UserId": "2a4953c8-198d-4ff1-94e2-b4d501bc1814",
      "IsCurrent": true,
      "CenterId": "63cda0aa-3574-4124-b43e-c98f95a1fd76",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "01a6e52a-11c2-4a81-bdb4-1b8d1a75ef7a",
      "EndDate": "2026-07-21T05:34:56.7479107+00:00",
      "StartDate": "2026-07-21T05:34:56.7479107+00:00",
      "SchedulePreferenceDate": "2026-07-21T05:34:56.7479107+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": "b8324aca-8af8-4993-baf0-25fa10c12bb4",
      "UserId": "2a4953c8-198d-4ff1-94e2-b4d501bc1814",
      "IsCurrent": true,
      "CenterId": "63cda0aa-3574-4124-b43e-c98f95a1fd76",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "01a6e52a-11c2-4a81-bdb4-1b8d1a75ef7a",
      "EndDate": "2026-07-21T05:34:56.7479107+00:00",
      "StartDate": "2026-07-21T05:34:56.7479107+00:00",
      "SchedulePreferenceDate": "2026-07-21T05:34:56.7479107+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-07-21T05:34:56.7479107+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f195ffce-b62d-4cf5-99c0-6631adf8ef29",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0811fdcf-79b2-4298-9a94-a1279785651d",
      "Sequence": 1,
      "AncestorCategoryId": "febf2291-07c4-4a8a-bb31-0997ed7bb5bd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "16d30b46-8de5-4be1-8ee5-fcfbb4b78bd9",
          "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": "16d30b46-8de5-4be1-8ee5-fcfbb4b78bd9",
          "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": "f195ffce-b62d-4cf5-99c0-6631adf8ef29",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0811fdcf-79b2-4298-9a94-a1279785651d",
      "Sequence": 1,
      "AncestorCategoryId": "febf2291-07c4-4a8a-bb31-0997ed7bb5bd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "16d30b46-8de5-4be1-8ee5-fcfbb4b78bd9",
          "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": "16d30b46-8de5-4be1-8ee5-fcfbb4b78bd9",
          "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": "520803cf-2608-4c9c-b096-e01671fd8efc",
    "CategoryId": "362e2ee6-742f-42fc-a560-6101d7aac6b3",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "e9c1f3f2-9cc8-4e55-ba8b-f0726fe7cde2",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "e9c1f3f2-9cc8-4e55-ba8b-f0726fe7cde2",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9c9480c7-8422-4dd7-803c-254ad36d2caf",
      "Questions": [
        {
          "Id": "6481e0a0-670e-491a-b7f5-f302108777f1",
          "Answers": "sample string 2"
        },
        {
          "Id": "6481e0a0-670e-491a-b7f5-f302108777f1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9c9480c7-8422-4dd7-803c-254ad36d2caf",
      "Questions": [
        {
          "Id": "6481e0a0-670e-491a-b7f5-f302108777f1",
          "Answers": "sample string 2"
        },
        {
          "Id": "6481e0a0-670e-491a-b7f5-f302108777f1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "662af93d-7e37-4a69-bd84-1a25b3086751",
      "ContentItemId": "0243f19a-f999-43c5-8ac6-7ac1ebed9f1c",
      "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-07-21T05:34:56.7479107+00:00",
      "RescheduleDate": "2026-07-21T05:34:56.7479107+00:00"
    },
    {
      "Id": "662af93d-7e37-4a69-bd84-1a25b3086751",
      "ContentItemId": "0243f19a-f999-43c5-8ac6-7ac1ebed9f1c",
      "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-07-21T05:34:56.7479107+00:00",
      "RescheduleDate": "2026-07-21T05:34:56.7479107+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": "942f7e61-3e83-4ed1-b072-a859269a3cda",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-21T05:34:56.7635351+00:00",
  "Registration": [
    {
      "Id": "b8324aca-8af8-4993-baf0-25fa10c12bb4",
      "UserId": "2a4953c8-198d-4ff1-94e2-b4d501bc1814",
      "IsCurrent": true,
      "CenterId": "63cda0aa-3574-4124-b43e-c98f95a1fd76",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "01a6e52a-11c2-4a81-bdb4-1b8d1a75ef7a",
      "EndDate": "2026-07-21T05:34:56.7479107+00:00",
      "StartDate": "2026-07-21T05:34:56.7479107+00:00",
      "SchedulePreferenceDate": "2026-07-21T05:34:56.7479107+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": "b8324aca-8af8-4993-baf0-25fa10c12bb4",
      "UserId": "2a4953c8-198d-4ff1-94e2-b4d501bc1814",
      "IsCurrent": true,
      "CenterId": "63cda0aa-3574-4124-b43e-c98f95a1fd76",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "01a6e52a-11c2-4a81-bdb4-1b8d1a75ef7a",
      "EndDate": "2026-07-21T05:34:56.7479107+00:00",
      "StartDate": "2026-07-21T05:34:56.7479107+00:00",
      "SchedulePreferenceDate": "2026-07-21T05:34:56.7479107+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-07-21T05:34:56.7479107+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f195ffce-b62d-4cf5-99c0-6631adf8ef29",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0811fdcf-79b2-4298-9a94-a1279785651d",
      "Sequence": 1,
      "AncestorCategoryId": "febf2291-07c4-4a8a-bb31-0997ed7bb5bd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "16d30b46-8de5-4be1-8ee5-fcfbb4b78bd9",
          "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": "16d30b46-8de5-4be1-8ee5-fcfbb4b78bd9",
          "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": "f195ffce-b62d-4cf5-99c0-6631adf8ef29",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0811fdcf-79b2-4298-9a94-a1279785651d",
      "Sequence": 1,
      "AncestorCategoryId": "febf2291-07c4-4a8a-bb31-0997ed7bb5bd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "16d30b46-8de5-4be1-8ee5-fcfbb4b78bd9",
          "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": "16d30b46-8de5-4be1-8ee5-fcfbb4b78bd9",
          "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": "520803cf-2608-4c9c-b096-e01671fd8efc",
    "CategoryId": "362e2ee6-742f-42fc-a560-6101d7aac6b3",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "e9c1f3f2-9cc8-4e55-ba8b-f0726fe7cde2",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "e9c1f3f2-9cc8-4e55-ba8b-f0726fe7cde2",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "9c9480c7-8422-4dd7-803c-254ad36d2caf",
      "Questions": [
        {
          "Id": "6481e0a0-670e-491a-b7f5-f302108777f1",
          "Answers": "sample string 2"
        },
        {
          "Id": "6481e0a0-670e-491a-b7f5-f302108777f1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "9c9480c7-8422-4dd7-803c-254ad36d2caf",
      "Questions": [
        {
          "Id": "6481e0a0-670e-491a-b7f5-f302108777f1",
          "Answers": "sample string 2"
        },
        {
          "Id": "6481e0a0-670e-491a-b7f5-f302108777f1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "662af93d-7e37-4a69-bd84-1a25b3086751",
      "ContentItemId": "0243f19a-f999-43c5-8ac6-7ac1ebed9f1c",
      "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-07-21T05:34:56.7479107+00:00",
      "RescheduleDate": "2026-07-21T05:34:56.7479107+00:00"
    },
    {
      "Id": "662af93d-7e37-4a69-bd84-1a25b3086751",
      "ContentItemId": "0243f19a-f999-43c5-8ac6-7ac1ebed9f1c",
      "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-07-21T05:34:56.7479107+00:00",
      "RescheduleDate": "2026-07-21T05:34:56.7479107+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}