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": "753c0d31-7c23-4380-a860-62dcf241bbaf",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-11-29T16:10:16.097151+00:00",
  "Registration": [
    {
      "Id": "76da1c28-9d50-407b-a545-edcbf5b0edc1",
      "UserId": "81a638e4-e129-4b65-8d0a-4db03a40a3f1",
      "IsCurrent": true,
      "CenterId": "469b44d1-b4cf-4aa4-baaa-b3dd58b5b320",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "5dee115a-bf0a-4e6f-97b9-2b84622b41be",
      "EndDate": "2025-11-29T16:10:16.097151+00:00",
      "StartDate": "2025-11-29T16:10:16.097151+00:00",
      "SchedulePreferenceDate": "2025-11-29T16:10:16.097151+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": "76da1c28-9d50-407b-a545-edcbf5b0edc1",
      "UserId": "81a638e4-e129-4b65-8d0a-4db03a40a3f1",
      "IsCurrent": true,
      "CenterId": "469b44d1-b4cf-4aa4-baaa-b3dd58b5b320",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "5dee115a-bf0a-4e6f-97b9-2b84622b41be",
      "EndDate": "2025-11-29T16:10:16.097151+00:00",
      "StartDate": "2025-11-29T16:10:16.097151+00:00",
      "SchedulePreferenceDate": "2025-11-29T16:10:16.097151+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-29T16:10:16.097151+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "47bf9ac4-c787-4f3d-814b-1503fb6f1665",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "58f16bb3-d846-4dfc-b5f4-f77d0d437985",
      "Sequence": 1,
      "AncestorCategoryId": "b0a440e4-8583-41ff-af13-b73b7156a7ac",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1b0de3e4-4aa5-42d2-9bee-c2b6955acdb1",
          "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": "1b0de3e4-4aa5-42d2-9bee-c2b6955acdb1",
          "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": "47bf9ac4-c787-4f3d-814b-1503fb6f1665",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "58f16bb3-d846-4dfc-b5f4-f77d0d437985",
      "Sequence": 1,
      "AncestorCategoryId": "b0a440e4-8583-41ff-af13-b73b7156a7ac",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1b0de3e4-4aa5-42d2-9bee-c2b6955acdb1",
          "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": "1b0de3e4-4aa5-42d2-9bee-c2b6955acdb1",
          "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": "5a1da03d-c88b-4f77-a02e-ffd492a921b4",
    "CategoryId": "211eb2cb-9aeb-4d5c-935a-e191ef67dfb0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ccfec6aa-0dbb-4bea-a43e-510ce4bc3cf2",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ccfec6aa-0dbb-4bea-a43e-510ce4bc3cf2",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "72659f08-95c4-45e0-8bfb-ee5d84b0fe40",
      "Questions": [
        {
          "Id": "7f6fa9bc-5ab4-43e4-a0f1-24eeb1ac407c",
          "Answers": "sample string 2"
        },
        {
          "Id": "7f6fa9bc-5ab4-43e4-a0f1-24eeb1ac407c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "72659f08-95c4-45e0-8bfb-ee5d84b0fe40",
      "Questions": [
        {
          "Id": "7f6fa9bc-5ab4-43e4-a0f1-24eeb1ac407c",
          "Answers": "sample string 2"
        },
        {
          "Id": "7f6fa9bc-5ab4-43e4-a0f1-24eeb1ac407c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d4817b68-27b4-4530-ae6d-458e0cd902b8",
      "ContentItemId": "b107d992-9e5b-47f4-aaaa-839958c3838a",
      "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-29T16:10:16.097151+00:00",
      "RescheduleDate": "2025-11-29T16:10:16.097151+00:00"
    },
    {
      "Id": "d4817b68-27b4-4530-ae6d-458e0cd902b8",
      "ContentItemId": "b107d992-9e5b-47f4-aaaa-839958c3838a",
      "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-29T16:10:16.097151+00:00",
      "RescheduleDate": "2025-11-29T16:10:16.097151+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": "753c0d31-7c23-4380-a860-62dcf241bbaf",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-11-29T16:10:16.1440786+00:00",
  "Registration": [
    {
      "Id": "76da1c28-9d50-407b-a545-edcbf5b0edc1",
      "UserId": "81a638e4-e129-4b65-8d0a-4db03a40a3f1",
      "IsCurrent": true,
      "CenterId": "469b44d1-b4cf-4aa4-baaa-b3dd58b5b320",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "5dee115a-bf0a-4e6f-97b9-2b84622b41be",
      "EndDate": "2025-11-29T16:10:16.097151+00:00",
      "StartDate": "2025-11-29T16:10:16.097151+00:00",
      "SchedulePreferenceDate": "2025-11-29T16:10:16.097151+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": "76da1c28-9d50-407b-a545-edcbf5b0edc1",
      "UserId": "81a638e4-e129-4b65-8d0a-4db03a40a3f1",
      "IsCurrent": true,
      "CenterId": "469b44d1-b4cf-4aa4-baaa-b3dd58b5b320",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "5dee115a-bf0a-4e6f-97b9-2b84622b41be",
      "EndDate": "2025-11-29T16:10:16.097151+00:00",
      "StartDate": "2025-11-29T16:10:16.097151+00:00",
      "SchedulePreferenceDate": "2025-11-29T16:10:16.097151+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-29T16:10:16.097151+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "47bf9ac4-c787-4f3d-814b-1503fb6f1665",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "58f16bb3-d846-4dfc-b5f4-f77d0d437985",
      "Sequence": 1,
      "AncestorCategoryId": "b0a440e4-8583-41ff-af13-b73b7156a7ac",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1b0de3e4-4aa5-42d2-9bee-c2b6955acdb1",
          "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": "1b0de3e4-4aa5-42d2-9bee-c2b6955acdb1",
          "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": "47bf9ac4-c787-4f3d-814b-1503fb6f1665",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "58f16bb3-d846-4dfc-b5f4-f77d0d437985",
      "Sequence": 1,
      "AncestorCategoryId": "b0a440e4-8583-41ff-af13-b73b7156a7ac",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1b0de3e4-4aa5-42d2-9bee-c2b6955acdb1",
          "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": "1b0de3e4-4aa5-42d2-9bee-c2b6955acdb1",
          "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": "5a1da03d-c88b-4f77-a02e-ffd492a921b4",
    "CategoryId": "211eb2cb-9aeb-4d5c-935a-e191ef67dfb0",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "ccfec6aa-0dbb-4bea-a43e-510ce4bc3cf2",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "ccfec6aa-0dbb-4bea-a43e-510ce4bc3cf2",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "72659f08-95c4-45e0-8bfb-ee5d84b0fe40",
      "Questions": [
        {
          "Id": "7f6fa9bc-5ab4-43e4-a0f1-24eeb1ac407c",
          "Answers": "sample string 2"
        },
        {
          "Id": "7f6fa9bc-5ab4-43e4-a0f1-24eeb1ac407c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "72659f08-95c4-45e0-8bfb-ee5d84b0fe40",
      "Questions": [
        {
          "Id": "7f6fa9bc-5ab4-43e4-a0f1-24eeb1ac407c",
          "Answers": "sample string 2"
        },
        {
          "Id": "7f6fa9bc-5ab4-43e4-a0f1-24eeb1ac407c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d4817b68-27b4-4530-ae6d-458e0cd902b8",
      "ContentItemId": "b107d992-9e5b-47f4-aaaa-839958c3838a",
      "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-29T16:10:16.097151+00:00",
      "RescheduleDate": "2025-11-29T16:10:16.097151+00:00"
    },
    {
      "Id": "d4817b68-27b4-4530-ae6d-458e0cd902b8",
      "ContentItemId": "b107d992-9e5b-47f4-aaaa-839958c3838a",
      "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-29T16:10:16.097151+00:00",
      "RescheduleDate": "2025-11-29T16:10:16.097151+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}