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": "4b7d0d73-0fa8-4519-920f-91b52e06b5d1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-09T17:22:02.7971135+00:00",
  "Registration": [
    {
      "Id": "ec265288-677d-4e1b-84a0-ea7e33715d1b",
      "UserId": "fd537515-c117-4cbf-84aa-39a8239ff329",
      "IsCurrent": true,
      "CenterId": "3874495e-6ba0-4142-aec8-9ed7ce111efc",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "13e67c49-a3fd-4625-a35a-22ec5472c0d1",
      "EndDate": "2026-07-09T17:22:02.7971135+00:00",
      "StartDate": "2026-07-09T17:22:02.7971135+00:00",
      "SchedulePreferenceDate": "2026-07-09T17:22:02.7971135+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": "ec265288-677d-4e1b-84a0-ea7e33715d1b",
      "UserId": "fd537515-c117-4cbf-84aa-39a8239ff329",
      "IsCurrent": true,
      "CenterId": "3874495e-6ba0-4142-aec8-9ed7ce111efc",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "13e67c49-a3fd-4625-a35a-22ec5472c0d1",
      "EndDate": "2026-07-09T17:22:02.7971135+00:00",
      "StartDate": "2026-07-09T17:22:02.7971135+00:00",
      "SchedulePreferenceDate": "2026-07-09T17:22:02.7971135+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-07-09T17:22:02.7971135+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "14c0e10c-e2ca-4371-b82f-f1fb5606ed6a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4a285585-2af2-44cd-872a-e42deefc320f",
      "Sequence": 1,
      "AncestorCategoryId": "2ea850d8-2a25-4824-a753-22119782f499",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8a748339-742c-4a1b-8cef-610555ff9438",
          "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": "8a748339-742c-4a1b-8cef-610555ff9438",
          "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": "14c0e10c-e2ca-4371-b82f-f1fb5606ed6a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4a285585-2af2-44cd-872a-e42deefc320f",
      "Sequence": 1,
      "AncestorCategoryId": "2ea850d8-2a25-4824-a753-22119782f499",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8a748339-742c-4a1b-8cef-610555ff9438",
          "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": "8a748339-742c-4a1b-8cef-610555ff9438",
          "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": "357ed9a8-611a-4956-aa48-7c2df9a3a4fe",
    "CategoryId": "4f5bba1f-0c66-4a29-bcb4-c51928a91ba8",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c7245a26-3149-4991-938e-2a70bb3b31e4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c7245a26-3149-4991-938e-2a70bb3b31e4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0379b133-49a8-41bb-b9ec-18381872a458",
      "Questions": [
        {
          "Id": "a0f9e289-1be8-47a5-a9fd-f368495de2e7",
          "Answers": "sample string 2"
        },
        {
          "Id": "a0f9e289-1be8-47a5-a9fd-f368495de2e7",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0379b133-49a8-41bb-b9ec-18381872a458",
      "Questions": [
        {
          "Id": "a0f9e289-1be8-47a5-a9fd-f368495de2e7",
          "Answers": "sample string 2"
        },
        {
          "Id": "a0f9e289-1be8-47a5-a9fd-f368495de2e7",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "e3d573a7-395b-4396-9491-268bb6b9c7dd",
      "ContentItemId": "0ad86767-3b0d-4f36-b1a7-27d6c92128b5",
      "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-07-09T17:22:02.7971135+00:00",
      "RescheduleDate": "2026-07-09T17:22:02.7971135+00:00"
    },
    {
      "Id": "e3d573a7-395b-4396-9491-268bb6b9c7dd",
      "ContentItemId": "0ad86767-3b0d-4f36-b1a7-27d6c92128b5",
      "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-07-09T17:22:02.7971135+00:00",
      "RescheduleDate": "2026-07-09T17:22:02.7971135+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": "4b7d0d73-0fa8-4519-920f-91b52e06b5d1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-09T17:22:02.8283697+00:00",
  "Registration": [
    {
      "Id": "ec265288-677d-4e1b-84a0-ea7e33715d1b",
      "UserId": "fd537515-c117-4cbf-84aa-39a8239ff329",
      "IsCurrent": true,
      "CenterId": "3874495e-6ba0-4142-aec8-9ed7ce111efc",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "13e67c49-a3fd-4625-a35a-22ec5472c0d1",
      "EndDate": "2026-07-09T17:22:02.7971135+00:00",
      "StartDate": "2026-07-09T17:22:02.7971135+00:00",
      "SchedulePreferenceDate": "2026-07-09T17:22:02.7971135+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": "ec265288-677d-4e1b-84a0-ea7e33715d1b",
      "UserId": "fd537515-c117-4cbf-84aa-39a8239ff329",
      "IsCurrent": true,
      "CenterId": "3874495e-6ba0-4142-aec8-9ed7ce111efc",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "13e67c49-a3fd-4625-a35a-22ec5472c0d1",
      "EndDate": "2026-07-09T17:22:02.7971135+00:00",
      "StartDate": "2026-07-09T17:22:02.7971135+00:00",
      "SchedulePreferenceDate": "2026-07-09T17:22:02.7971135+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-07-09T17:22:02.7971135+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "14c0e10c-e2ca-4371-b82f-f1fb5606ed6a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4a285585-2af2-44cd-872a-e42deefc320f",
      "Sequence": 1,
      "AncestorCategoryId": "2ea850d8-2a25-4824-a753-22119782f499",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8a748339-742c-4a1b-8cef-610555ff9438",
          "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": "8a748339-742c-4a1b-8cef-610555ff9438",
          "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": "14c0e10c-e2ca-4371-b82f-f1fb5606ed6a",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4a285585-2af2-44cd-872a-e42deefc320f",
      "Sequence": 1,
      "AncestorCategoryId": "2ea850d8-2a25-4824-a753-22119782f499",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "8a748339-742c-4a1b-8cef-610555ff9438",
          "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": "8a748339-742c-4a1b-8cef-610555ff9438",
          "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": "357ed9a8-611a-4956-aa48-7c2df9a3a4fe",
    "CategoryId": "4f5bba1f-0c66-4a29-bcb4-c51928a91ba8",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c7245a26-3149-4991-938e-2a70bb3b31e4",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c7245a26-3149-4991-938e-2a70bb3b31e4",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0379b133-49a8-41bb-b9ec-18381872a458",
      "Questions": [
        {
          "Id": "a0f9e289-1be8-47a5-a9fd-f368495de2e7",
          "Answers": "sample string 2"
        },
        {
          "Id": "a0f9e289-1be8-47a5-a9fd-f368495de2e7",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0379b133-49a8-41bb-b9ec-18381872a458",
      "Questions": [
        {
          "Id": "a0f9e289-1be8-47a5-a9fd-f368495de2e7",
          "Answers": "sample string 2"
        },
        {
          "Id": "a0f9e289-1be8-47a5-a9fd-f368495de2e7",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "e3d573a7-395b-4396-9491-268bb6b9c7dd",
      "ContentItemId": "0ad86767-3b0d-4f36-b1a7-27d6c92128b5",
      "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-07-09T17:22:02.7971135+00:00",
      "RescheduleDate": "2026-07-09T17:22:02.7971135+00:00"
    },
    {
      "Id": "e3d573a7-395b-4396-9491-268bb6b9c7dd",
      "ContentItemId": "0ad86767-3b0d-4f36-b1a7-27d6c92128b5",
      "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-07-09T17:22:02.7971135+00:00",
      "RescheduleDate": "2026-07-09T17:22:02.7971135+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}