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": "7b94189e-7511-47c2-8477-872b508751e1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-02T08:25:39.0699641+00:00",
  "Registration": [
    {
      "Id": "5bfb03b4-d143-43a2-aaea-5af964e5102d",
      "UserId": "b5ee86bc-04fa-426d-8968-356d51de3250",
      "IsCurrent": true,
      "CenterId": "a254ec71-94b4-49ae-b906-4d7bf7433841",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "d04f0454-8bd9-4831-b573-0fc71a628e7d",
      "EndDate": "2026-04-02T08:25:39.0699641+00:00",
      "StartDate": "2026-04-02T08:25:39.0699641+00:00",
      "SchedulePreferenceDate": "2026-04-02T08:25:39.0699641+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": "5bfb03b4-d143-43a2-aaea-5af964e5102d",
      "UserId": "b5ee86bc-04fa-426d-8968-356d51de3250",
      "IsCurrent": true,
      "CenterId": "a254ec71-94b4-49ae-b906-4d7bf7433841",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "d04f0454-8bd9-4831-b573-0fc71a628e7d",
      "EndDate": "2026-04-02T08:25:39.0699641+00:00",
      "StartDate": "2026-04-02T08:25:39.0699641+00:00",
      "SchedulePreferenceDate": "2026-04-02T08:25:39.0699641+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-04-02T08:25:39.0699641+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "fb8fbdc8-cdfc-4858-ab3e-2cdca567761e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "96786715-1ba3-47e5-99be-9ec4eb4d22d7",
      "Sequence": 1,
      "AncestorCategoryId": "b8c25286-614b-4129-ab3f-f63d991042b6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f0f1fc6b-cab3-409f-b3ad-1d16f46c6e24",
          "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": "f0f1fc6b-cab3-409f-b3ad-1d16f46c6e24",
          "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": "fb8fbdc8-cdfc-4858-ab3e-2cdca567761e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "96786715-1ba3-47e5-99be-9ec4eb4d22d7",
      "Sequence": 1,
      "AncestorCategoryId": "b8c25286-614b-4129-ab3f-f63d991042b6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f0f1fc6b-cab3-409f-b3ad-1d16f46c6e24",
          "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": "f0f1fc6b-cab3-409f-b3ad-1d16f46c6e24",
          "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": "172d294e-32a6-43e1-ba78-3afcd14e8733",
    "CategoryId": "be1d6b34-22c1-4044-ac2c-9f2366699dc5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "413fb7d6-4328-4adb-a825-ab01bcdeb54d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "413fb7d6-4328-4adb-a825-ab01bcdeb54d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ca68d1fa-aa50-4ff6-85c4-8837266dcc26",
      "Questions": [
        {
          "Id": "48de4125-e74b-4bc1-8e6b-b53ec14fc34f",
          "Answers": "sample string 2"
        },
        {
          "Id": "48de4125-e74b-4bc1-8e6b-b53ec14fc34f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ca68d1fa-aa50-4ff6-85c4-8837266dcc26",
      "Questions": [
        {
          "Id": "48de4125-e74b-4bc1-8e6b-b53ec14fc34f",
          "Answers": "sample string 2"
        },
        {
          "Id": "48de4125-e74b-4bc1-8e6b-b53ec14fc34f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4c6b11fe-75bf-441d-b55a-2a0425d0a0be",
      "ContentItemId": "efe687d1-a56b-43c3-9c39-1947ea613dc7",
      "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-04-02T08:25:39.0699641+00:00",
      "RescheduleDate": "2026-04-02T08:25:39.0699641+00:00"
    },
    {
      "Id": "4c6b11fe-75bf-441d-b55a-2a0425d0a0be",
      "ContentItemId": "efe687d1-a56b-43c3-9c39-1947ea613dc7",
      "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-04-02T08:25:39.0699641+00:00",
      "RescheduleDate": "2026-04-02T08:25:39.0699641+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": "7b94189e-7511-47c2-8477-872b508751e1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-02T08:25:39.1012204+00:00",
  "Registration": [
    {
      "Id": "5bfb03b4-d143-43a2-aaea-5af964e5102d",
      "UserId": "b5ee86bc-04fa-426d-8968-356d51de3250",
      "IsCurrent": true,
      "CenterId": "a254ec71-94b4-49ae-b906-4d7bf7433841",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "d04f0454-8bd9-4831-b573-0fc71a628e7d",
      "EndDate": "2026-04-02T08:25:39.0699641+00:00",
      "StartDate": "2026-04-02T08:25:39.0699641+00:00",
      "SchedulePreferenceDate": "2026-04-02T08:25:39.0699641+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": "5bfb03b4-d143-43a2-aaea-5af964e5102d",
      "UserId": "b5ee86bc-04fa-426d-8968-356d51de3250",
      "IsCurrent": true,
      "CenterId": "a254ec71-94b4-49ae-b906-4d7bf7433841",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "d04f0454-8bd9-4831-b573-0fc71a628e7d",
      "EndDate": "2026-04-02T08:25:39.0699641+00:00",
      "StartDate": "2026-04-02T08:25:39.0699641+00:00",
      "SchedulePreferenceDate": "2026-04-02T08:25:39.0699641+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-04-02T08:25:39.0699641+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "fb8fbdc8-cdfc-4858-ab3e-2cdca567761e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "96786715-1ba3-47e5-99be-9ec4eb4d22d7",
      "Sequence": 1,
      "AncestorCategoryId": "b8c25286-614b-4129-ab3f-f63d991042b6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f0f1fc6b-cab3-409f-b3ad-1d16f46c6e24",
          "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": "f0f1fc6b-cab3-409f-b3ad-1d16f46c6e24",
          "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": "fb8fbdc8-cdfc-4858-ab3e-2cdca567761e",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "96786715-1ba3-47e5-99be-9ec4eb4d22d7",
      "Sequence": 1,
      "AncestorCategoryId": "b8c25286-614b-4129-ab3f-f63d991042b6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f0f1fc6b-cab3-409f-b3ad-1d16f46c6e24",
          "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": "f0f1fc6b-cab3-409f-b3ad-1d16f46c6e24",
          "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": "172d294e-32a6-43e1-ba78-3afcd14e8733",
    "CategoryId": "be1d6b34-22c1-4044-ac2c-9f2366699dc5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "413fb7d6-4328-4adb-a825-ab01bcdeb54d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "413fb7d6-4328-4adb-a825-ab01bcdeb54d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ca68d1fa-aa50-4ff6-85c4-8837266dcc26",
      "Questions": [
        {
          "Id": "48de4125-e74b-4bc1-8e6b-b53ec14fc34f",
          "Answers": "sample string 2"
        },
        {
          "Id": "48de4125-e74b-4bc1-8e6b-b53ec14fc34f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ca68d1fa-aa50-4ff6-85c4-8837266dcc26",
      "Questions": [
        {
          "Id": "48de4125-e74b-4bc1-8e6b-b53ec14fc34f",
          "Answers": "sample string 2"
        },
        {
          "Id": "48de4125-e74b-4bc1-8e6b-b53ec14fc34f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4c6b11fe-75bf-441d-b55a-2a0425d0a0be",
      "ContentItemId": "efe687d1-a56b-43c3-9c39-1947ea613dc7",
      "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-04-02T08:25:39.0699641+00:00",
      "RescheduleDate": "2026-04-02T08:25:39.0699641+00:00"
    },
    {
      "Id": "4c6b11fe-75bf-441d-b55a-2a0425d0a0be",
      "ContentItemId": "efe687d1-a56b-43c3-9c39-1947ea613dc7",
      "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-04-02T08:25:39.0699641+00:00",
      "RescheduleDate": "2026-04-02T08:25:39.0699641+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}