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": "13a3da02-65b0-4f4f-8943-3eb8df296709",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-21T21:10:07.5997688+00:00",
  "Registration": [
    {
      "Id": "72f6a7f2-1407-4c6a-bcfa-1442dabcc6e1",
      "UserId": "c78c377d-4fea-480b-a676-3e2d0e09b993",
      "IsCurrent": true,
      "CenterId": "7a602fe4-6b69-4e02-a474-58e49f963f44",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "20f5ddb4-69b3-4b0b-adcb-53a459976729",
      "EndDate": "2026-04-21T21:10:07.5997688+00:00",
      "StartDate": "2026-04-21T21:10:07.5997688+00:00",
      "SchedulePreferenceDate": "2026-04-21T21:10:07.5997688+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": "72f6a7f2-1407-4c6a-bcfa-1442dabcc6e1",
      "UserId": "c78c377d-4fea-480b-a676-3e2d0e09b993",
      "IsCurrent": true,
      "CenterId": "7a602fe4-6b69-4e02-a474-58e49f963f44",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "20f5ddb4-69b3-4b0b-adcb-53a459976729",
      "EndDate": "2026-04-21T21:10:07.5997688+00:00",
      "StartDate": "2026-04-21T21:10:07.5997688+00:00",
      "SchedulePreferenceDate": "2026-04-21T21:10:07.5997688+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-04-21T21:10:07.5997688+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2098522f-5299-4cab-abc7-3acf6624fdec",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "593628cb-5a8f-41cc-81bc-50c9df7788ec",
      "Sequence": 1,
      "AncestorCategoryId": "2a61af48-55ab-450a-a5e4-6f56b0255105",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9ce6469c-8f8b-47a9-be1c-4eb6ab0750e7",
          "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": "9ce6469c-8f8b-47a9-be1c-4eb6ab0750e7",
          "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": "2098522f-5299-4cab-abc7-3acf6624fdec",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "593628cb-5a8f-41cc-81bc-50c9df7788ec",
      "Sequence": 1,
      "AncestorCategoryId": "2a61af48-55ab-450a-a5e4-6f56b0255105",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9ce6469c-8f8b-47a9-be1c-4eb6ab0750e7",
          "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": "9ce6469c-8f8b-47a9-be1c-4eb6ab0750e7",
          "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": "480e11bf-17e6-4429-a2e2-4dae3ebb90e6",
    "CategoryId": "adf271c9-b272-4129-b029-d7f9c09845f6",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "41cae17c-19f7-4e9b-9062-da4247cc4843",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "41cae17c-19f7-4e9b-9062-da4247cc4843",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "103a960f-3411-4634-b6fd-f6bcda38d849",
      "Questions": [
        {
          "Id": "591fd222-7340-496c-a95c-a00851fba702",
          "Answers": "sample string 2"
        },
        {
          "Id": "591fd222-7340-496c-a95c-a00851fba702",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "103a960f-3411-4634-b6fd-f6bcda38d849",
      "Questions": [
        {
          "Id": "591fd222-7340-496c-a95c-a00851fba702",
          "Answers": "sample string 2"
        },
        {
          "Id": "591fd222-7340-496c-a95c-a00851fba702",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a87aa07b-70ae-46c2-b11f-28bb9dda2bd9",
      "ContentItemId": "64366b87-57b1-407c-a4aa-839e8477b090",
      "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-04-21T21:10:07.5997688+00:00",
      "RescheduleDate": "2026-04-21T21:10:07.5997688+00:00"
    },
    {
      "Id": "a87aa07b-70ae-46c2-b11f-28bb9dda2bd9",
      "ContentItemId": "64366b87-57b1-407c-a4aa-839e8477b090",
      "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-04-21T21:10:07.5997688+00:00",
      "RescheduleDate": "2026-04-21T21:10:07.5997688+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": "13a3da02-65b0-4f4f-8943-3eb8df296709",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-21T21:10:07.6310168+00:00",
  "Registration": [
    {
      "Id": "72f6a7f2-1407-4c6a-bcfa-1442dabcc6e1",
      "UserId": "c78c377d-4fea-480b-a676-3e2d0e09b993",
      "IsCurrent": true,
      "CenterId": "7a602fe4-6b69-4e02-a474-58e49f963f44",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "20f5ddb4-69b3-4b0b-adcb-53a459976729",
      "EndDate": "2026-04-21T21:10:07.5997688+00:00",
      "StartDate": "2026-04-21T21:10:07.5997688+00:00",
      "SchedulePreferenceDate": "2026-04-21T21:10:07.5997688+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": "72f6a7f2-1407-4c6a-bcfa-1442dabcc6e1",
      "UserId": "c78c377d-4fea-480b-a676-3e2d0e09b993",
      "IsCurrent": true,
      "CenterId": "7a602fe4-6b69-4e02-a474-58e49f963f44",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "20f5ddb4-69b3-4b0b-adcb-53a459976729",
      "EndDate": "2026-04-21T21:10:07.5997688+00:00",
      "StartDate": "2026-04-21T21:10:07.5997688+00:00",
      "SchedulePreferenceDate": "2026-04-21T21:10:07.5997688+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-04-21T21:10:07.5997688+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2098522f-5299-4cab-abc7-3acf6624fdec",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "593628cb-5a8f-41cc-81bc-50c9df7788ec",
      "Sequence": 1,
      "AncestorCategoryId": "2a61af48-55ab-450a-a5e4-6f56b0255105",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9ce6469c-8f8b-47a9-be1c-4eb6ab0750e7",
          "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": "9ce6469c-8f8b-47a9-be1c-4eb6ab0750e7",
          "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": "2098522f-5299-4cab-abc7-3acf6624fdec",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "593628cb-5a8f-41cc-81bc-50c9df7788ec",
      "Sequence": 1,
      "AncestorCategoryId": "2a61af48-55ab-450a-a5e4-6f56b0255105",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9ce6469c-8f8b-47a9-be1c-4eb6ab0750e7",
          "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": "9ce6469c-8f8b-47a9-be1c-4eb6ab0750e7",
          "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": "480e11bf-17e6-4429-a2e2-4dae3ebb90e6",
    "CategoryId": "adf271c9-b272-4129-b029-d7f9c09845f6",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "41cae17c-19f7-4e9b-9062-da4247cc4843",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "41cae17c-19f7-4e9b-9062-da4247cc4843",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "103a960f-3411-4634-b6fd-f6bcda38d849",
      "Questions": [
        {
          "Id": "591fd222-7340-496c-a95c-a00851fba702",
          "Answers": "sample string 2"
        },
        {
          "Id": "591fd222-7340-496c-a95c-a00851fba702",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "103a960f-3411-4634-b6fd-f6bcda38d849",
      "Questions": [
        {
          "Id": "591fd222-7340-496c-a95c-a00851fba702",
          "Answers": "sample string 2"
        },
        {
          "Id": "591fd222-7340-496c-a95c-a00851fba702",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a87aa07b-70ae-46c2-b11f-28bb9dda2bd9",
      "ContentItemId": "64366b87-57b1-407c-a4aa-839e8477b090",
      "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-04-21T21:10:07.5997688+00:00",
      "RescheduleDate": "2026-04-21T21:10:07.5997688+00:00"
    },
    {
      "Id": "a87aa07b-70ae-46c2-b11f-28bb9dda2bd9",
      "ContentItemId": "64366b87-57b1-407c-a4aa-839e8477b090",
      "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-04-21T21:10:07.5997688+00:00",
      "RescheduleDate": "2026-04-21T21:10:07.5997688+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}