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": "af0602a5-82b7-4c3a-bfd1-67dc04addd86",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-11-22T14:21:37.2833472+00:00",
  "Registration": [
    {
      "Id": "61ba51ee-2fa1-4c6d-87bf-c844f477f61e",
      "UserId": "14ab8abe-c168-487e-8dcd-4a9d68c5dd9c",
      "IsCurrent": true,
      "CenterId": "1227227e-646a-4a71-a805-52d306099158",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "d62ecc47-4fc3-4018-83ba-3a070c7ad15c",
      "EndDate": "2025-11-22T14:21:37.2677916+00:00",
      "StartDate": "2025-11-22T14:21:37.2677916+00:00",
      "SchedulePreferenceDate": "2025-11-22T14:21:37.2677916+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": "61ba51ee-2fa1-4c6d-87bf-c844f477f61e",
      "UserId": "14ab8abe-c168-487e-8dcd-4a9d68c5dd9c",
      "IsCurrent": true,
      "CenterId": "1227227e-646a-4a71-a805-52d306099158",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "d62ecc47-4fc3-4018-83ba-3a070c7ad15c",
      "EndDate": "2025-11-22T14:21:37.2677916+00:00",
      "StartDate": "2025-11-22T14:21:37.2677916+00:00",
      "SchedulePreferenceDate": "2025-11-22T14:21:37.2677916+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-22T14:21:37.2677916+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "74078b16-5e76-4ad7-a8ed-d37abc7a7c18",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c4ffb537-63af-46ed-adb4-444c2aa5896f",
      "Sequence": 1,
      "AncestorCategoryId": "39470263-f26f-4ad9-9539-b87f73c24af9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "62c0f7eb-0e89-4db9-bf4a-73fe8b6be43a",
          "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": "62c0f7eb-0e89-4db9-bf4a-73fe8b6be43a",
          "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": "74078b16-5e76-4ad7-a8ed-d37abc7a7c18",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c4ffb537-63af-46ed-adb4-444c2aa5896f",
      "Sequence": 1,
      "AncestorCategoryId": "39470263-f26f-4ad9-9539-b87f73c24af9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "62c0f7eb-0e89-4db9-bf4a-73fe8b6be43a",
          "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": "62c0f7eb-0e89-4db9-bf4a-73fe8b6be43a",
          "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": "cf90418b-f2ce-4936-854f-6247c1e15727",
    "CategoryId": "fafedc83-f24c-48fc-bc44-1f55ce58e4cf",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d80c2389-99f6-4809-ada2-f59346bb15a7",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d80c2389-99f6-4809-ada2-f59346bb15a7",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a72ad743-1434-42e1-88e6-6bc4a6010ac9",
      "Questions": [
        {
          "Id": "6ee48d02-1114-49fb-aff9-a01c19314747",
          "Answers": "sample string 2"
        },
        {
          "Id": "6ee48d02-1114-49fb-aff9-a01c19314747",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a72ad743-1434-42e1-88e6-6bc4a6010ac9",
      "Questions": [
        {
          "Id": "6ee48d02-1114-49fb-aff9-a01c19314747",
          "Answers": "sample string 2"
        },
        {
          "Id": "6ee48d02-1114-49fb-aff9-a01c19314747",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "691c014f-d30c-4f6a-9fb2-8e264edf12c5",
      "ContentItemId": "d4aa9975-3a1e-4f4c-ad5e-4605aa87575c",
      "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-22T14:21:37.2677916+00:00",
      "RescheduleDate": "2025-11-22T14:21:37.2677916+00:00"
    },
    {
      "Id": "691c014f-d30c-4f6a-9fb2-8e264edf12c5",
      "ContentItemId": "d4aa9975-3a1e-4f4c-ad5e-4605aa87575c",
      "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-22T14:21:37.2677916+00:00",
      "RescheduleDate": "2025-11-22T14:21:37.2677916+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": "af0602a5-82b7-4c3a-bfd1-67dc04addd86",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-11-22T14:21:37.3145988+00:00",
  "Registration": [
    {
      "Id": "61ba51ee-2fa1-4c6d-87bf-c844f477f61e",
      "UserId": "14ab8abe-c168-487e-8dcd-4a9d68c5dd9c",
      "IsCurrent": true,
      "CenterId": "1227227e-646a-4a71-a805-52d306099158",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "d62ecc47-4fc3-4018-83ba-3a070c7ad15c",
      "EndDate": "2025-11-22T14:21:37.2677916+00:00",
      "StartDate": "2025-11-22T14:21:37.2677916+00:00",
      "SchedulePreferenceDate": "2025-11-22T14:21:37.2677916+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": "61ba51ee-2fa1-4c6d-87bf-c844f477f61e",
      "UserId": "14ab8abe-c168-487e-8dcd-4a9d68c5dd9c",
      "IsCurrent": true,
      "CenterId": "1227227e-646a-4a71-a805-52d306099158",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "d62ecc47-4fc3-4018-83ba-3a070c7ad15c",
      "EndDate": "2025-11-22T14:21:37.2677916+00:00",
      "StartDate": "2025-11-22T14:21:37.2677916+00:00",
      "SchedulePreferenceDate": "2025-11-22T14:21:37.2677916+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-22T14:21:37.2677916+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "74078b16-5e76-4ad7-a8ed-d37abc7a7c18",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c4ffb537-63af-46ed-adb4-444c2aa5896f",
      "Sequence": 1,
      "AncestorCategoryId": "39470263-f26f-4ad9-9539-b87f73c24af9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "62c0f7eb-0e89-4db9-bf4a-73fe8b6be43a",
          "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": "62c0f7eb-0e89-4db9-bf4a-73fe8b6be43a",
          "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": "74078b16-5e76-4ad7-a8ed-d37abc7a7c18",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c4ffb537-63af-46ed-adb4-444c2aa5896f",
      "Sequence": 1,
      "AncestorCategoryId": "39470263-f26f-4ad9-9539-b87f73c24af9",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "62c0f7eb-0e89-4db9-bf4a-73fe8b6be43a",
          "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": "62c0f7eb-0e89-4db9-bf4a-73fe8b6be43a",
          "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": "cf90418b-f2ce-4936-854f-6247c1e15727",
    "CategoryId": "fafedc83-f24c-48fc-bc44-1f55ce58e4cf",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d80c2389-99f6-4809-ada2-f59346bb15a7",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d80c2389-99f6-4809-ada2-f59346bb15a7",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "a72ad743-1434-42e1-88e6-6bc4a6010ac9",
      "Questions": [
        {
          "Id": "6ee48d02-1114-49fb-aff9-a01c19314747",
          "Answers": "sample string 2"
        },
        {
          "Id": "6ee48d02-1114-49fb-aff9-a01c19314747",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "a72ad743-1434-42e1-88e6-6bc4a6010ac9",
      "Questions": [
        {
          "Id": "6ee48d02-1114-49fb-aff9-a01c19314747",
          "Answers": "sample string 2"
        },
        {
          "Id": "6ee48d02-1114-49fb-aff9-a01c19314747",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "691c014f-d30c-4f6a-9fb2-8e264edf12c5",
      "ContentItemId": "d4aa9975-3a1e-4f4c-ad5e-4605aa87575c",
      "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-22T14:21:37.2677916+00:00",
      "RescheduleDate": "2025-11-22T14:21:37.2677916+00:00"
    },
    {
      "Id": "691c014f-d30c-4f6a-9fb2-8e264edf12c5",
      "ContentItemId": "d4aa9975-3a1e-4f4c-ad5e-4605aa87575c",
      "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-22T14:21:37.2677916+00:00",
      "RescheduleDate": "2025-11-22T14:21:37.2677916+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}