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": "04ac3113-0ff3-4f42-bce2-475b542d6808",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-07T04:56:25.6477381+00:00",
  "Registration": [
    {
      "Id": "39253d05-aa53-4be1-96dc-dd566711e79d",
      "UserId": "e9db93f7-b0aa-4ebe-827e-3a506ee5ec99",
      "IsCurrent": true,
      "CenterId": "d8c989d6-a17a-4af4-8681-bff3d59a54cd",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "a7c5e6cc-0037-4901-bb6d-b5bcf7ff8ef3",
      "EndDate": "2026-06-07T04:56:25.225867+00:00",
      "StartDate": "2026-06-07T04:56:25.225867+00:00",
      "SchedulePreferenceDate": "2026-06-07T04:56:25.225867+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": "39253d05-aa53-4be1-96dc-dd566711e79d",
      "UserId": "e9db93f7-b0aa-4ebe-827e-3a506ee5ec99",
      "IsCurrent": true,
      "CenterId": "d8c989d6-a17a-4af4-8681-bff3d59a54cd",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "a7c5e6cc-0037-4901-bb6d-b5bcf7ff8ef3",
      "EndDate": "2026-06-07T04:56:25.225867+00:00",
      "StartDate": "2026-06-07T04:56:25.225867+00:00",
      "SchedulePreferenceDate": "2026-06-07T04:56:25.225867+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-06-07T04:56:25.225867+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "91809ec4-c044-4df9-963d-aad770859047",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0716dd78-69c9-4342-83ac-a6e4090e0010",
      "Sequence": 1,
      "AncestorCategoryId": "45e86ea6-1c93-4552-80ce-f969480a31a6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ce4ed0a1-a6f7-46a7-88a6-636eaa579855",
          "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": "ce4ed0a1-a6f7-46a7-88a6-636eaa579855",
          "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": "91809ec4-c044-4df9-963d-aad770859047",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0716dd78-69c9-4342-83ac-a6e4090e0010",
      "Sequence": 1,
      "AncestorCategoryId": "45e86ea6-1c93-4552-80ce-f969480a31a6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ce4ed0a1-a6f7-46a7-88a6-636eaa579855",
          "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": "ce4ed0a1-a6f7-46a7-88a6-636eaa579855",
          "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": "640b77b8-5697-4135-9d5a-202297f958ec",
    "CategoryId": "7a2672a5-e769-4ce2-afe5-d79b3990bf06",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c3da3f32-bd8e-4c45-b733-c93d8f5269b0",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c3da3f32-bd8e-4c45-b733-c93d8f5269b0",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "6fce5912-b4a9-40d9-867c-934f0f7c90e6",
      "Questions": [
        {
          "Id": "b1973e05-98e3-4124-af06-94127d9bfb1c",
          "Answers": "sample string 2"
        },
        {
          "Id": "b1973e05-98e3-4124-af06-94127d9bfb1c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "6fce5912-b4a9-40d9-867c-934f0f7c90e6",
      "Questions": [
        {
          "Id": "b1973e05-98e3-4124-af06-94127d9bfb1c",
          "Answers": "sample string 2"
        },
        {
          "Id": "b1973e05-98e3-4124-af06-94127d9bfb1c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "923e10de-8006-4a40-85e1-a5fac4b38542",
      "ContentItemId": "6ee8c809-a50a-45a0-a408-e67f5c620b80",
      "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-06-07T04:56:25.225867+00:00",
      "RescheduleDate": "2026-06-07T04:56:25.225867+00:00"
    },
    {
      "Id": "923e10de-8006-4a40-85e1-a5fac4b38542",
      "ContentItemId": "6ee8c809-a50a-45a0-a408-e67f5c620b80",
      "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-06-07T04:56:25.225867+00:00",
      "RescheduleDate": "2026-06-07T04:56:25.225867+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": "04ac3113-0ff3-4f42-bce2-475b542d6808",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-07T04:56:26.6633635+00:00",
  "Registration": [
    {
      "Id": "39253d05-aa53-4be1-96dc-dd566711e79d",
      "UserId": "e9db93f7-b0aa-4ebe-827e-3a506ee5ec99",
      "IsCurrent": true,
      "CenterId": "d8c989d6-a17a-4af4-8681-bff3d59a54cd",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "a7c5e6cc-0037-4901-bb6d-b5bcf7ff8ef3",
      "EndDate": "2026-06-07T04:56:25.225867+00:00",
      "StartDate": "2026-06-07T04:56:25.225867+00:00",
      "SchedulePreferenceDate": "2026-06-07T04:56:25.225867+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": "39253d05-aa53-4be1-96dc-dd566711e79d",
      "UserId": "e9db93f7-b0aa-4ebe-827e-3a506ee5ec99",
      "IsCurrent": true,
      "CenterId": "d8c989d6-a17a-4af4-8681-bff3d59a54cd",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "a7c5e6cc-0037-4901-bb6d-b5bcf7ff8ef3",
      "EndDate": "2026-06-07T04:56:25.225867+00:00",
      "StartDate": "2026-06-07T04:56:25.225867+00:00",
      "SchedulePreferenceDate": "2026-06-07T04:56:25.225867+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-06-07T04:56:25.225867+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "91809ec4-c044-4df9-963d-aad770859047",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0716dd78-69c9-4342-83ac-a6e4090e0010",
      "Sequence": 1,
      "AncestorCategoryId": "45e86ea6-1c93-4552-80ce-f969480a31a6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ce4ed0a1-a6f7-46a7-88a6-636eaa579855",
          "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": "ce4ed0a1-a6f7-46a7-88a6-636eaa579855",
          "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": "91809ec4-c044-4df9-963d-aad770859047",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0716dd78-69c9-4342-83ac-a6e4090e0010",
      "Sequence": 1,
      "AncestorCategoryId": "45e86ea6-1c93-4552-80ce-f969480a31a6",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ce4ed0a1-a6f7-46a7-88a6-636eaa579855",
          "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": "ce4ed0a1-a6f7-46a7-88a6-636eaa579855",
          "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": "640b77b8-5697-4135-9d5a-202297f958ec",
    "CategoryId": "7a2672a5-e769-4ce2-afe5-d79b3990bf06",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c3da3f32-bd8e-4c45-b733-c93d8f5269b0",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c3da3f32-bd8e-4c45-b733-c93d8f5269b0",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "6fce5912-b4a9-40d9-867c-934f0f7c90e6",
      "Questions": [
        {
          "Id": "b1973e05-98e3-4124-af06-94127d9bfb1c",
          "Answers": "sample string 2"
        },
        {
          "Id": "b1973e05-98e3-4124-af06-94127d9bfb1c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "6fce5912-b4a9-40d9-867c-934f0f7c90e6",
      "Questions": [
        {
          "Id": "b1973e05-98e3-4124-af06-94127d9bfb1c",
          "Answers": "sample string 2"
        },
        {
          "Id": "b1973e05-98e3-4124-af06-94127d9bfb1c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "923e10de-8006-4a40-85e1-a5fac4b38542",
      "ContentItemId": "6ee8c809-a50a-45a0-a408-e67f5c620b80",
      "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-06-07T04:56:25.225867+00:00",
      "RescheduleDate": "2026-06-07T04:56:25.225867+00:00"
    },
    {
      "Id": "923e10de-8006-4a40-85e1-a5fac4b38542",
      "ContentItemId": "6ee8c809-a50a-45a0-a408-e67f5c620b80",
      "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-06-07T04:56:25.225867+00:00",
      "RescheduleDate": "2026-06-07T04:56:25.225867+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}