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": "f52f5f4c-c887-4db5-b291-a97595dfb590",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-30T18:38:09.3730703+00:00",
  "Registration": [
    {
      "Id": "61fb4701-6f98-406f-b2a3-ae2a8bacf00d",
      "UserId": "94641945-badd-4812-9025-036060687156",
      "IsCurrent": true,
      "CenterId": "7ca86971-cb35-4626-8dae-d75adc7b8649",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b74a7450-7cac-43a7-9892-d87a72de86b9",
      "EndDate": "2026-01-30T18:38:09.357441+00:00",
      "StartDate": "2026-01-30T18:38:09.357441+00:00",
      "SchedulePreferenceDate": "2026-01-30T18:38:09.357441+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": "61fb4701-6f98-406f-b2a3-ae2a8bacf00d",
      "UserId": "94641945-badd-4812-9025-036060687156",
      "IsCurrent": true,
      "CenterId": "7ca86971-cb35-4626-8dae-d75adc7b8649",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b74a7450-7cac-43a7-9892-d87a72de86b9",
      "EndDate": "2026-01-30T18:38:09.357441+00:00",
      "StartDate": "2026-01-30T18:38:09.357441+00:00",
      "SchedulePreferenceDate": "2026-01-30T18:38:09.357441+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-01-30T18:38:09.357441+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "be3e8bdc-8d90-4cfb-a28c-a7f77df543c9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "012333d5-6bdb-4b83-95af-c9100976ddcd",
      "Sequence": 1,
      "AncestorCategoryId": "66daff3c-b2fe-4324-bb1a-d61a1a1625b4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1f69609b-d1a6-4e11-b861-473b81e19bf8",
          "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": "1f69609b-d1a6-4e11-b861-473b81e19bf8",
          "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": "be3e8bdc-8d90-4cfb-a28c-a7f77df543c9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "012333d5-6bdb-4b83-95af-c9100976ddcd",
      "Sequence": 1,
      "AncestorCategoryId": "66daff3c-b2fe-4324-bb1a-d61a1a1625b4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1f69609b-d1a6-4e11-b861-473b81e19bf8",
          "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": "1f69609b-d1a6-4e11-b861-473b81e19bf8",
          "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": "5225bacb-0b9e-40d6-87b6-2ea8e3190d4d",
    "CategoryId": "84d62027-ee36-45e4-ba8d-dc2f0455a9b7",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ca01d2d4-714e-4b8e-b9bb-041285699934",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ca01d2d4-714e-4b8e-b9bb-041285699934",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e996d6e7-a64a-44fc-91f8-9c13f9227eda",
      "Questions": [
        {
          "Id": "fc296ccc-c0d9-4730-a135-e900e9df7fb1",
          "Answers": "sample string 2"
        },
        {
          "Id": "fc296ccc-c0d9-4730-a135-e900e9df7fb1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e996d6e7-a64a-44fc-91f8-9c13f9227eda",
      "Questions": [
        {
          "Id": "fc296ccc-c0d9-4730-a135-e900e9df7fb1",
          "Answers": "sample string 2"
        },
        {
          "Id": "fc296ccc-c0d9-4730-a135-e900e9df7fb1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "c391daa6-ada4-43eb-8688-81cd3f18d345",
      "ContentItemId": "f3708398-1d38-4989-825c-e664df2f0b50",
      "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-01-30T18:38:09.357441+00:00",
      "RescheduleDate": "2026-01-30T18:38:09.357441+00:00"
    },
    {
      "Id": "c391daa6-ada4-43eb-8688-81cd3f18d345",
      "ContentItemId": "f3708398-1d38-4989-825c-e664df2f0b50",
      "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-01-30T18:38:09.357441+00:00",
      "RescheduleDate": "2026-01-30T18:38:09.357441+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": "f52f5f4c-c887-4db5-b291-a97595dfb590",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-30T18:38:09.482469+00:00",
  "Registration": [
    {
      "Id": "61fb4701-6f98-406f-b2a3-ae2a8bacf00d",
      "UserId": "94641945-badd-4812-9025-036060687156",
      "IsCurrent": true,
      "CenterId": "7ca86971-cb35-4626-8dae-d75adc7b8649",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b74a7450-7cac-43a7-9892-d87a72de86b9",
      "EndDate": "2026-01-30T18:38:09.357441+00:00",
      "StartDate": "2026-01-30T18:38:09.357441+00:00",
      "SchedulePreferenceDate": "2026-01-30T18:38:09.357441+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": "61fb4701-6f98-406f-b2a3-ae2a8bacf00d",
      "UserId": "94641945-badd-4812-9025-036060687156",
      "IsCurrent": true,
      "CenterId": "7ca86971-cb35-4626-8dae-d75adc7b8649",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b74a7450-7cac-43a7-9892-d87a72de86b9",
      "EndDate": "2026-01-30T18:38:09.357441+00:00",
      "StartDate": "2026-01-30T18:38:09.357441+00:00",
      "SchedulePreferenceDate": "2026-01-30T18:38:09.357441+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-01-30T18:38:09.357441+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "be3e8bdc-8d90-4cfb-a28c-a7f77df543c9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "012333d5-6bdb-4b83-95af-c9100976ddcd",
      "Sequence": 1,
      "AncestorCategoryId": "66daff3c-b2fe-4324-bb1a-d61a1a1625b4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1f69609b-d1a6-4e11-b861-473b81e19bf8",
          "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": "1f69609b-d1a6-4e11-b861-473b81e19bf8",
          "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": "be3e8bdc-8d90-4cfb-a28c-a7f77df543c9",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "012333d5-6bdb-4b83-95af-c9100976ddcd",
      "Sequence": 1,
      "AncestorCategoryId": "66daff3c-b2fe-4324-bb1a-d61a1a1625b4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1f69609b-d1a6-4e11-b861-473b81e19bf8",
          "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": "1f69609b-d1a6-4e11-b861-473b81e19bf8",
          "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": "5225bacb-0b9e-40d6-87b6-2ea8e3190d4d",
    "CategoryId": "84d62027-ee36-45e4-ba8d-dc2f0455a9b7",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ca01d2d4-714e-4b8e-b9bb-041285699934",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ca01d2d4-714e-4b8e-b9bb-041285699934",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "e996d6e7-a64a-44fc-91f8-9c13f9227eda",
      "Questions": [
        {
          "Id": "fc296ccc-c0d9-4730-a135-e900e9df7fb1",
          "Answers": "sample string 2"
        },
        {
          "Id": "fc296ccc-c0d9-4730-a135-e900e9df7fb1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "e996d6e7-a64a-44fc-91f8-9c13f9227eda",
      "Questions": [
        {
          "Id": "fc296ccc-c0d9-4730-a135-e900e9df7fb1",
          "Answers": "sample string 2"
        },
        {
          "Id": "fc296ccc-c0d9-4730-a135-e900e9df7fb1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "c391daa6-ada4-43eb-8688-81cd3f18d345",
      "ContentItemId": "f3708398-1d38-4989-825c-e664df2f0b50",
      "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-01-30T18:38:09.357441+00:00",
      "RescheduleDate": "2026-01-30T18:38:09.357441+00:00"
    },
    {
      "Id": "c391daa6-ada4-43eb-8688-81cd3f18d345",
      "ContentItemId": "f3708398-1d38-4989-825c-e664df2f0b50",
      "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-01-30T18:38:09.357441+00:00",
      "RescheduleDate": "2026-01-30T18:38:09.357441+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}