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": "80770d1f-5df5-4d9a-a5bd-0e229799af5a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-24T20:48:42.1470236+00:00",
  "Registration": [
    {
      "Id": "8c2254ee-106e-4d2f-9c0c-d8efd55c2324",
      "UserId": "30142fbc-730c-4dce-acbf-b9b9507e6c40",
      "IsCurrent": true,
      "CenterId": "0a4822be-4e83-4a53-b3b9-8a54a7c05ca2",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f0485519-aba8-460a-89e2-115e789b5b82",
      "EndDate": "2026-09-24T20:48:42.1470236+00:00",
      "StartDate": "2026-09-24T20:48:42.1470236+00:00",
      "SchedulePreferenceDate": "2026-09-24T20:48:42.1470236+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": "8c2254ee-106e-4d2f-9c0c-d8efd55c2324",
      "UserId": "30142fbc-730c-4dce-acbf-b9b9507e6c40",
      "IsCurrent": true,
      "CenterId": "0a4822be-4e83-4a53-b3b9-8a54a7c05ca2",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f0485519-aba8-460a-89e2-115e789b5b82",
      "EndDate": "2026-09-24T20:48:42.1470236+00:00",
      "StartDate": "2026-09-24T20:48:42.1470236+00:00",
      "SchedulePreferenceDate": "2026-09-24T20:48:42.1470236+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-24T20:48:42.1470236+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "128088c8-90d8-4602-b46b-6536181c2a03",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "48c5d2ea-c353-4f20-a160-598ce7abb388",
      "Sequence": 1,
      "AncestorCategoryId": "e872ef69-9387-450c-be2c-0fd5b82b7d9c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "84a45ab2-27ae-499f-a8a8-016efbc4b9dc",
          "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": "84a45ab2-27ae-499f-a8a8-016efbc4b9dc",
          "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": "128088c8-90d8-4602-b46b-6536181c2a03",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "48c5d2ea-c353-4f20-a160-598ce7abb388",
      "Sequence": 1,
      "AncestorCategoryId": "e872ef69-9387-450c-be2c-0fd5b82b7d9c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "84a45ab2-27ae-499f-a8a8-016efbc4b9dc",
          "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": "84a45ab2-27ae-499f-a8a8-016efbc4b9dc",
          "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": "2727b73a-b51c-4162-9e7d-17be0d0d24dd",
    "CategoryId": "a2b09e95-bfcc-4b42-9fce-b2832024225c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "642d6a50-81a4-48d1-b2f6-18fd88781b9f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "642d6a50-81a4-48d1-b2f6-18fd88781b9f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "eb92b7e7-1025-4aca-9f63-093fd106b795",
      "Questions": [
        {
          "Id": "31a3618b-62ef-4c4b-b67d-1681bd7afc36",
          "Answers": "sample string 2"
        },
        {
          "Id": "31a3618b-62ef-4c4b-b67d-1681bd7afc36",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "eb92b7e7-1025-4aca-9f63-093fd106b795",
      "Questions": [
        {
          "Id": "31a3618b-62ef-4c4b-b67d-1681bd7afc36",
          "Answers": "sample string 2"
        },
        {
          "Id": "31a3618b-62ef-4c4b-b67d-1681bd7afc36",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "8e2b9091-2d34-4793-b5ad-e5b8d73a995d",
      "ContentItemId": "dcee3aef-6427-426f-a291-28c0999cb2d7",
      "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-24T20:48:42.1470236+00:00",
      "RescheduleDate": "2026-09-24T20:48:42.1470236+00:00"
    },
    {
      "Id": "8e2b9091-2d34-4793-b5ad-e5b8d73a995d",
      "ContentItemId": "dcee3aef-6427-426f-a291-28c0999cb2d7",
      "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-24T20:48:42.1470236+00:00",
      "RescheduleDate": "2026-09-24T20:48:42.1470236+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": "80770d1f-5df5-4d9a-a5bd-0e229799af5a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-24T20:48:42.178271+00:00",
  "Registration": [
    {
      "Id": "8c2254ee-106e-4d2f-9c0c-d8efd55c2324",
      "UserId": "30142fbc-730c-4dce-acbf-b9b9507e6c40",
      "IsCurrent": true,
      "CenterId": "0a4822be-4e83-4a53-b3b9-8a54a7c05ca2",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f0485519-aba8-460a-89e2-115e789b5b82",
      "EndDate": "2026-09-24T20:48:42.1470236+00:00",
      "StartDate": "2026-09-24T20:48:42.1470236+00:00",
      "SchedulePreferenceDate": "2026-09-24T20:48:42.1470236+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": "8c2254ee-106e-4d2f-9c0c-d8efd55c2324",
      "UserId": "30142fbc-730c-4dce-acbf-b9b9507e6c40",
      "IsCurrent": true,
      "CenterId": "0a4822be-4e83-4a53-b3b9-8a54a7c05ca2",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f0485519-aba8-460a-89e2-115e789b5b82",
      "EndDate": "2026-09-24T20:48:42.1470236+00:00",
      "StartDate": "2026-09-24T20:48:42.1470236+00:00",
      "SchedulePreferenceDate": "2026-09-24T20:48:42.1470236+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-24T20:48:42.1470236+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "128088c8-90d8-4602-b46b-6536181c2a03",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "48c5d2ea-c353-4f20-a160-598ce7abb388",
      "Sequence": 1,
      "AncestorCategoryId": "e872ef69-9387-450c-be2c-0fd5b82b7d9c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "84a45ab2-27ae-499f-a8a8-016efbc4b9dc",
          "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": "84a45ab2-27ae-499f-a8a8-016efbc4b9dc",
          "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": "128088c8-90d8-4602-b46b-6536181c2a03",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "48c5d2ea-c353-4f20-a160-598ce7abb388",
      "Sequence": 1,
      "AncestorCategoryId": "e872ef69-9387-450c-be2c-0fd5b82b7d9c",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "84a45ab2-27ae-499f-a8a8-016efbc4b9dc",
          "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": "84a45ab2-27ae-499f-a8a8-016efbc4b9dc",
          "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": "2727b73a-b51c-4162-9e7d-17be0d0d24dd",
    "CategoryId": "a2b09e95-bfcc-4b42-9fce-b2832024225c",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "642d6a50-81a4-48d1-b2f6-18fd88781b9f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "642d6a50-81a4-48d1-b2f6-18fd88781b9f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "eb92b7e7-1025-4aca-9f63-093fd106b795",
      "Questions": [
        {
          "Id": "31a3618b-62ef-4c4b-b67d-1681bd7afc36",
          "Answers": "sample string 2"
        },
        {
          "Id": "31a3618b-62ef-4c4b-b67d-1681bd7afc36",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "eb92b7e7-1025-4aca-9f63-093fd106b795",
      "Questions": [
        {
          "Id": "31a3618b-62ef-4c4b-b67d-1681bd7afc36",
          "Answers": "sample string 2"
        },
        {
          "Id": "31a3618b-62ef-4c4b-b67d-1681bd7afc36",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "8e2b9091-2d34-4793-b5ad-e5b8d73a995d",
      "ContentItemId": "dcee3aef-6427-426f-a291-28c0999cb2d7",
      "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-24T20:48:42.1470236+00:00",
      "RescheduleDate": "2026-09-24T20:48:42.1470236+00:00"
    },
    {
      "Id": "8e2b9091-2d34-4793-b5ad-e5b8d73a995d",
      "ContentItemId": "dcee3aef-6427-426f-a291-28c0999cb2d7",
      "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-24T20:48:42.1470236+00:00",
      "RescheduleDate": "2026-09-24T20:48:42.1470236+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}