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": "7d532573-0781-4c21-aac5-e9d55840b6c1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-13T00:11:34.06237+00:00",
  "Registration": [
    {
      "Id": "0694d95c-61c5-4c4c-b020-b34135300ba8",
      "UserId": "cef9733c-556e-4f55-a4bf-9da18f7eeee2",
      "IsCurrent": true,
      "CenterId": "21b66ba7-b9d3-420b-8e14-a8eb5ab01c5e",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "7f7bf21e-340c-4966-a66a-a2487cf75c43",
      "EndDate": "2026-11-13T00:11:34.0311164+00:00",
      "StartDate": "2026-11-13T00:11:34.0311164+00:00",
      "SchedulePreferenceDate": "2026-11-13T00:11:34.0311164+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": "0694d95c-61c5-4c4c-b020-b34135300ba8",
      "UserId": "cef9733c-556e-4f55-a4bf-9da18f7eeee2",
      "IsCurrent": true,
      "CenterId": "21b66ba7-b9d3-420b-8e14-a8eb5ab01c5e",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "7f7bf21e-340c-4966-a66a-a2487cf75c43",
      "EndDate": "2026-11-13T00:11:34.0311164+00:00",
      "StartDate": "2026-11-13T00:11:34.0311164+00:00",
      "SchedulePreferenceDate": "2026-11-13T00:11:34.0311164+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-13T00:11:34.0311164+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c93d58ad-dd7d-436c-ac3a-fbe288e61e36",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c61bf467-9eba-4829-a26e-d604c5262425",
      "Sequence": 1,
      "AncestorCategoryId": "1b3c6186-df8a-4b39-b876-faed5420b4a9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "eb8a7f67-aa3c-4f5e-a189-2b1f252f88ed",
          "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": "eb8a7f67-aa3c-4f5e-a189-2b1f252f88ed",
          "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": "c93d58ad-dd7d-436c-ac3a-fbe288e61e36",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c61bf467-9eba-4829-a26e-d604c5262425",
      "Sequence": 1,
      "AncestorCategoryId": "1b3c6186-df8a-4b39-b876-faed5420b4a9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "eb8a7f67-aa3c-4f5e-a189-2b1f252f88ed",
          "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": "eb8a7f67-aa3c-4f5e-a189-2b1f252f88ed",
          "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": "f5abc190-7465-4813-ba06-39d954a54fb7",
    "CategoryId": "6ede40df-12ac-4ed9-8a1d-25e18daeb65f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a6e27b9e-b0c1-4ff0-af01-b276af928a03",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a6e27b9e-b0c1-4ff0-af01-b276af928a03",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "43d38483-f331-499d-a9b2-7ebba774fe92",
      "Questions": [
        {
          "Id": "062de1b7-5b5b-4fa9-a1c5-598828bb123f",
          "Answers": "sample string 2"
        },
        {
          "Id": "062de1b7-5b5b-4fa9-a1c5-598828bb123f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "43d38483-f331-499d-a9b2-7ebba774fe92",
      "Questions": [
        {
          "Id": "062de1b7-5b5b-4fa9-a1c5-598828bb123f",
          "Answers": "sample string 2"
        },
        {
          "Id": "062de1b7-5b5b-4fa9-a1c5-598828bb123f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "499b540c-f2bf-4d85-a951-f01fd2ed939a",
      "ContentItemId": "d922dd55-b67b-4e08-a584-d2e9b420f005",
      "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-13T00:11:34.0511281+00:00",
      "RescheduleDate": "2026-11-13T00:11:34.0511281+00:00"
    },
    {
      "Id": "499b540c-f2bf-4d85-a951-f01fd2ed939a",
      "ContentItemId": "d922dd55-b67b-4e08-a584-d2e9b420f005",
      "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-13T00:11:34.0511281+00:00",
      "RescheduleDate": "2026-11-13T00:11:34.0511281+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": "7d532573-0781-4c21-aac5-e9d55840b6c1",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-13T00:11:34.1571173+00:00",
  "Registration": [
    {
      "Id": "0694d95c-61c5-4c4c-b020-b34135300ba8",
      "UserId": "cef9733c-556e-4f55-a4bf-9da18f7eeee2",
      "IsCurrent": true,
      "CenterId": "21b66ba7-b9d3-420b-8e14-a8eb5ab01c5e",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "7f7bf21e-340c-4966-a66a-a2487cf75c43",
      "EndDate": "2026-11-13T00:11:34.0311164+00:00",
      "StartDate": "2026-11-13T00:11:34.0311164+00:00",
      "SchedulePreferenceDate": "2026-11-13T00:11:34.0311164+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": "0694d95c-61c5-4c4c-b020-b34135300ba8",
      "UserId": "cef9733c-556e-4f55-a4bf-9da18f7eeee2",
      "IsCurrent": true,
      "CenterId": "21b66ba7-b9d3-420b-8e14-a8eb5ab01c5e",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "7f7bf21e-340c-4966-a66a-a2487cf75c43",
      "EndDate": "2026-11-13T00:11:34.0311164+00:00",
      "StartDate": "2026-11-13T00:11:34.0311164+00:00",
      "SchedulePreferenceDate": "2026-11-13T00:11:34.0311164+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-13T00:11:34.0311164+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "c93d58ad-dd7d-436c-ac3a-fbe288e61e36",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c61bf467-9eba-4829-a26e-d604c5262425",
      "Sequence": 1,
      "AncestorCategoryId": "1b3c6186-df8a-4b39-b876-faed5420b4a9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "eb8a7f67-aa3c-4f5e-a189-2b1f252f88ed",
          "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": "eb8a7f67-aa3c-4f5e-a189-2b1f252f88ed",
          "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": "c93d58ad-dd7d-436c-ac3a-fbe288e61e36",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c61bf467-9eba-4829-a26e-d604c5262425",
      "Sequence": 1,
      "AncestorCategoryId": "1b3c6186-df8a-4b39-b876-faed5420b4a9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "eb8a7f67-aa3c-4f5e-a189-2b1f252f88ed",
          "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": "eb8a7f67-aa3c-4f5e-a189-2b1f252f88ed",
          "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": "f5abc190-7465-4813-ba06-39d954a54fb7",
    "CategoryId": "6ede40df-12ac-4ed9-8a1d-25e18daeb65f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "a6e27b9e-b0c1-4ff0-af01-b276af928a03",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "a6e27b9e-b0c1-4ff0-af01-b276af928a03",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "43d38483-f331-499d-a9b2-7ebba774fe92",
      "Questions": [
        {
          "Id": "062de1b7-5b5b-4fa9-a1c5-598828bb123f",
          "Answers": "sample string 2"
        },
        {
          "Id": "062de1b7-5b5b-4fa9-a1c5-598828bb123f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "43d38483-f331-499d-a9b2-7ebba774fe92",
      "Questions": [
        {
          "Id": "062de1b7-5b5b-4fa9-a1c5-598828bb123f",
          "Answers": "sample string 2"
        },
        {
          "Id": "062de1b7-5b5b-4fa9-a1c5-598828bb123f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "499b540c-f2bf-4d85-a951-f01fd2ed939a",
      "ContentItemId": "d922dd55-b67b-4e08-a584-d2e9b420f005",
      "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-13T00:11:34.0511281+00:00",
      "RescheduleDate": "2026-11-13T00:11:34.0511281+00:00"
    },
    {
      "Id": "499b540c-f2bf-4d85-a951-f01fd2ed939a",
      "ContentItemId": "d922dd55-b67b-4e08-a584-d2e9b420f005",
      "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-13T00:11:34.0511281+00:00",
      "RescheduleDate": "2026-11-13T00:11:34.0511281+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}