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": "e5b56df2-2b44-44b0-9a43-7a79b55ebe7b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-31T11:21:40.9428015+00:00",
  "Registration": [
    {
      "Id": "ad3a4382-b942-41b1-ad50-9cdb4fb57e36",
      "UserId": "dfad720f-0708-4ee3-8179-16a977d083c3",
      "IsCurrent": true,
      "CenterId": "9ee6d397-484e-481d-86c8-31df8f5528da",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b5f94626-dd3f-4c6e-9830-89e247c810b9",
      "EndDate": "2026-07-31T11:21:40.9428015+00:00",
      "StartDate": "2026-07-31T11:21:40.9428015+00:00",
      "SchedulePreferenceDate": "2026-07-31T11:21:40.9428015+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": "ad3a4382-b942-41b1-ad50-9cdb4fb57e36",
      "UserId": "dfad720f-0708-4ee3-8179-16a977d083c3",
      "IsCurrent": true,
      "CenterId": "9ee6d397-484e-481d-86c8-31df8f5528da",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b5f94626-dd3f-4c6e-9830-89e247c810b9",
      "EndDate": "2026-07-31T11:21:40.9428015+00:00",
      "StartDate": "2026-07-31T11:21:40.9428015+00:00",
      "SchedulePreferenceDate": "2026-07-31T11:21:40.9428015+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-07-31T11:21:40.9428015+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b3bac0a5-5e0c-4339-9d30-6b799f22800b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8217cddb-7d96-41fc-ba2e-b06b6c0cfc87",
      "Sequence": 1,
      "AncestorCategoryId": "1b732d9e-c01d-434a-9d87-ae5e4cf01ef4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ffc434ce-54ea-48b8-ab96-f901b0df4d5a",
          "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": "ffc434ce-54ea-48b8-ab96-f901b0df4d5a",
          "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": "b3bac0a5-5e0c-4339-9d30-6b799f22800b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8217cddb-7d96-41fc-ba2e-b06b6c0cfc87",
      "Sequence": 1,
      "AncestorCategoryId": "1b732d9e-c01d-434a-9d87-ae5e4cf01ef4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ffc434ce-54ea-48b8-ab96-f901b0df4d5a",
          "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": "ffc434ce-54ea-48b8-ab96-f901b0df4d5a",
          "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": "c97fc7ea-a6c5-482c-b041-4ac51c6b6120",
    "CategoryId": "94e93fa1-bd1f-4f9d-a385-56aebcca3bf3",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "4683713f-e321-428b-b4c6-f1a4863d52a5",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "4683713f-e321-428b-b4c6-f1a4863d52a5",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "2580b9b0-5be0-4e1a-8df4-87d44dd7c5d0",
      "Questions": [
        {
          "Id": "92f66ae4-7118-48f5-9a19-219f385b58ea",
          "Answers": "sample string 2"
        },
        {
          "Id": "92f66ae4-7118-48f5-9a19-219f385b58ea",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "2580b9b0-5be0-4e1a-8df4-87d44dd7c5d0",
      "Questions": [
        {
          "Id": "92f66ae4-7118-48f5-9a19-219f385b58ea",
          "Answers": "sample string 2"
        },
        {
          "Id": "92f66ae4-7118-48f5-9a19-219f385b58ea",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "90c00bd2-697d-4275-9bf4-87476196f7fc",
      "ContentItemId": "04bf16db-6a26-4643-8701-0848fd7790e8",
      "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-07-31T11:21:40.9428015+00:00",
      "RescheduleDate": "2026-07-31T11:21:40.9428015+00:00"
    },
    {
      "Id": "90c00bd2-697d-4275-9bf4-87476196f7fc",
      "ContentItemId": "04bf16db-6a26-4643-8701-0848fd7790e8",
      "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-07-31T11:21:40.9428015+00:00",
      "RescheduleDate": "2026-07-31T11:21:40.9428015+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": "e5b56df2-2b44-44b0-9a43-7a79b55ebe7b",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-31T11:21:40.989679+00:00",
  "Registration": [
    {
      "Id": "ad3a4382-b942-41b1-ad50-9cdb4fb57e36",
      "UserId": "dfad720f-0708-4ee3-8179-16a977d083c3",
      "IsCurrent": true,
      "CenterId": "9ee6d397-484e-481d-86c8-31df8f5528da",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b5f94626-dd3f-4c6e-9830-89e247c810b9",
      "EndDate": "2026-07-31T11:21:40.9428015+00:00",
      "StartDate": "2026-07-31T11:21:40.9428015+00:00",
      "SchedulePreferenceDate": "2026-07-31T11:21:40.9428015+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": "ad3a4382-b942-41b1-ad50-9cdb4fb57e36",
      "UserId": "dfad720f-0708-4ee3-8179-16a977d083c3",
      "IsCurrent": true,
      "CenterId": "9ee6d397-484e-481d-86c8-31df8f5528da",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "b5f94626-dd3f-4c6e-9830-89e247c810b9",
      "EndDate": "2026-07-31T11:21:40.9428015+00:00",
      "StartDate": "2026-07-31T11:21:40.9428015+00:00",
      "SchedulePreferenceDate": "2026-07-31T11:21:40.9428015+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-07-31T11:21:40.9428015+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "b3bac0a5-5e0c-4339-9d30-6b799f22800b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8217cddb-7d96-41fc-ba2e-b06b6c0cfc87",
      "Sequence": 1,
      "AncestorCategoryId": "1b732d9e-c01d-434a-9d87-ae5e4cf01ef4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ffc434ce-54ea-48b8-ab96-f901b0df4d5a",
          "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": "ffc434ce-54ea-48b8-ab96-f901b0df4d5a",
          "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": "b3bac0a5-5e0c-4339-9d30-6b799f22800b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "8217cddb-7d96-41fc-ba2e-b06b6c0cfc87",
      "Sequence": 1,
      "AncestorCategoryId": "1b732d9e-c01d-434a-9d87-ae5e4cf01ef4",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ffc434ce-54ea-48b8-ab96-f901b0df4d5a",
          "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": "ffc434ce-54ea-48b8-ab96-f901b0df4d5a",
          "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": "c97fc7ea-a6c5-482c-b041-4ac51c6b6120",
    "CategoryId": "94e93fa1-bd1f-4f9d-a385-56aebcca3bf3",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "4683713f-e321-428b-b4c6-f1a4863d52a5",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "4683713f-e321-428b-b4c6-f1a4863d52a5",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "2580b9b0-5be0-4e1a-8df4-87d44dd7c5d0",
      "Questions": [
        {
          "Id": "92f66ae4-7118-48f5-9a19-219f385b58ea",
          "Answers": "sample string 2"
        },
        {
          "Id": "92f66ae4-7118-48f5-9a19-219f385b58ea",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "2580b9b0-5be0-4e1a-8df4-87d44dd7c5d0",
      "Questions": [
        {
          "Id": "92f66ae4-7118-48f5-9a19-219f385b58ea",
          "Answers": "sample string 2"
        },
        {
          "Id": "92f66ae4-7118-48f5-9a19-219f385b58ea",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "90c00bd2-697d-4275-9bf4-87476196f7fc",
      "ContentItemId": "04bf16db-6a26-4643-8701-0848fd7790e8",
      "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-07-31T11:21:40.9428015+00:00",
      "RescheduleDate": "2026-07-31T11:21:40.9428015+00:00"
    },
    {
      "Id": "90c00bd2-697d-4275-9bf4-87476196f7fc",
      "ContentItemId": "04bf16db-6a26-4643-8701-0848fd7790e8",
      "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-07-31T11:21:40.9428015+00:00",
      "RescheduleDate": "2026-07-31T11:21:40.9428015+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}