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": "a2a8e5f2-bed5-4764-b182-53d402b2a626",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-02T08:23:50.1606353+00:00",
  "Registration": [
    {
      "Id": "6fa6621d-8cf0-4067-801a-3cdc9a5e0a8b",
      "UserId": "0054e542-1489-450a-9d13-8c8c5be4cdd3",
      "IsCurrent": true,
      "CenterId": "30cbca17-bfe1-485a-af9b-13394ec6fbbc",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "886a373c-11fa-4b34-9d79-e8ade884001e",
      "EndDate": "2026-02-02T08:23:50.1606353+00:00",
      "StartDate": "2026-02-02T08:23:50.1606353+00:00",
      "SchedulePreferenceDate": "2026-02-02T08:23:50.1606353+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": "6fa6621d-8cf0-4067-801a-3cdc9a5e0a8b",
      "UserId": "0054e542-1489-450a-9d13-8c8c5be4cdd3",
      "IsCurrent": true,
      "CenterId": "30cbca17-bfe1-485a-af9b-13394ec6fbbc",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "886a373c-11fa-4b34-9d79-e8ade884001e",
      "EndDate": "2026-02-02T08:23:50.1606353+00:00",
      "StartDate": "2026-02-02T08:23:50.1606353+00:00",
      "SchedulePreferenceDate": "2026-02-02T08:23:50.1606353+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-02T08:23:50.1606353+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "782738b8-f892-463b-8fea-2cf864b52509",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "794034d4-ef95-4afa-afb1-004a139a034a",
      "Sequence": 1,
      "AncestorCategoryId": "02dd0579-94b8-474e-b3af-b7583f3c1be0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6bc35a9b-562e-4bb0-875d-7b856a41140f",
          "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": "6bc35a9b-562e-4bb0-875d-7b856a41140f",
          "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": "782738b8-f892-463b-8fea-2cf864b52509",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "794034d4-ef95-4afa-afb1-004a139a034a",
      "Sequence": 1,
      "AncestorCategoryId": "02dd0579-94b8-474e-b3af-b7583f3c1be0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6bc35a9b-562e-4bb0-875d-7b856a41140f",
          "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": "6bc35a9b-562e-4bb0-875d-7b856a41140f",
          "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": "f573ebc1-74f7-4f0a-8a7e-e0b6a06d4d7c",
    "CategoryId": "66d0280c-1fb9-45a2-8afc-28afc80054de",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "69d9c578-a564-404e-b3c2-6c4d1e1a2a09",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "69d9c578-a564-404e-b3c2-6c4d1e1a2a09",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "950a212b-2ce6-4ddc-bbb7-c6c1444356bc",
      "Questions": [
        {
          "Id": "1bd31e7b-b2b1-4ef8-9932-c3cea7439a5f",
          "Answers": "sample string 2"
        },
        {
          "Id": "1bd31e7b-b2b1-4ef8-9932-c3cea7439a5f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "950a212b-2ce6-4ddc-bbb7-c6c1444356bc",
      "Questions": [
        {
          "Id": "1bd31e7b-b2b1-4ef8-9932-c3cea7439a5f",
          "Answers": "sample string 2"
        },
        {
          "Id": "1bd31e7b-b2b1-4ef8-9932-c3cea7439a5f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "93a9b88b-90b9-40a2-bb39-7b1e86302f06",
      "ContentItemId": "a31fe82d-f83e-4cf1-b284-35ddf457e594",
      "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-02T08:23:50.1606353+00:00",
      "RescheduleDate": "2026-02-02T08:23:50.1606353+00:00"
    },
    {
      "Id": "93a9b88b-90b9-40a2-bb39-7b1e86302f06",
      "ContentItemId": "a31fe82d-f83e-4cf1-b284-35ddf457e594",
      "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-02T08:23:50.1606353+00:00",
      "RescheduleDate": "2026-02-02T08:23:50.1606353+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": "a2a8e5f2-bed5-4764-b182-53d402b2a626",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-02T08:23:50.1918868+00:00",
  "Registration": [
    {
      "Id": "6fa6621d-8cf0-4067-801a-3cdc9a5e0a8b",
      "UserId": "0054e542-1489-450a-9d13-8c8c5be4cdd3",
      "IsCurrent": true,
      "CenterId": "30cbca17-bfe1-485a-af9b-13394ec6fbbc",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "886a373c-11fa-4b34-9d79-e8ade884001e",
      "EndDate": "2026-02-02T08:23:50.1606353+00:00",
      "StartDate": "2026-02-02T08:23:50.1606353+00:00",
      "SchedulePreferenceDate": "2026-02-02T08:23:50.1606353+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": "6fa6621d-8cf0-4067-801a-3cdc9a5e0a8b",
      "UserId": "0054e542-1489-450a-9d13-8c8c5be4cdd3",
      "IsCurrent": true,
      "CenterId": "30cbca17-bfe1-485a-af9b-13394ec6fbbc",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "886a373c-11fa-4b34-9d79-e8ade884001e",
      "EndDate": "2026-02-02T08:23:50.1606353+00:00",
      "StartDate": "2026-02-02T08:23:50.1606353+00:00",
      "SchedulePreferenceDate": "2026-02-02T08:23:50.1606353+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-02T08:23:50.1606353+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "782738b8-f892-463b-8fea-2cf864b52509",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "794034d4-ef95-4afa-afb1-004a139a034a",
      "Sequence": 1,
      "AncestorCategoryId": "02dd0579-94b8-474e-b3af-b7583f3c1be0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6bc35a9b-562e-4bb0-875d-7b856a41140f",
          "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": "6bc35a9b-562e-4bb0-875d-7b856a41140f",
          "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": "782738b8-f892-463b-8fea-2cf864b52509",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "794034d4-ef95-4afa-afb1-004a139a034a",
      "Sequence": 1,
      "AncestorCategoryId": "02dd0579-94b8-474e-b3af-b7583f3c1be0",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6bc35a9b-562e-4bb0-875d-7b856a41140f",
          "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": "6bc35a9b-562e-4bb0-875d-7b856a41140f",
          "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": "f573ebc1-74f7-4f0a-8a7e-e0b6a06d4d7c",
    "CategoryId": "66d0280c-1fb9-45a2-8afc-28afc80054de",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "69d9c578-a564-404e-b3c2-6c4d1e1a2a09",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "69d9c578-a564-404e-b3c2-6c4d1e1a2a09",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "950a212b-2ce6-4ddc-bbb7-c6c1444356bc",
      "Questions": [
        {
          "Id": "1bd31e7b-b2b1-4ef8-9932-c3cea7439a5f",
          "Answers": "sample string 2"
        },
        {
          "Id": "1bd31e7b-b2b1-4ef8-9932-c3cea7439a5f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "950a212b-2ce6-4ddc-bbb7-c6c1444356bc",
      "Questions": [
        {
          "Id": "1bd31e7b-b2b1-4ef8-9932-c3cea7439a5f",
          "Answers": "sample string 2"
        },
        {
          "Id": "1bd31e7b-b2b1-4ef8-9932-c3cea7439a5f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "93a9b88b-90b9-40a2-bb39-7b1e86302f06",
      "ContentItemId": "a31fe82d-f83e-4cf1-b284-35ddf457e594",
      "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-02T08:23:50.1606353+00:00",
      "RescheduleDate": "2026-02-02T08:23:50.1606353+00:00"
    },
    {
      "Id": "93a9b88b-90b9-40a2-bb39-7b1e86302f06",
      "ContentItemId": "a31fe82d-f83e-4cf1-b284-35ddf457e594",
      "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-02T08:23:50.1606353+00:00",
      "RescheduleDate": "2026-02-02T08:23:50.1606353+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}