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": "c9692e6d-5b44-411f-8077-90f767cf739f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-07T11:05:02.0075321+00:00",
  "Registration": [
    {
      "Id": "0d141085-8256-40f4-a8e6-141259d251f6",
      "UserId": "ebd8ff93-ed2f-42c5-897d-b58881c92302",
      "IsCurrent": true,
      "CenterId": "70acacf3-0a78-49d2-8db4-1b2690c04136",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "8bff2484-0f5a-45c1-9b16-7d656d60d431",
      "EndDate": "2026-02-07T11:05:01.9919035+00:00",
      "StartDate": "2026-02-07T11:05:01.9919035+00:00",
      "SchedulePreferenceDate": "2026-02-07T11:05:01.9919035+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": "0d141085-8256-40f4-a8e6-141259d251f6",
      "UserId": "ebd8ff93-ed2f-42c5-897d-b58881c92302",
      "IsCurrent": true,
      "CenterId": "70acacf3-0a78-49d2-8db4-1b2690c04136",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "8bff2484-0f5a-45c1-9b16-7d656d60d431",
      "EndDate": "2026-02-07T11:05:01.9919035+00:00",
      "StartDate": "2026-02-07T11:05:01.9919035+00:00",
      "SchedulePreferenceDate": "2026-02-07T11:05:01.9919035+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-07T11:05:01.9919035+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "47efc2ba-4b06-4489-ada2-06519c9a68ac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7276c69b-3173-4b2a-beed-1ca44cd20a3f",
      "Sequence": 1,
      "AncestorCategoryId": "f59d2bb6-6688-4fbe-90d7-131cfbf7100b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8ebd3e60-1ab7-4be2-ba67-cd673cc1fcb9",
          "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": "8ebd3e60-1ab7-4be2-ba67-cd673cc1fcb9",
          "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": "47efc2ba-4b06-4489-ada2-06519c9a68ac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7276c69b-3173-4b2a-beed-1ca44cd20a3f",
      "Sequence": 1,
      "AncestorCategoryId": "f59d2bb6-6688-4fbe-90d7-131cfbf7100b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8ebd3e60-1ab7-4be2-ba67-cd673cc1fcb9",
          "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": "8ebd3e60-1ab7-4be2-ba67-cd673cc1fcb9",
          "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": "34b8cdff-3845-452a-a8a5-3d1dd29f3057",
    "CategoryId": "0541984f-e3b0-4cbb-91d0-820e5e4c5faa",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "488018af-a563-4126-b1ef-1de96a9af30b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "488018af-a563-4126-b1ef-1de96a9af30b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "4d5a00f9-e4e0-4ce7-bd66-466a6501d577",
      "Questions": [
        {
          "Id": "b659b58e-d099-445c-9ff6-2c0b4513efc2",
          "Answers": "sample string 2"
        },
        {
          "Id": "b659b58e-d099-445c-9ff6-2c0b4513efc2",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "4d5a00f9-e4e0-4ce7-bd66-466a6501d577",
      "Questions": [
        {
          "Id": "b659b58e-d099-445c-9ff6-2c0b4513efc2",
          "Answers": "sample string 2"
        },
        {
          "Id": "b659b58e-d099-445c-9ff6-2c0b4513efc2",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "61360e72-b014-4f9b-a29e-b386ba3becbd",
      "ContentItemId": "93485730-cf2e-4c01-b60e-2e3fa4284319",
      "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-07T11:05:01.9919035+00:00",
      "RescheduleDate": "2026-02-07T11:05:01.9919035+00:00"
    },
    {
      "Id": "61360e72-b014-4f9b-a29e-b386ba3becbd",
      "ContentItemId": "93485730-cf2e-4c01-b60e-2e3fa4284319",
      "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-07T11:05:01.9919035+00:00",
      "RescheduleDate": "2026-02-07T11:05:01.9919035+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": "c9692e6d-5b44-411f-8077-90f767cf739f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-07T11:05:02.0544056+00:00",
  "Registration": [
    {
      "Id": "0d141085-8256-40f4-a8e6-141259d251f6",
      "UserId": "ebd8ff93-ed2f-42c5-897d-b58881c92302",
      "IsCurrent": true,
      "CenterId": "70acacf3-0a78-49d2-8db4-1b2690c04136",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "8bff2484-0f5a-45c1-9b16-7d656d60d431",
      "EndDate": "2026-02-07T11:05:01.9919035+00:00",
      "StartDate": "2026-02-07T11:05:01.9919035+00:00",
      "SchedulePreferenceDate": "2026-02-07T11:05:01.9919035+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": "0d141085-8256-40f4-a8e6-141259d251f6",
      "UserId": "ebd8ff93-ed2f-42c5-897d-b58881c92302",
      "IsCurrent": true,
      "CenterId": "70acacf3-0a78-49d2-8db4-1b2690c04136",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "8bff2484-0f5a-45c1-9b16-7d656d60d431",
      "EndDate": "2026-02-07T11:05:01.9919035+00:00",
      "StartDate": "2026-02-07T11:05:01.9919035+00:00",
      "SchedulePreferenceDate": "2026-02-07T11:05:01.9919035+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-07T11:05:01.9919035+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "47efc2ba-4b06-4489-ada2-06519c9a68ac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7276c69b-3173-4b2a-beed-1ca44cd20a3f",
      "Sequence": 1,
      "AncestorCategoryId": "f59d2bb6-6688-4fbe-90d7-131cfbf7100b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8ebd3e60-1ab7-4be2-ba67-cd673cc1fcb9",
          "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": "8ebd3e60-1ab7-4be2-ba67-cd673cc1fcb9",
          "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": "47efc2ba-4b06-4489-ada2-06519c9a68ac",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "7276c69b-3173-4b2a-beed-1ca44cd20a3f",
      "Sequence": 1,
      "AncestorCategoryId": "f59d2bb6-6688-4fbe-90d7-131cfbf7100b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8ebd3e60-1ab7-4be2-ba67-cd673cc1fcb9",
          "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": "8ebd3e60-1ab7-4be2-ba67-cd673cc1fcb9",
          "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": "34b8cdff-3845-452a-a8a5-3d1dd29f3057",
    "CategoryId": "0541984f-e3b0-4cbb-91d0-820e5e4c5faa",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "488018af-a563-4126-b1ef-1de96a9af30b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "488018af-a563-4126-b1ef-1de96a9af30b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "4d5a00f9-e4e0-4ce7-bd66-466a6501d577",
      "Questions": [
        {
          "Id": "b659b58e-d099-445c-9ff6-2c0b4513efc2",
          "Answers": "sample string 2"
        },
        {
          "Id": "b659b58e-d099-445c-9ff6-2c0b4513efc2",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "4d5a00f9-e4e0-4ce7-bd66-466a6501d577",
      "Questions": [
        {
          "Id": "b659b58e-d099-445c-9ff6-2c0b4513efc2",
          "Answers": "sample string 2"
        },
        {
          "Id": "b659b58e-d099-445c-9ff6-2c0b4513efc2",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "61360e72-b014-4f9b-a29e-b386ba3becbd",
      "ContentItemId": "93485730-cf2e-4c01-b60e-2e3fa4284319",
      "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-07T11:05:01.9919035+00:00",
      "RescheduleDate": "2026-02-07T11:05:01.9919035+00:00"
    },
    {
      "Id": "61360e72-b014-4f9b-a29e-b386ba3becbd",
      "ContentItemId": "93485730-cf2e-4c01-b60e-2e3fa4284319",
      "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-07T11:05:01.9919035+00:00",
      "RescheduleDate": "2026-02-07T11:05:01.9919035+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}