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": "969c311a-afb5-4661-a268-cdcc77560994",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-14T04:12:31.0670499+00:00",
  "Registration": [
    {
      "Id": "44998d22-15a2-46ac-bf25-d19fbd9263ae",
      "UserId": "bc77ceb5-2208-47e3-be38-3bbd16fc6090",
      "IsCurrent": true,
      "CenterId": "052be3a8-e5cb-44cf-808c-2e4a437eeb18",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f74ab074-8403-49a3-98bc-bdbd5dc7856f",
      "EndDate": "2026-11-14T04:12:31.0670499+00:00",
      "StartDate": "2026-11-14T04:12:31.0670499+00:00",
      "SchedulePreferenceDate": "2026-11-14T04:12:31.0670499+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": "44998d22-15a2-46ac-bf25-d19fbd9263ae",
      "UserId": "bc77ceb5-2208-47e3-be38-3bbd16fc6090",
      "IsCurrent": true,
      "CenterId": "052be3a8-e5cb-44cf-808c-2e4a437eeb18",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f74ab074-8403-49a3-98bc-bdbd5dc7856f",
      "EndDate": "2026-11-14T04:12:31.0670499+00:00",
      "StartDate": "2026-11-14T04:12:31.0670499+00:00",
      "SchedulePreferenceDate": "2026-11-14T04:12:31.0670499+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-11-14T04:12:31.0670499+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a688d2f9-8274-42f0-ae90-5f3df9688c7f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0b305d26-ac9a-4e28-bfa7-d8a58a517c01",
      "Sequence": 1,
      "AncestorCategoryId": "b9709cd8-4217-4a30-a487-9663a220bf14",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ea888b40-9ce3-4260-ad19-1774cd8ef019",
          "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": "ea888b40-9ce3-4260-ad19-1774cd8ef019",
          "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": "a688d2f9-8274-42f0-ae90-5f3df9688c7f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0b305d26-ac9a-4e28-bfa7-d8a58a517c01",
      "Sequence": 1,
      "AncestorCategoryId": "b9709cd8-4217-4a30-a487-9663a220bf14",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ea888b40-9ce3-4260-ad19-1774cd8ef019",
          "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": "ea888b40-9ce3-4260-ad19-1774cd8ef019",
          "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": "a31609c3-bbe3-4559-bb29-d157c5ec4285",
    "CategoryId": "24d94830-1032-46a7-9589-a5f2450727b5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a8abacdf-43c5-4887-939b-2dec1d4fa66c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a8abacdf-43c5-4887-939b-2dec1d4fa66c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "3768e61b-0605-4d55-901e-433bc7f87442",
      "Questions": [
        {
          "Id": "0ec1e523-8088-4eb7-82cf-1d1c056b518d",
          "Answers": "sample string 2"
        },
        {
          "Id": "0ec1e523-8088-4eb7-82cf-1d1c056b518d",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "3768e61b-0605-4d55-901e-433bc7f87442",
      "Questions": [
        {
          "Id": "0ec1e523-8088-4eb7-82cf-1d1c056b518d",
          "Answers": "sample string 2"
        },
        {
          "Id": "0ec1e523-8088-4eb7-82cf-1d1c056b518d",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "618a6dc1-6b44-4ccb-979f-a8bbecda3d45",
      "ContentItemId": "87280f45-c0a2-41d6-a7d3-a1d1511a6bf5",
      "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-11-14T04:12:31.0670499+00:00",
      "RescheduleDate": "2026-11-14T04:12:31.0670499+00:00"
    },
    {
      "Id": "618a6dc1-6b44-4ccb-979f-a8bbecda3d45",
      "ContentItemId": "87280f45-c0a2-41d6-a7d3-a1d1511a6bf5",
      "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-11-14T04:12:31.0670499+00:00",
      "RescheduleDate": "2026-11-14T04:12:31.0670499+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": "969c311a-afb5-4661-a268-cdcc77560994",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-14T04:12:31.0826752+00:00",
  "Registration": [
    {
      "Id": "44998d22-15a2-46ac-bf25-d19fbd9263ae",
      "UserId": "bc77ceb5-2208-47e3-be38-3bbd16fc6090",
      "IsCurrent": true,
      "CenterId": "052be3a8-e5cb-44cf-808c-2e4a437eeb18",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f74ab074-8403-49a3-98bc-bdbd5dc7856f",
      "EndDate": "2026-11-14T04:12:31.0670499+00:00",
      "StartDate": "2026-11-14T04:12:31.0670499+00:00",
      "SchedulePreferenceDate": "2026-11-14T04:12:31.0670499+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": "44998d22-15a2-46ac-bf25-d19fbd9263ae",
      "UserId": "bc77ceb5-2208-47e3-be38-3bbd16fc6090",
      "IsCurrent": true,
      "CenterId": "052be3a8-e5cb-44cf-808c-2e4a437eeb18",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "f74ab074-8403-49a3-98bc-bdbd5dc7856f",
      "EndDate": "2026-11-14T04:12:31.0670499+00:00",
      "StartDate": "2026-11-14T04:12:31.0670499+00:00",
      "SchedulePreferenceDate": "2026-11-14T04:12:31.0670499+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-11-14T04:12:31.0670499+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a688d2f9-8274-42f0-ae90-5f3df9688c7f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0b305d26-ac9a-4e28-bfa7-d8a58a517c01",
      "Sequence": 1,
      "AncestorCategoryId": "b9709cd8-4217-4a30-a487-9663a220bf14",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ea888b40-9ce3-4260-ad19-1774cd8ef019",
          "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": "ea888b40-9ce3-4260-ad19-1774cd8ef019",
          "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": "a688d2f9-8274-42f0-ae90-5f3df9688c7f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "0b305d26-ac9a-4e28-bfa7-d8a58a517c01",
      "Sequence": 1,
      "AncestorCategoryId": "b9709cd8-4217-4a30-a487-9663a220bf14",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ea888b40-9ce3-4260-ad19-1774cd8ef019",
          "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": "ea888b40-9ce3-4260-ad19-1774cd8ef019",
          "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": "a31609c3-bbe3-4559-bb29-d157c5ec4285",
    "CategoryId": "24d94830-1032-46a7-9589-a5f2450727b5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a8abacdf-43c5-4887-939b-2dec1d4fa66c",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a8abacdf-43c5-4887-939b-2dec1d4fa66c",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "3768e61b-0605-4d55-901e-433bc7f87442",
      "Questions": [
        {
          "Id": "0ec1e523-8088-4eb7-82cf-1d1c056b518d",
          "Answers": "sample string 2"
        },
        {
          "Id": "0ec1e523-8088-4eb7-82cf-1d1c056b518d",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "3768e61b-0605-4d55-901e-433bc7f87442",
      "Questions": [
        {
          "Id": "0ec1e523-8088-4eb7-82cf-1d1c056b518d",
          "Answers": "sample string 2"
        },
        {
          "Id": "0ec1e523-8088-4eb7-82cf-1d1c056b518d",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "618a6dc1-6b44-4ccb-979f-a8bbecda3d45",
      "ContentItemId": "87280f45-c0a2-41d6-a7d3-a1d1511a6bf5",
      "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-11-14T04:12:31.0670499+00:00",
      "RescheduleDate": "2026-11-14T04:12:31.0670499+00:00"
    },
    {
      "Id": "618a6dc1-6b44-4ccb-979f-a8bbecda3d45",
      "ContentItemId": "87280f45-c0a2-41d6-a7d3-a1d1511a6bf5",
      "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-11-14T04:12:31.0670499+00:00",
      "RescheduleDate": "2026-11-14T04:12:31.0670499+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}