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": "543d35a2-4eb2-46e8-b4f4-dee1d7daf781",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-17T21:31:02.961205+00:00",
  "Registration": [
    {
      "Id": "d09b0c40-6720-465a-b0c3-cf55b0c23d69",
      "UserId": "fa9b1a02-b3a0-4774-b7f1-df60ba418dbf",
      "IsCurrent": true,
      "CenterId": "588a689c-a11d-42ec-afc8-25c09f158792",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "263ef31b-e417-4ca0-80fa-dc354e11ccd3",
      "EndDate": "2026-08-17T21:31:02.961205+00:00",
      "StartDate": "2026-08-17T21:31:02.961205+00:00",
      "SchedulePreferenceDate": "2026-08-17T21:31:02.961205+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": "d09b0c40-6720-465a-b0c3-cf55b0c23d69",
      "UserId": "fa9b1a02-b3a0-4774-b7f1-df60ba418dbf",
      "IsCurrent": true,
      "CenterId": "588a689c-a11d-42ec-afc8-25c09f158792",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "263ef31b-e417-4ca0-80fa-dc354e11ccd3",
      "EndDate": "2026-08-17T21:31:02.961205+00:00",
      "StartDate": "2026-08-17T21:31:02.961205+00:00",
      "SchedulePreferenceDate": "2026-08-17T21:31:02.961205+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-08-17T21:31:02.961205+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "432e6588-8c38-4940-b029-cc0f6c810a15",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5fc129e6-c8c3-41b0-8f47-3dcecfd5028d",
      "Sequence": 1,
      "AncestorCategoryId": "535f553c-918f-4f4f-b2b8-c4bf510b0a6a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "74dc3c91-b6a5-4c29-94c7-423b6a2c1601",
          "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": "74dc3c91-b6a5-4c29-94c7-423b6a2c1601",
          "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": "432e6588-8c38-4940-b029-cc0f6c810a15",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5fc129e6-c8c3-41b0-8f47-3dcecfd5028d",
      "Sequence": 1,
      "AncestorCategoryId": "535f553c-918f-4f4f-b2b8-c4bf510b0a6a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "74dc3c91-b6a5-4c29-94c7-423b6a2c1601",
          "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": "74dc3c91-b6a5-4c29-94c7-423b6a2c1601",
          "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": "bf663322-ea15-42c0-88f3-48276bfe884d",
    "CategoryId": "bc031510-686d-43e5-84be-eed0ae126a41",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "4eac90aa-d16f-4e3d-83f0-75284e0be123",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "4eac90aa-d16f-4e3d-83f0-75284e0be123",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0ce9a89c-c6c0-4660-ac81-91ce7b596c6f",
      "Questions": [
        {
          "Id": "556d5721-01a5-4c69-8b7b-61acf51ffb66",
          "Answers": "sample string 2"
        },
        {
          "Id": "556d5721-01a5-4c69-8b7b-61acf51ffb66",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0ce9a89c-c6c0-4660-ac81-91ce7b596c6f",
      "Questions": [
        {
          "Id": "556d5721-01a5-4c69-8b7b-61acf51ffb66",
          "Answers": "sample string 2"
        },
        {
          "Id": "556d5721-01a5-4c69-8b7b-61acf51ffb66",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a07974d7-472e-4efc-a57c-4c953759ffa6",
      "ContentItemId": "3a6ab1c8-ce90-4ca8-865d-70e1678fdc82",
      "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-08-17T21:31:02.961205+00:00",
      "RescheduleDate": "2026-08-17T21:31:02.961205+00:00"
    },
    {
      "Id": "a07974d7-472e-4efc-a57c-4c953759ffa6",
      "ContentItemId": "3a6ab1c8-ce90-4ca8-865d-70e1678fdc82",
      "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-08-17T21:31:02.961205+00:00",
      "RescheduleDate": "2026-08-17T21:31:02.961205+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": "543d35a2-4eb2-46e8-b4f4-dee1d7daf781",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-17T21:31:03.0080794+00:00",
  "Registration": [
    {
      "Id": "d09b0c40-6720-465a-b0c3-cf55b0c23d69",
      "UserId": "fa9b1a02-b3a0-4774-b7f1-df60ba418dbf",
      "IsCurrent": true,
      "CenterId": "588a689c-a11d-42ec-afc8-25c09f158792",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "263ef31b-e417-4ca0-80fa-dc354e11ccd3",
      "EndDate": "2026-08-17T21:31:02.961205+00:00",
      "StartDate": "2026-08-17T21:31:02.961205+00:00",
      "SchedulePreferenceDate": "2026-08-17T21:31:02.961205+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": "d09b0c40-6720-465a-b0c3-cf55b0c23d69",
      "UserId": "fa9b1a02-b3a0-4774-b7f1-df60ba418dbf",
      "IsCurrent": true,
      "CenterId": "588a689c-a11d-42ec-afc8-25c09f158792",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "263ef31b-e417-4ca0-80fa-dc354e11ccd3",
      "EndDate": "2026-08-17T21:31:02.961205+00:00",
      "StartDate": "2026-08-17T21:31:02.961205+00:00",
      "SchedulePreferenceDate": "2026-08-17T21:31:02.961205+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-08-17T21:31:02.961205+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "432e6588-8c38-4940-b029-cc0f6c810a15",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5fc129e6-c8c3-41b0-8f47-3dcecfd5028d",
      "Sequence": 1,
      "AncestorCategoryId": "535f553c-918f-4f4f-b2b8-c4bf510b0a6a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "74dc3c91-b6a5-4c29-94c7-423b6a2c1601",
          "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": "74dc3c91-b6a5-4c29-94c7-423b6a2c1601",
          "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": "432e6588-8c38-4940-b029-cc0f6c810a15",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "5fc129e6-c8c3-41b0-8f47-3dcecfd5028d",
      "Sequence": 1,
      "AncestorCategoryId": "535f553c-918f-4f4f-b2b8-c4bf510b0a6a",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "74dc3c91-b6a5-4c29-94c7-423b6a2c1601",
          "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": "74dc3c91-b6a5-4c29-94c7-423b6a2c1601",
          "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": "bf663322-ea15-42c0-88f3-48276bfe884d",
    "CategoryId": "bc031510-686d-43e5-84be-eed0ae126a41",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "4eac90aa-d16f-4e3d-83f0-75284e0be123",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "4eac90aa-d16f-4e3d-83f0-75284e0be123",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0ce9a89c-c6c0-4660-ac81-91ce7b596c6f",
      "Questions": [
        {
          "Id": "556d5721-01a5-4c69-8b7b-61acf51ffb66",
          "Answers": "sample string 2"
        },
        {
          "Id": "556d5721-01a5-4c69-8b7b-61acf51ffb66",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0ce9a89c-c6c0-4660-ac81-91ce7b596c6f",
      "Questions": [
        {
          "Id": "556d5721-01a5-4c69-8b7b-61acf51ffb66",
          "Answers": "sample string 2"
        },
        {
          "Id": "556d5721-01a5-4c69-8b7b-61acf51ffb66",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a07974d7-472e-4efc-a57c-4c953759ffa6",
      "ContentItemId": "3a6ab1c8-ce90-4ca8-865d-70e1678fdc82",
      "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-08-17T21:31:02.961205+00:00",
      "RescheduleDate": "2026-08-17T21:31:02.961205+00:00"
    },
    {
      "Id": "a07974d7-472e-4efc-a57c-4c953759ffa6",
      "ContentItemId": "3a6ab1c8-ce90-4ca8-865d-70e1678fdc82",
      "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-08-17T21:31:02.961205+00:00",
      "RescheduleDate": "2026-08-17T21:31:02.961205+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}