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": "c1558975-61a4-4d0f-8b18-d70cd22a9947",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-08T05:45:10.7818539+00:00",
  "Registration": [
    {
      "Id": "eca98137-74cf-464f-b726-2523d6dec28d",
      "UserId": "a5e2d53e-656a-40f8-8bf0-9a8f6607910f",
      "IsCurrent": true,
      "CenterId": "313f8a75-65bf-4d89-9ffb-64700bdd22e4",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "ce0b19d2-b865-406c-8528-e258d2e9fcf9",
      "EndDate": "2026-05-08T05:45:10.7818539+00:00",
      "StartDate": "2026-05-08T05:45:10.7818539+00:00",
      "SchedulePreferenceDate": "2026-05-08T05:45:10.7818539+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": "eca98137-74cf-464f-b726-2523d6dec28d",
      "UserId": "a5e2d53e-656a-40f8-8bf0-9a8f6607910f",
      "IsCurrent": true,
      "CenterId": "313f8a75-65bf-4d89-9ffb-64700bdd22e4",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "ce0b19d2-b865-406c-8528-e258d2e9fcf9",
      "EndDate": "2026-05-08T05:45:10.7818539+00:00",
      "StartDate": "2026-05-08T05:45:10.7818539+00:00",
      "SchedulePreferenceDate": "2026-05-08T05:45:10.7818539+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-08T05:45:10.7818539+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "05c3ee5b-1038-4105-b993-57608a1b9cc6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "247d94c7-c9f4-4644-9e5a-444d63bcfc1f",
      "Sequence": 1,
      "AncestorCategoryId": "b343e7fc-c783-4782-9f64-212ae0ea43a9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac832d86-1cbf-4b99-a272-61d1ee81cf58",
          "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": "ac832d86-1cbf-4b99-a272-61d1ee81cf58",
          "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": "05c3ee5b-1038-4105-b993-57608a1b9cc6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "247d94c7-c9f4-4644-9e5a-444d63bcfc1f",
      "Sequence": 1,
      "AncestorCategoryId": "b343e7fc-c783-4782-9f64-212ae0ea43a9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac832d86-1cbf-4b99-a272-61d1ee81cf58",
          "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": "ac832d86-1cbf-4b99-a272-61d1ee81cf58",
          "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": "aea72bdc-441d-4363-988f-c79f234e81f8",
    "CategoryId": "9eb68a1b-99f4-4f8c-bdae-570369384e5e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "67123d12-8d15-45f0-b19b-5f4f574ddebc",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "67123d12-8d15-45f0-b19b-5f4f574ddebc",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "4f119af7-acfa-4af1-8cc3-e6517ef10e86",
      "Questions": [
        {
          "Id": "5de85cd4-f5a1-4e0e-97ed-08f087c0f31a",
          "Answers": "sample string 2"
        },
        {
          "Id": "5de85cd4-f5a1-4e0e-97ed-08f087c0f31a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "4f119af7-acfa-4af1-8cc3-e6517ef10e86",
      "Questions": [
        {
          "Id": "5de85cd4-f5a1-4e0e-97ed-08f087c0f31a",
          "Answers": "sample string 2"
        },
        {
          "Id": "5de85cd4-f5a1-4e0e-97ed-08f087c0f31a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5d8bed37-3ec8-4b1a-b95c-79299bc058ab",
      "ContentItemId": "70ccee78-9669-4916-b048-9ba36b7d1ef0",
      "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-08T05:45:10.7818539+00:00",
      "RescheduleDate": "2026-05-08T05:45:10.7818539+00:00"
    },
    {
      "Id": "5d8bed37-3ec8-4b1a-b95c-79299bc058ab",
      "ContentItemId": "70ccee78-9669-4916-b048-9ba36b7d1ef0",
      "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-08T05:45:10.7818539+00:00",
      "RescheduleDate": "2026-05-08T05:45:10.7818539+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": "c1558975-61a4-4d0f-8b18-d70cd22a9947",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-08T05:45:10.8131044+00:00",
  "Registration": [
    {
      "Id": "eca98137-74cf-464f-b726-2523d6dec28d",
      "UserId": "a5e2d53e-656a-40f8-8bf0-9a8f6607910f",
      "IsCurrent": true,
      "CenterId": "313f8a75-65bf-4d89-9ffb-64700bdd22e4",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "ce0b19d2-b865-406c-8528-e258d2e9fcf9",
      "EndDate": "2026-05-08T05:45:10.7818539+00:00",
      "StartDate": "2026-05-08T05:45:10.7818539+00:00",
      "SchedulePreferenceDate": "2026-05-08T05:45:10.7818539+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": "eca98137-74cf-464f-b726-2523d6dec28d",
      "UserId": "a5e2d53e-656a-40f8-8bf0-9a8f6607910f",
      "IsCurrent": true,
      "CenterId": "313f8a75-65bf-4d89-9ffb-64700bdd22e4",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "ce0b19d2-b865-406c-8528-e258d2e9fcf9",
      "EndDate": "2026-05-08T05:45:10.7818539+00:00",
      "StartDate": "2026-05-08T05:45:10.7818539+00:00",
      "SchedulePreferenceDate": "2026-05-08T05:45:10.7818539+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-08T05:45:10.7818539+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "05c3ee5b-1038-4105-b993-57608a1b9cc6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "247d94c7-c9f4-4644-9e5a-444d63bcfc1f",
      "Sequence": 1,
      "AncestorCategoryId": "b343e7fc-c783-4782-9f64-212ae0ea43a9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac832d86-1cbf-4b99-a272-61d1ee81cf58",
          "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": "ac832d86-1cbf-4b99-a272-61d1ee81cf58",
          "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": "05c3ee5b-1038-4105-b993-57608a1b9cc6",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "247d94c7-c9f4-4644-9e5a-444d63bcfc1f",
      "Sequence": 1,
      "AncestorCategoryId": "b343e7fc-c783-4782-9f64-212ae0ea43a9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ac832d86-1cbf-4b99-a272-61d1ee81cf58",
          "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": "ac832d86-1cbf-4b99-a272-61d1ee81cf58",
          "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": "aea72bdc-441d-4363-988f-c79f234e81f8",
    "CategoryId": "9eb68a1b-99f4-4f8c-bdae-570369384e5e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "67123d12-8d15-45f0-b19b-5f4f574ddebc",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "67123d12-8d15-45f0-b19b-5f4f574ddebc",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "4f119af7-acfa-4af1-8cc3-e6517ef10e86",
      "Questions": [
        {
          "Id": "5de85cd4-f5a1-4e0e-97ed-08f087c0f31a",
          "Answers": "sample string 2"
        },
        {
          "Id": "5de85cd4-f5a1-4e0e-97ed-08f087c0f31a",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "4f119af7-acfa-4af1-8cc3-e6517ef10e86",
      "Questions": [
        {
          "Id": "5de85cd4-f5a1-4e0e-97ed-08f087c0f31a",
          "Answers": "sample string 2"
        },
        {
          "Id": "5de85cd4-f5a1-4e0e-97ed-08f087c0f31a",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "5d8bed37-3ec8-4b1a-b95c-79299bc058ab",
      "ContentItemId": "70ccee78-9669-4916-b048-9ba36b7d1ef0",
      "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-08T05:45:10.7818539+00:00",
      "RescheduleDate": "2026-05-08T05:45:10.7818539+00:00"
    },
    {
      "Id": "5d8bed37-3ec8-4b1a-b95c-79299bc058ab",
      "ContentItemId": "70ccee78-9669-4916-b048-9ba36b7d1ef0",
      "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-08T05:45:10.7818539+00:00",
      "RescheduleDate": "2026-05-08T05:45:10.7818539+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}