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": "8dca9c96-f031-44f0-bb14-8fc5a66f93c9",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-12T15:52:40.2265014+00:00",
  "Registration": [
    {
      "Id": "686b1401-9e60-4299-90e5-ed297cafb8a3",
      "UserId": "032693c4-d3dc-4413-8281-49f4ec090fab",
      "IsCurrent": true,
      "CenterId": "d5b09f9c-abd8-48f0-99b4-bb8517ebbffe",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "454ae34c-0a39-4d50-89cc-d4f338f9a3a8",
      "EndDate": "2026-02-12T15:52:40.2265014+00:00",
      "StartDate": "2026-02-12T15:52:40.2265014+00:00",
      "SchedulePreferenceDate": "2026-02-12T15:52:40.2265014+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": "686b1401-9e60-4299-90e5-ed297cafb8a3",
      "UserId": "032693c4-d3dc-4413-8281-49f4ec090fab",
      "IsCurrent": true,
      "CenterId": "d5b09f9c-abd8-48f0-99b4-bb8517ebbffe",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "454ae34c-0a39-4d50-89cc-d4f338f9a3a8",
      "EndDate": "2026-02-12T15:52:40.2265014+00:00",
      "StartDate": "2026-02-12T15:52:40.2265014+00:00",
      "SchedulePreferenceDate": "2026-02-12T15:52:40.2265014+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-02-12T15:52:40.2265014+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b909602b-f3c8-4eee-90e6-861b27ed3e01",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e4094bd0-7df3-4f04-9816-94fb5f5da52e",
      "Sequence": 1,
      "AncestorCategoryId": "4578e129-7b42-4d6e-9bcc-3b4171be4782",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f4117257-7aa9-4f11-9ccc-16feccebfc6d",
          "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": "f4117257-7aa9-4f11-9ccc-16feccebfc6d",
          "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": "b909602b-f3c8-4eee-90e6-861b27ed3e01",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e4094bd0-7df3-4f04-9816-94fb5f5da52e",
      "Sequence": 1,
      "AncestorCategoryId": "4578e129-7b42-4d6e-9bcc-3b4171be4782",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f4117257-7aa9-4f11-9ccc-16feccebfc6d",
          "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": "f4117257-7aa9-4f11-9ccc-16feccebfc6d",
          "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": "07354298-ae5d-435d-9033-ea592f025f19",
    "CategoryId": "b3a452a5-3513-4d87-b6c2-9bb9e63cef09",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8d58bb86-653c-46fc-9dcd-88ed77ff5fe6",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8d58bb86-653c-46fc-9dcd-88ed77ff5fe6",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "bd405304-9f67-4650-9ad3-f2c67cb26226",
      "Questions": [
        {
          "Id": "b59042a2-f57f-4317-9566-def87325a989",
          "Answers": "sample string 2"
        },
        {
          "Id": "b59042a2-f57f-4317-9566-def87325a989",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "bd405304-9f67-4650-9ad3-f2c67cb26226",
      "Questions": [
        {
          "Id": "b59042a2-f57f-4317-9566-def87325a989",
          "Answers": "sample string 2"
        },
        {
          "Id": "b59042a2-f57f-4317-9566-def87325a989",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "659fcb3d-57de-4c09-a3b5-006a724bda31",
      "ContentItemId": "1644e998-3b9f-42cf-9e0a-4a76d9aa483b",
      "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-02-12T15:52:40.2265014+00:00",
      "RescheduleDate": "2026-02-12T15:52:40.2265014+00:00"
    },
    {
      "Id": "659fcb3d-57de-4c09-a3b5-006a724bda31",
      "ContentItemId": "1644e998-3b9f-42cf-9e0a-4a76d9aa483b",
      "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-02-12T15:52:40.2265014+00:00",
      "RescheduleDate": "2026-02-12T15:52:40.2265014+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": "8dca9c96-f031-44f0-bb14-8fc5a66f93c9",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-12T15:52:40.4452598+00:00",
  "Registration": [
    {
      "Id": "686b1401-9e60-4299-90e5-ed297cafb8a3",
      "UserId": "032693c4-d3dc-4413-8281-49f4ec090fab",
      "IsCurrent": true,
      "CenterId": "d5b09f9c-abd8-48f0-99b4-bb8517ebbffe",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "454ae34c-0a39-4d50-89cc-d4f338f9a3a8",
      "EndDate": "2026-02-12T15:52:40.2265014+00:00",
      "StartDate": "2026-02-12T15:52:40.2265014+00:00",
      "SchedulePreferenceDate": "2026-02-12T15:52:40.2265014+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": "686b1401-9e60-4299-90e5-ed297cafb8a3",
      "UserId": "032693c4-d3dc-4413-8281-49f4ec090fab",
      "IsCurrent": true,
      "CenterId": "d5b09f9c-abd8-48f0-99b4-bb8517ebbffe",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "454ae34c-0a39-4d50-89cc-d4f338f9a3a8",
      "EndDate": "2026-02-12T15:52:40.2265014+00:00",
      "StartDate": "2026-02-12T15:52:40.2265014+00:00",
      "SchedulePreferenceDate": "2026-02-12T15:52:40.2265014+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-02-12T15:52:40.2265014+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b909602b-f3c8-4eee-90e6-861b27ed3e01",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e4094bd0-7df3-4f04-9816-94fb5f5da52e",
      "Sequence": 1,
      "AncestorCategoryId": "4578e129-7b42-4d6e-9bcc-3b4171be4782",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f4117257-7aa9-4f11-9ccc-16feccebfc6d",
          "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": "f4117257-7aa9-4f11-9ccc-16feccebfc6d",
          "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": "b909602b-f3c8-4eee-90e6-861b27ed3e01",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e4094bd0-7df3-4f04-9816-94fb5f5da52e",
      "Sequence": 1,
      "AncestorCategoryId": "4578e129-7b42-4d6e-9bcc-3b4171be4782",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "f4117257-7aa9-4f11-9ccc-16feccebfc6d",
          "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": "f4117257-7aa9-4f11-9ccc-16feccebfc6d",
          "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": "07354298-ae5d-435d-9033-ea592f025f19",
    "CategoryId": "b3a452a5-3513-4d87-b6c2-9bb9e63cef09",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "8d58bb86-653c-46fc-9dcd-88ed77ff5fe6",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "8d58bb86-653c-46fc-9dcd-88ed77ff5fe6",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "bd405304-9f67-4650-9ad3-f2c67cb26226",
      "Questions": [
        {
          "Id": "b59042a2-f57f-4317-9566-def87325a989",
          "Answers": "sample string 2"
        },
        {
          "Id": "b59042a2-f57f-4317-9566-def87325a989",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "bd405304-9f67-4650-9ad3-f2c67cb26226",
      "Questions": [
        {
          "Id": "b59042a2-f57f-4317-9566-def87325a989",
          "Answers": "sample string 2"
        },
        {
          "Id": "b59042a2-f57f-4317-9566-def87325a989",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "659fcb3d-57de-4c09-a3b5-006a724bda31",
      "ContentItemId": "1644e998-3b9f-42cf-9e0a-4a76d9aa483b",
      "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-02-12T15:52:40.2265014+00:00",
      "RescheduleDate": "2026-02-12T15:52:40.2265014+00:00"
    },
    {
      "Id": "659fcb3d-57de-4c09-a3b5-006a724bda31",
      "ContentItemId": "1644e998-3b9f-42cf-9e0a-4a76d9aa483b",
      "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-02-12T15:52:40.2265014+00:00",
      "RescheduleDate": "2026-02-12T15:52:40.2265014+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}