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": "f59bf3d9-76fe-4ce8-86b8-34b55cf1d331",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-18T09:41:53.1781581+00:00",
  "Registration": [
    {
      "Id": "046c3f6b-f2b4-4f88-a8b8-d61e9f21deb8",
      "UserId": "b862108d-2629-4c57-b6c3-c8461c71a85f",
      "IsCurrent": true,
      "CenterId": "2410acdb-5cbe-44b1-abc7-6e120e05fea0",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "39b17fb1-cd33-49db-a4c9-791ac5316516",
      "EndDate": "2026-05-18T09:41:53.1781581+00:00",
      "StartDate": "2026-05-18T09:41:53.1781581+00:00",
      "SchedulePreferenceDate": "2026-05-18T09:41:53.1781581+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": "046c3f6b-f2b4-4f88-a8b8-d61e9f21deb8",
      "UserId": "b862108d-2629-4c57-b6c3-c8461c71a85f",
      "IsCurrent": true,
      "CenterId": "2410acdb-5cbe-44b1-abc7-6e120e05fea0",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "39b17fb1-cd33-49db-a4c9-791ac5316516",
      "EndDate": "2026-05-18T09:41:53.1781581+00:00",
      "StartDate": "2026-05-18T09:41:53.1781581+00:00",
      "SchedulePreferenceDate": "2026-05-18T09:41:53.1781581+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-05-18T09:41:53.1781581+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "68edc7c0-359f-4027-ae0a-309f86f0f396",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "398fe633-c5f3-4121-ad37-7922ac0ae6d4",
      "Sequence": 1,
      "AncestorCategoryId": "c9d6bef7-a7b5-4f7e-9618-f9a2c5f47d37",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "93ae5e41-8611-41da-87c3-1a046c974716",
          "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": "93ae5e41-8611-41da-87c3-1a046c974716",
          "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": "68edc7c0-359f-4027-ae0a-309f86f0f396",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "398fe633-c5f3-4121-ad37-7922ac0ae6d4",
      "Sequence": 1,
      "AncestorCategoryId": "c9d6bef7-a7b5-4f7e-9618-f9a2c5f47d37",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "93ae5e41-8611-41da-87c3-1a046c974716",
          "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": "93ae5e41-8611-41da-87c3-1a046c974716",
          "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": "0a725eda-0509-4403-b621-0157a942be33",
    "CategoryId": "00517f0f-dae0-4ec0-87c9-69f270d85c2b",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3a09aa81-f220-400b-91b9-ca16bdba6d1e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3a09aa81-f220-400b-91b9-ca16bdba6d1e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c3b38ca7-d6ee-49cc-9af7-3d0907aea95a",
      "Questions": [
        {
          "Id": "8b32bcde-7522-4f44-bac5-8c4195477ac7",
          "Answers": "sample string 2"
        },
        {
          "Id": "8b32bcde-7522-4f44-bac5-8c4195477ac7",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c3b38ca7-d6ee-49cc-9af7-3d0907aea95a",
      "Questions": [
        {
          "Id": "8b32bcde-7522-4f44-bac5-8c4195477ac7",
          "Answers": "sample string 2"
        },
        {
          "Id": "8b32bcde-7522-4f44-bac5-8c4195477ac7",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7dbcfb4f-64aa-4f5a-ba62-5200bdf3651b",
      "ContentItemId": "33684684-f714-4658-bd5e-b852d549a5cd",
      "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-05-18T09:41:53.1781581+00:00",
      "RescheduleDate": "2026-05-18T09:41:53.1781581+00:00"
    },
    {
      "Id": "7dbcfb4f-64aa-4f5a-ba62-5200bdf3651b",
      "ContentItemId": "33684684-f714-4658-bd5e-b852d549a5cd",
      "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-05-18T09:41:53.1781581+00:00",
      "RescheduleDate": "2026-05-18T09:41:53.1781581+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": "f59bf3d9-76fe-4ce8-86b8-34b55cf1d331",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-18T09:41:53.2094056+00:00",
  "Registration": [
    {
      "Id": "046c3f6b-f2b4-4f88-a8b8-d61e9f21deb8",
      "UserId": "b862108d-2629-4c57-b6c3-c8461c71a85f",
      "IsCurrent": true,
      "CenterId": "2410acdb-5cbe-44b1-abc7-6e120e05fea0",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "39b17fb1-cd33-49db-a4c9-791ac5316516",
      "EndDate": "2026-05-18T09:41:53.1781581+00:00",
      "StartDate": "2026-05-18T09:41:53.1781581+00:00",
      "SchedulePreferenceDate": "2026-05-18T09:41:53.1781581+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": "046c3f6b-f2b4-4f88-a8b8-d61e9f21deb8",
      "UserId": "b862108d-2629-4c57-b6c3-c8461c71a85f",
      "IsCurrent": true,
      "CenterId": "2410acdb-5cbe-44b1-abc7-6e120e05fea0",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "39b17fb1-cd33-49db-a4c9-791ac5316516",
      "EndDate": "2026-05-18T09:41:53.1781581+00:00",
      "StartDate": "2026-05-18T09:41:53.1781581+00:00",
      "SchedulePreferenceDate": "2026-05-18T09:41:53.1781581+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-05-18T09:41:53.1781581+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "68edc7c0-359f-4027-ae0a-309f86f0f396",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "398fe633-c5f3-4121-ad37-7922ac0ae6d4",
      "Sequence": 1,
      "AncestorCategoryId": "c9d6bef7-a7b5-4f7e-9618-f9a2c5f47d37",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "93ae5e41-8611-41da-87c3-1a046c974716",
          "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": "93ae5e41-8611-41da-87c3-1a046c974716",
          "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": "68edc7c0-359f-4027-ae0a-309f86f0f396",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "398fe633-c5f3-4121-ad37-7922ac0ae6d4",
      "Sequence": 1,
      "AncestorCategoryId": "c9d6bef7-a7b5-4f7e-9618-f9a2c5f47d37",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "93ae5e41-8611-41da-87c3-1a046c974716",
          "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": "93ae5e41-8611-41da-87c3-1a046c974716",
          "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": "0a725eda-0509-4403-b621-0157a942be33",
    "CategoryId": "00517f0f-dae0-4ec0-87c9-69f270d85c2b",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "3a09aa81-f220-400b-91b9-ca16bdba6d1e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "3a09aa81-f220-400b-91b9-ca16bdba6d1e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c3b38ca7-d6ee-49cc-9af7-3d0907aea95a",
      "Questions": [
        {
          "Id": "8b32bcde-7522-4f44-bac5-8c4195477ac7",
          "Answers": "sample string 2"
        },
        {
          "Id": "8b32bcde-7522-4f44-bac5-8c4195477ac7",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c3b38ca7-d6ee-49cc-9af7-3d0907aea95a",
      "Questions": [
        {
          "Id": "8b32bcde-7522-4f44-bac5-8c4195477ac7",
          "Answers": "sample string 2"
        },
        {
          "Id": "8b32bcde-7522-4f44-bac5-8c4195477ac7",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "7dbcfb4f-64aa-4f5a-ba62-5200bdf3651b",
      "ContentItemId": "33684684-f714-4658-bd5e-b852d549a5cd",
      "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-05-18T09:41:53.1781581+00:00",
      "RescheduleDate": "2026-05-18T09:41:53.1781581+00:00"
    },
    {
      "Id": "7dbcfb4f-64aa-4f5a-ba62-5200bdf3651b",
      "ContentItemId": "33684684-f714-4658-bd5e-b852d549a5cd",
      "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-05-18T09:41:53.1781581+00:00",
      "RescheduleDate": "2026-05-18T09:41:53.1781581+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}