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": "ed4d57a0-0b98-4c5a-ace2-3fb9cfb93af0",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-10T23:20:13.1195474+00:00",
  "Registration": [
    {
      "Id": "289232fe-96f2-4d32-b5a2-bbad643ea6c2",
      "UserId": "468e8b86-1d10-41a0-a095-0c1d6a97758f",
      "IsCurrent": true,
      "CenterId": "f7fea3bb-d8fe-490f-8a97-4e0a556be357",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "a552cc37-dc3d-4cff-aca1-19db51953c4d",
      "EndDate": "2026-11-10T23:20:13.1195474+00:00",
      "StartDate": "2026-11-10T23:20:13.1195474+00:00",
      "SchedulePreferenceDate": "2026-11-10T23:20:13.1195474+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": "289232fe-96f2-4d32-b5a2-bbad643ea6c2",
      "UserId": "468e8b86-1d10-41a0-a095-0c1d6a97758f",
      "IsCurrent": true,
      "CenterId": "f7fea3bb-d8fe-490f-8a97-4e0a556be357",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "a552cc37-dc3d-4cff-aca1-19db51953c4d",
      "EndDate": "2026-11-10T23:20:13.1195474+00:00",
      "StartDate": "2026-11-10T23:20:13.1195474+00:00",
      "SchedulePreferenceDate": "2026-11-10T23:20:13.1195474+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-10T23:20:13.1195474+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "72cd7e01-6a00-4089-af32-20dedec1ecbc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "30e69c9e-445b-4070-aabc-59b0b80106fd",
      "Sequence": 1,
      "AncestorCategoryId": "99c0ef92-f0d3-42ac-8a7b-f01fbc066365",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9645ed74-a816-48e8-ba1d-b0b0da879226",
          "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": "9645ed74-a816-48e8-ba1d-b0b0da879226",
          "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": "72cd7e01-6a00-4089-af32-20dedec1ecbc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "30e69c9e-445b-4070-aabc-59b0b80106fd",
      "Sequence": 1,
      "AncestorCategoryId": "99c0ef92-f0d3-42ac-8a7b-f01fbc066365",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9645ed74-a816-48e8-ba1d-b0b0da879226",
          "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": "9645ed74-a816-48e8-ba1d-b0b0da879226",
          "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": "f30894f0-2994-4188-823f-d383f05d9ee7",
    "CategoryId": "8f405289-7e97-46a0-9c7e-69d7e4ca6001",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "fc61490a-2891-4935-90ac-46865d0be0a8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "fc61490a-2891-4935-90ac-46865d0be0a8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "93f3f0a0-bebb-4a39-8ecd-778d5713f465",
      "Questions": [
        {
          "Id": "1a676116-ec2d-422b-a6d0-9fdaa44225a9",
          "Answers": "sample string 2"
        },
        {
          "Id": "1a676116-ec2d-422b-a6d0-9fdaa44225a9",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "93f3f0a0-bebb-4a39-8ecd-778d5713f465",
      "Questions": [
        {
          "Id": "1a676116-ec2d-422b-a6d0-9fdaa44225a9",
          "Answers": "sample string 2"
        },
        {
          "Id": "1a676116-ec2d-422b-a6d0-9fdaa44225a9",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6775e309-8f54-43ec-b23b-c89a649bdc56",
      "ContentItemId": "cdf6696a-5e69-485c-aafa-3455f52f2cd2",
      "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-10T23:20:13.1195474+00:00",
      "RescheduleDate": "2026-11-10T23:20:13.1195474+00:00"
    },
    {
      "Id": "6775e309-8f54-43ec-b23b-c89a649bdc56",
      "ContentItemId": "cdf6696a-5e69-485c-aafa-3455f52f2cd2",
      "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-10T23:20:13.1195474+00:00",
      "RescheduleDate": "2026-11-10T23:20:13.1195474+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": "ed4d57a0-0b98-4c5a-ace2-3fb9cfb93af0",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-10T23:20:13.2289244+00:00",
  "Registration": [
    {
      "Id": "289232fe-96f2-4d32-b5a2-bbad643ea6c2",
      "UserId": "468e8b86-1d10-41a0-a095-0c1d6a97758f",
      "IsCurrent": true,
      "CenterId": "f7fea3bb-d8fe-490f-8a97-4e0a556be357",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "a552cc37-dc3d-4cff-aca1-19db51953c4d",
      "EndDate": "2026-11-10T23:20:13.1195474+00:00",
      "StartDate": "2026-11-10T23:20:13.1195474+00:00",
      "SchedulePreferenceDate": "2026-11-10T23:20:13.1195474+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": "289232fe-96f2-4d32-b5a2-bbad643ea6c2",
      "UserId": "468e8b86-1d10-41a0-a095-0c1d6a97758f",
      "IsCurrent": true,
      "CenterId": "f7fea3bb-d8fe-490f-8a97-4e0a556be357",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "a552cc37-dc3d-4cff-aca1-19db51953c4d",
      "EndDate": "2026-11-10T23:20:13.1195474+00:00",
      "StartDate": "2026-11-10T23:20:13.1195474+00:00",
      "SchedulePreferenceDate": "2026-11-10T23:20:13.1195474+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-10T23:20:13.1195474+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "72cd7e01-6a00-4089-af32-20dedec1ecbc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "30e69c9e-445b-4070-aabc-59b0b80106fd",
      "Sequence": 1,
      "AncestorCategoryId": "99c0ef92-f0d3-42ac-8a7b-f01fbc066365",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9645ed74-a816-48e8-ba1d-b0b0da879226",
          "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": "9645ed74-a816-48e8-ba1d-b0b0da879226",
          "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": "72cd7e01-6a00-4089-af32-20dedec1ecbc",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "30e69c9e-445b-4070-aabc-59b0b80106fd",
      "Sequence": 1,
      "AncestorCategoryId": "99c0ef92-f0d3-42ac-8a7b-f01fbc066365",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9645ed74-a816-48e8-ba1d-b0b0da879226",
          "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": "9645ed74-a816-48e8-ba1d-b0b0da879226",
          "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": "f30894f0-2994-4188-823f-d383f05d9ee7",
    "CategoryId": "8f405289-7e97-46a0-9c7e-69d7e4ca6001",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "fc61490a-2891-4935-90ac-46865d0be0a8",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "fc61490a-2891-4935-90ac-46865d0be0a8",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "93f3f0a0-bebb-4a39-8ecd-778d5713f465",
      "Questions": [
        {
          "Id": "1a676116-ec2d-422b-a6d0-9fdaa44225a9",
          "Answers": "sample string 2"
        },
        {
          "Id": "1a676116-ec2d-422b-a6d0-9fdaa44225a9",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "93f3f0a0-bebb-4a39-8ecd-778d5713f465",
      "Questions": [
        {
          "Id": "1a676116-ec2d-422b-a6d0-9fdaa44225a9",
          "Answers": "sample string 2"
        },
        {
          "Id": "1a676116-ec2d-422b-a6d0-9fdaa44225a9",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "6775e309-8f54-43ec-b23b-c89a649bdc56",
      "ContentItemId": "cdf6696a-5e69-485c-aafa-3455f52f2cd2",
      "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-10T23:20:13.1195474+00:00",
      "RescheduleDate": "2026-11-10T23:20:13.1195474+00:00"
    },
    {
      "Id": "6775e309-8f54-43ec-b23b-c89a649bdc56",
      "ContentItemId": "cdf6696a-5e69-485c-aafa-3455f52f2cd2",
      "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-10T23:20:13.1195474+00:00",
      "RescheduleDate": "2026-11-10T23:20:13.1195474+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}