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": "6d746130-a06c-40e6-8c22-b7b511a722a5",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-15T09:10:49.084815+00:00",
  "Registration": [
    {
      "Id": "68acba19-0ebd-4e39-b434-df3b91326163",
      "UserId": "65b9060d-023d-46ed-848d-b1b4c0346306",
      "IsCurrent": true,
      "CenterId": "41870291-0316-41e3-94d4-90f4f8d36f13",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "73ac5a16-995a-4848-a2ef-b521e52dce44",
      "EndDate": "2026-02-15T09:10:49.084815+00:00",
      "StartDate": "2026-02-15T09:10:49.084815+00:00",
      "SchedulePreferenceDate": "2026-02-15T09:10:49.084815+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": "68acba19-0ebd-4e39-b434-df3b91326163",
      "UserId": "65b9060d-023d-46ed-848d-b1b4c0346306",
      "IsCurrent": true,
      "CenterId": "41870291-0316-41e3-94d4-90f4f8d36f13",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "73ac5a16-995a-4848-a2ef-b521e52dce44",
      "EndDate": "2026-02-15T09:10:49.084815+00:00",
      "StartDate": "2026-02-15T09:10:49.084815+00:00",
      "SchedulePreferenceDate": "2026-02-15T09:10:49.084815+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-15T09:10:49.084815+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d3099b2f-22a2-4e94-850c-c3454f41adcf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ad8d7808-cc43-4ead-a8f7-90ea8efafc07",
      "Sequence": 1,
      "AncestorCategoryId": "7f184748-3d3f-4de6-932d-1358d0731b86",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "17cf9395-41b8-4d03-8b85-ece2d43048f7",
          "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": "17cf9395-41b8-4d03-8b85-ece2d43048f7",
          "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": "d3099b2f-22a2-4e94-850c-c3454f41adcf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ad8d7808-cc43-4ead-a8f7-90ea8efafc07",
      "Sequence": 1,
      "AncestorCategoryId": "7f184748-3d3f-4de6-932d-1358d0731b86",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "17cf9395-41b8-4d03-8b85-ece2d43048f7",
          "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": "17cf9395-41b8-4d03-8b85-ece2d43048f7",
          "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": "932ab0df-ad51-4c99-b5cc-057ba1924854",
    "CategoryId": "91a0e2c1-8dc7-4cb2-abfe-91ac79ba25c5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "26cf5691-c336-4226-8d1d-ef00ede3845f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "26cf5691-c336-4226-8d1d-ef00ede3845f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "1c6aa6bc-9542-4a3e-92f3-0b9feb5f5528",
      "Questions": [
        {
          "Id": "0e539c87-c167-4949-aaf4-85861524b271",
          "Answers": "sample string 2"
        },
        {
          "Id": "0e539c87-c167-4949-aaf4-85861524b271",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "1c6aa6bc-9542-4a3e-92f3-0b9feb5f5528",
      "Questions": [
        {
          "Id": "0e539c87-c167-4949-aaf4-85861524b271",
          "Answers": "sample string 2"
        },
        {
          "Id": "0e539c87-c167-4949-aaf4-85861524b271",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b68cb434-7e85-4d28-8857-732d30d7b07e",
      "ContentItemId": "883d9671-8122-4767-a817-0065e0d4befd",
      "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-15T09:10:49.084815+00:00",
      "RescheduleDate": "2026-02-15T09:10:49.084815+00:00"
    },
    {
      "Id": "b68cb434-7e85-4d28-8857-732d30d7b07e",
      "ContentItemId": "883d9671-8122-4767-a817-0065e0d4befd",
      "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-15T09:10:49.084815+00:00",
      "RescheduleDate": "2026-02-15T09:10:49.084815+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": "6d746130-a06c-40e6-8c22-b7b511a722a5",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-15T09:10:49.131688+00:00",
  "Registration": [
    {
      "Id": "68acba19-0ebd-4e39-b434-df3b91326163",
      "UserId": "65b9060d-023d-46ed-848d-b1b4c0346306",
      "IsCurrent": true,
      "CenterId": "41870291-0316-41e3-94d4-90f4f8d36f13",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "73ac5a16-995a-4848-a2ef-b521e52dce44",
      "EndDate": "2026-02-15T09:10:49.084815+00:00",
      "StartDate": "2026-02-15T09:10:49.084815+00:00",
      "SchedulePreferenceDate": "2026-02-15T09:10:49.084815+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": "68acba19-0ebd-4e39-b434-df3b91326163",
      "UserId": "65b9060d-023d-46ed-848d-b1b4c0346306",
      "IsCurrent": true,
      "CenterId": "41870291-0316-41e3-94d4-90f4f8d36f13",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "73ac5a16-995a-4848-a2ef-b521e52dce44",
      "EndDate": "2026-02-15T09:10:49.084815+00:00",
      "StartDate": "2026-02-15T09:10:49.084815+00:00",
      "SchedulePreferenceDate": "2026-02-15T09:10:49.084815+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-15T09:10:49.084815+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d3099b2f-22a2-4e94-850c-c3454f41adcf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ad8d7808-cc43-4ead-a8f7-90ea8efafc07",
      "Sequence": 1,
      "AncestorCategoryId": "7f184748-3d3f-4de6-932d-1358d0731b86",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "17cf9395-41b8-4d03-8b85-ece2d43048f7",
          "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": "17cf9395-41b8-4d03-8b85-ece2d43048f7",
          "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": "d3099b2f-22a2-4e94-850c-c3454f41adcf",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ad8d7808-cc43-4ead-a8f7-90ea8efafc07",
      "Sequence": 1,
      "AncestorCategoryId": "7f184748-3d3f-4de6-932d-1358d0731b86",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "17cf9395-41b8-4d03-8b85-ece2d43048f7",
          "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": "17cf9395-41b8-4d03-8b85-ece2d43048f7",
          "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": "932ab0df-ad51-4c99-b5cc-057ba1924854",
    "CategoryId": "91a0e2c1-8dc7-4cb2-abfe-91ac79ba25c5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "26cf5691-c336-4226-8d1d-ef00ede3845f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "26cf5691-c336-4226-8d1d-ef00ede3845f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "1c6aa6bc-9542-4a3e-92f3-0b9feb5f5528",
      "Questions": [
        {
          "Id": "0e539c87-c167-4949-aaf4-85861524b271",
          "Answers": "sample string 2"
        },
        {
          "Id": "0e539c87-c167-4949-aaf4-85861524b271",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "1c6aa6bc-9542-4a3e-92f3-0b9feb5f5528",
      "Questions": [
        {
          "Id": "0e539c87-c167-4949-aaf4-85861524b271",
          "Answers": "sample string 2"
        },
        {
          "Id": "0e539c87-c167-4949-aaf4-85861524b271",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "b68cb434-7e85-4d28-8857-732d30d7b07e",
      "ContentItemId": "883d9671-8122-4767-a817-0065e0d4befd",
      "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-15T09:10:49.084815+00:00",
      "RescheduleDate": "2026-02-15T09:10:49.084815+00:00"
    },
    {
      "Id": "b68cb434-7e85-4d28-8857-732d30d7b07e",
      "ContentItemId": "883d9671-8122-4767-a817-0065e0d4befd",
      "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-15T09:10:49.084815+00:00",
      "RescheduleDate": "2026-02-15T09:10:49.084815+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}