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": "951a30f2-f642-4dc3-9429-fad77eb94573",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-25T06:34:28.767258+00:00",
  "Registration": [
    {
      "Id": "d9ec1e34-1eaf-4751-8d2e-5d2afafe6a4e",
      "UserId": "4ce8e27c-2d20-4afa-b1fe-ef3b0dca1eb9",
      "IsCurrent": true,
      "CenterId": "5d731857-11d7-4bdd-89d2-1960d0ba4e92",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "5ceca446-8271-4695-bd34-86f2a7242489",
      "EndDate": "2026-02-25T06:34:28.767258+00:00",
      "StartDate": "2026-02-25T06:34:28.767258+00:00",
      "SchedulePreferenceDate": "2026-02-25T06:34:28.767258+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": "d9ec1e34-1eaf-4751-8d2e-5d2afafe6a4e",
      "UserId": "4ce8e27c-2d20-4afa-b1fe-ef3b0dca1eb9",
      "IsCurrent": true,
      "CenterId": "5d731857-11d7-4bdd-89d2-1960d0ba4e92",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "5ceca446-8271-4695-bd34-86f2a7242489",
      "EndDate": "2026-02-25T06:34:28.767258+00:00",
      "StartDate": "2026-02-25T06:34:28.767258+00:00",
      "SchedulePreferenceDate": "2026-02-25T06:34:28.767258+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-25T06:34:28.767258+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "bbdef092-62f8-42de-91c7-23c3358936d7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c9f9448c-1e89-403f-8abe-dedbd495b9e8",
      "Sequence": 1,
      "AncestorCategoryId": "dbd5b911-94ac-4bc9-97d0-18c1450d09fa",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e60d12c3-3d81-4f59-9b15-aa9c5cf4e024",
          "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": "e60d12c3-3d81-4f59-9b15-aa9c5cf4e024",
          "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": "bbdef092-62f8-42de-91c7-23c3358936d7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c9f9448c-1e89-403f-8abe-dedbd495b9e8",
      "Sequence": 1,
      "AncestorCategoryId": "dbd5b911-94ac-4bc9-97d0-18c1450d09fa",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e60d12c3-3d81-4f59-9b15-aa9c5cf4e024",
          "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": "e60d12c3-3d81-4f59-9b15-aa9c5cf4e024",
          "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": "1287c364-811c-447a-990b-693b84c5520d",
    "CategoryId": "30591ec0-c9f2-4916-86de-969c2fc6b23d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "235b0fab-a94c-4086-a61f-eb3af8934057",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "235b0fab-a94c-4086-a61f-eb3af8934057",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "25f3596e-21a2-4aa4-94a2-66fa0b317795",
      "Questions": [
        {
          "Id": "a5c8a2a7-6ca9-4cad-94d9-f09f240ddc86",
          "Answers": "sample string 2"
        },
        {
          "Id": "a5c8a2a7-6ca9-4cad-94d9-f09f240ddc86",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "25f3596e-21a2-4aa4-94a2-66fa0b317795",
      "Questions": [
        {
          "Id": "a5c8a2a7-6ca9-4cad-94d9-f09f240ddc86",
          "Answers": "sample string 2"
        },
        {
          "Id": "a5c8a2a7-6ca9-4cad-94d9-f09f240ddc86",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4d0d5e9e-5ab3-492d-a674-344e4c63abf1",
      "ContentItemId": "3cfedc93-6872-48a1-a9a4-3817244b2219",
      "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-25T06:34:28.767258+00:00",
      "RescheduleDate": "2026-02-25T06:34:28.767258+00:00"
    },
    {
      "Id": "4d0d5e9e-5ab3-492d-a674-344e4c63abf1",
      "ContentItemId": "3cfedc93-6872-48a1-a9a4-3817244b2219",
      "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-25T06:34:28.767258+00:00",
      "RescheduleDate": "2026-02-25T06:34:28.767258+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": "951a30f2-f642-4dc3-9429-fad77eb94573",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-02-25T06:34:28.7985122+00:00",
  "Registration": [
    {
      "Id": "d9ec1e34-1eaf-4751-8d2e-5d2afafe6a4e",
      "UserId": "4ce8e27c-2d20-4afa-b1fe-ef3b0dca1eb9",
      "IsCurrent": true,
      "CenterId": "5d731857-11d7-4bdd-89d2-1960d0ba4e92",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "5ceca446-8271-4695-bd34-86f2a7242489",
      "EndDate": "2026-02-25T06:34:28.767258+00:00",
      "StartDate": "2026-02-25T06:34:28.767258+00:00",
      "SchedulePreferenceDate": "2026-02-25T06:34:28.767258+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": "d9ec1e34-1eaf-4751-8d2e-5d2afafe6a4e",
      "UserId": "4ce8e27c-2d20-4afa-b1fe-ef3b0dca1eb9",
      "IsCurrent": true,
      "CenterId": "5d731857-11d7-4bdd-89d2-1960d0ba4e92",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "5ceca446-8271-4695-bd34-86f2a7242489",
      "EndDate": "2026-02-25T06:34:28.767258+00:00",
      "StartDate": "2026-02-25T06:34:28.767258+00:00",
      "SchedulePreferenceDate": "2026-02-25T06:34:28.767258+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-25T06:34:28.767258+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "bbdef092-62f8-42de-91c7-23c3358936d7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c9f9448c-1e89-403f-8abe-dedbd495b9e8",
      "Sequence": 1,
      "AncestorCategoryId": "dbd5b911-94ac-4bc9-97d0-18c1450d09fa",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e60d12c3-3d81-4f59-9b15-aa9c5cf4e024",
          "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": "e60d12c3-3d81-4f59-9b15-aa9c5cf4e024",
          "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": "bbdef092-62f8-42de-91c7-23c3358936d7",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c9f9448c-1e89-403f-8abe-dedbd495b9e8",
      "Sequence": 1,
      "AncestorCategoryId": "dbd5b911-94ac-4bc9-97d0-18c1450d09fa",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "e60d12c3-3d81-4f59-9b15-aa9c5cf4e024",
          "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": "e60d12c3-3d81-4f59-9b15-aa9c5cf4e024",
          "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": "1287c364-811c-447a-990b-693b84c5520d",
    "CategoryId": "30591ec0-c9f2-4916-86de-969c2fc6b23d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "235b0fab-a94c-4086-a61f-eb3af8934057",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "235b0fab-a94c-4086-a61f-eb3af8934057",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "25f3596e-21a2-4aa4-94a2-66fa0b317795",
      "Questions": [
        {
          "Id": "a5c8a2a7-6ca9-4cad-94d9-f09f240ddc86",
          "Answers": "sample string 2"
        },
        {
          "Id": "a5c8a2a7-6ca9-4cad-94d9-f09f240ddc86",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "25f3596e-21a2-4aa4-94a2-66fa0b317795",
      "Questions": [
        {
          "Id": "a5c8a2a7-6ca9-4cad-94d9-f09f240ddc86",
          "Answers": "sample string 2"
        },
        {
          "Id": "a5c8a2a7-6ca9-4cad-94d9-f09f240ddc86",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4d0d5e9e-5ab3-492d-a674-344e4c63abf1",
      "ContentItemId": "3cfedc93-6872-48a1-a9a4-3817244b2219",
      "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-25T06:34:28.767258+00:00",
      "RescheduleDate": "2026-02-25T06:34:28.767258+00:00"
    },
    {
      "Id": "4d0d5e9e-5ab3-492d-a674-344e4c63abf1",
      "ContentItemId": "3cfedc93-6872-48a1-a9a4-3817244b2219",
      "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-25T06:34:28.767258+00:00",
      "RescheduleDate": "2026-02-25T06:34:28.767258+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}