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": "ae63cf17-1137-49f4-9158-d7d21dabd9dd",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-11-28T11:48:16.0228605+00:00",
  "Registration": [
    {
      "Id": "575a4ac7-c65b-4b48-9524-ba797256942b",
      "UserId": "df9250d6-81fc-43b4-b5bf-d115251a0326",
      "IsCurrent": true,
      "CenterId": "53af38b9-20cf-47c6-9ca3-7f3940bd8557",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "412b11bb-9166-4b94-a9fa-3b4cd1d7e2bf",
      "EndDate": "2025-11-28T11:48:16.0228605+00:00",
      "StartDate": "2025-11-28T11:48:16.0228605+00:00",
      "SchedulePreferenceDate": "2025-11-28T11:48:16.0228605+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": "575a4ac7-c65b-4b48-9524-ba797256942b",
      "UserId": "df9250d6-81fc-43b4-b5bf-d115251a0326",
      "IsCurrent": true,
      "CenterId": "53af38b9-20cf-47c6-9ca3-7f3940bd8557",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "412b11bb-9166-4b94-a9fa-3b4cd1d7e2bf",
      "EndDate": "2025-11-28T11:48:16.0228605+00:00",
      "StartDate": "2025-11-28T11:48:16.0228605+00:00",
      "SchedulePreferenceDate": "2025-11-28T11:48:16.0228605+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": "2025-11-28T11:48:16.0228605+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b04c9221-c2c7-4dba-bdd8-c2f7513dcc93",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "af0d9f32-27ad-4f2e-962d-ef7197ba1344",
      "Sequence": 1,
      "AncestorCategoryId": "1e0fb7ac-0872-4e86-a448-34f64bbfcb30",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "712a471e-0915-4ace-ac84-eab8be4c044c",
          "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": "712a471e-0915-4ace-ac84-eab8be4c044c",
          "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": "b04c9221-c2c7-4dba-bdd8-c2f7513dcc93",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "af0d9f32-27ad-4f2e-962d-ef7197ba1344",
      "Sequence": 1,
      "AncestorCategoryId": "1e0fb7ac-0872-4e86-a448-34f64bbfcb30",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "712a471e-0915-4ace-ac84-eab8be4c044c",
          "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": "712a471e-0915-4ace-ac84-eab8be4c044c",
          "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": "25ac7065-379a-4b77-905f-140f75b6bd28",
    "CategoryId": "0db71fb1-c4a5-43a8-a169-002cffc5cc00",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ef36c3a7-d6b2-4049-a3d2-f0ad6b488809",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ef36c3a7-d6b2-4049-a3d2-f0ad6b488809",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "fc6fa6c3-4a19-4b54-99b8-800c1ec4d8c7",
      "Questions": [
        {
          "Id": "bf68dc2a-8cce-426c-8e75-28f0200300c5",
          "Answers": "sample string 2"
        },
        {
          "Id": "bf68dc2a-8cce-426c-8e75-28f0200300c5",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "fc6fa6c3-4a19-4b54-99b8-800c1ec4d8c7",
      "Questions": [
        {
          "Id": "bf68dc2a-8cce-426c-8e75-28f0200300c5",
          "Answers": "sample string 2"
        },
        {
          "Id": "bf68dc2a-8cce-426c-8e75-28f0200300c5",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d94ec570-ddfa-45e2-87ca-7363ed621ff0",
      "ContentItemId": "1b74e488-e7a8-442a-9881-b7bebfda7af2",
      "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": "2025-11-28T11:48:16.0228605+00:00",
      "RescheduleDate": "2025-11-28T11:48:16.0228605+00:00"
    },
    {
      "Id": "d94ec570-ddfa-45e2-87ca-7363ed621ff0",
      "ContentItemId": "1b74e488-e7a8-442a-9881-b7bebfda7af2",
      "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": "2025-11-28T11:48:16.0228605+00:00",
      "RescheduleDate": "2025-11-28T11:48:16.0228605+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": "ae63cf17-1137-49f4-9158-d7d21dabd9dd",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-11-28T11:48:16.0697383+00:00",
  "Registration": [
    {
      "Id": "575a4ac7-c65b-4b48-9524-ba797256942b",
      "UserId": "df9250d6-81fc-43b4-b5bf-d115251a0326",
      "IsCurrent": true,
      "CenterId": "53af38b9-20cf-47c6-9ca3-7f3940bd8557",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "412b11bb-9166-4b94-a9fa-3b4cd1d7e2bf",
      "EndDate": "2025-11-28T11:48:16.0228605+00:00",
      "StartDate": "2025-11-28T11:48:16.0228605+00:00",
      "SchedulePreferenceDate": "2025-11-28T11:48:16.0228605+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": "575a4ac7-c65b-4b48-9524-ba797256942b",
      "UserId": "df9250d6-81fc-43b4-b5bf-d115251a0326",
      "IsCurrent": true,
      "CenterId": "53af38b9-20cf-47c6-9ca3-7f3940bd8557",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "412b11bb-9166-4b94-a9fa-3b4cd1d7e2bf",
      "EndDate": "2025-11-28T11:48:16.0228605+00:00",
      "StartDate": "2025-11-28T11:48:16.0228605+00:00",
      "SchedulePreferenceDate": "2025-11-28T11:48:16.0228605+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": "2025-11-28T11:48:16.0228605+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b04c9221-c2c7-4dba-bdd8-c2f7513dcc93",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "af0d9f32-27ad-4f2e-962d-ef7197ba1344",
      "Sequence": 1,
      "AncestorCategoryId": "1e0fb7ac-0872-4e86-a448-34f64bbfcb30",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "712a471e-0915-4ace-ac84-eab8be4c044c",
          "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": "712a471e-0915-4ace-ac84-eab8be4c044c",
          "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": "b04c9221-c2c7-4dba-bdd8-c2f7513dcc93",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "af0d9f32-27ad-4f2e-962d-ef7197ba1344",
      "Sequence": 1,
      "AncestorCategoryId": "1e0fb7ac-0872-4e86-a448-34f64bbfcb30",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "712a471e-0915-4ace-ac84-eab8be4c044c",
          "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": "712a471e-0915-4ace-ac84-eab8be4c044c",
          "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": "25ac7065-379a-4b77-905f-140f75b6bd28",
    "CategoryId": "0db71fb1-c4a5-43a8-a169-002cffc5cc00",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ef36c3a7-d6b2-4049-a3d2-f0ad6b488809",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ef36c3a7-d6b2-4049-a3d2-f0ad6b488809",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "fc6fa6c3-4a19-4b54-99b8-800c1ec4d8c7",
      "Questions": [
        {
          "Id": "bf68dc2a-8cce-426c-8e75-28f0200300c5",
          "Answers": "sample string 2"
        },
        {
          "Id": "bf68dc2a-8cce-426c-8e75-28f0200300c5",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "fc6fa6c3-4a19-4b54-99b8-800c1ec4d8c7",
      "Questions": [
        {
          "Id": "bf68dc2a-8cce-426c-8e75-28f0200300c5",
          "Answers": "sample string 2"
        },
        {
          "Id": "bf68dc2a-8cce-426c-8e75-28f0200300c5",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d94ec570-ddfa-45e2-87ca-7363ed621ff0",
      "ContentItemId": "1b74e488-e7a8-442a-9881-b7bebfda7af2",
      "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": "2025-11-28T11:48:16.0228605+00:00",
      "RescheduleDate": "2025-11-28T11:48:16.0228605+00:00"
    },
    {
      "Id": "d94ec570-ddfa-45e2-87ca-7363ed621ff0",
      "ContentItemId": "1b74e488-e7a8-442a-9881-b7bebfda7af2",
      "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": "2025-11-28T11:48:16.0228605+00:00",
      "RescheduleDate": "2025-11-28T11:48:16.0228605+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}