GET 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.Views.UserStateBackwardCompatibleViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

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.

Response Formats

application/json

Sample:
{
  "UserId": "71d1f2f6-edc7-46b7-a09d-2ad3a57ccddf",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-12-21T15:39:58.2991264+00:00",
  "Registration": {
    "Id": "695a9ec6-d7d2-481e-a104-a063aa4394a7",
    "UserId": "64ed6542-a670-423c-991c-840150878cd9",
    "IsCurrent": true,
    "CenterId": "9f245343-637e-4cb9-90d9-7238737447f6",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a9af8d2b-bb6c-402c-a11a-579148f24860",
    "EndDate": "2025-12-21T15:39:58.2991264+00:00",
    "StartDate": "2025-12-21T15:39:58.2991264+00:00",
    "SchedulePreferenceDate": "2025-12-21T15:39:58.2991264+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-12-21T15:39:58.2991264+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a345904b-2689-4045-9fb8-c2b25c082a2f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eff6aeca-5f42-4c55-9955-d2f5fdc8bd2d",
      "Sequence": 1,
      "AncestorCategoryId": "abdda254-2de0-40e7-ae27-5ddbe994a985",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "763df9c0-e692-4bee-8dab-ad4f0e9ec0eb",
          "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": "763df9c0-e692-4bee-8dab-ad4f0e9ec0eb",
          "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": "a345904b-2689-4045-9fb8-c2b25c082a2f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eff6aeca-5f42-4c55-9955-d2f5fdc8bd2d",
      "Sequence": 1,
      "AncestorCategoryId": "abdda254-2de0-40e7-ae27-5ddbe994a985",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "763df9c0-e692-4bee-8dab-ad4f0e9ec0eb",
          "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": "763df9c0-e692-4bee-8dab-ad4f0e9ec0eb",
          "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": "4479a613-fcb9-4152-a3f4-e22b12e33781",
    "CategoryId": "8cc89ee5-9ee6-49a7-aa8b-3ceb59410744",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c8016d25-7fc2-41d0-a114-6b6c004d5891",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c8016d25-7fc2-41d0-a114-6b6c004d5891",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5e974a74-2a59-4083-adf3-4f5f1c144a3a",
      "Questions": [
        {
          "Id": "36524066-ee09-472a-b71d-cd85531f5a07",
          "Answers": "sample string 2"
        },
        {
          "Id": "36524066-ee09-472a-b71d-cd85531f5a07",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5e974a74-2a59-4083-adf3-4f5f1c144a3a",
      "Questions": [
        {
          "Id": "36524066-ee09-472a-b71d-cd85531f5a07",
          "Answers": "sample string 2"
        },
        {
          "Id": "36524066-ee09-472a-b71d-cd85531f5a07",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "e1b36c0d-ed5e-46e8-93f1-4a78803ca92c",
      "ContentItemId": "0c17beee-91d6-4e28-9827-986ebff152d8",
      "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-12-21T15:39:58.2991264+00:00",
      "RescheduleDate": "2025-12-21T15:39:58.2991264+00:00"
    },
    {
      "Id": "e1b36c0d-ed5e-46e8-93f1-4a78803ca92c",
      "ContentItemId": "0c17beee-91d6-4e28-9827-986ebff152d8",
      "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-12-21T15:39:58.2991264+00:00",
      "RescheduleDate": "2025-12-21T15:39:58.2991264+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "71d1f2f6-edc7-46b7-a09d-2ad3a57ccddf",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2025-12-21T15:39:58.346004+00:00",
  "Registration": {
    "Id": "695a9ec6-d7d2-481e-a104-a063aa4394a7",
    "UserId": "64ed6542-a670-423c-991c-840150878cd9",
    "IsCurrent": true,
    "CenterId": "9f245343-637e-4cb9-90d9-7238737447f6",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "a9af8d2b-bb6c-402c-a11a-579148f24860",
    "EndDate": "2025-12-21T15:39:58.2991264+00:00",
    "StartDate": "2025-12-21T15:39:58.2991264+00:00",
    "SchedulePreferenceDate": "2025-12-21T15:39:58.2991264+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-12-21T15:39:58.2991264+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "a345904b-2689-4045-9fb8-c2b25c082a2f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eff6aeca-5f42-4c55-9955-d2f5fdc8bd2d",
      "Sequence": 1,
      "AncestorCategoryId": "abdda254-2de0-40e7-ae27-5ddbe994a985",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "763df9c0-e692-4bee-8dab-ad4f0e9ec0eb",
          "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": "763df9c0-e692-4bee-8dab-ad4f0e9ec0eb",
          "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": "a345904b-2689-4045-9fb8-c2b25c082a2f",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "eff6aeca-5f42-4c55-9955-d2f5fdc8bd2d",
      "Sequence": 1,
      "AncestorCategoryId": "abdda254-2de0-40e7-ae27-5ddbe994a985",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "763df9c0-e692-4bee-8dab-ad4f0e9ec0eb",
          "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": "763df9c0-e692-4bee-8dab-ad4f0e9ec0eb",
          "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": "4479a613-fcb9-4152-a3f4-e22b12e33781",
    "CategoryId": "8cc89ee5-9ee6-49a7-aa8b-3ceb59410744",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c8016d25-7fc2-41d0-a114-6b6c004d5891",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c8016d25-7fc2-41d0-a114-6b6c004d5891",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5e974a74-2a59-4083-adf3-4f5f1c144a3a",
      "Questions": [
        {
          "Id": "36524066-ee09-472a-b71d-cd85531f5a07",
          "Answers": "sample string 2"
        },
        {
          "Id": "36524066-ee09-472a-b71d-cd85531f5a07",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5e974a74-2a59-4083-adf3-4f5f1c144a3a",
      "Questions": [
        {
          "Id": "36524066-ee09-472a-b71d-cd85531f5a07",
          "Answers": "sample string 2"
        },
        {
          "Id": "36524066-ee09-472a-b71d-cd85531f5a07",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "e1b36c0d-ed5e-46e8-93f1-4a78803ca92c",
      "ContentItemId": "0c17beee-91d6-4e28-9827-986ebff152d8",
      "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-12-21T15:39:58.2991264+00:00",
      "RescheduleDate": "2025-12-21T15:39:58.2991264+00:00"
    },
    {
      "Id": "e1b36c0d-ed5e-46e8-93f1-4a78803ca92c",
      "ContentItemId": "0c17beee-91d6-4e28-9827-986ebff152d8",
      "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-12-21T15:39:58.2991264+00:00",
      "RescheduleDate": "2025-12-21T15:39:58.2991264+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}