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": "5c8e72eb-0187-42c0-89a4-f13fc3ceecaa",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-08T11:11:50.161572+00:00",
  "Registration": {
    "Id": "59583f94-d22b-411b-8955-c1f42c28e922",
    "UserId": "1674ce48-973c-4f77-8c2e-e09289918a32",
    "IsCurrent": true,
    "CenterId": "75315ba6-6612-42c1-8658-2aa3f7090d9d",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "cd9bce11-eb54-488e-b144-5fe4d1b497aa",
    "EndDate": "2026-04-08T11:11:50.161572+00:00",
    "StartDate": "2026-04-08T11:11:50.161572+00:00",
    "SchedulePreferenceDate": "2026-04-08T11:11:50.161572+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-04-08T11:11:50.161572+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "84407be0-66ab-4c75-9d59-afb06db4618d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "faf07614-d091-4d5a-ae9f-d39b6ac34378",
      "Sequence": 1,
      "AncestorCategoryId": "aaa3d044-196c-4aaf-a5c1-2180b196f025",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9d25ad38-7985-48ac-9f38-07c967fe6e60",
          "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": "9d25ad38-7985-48ac-9f38-07c967fe6e60",
          "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": "84407be0-66ab-4c75-9d59-afb06db4618d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "faf07614-d091-4d5a-ae9f-d39b6ac34378",
      "Sequence": 1,
      "AncestorCategoryId": "aaa3d044-196c-4aaf-a5c1-2180b196f025",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9d25ad38-7985-48ac-9f38-07c967fe6e60",
          "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": "9d25ad38-7985-48ac-9f38-07c967fe6e60",
          "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": "f8f38e8e-fe03-41f7-b795-47e3171f6947",
    "CategoryId": "d9908f28-851e-4acd-b7f8-39fa726aac8a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0c9d1fbf-2c36-465f-8d0e-fd7b77dc1f48",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0c9d1fbf-2c36-465f-8d0e-fd7b77dc1f48",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ff77080d-b05a-4398-8668-feb5555f3272",
      "Questions": [
        {
          "Id": "3ed23b9f-6917-4bef-b2e3-dba0709da194",
          "Answers": "sample string 2"
        },
        {
          "Id": "3ed23b9f-6917-4bef-b2e3-dba0709da194",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ff77080d-b05a-4398-8668-feb5555f3272",
      "Questions": [
        {
          "Id": "3ed23b9f-6917-4bef-b2e3-dba0709da194",
          "Answers": "sample string 2"
        },
        {
          "Id": "3ed23b9f-6917-4bef-b2e3-dba0709da194",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d6095305-079b-479e-b8fc-f0c39b0ed5af",
      "ContentItemId": "72c1ab16-4951-4e4e-83ad-1ca7fc121d9b",
      "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-04-08T11:11:50.161572+00:00",
      "RescheduleDate": "2026-04-08T11:11:50.161572+00:00"
    },
    {
      "Id": "d6095305-079b-479e-b8fc-f0c39b0ed5af",
      "ContentItemId": "72c1ab16-4951-4e4e-83ad-1ca7fc121d9b",
      "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-04-08T11:11:50.161572+00:00",
      "RescheduleDate": "2026-04-08T11:11:50.161572+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "5c8e72eb-0187-42c0-89a4-f13fc3ceecaa",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-08T11:11:50.208446+00:00",
  "Registration": {
    "Id": "59583f94-d22b-411b-8955-c1f42c28e922",
    "UserId": "1674ce48-973c-4f77-8c2e-e09289918a32",
    "IsCurrent": true,
    "CenterId": "75315ba6-6612-42c1-8658-2aa3f7090d9d",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "cd9bce11-eb54-488e-b144-5fe4d1b497aa",
    "EndDate": "2026-04-08T11:11:50.161572+00:00",
    "StartDate": "2026-04-08T11:11:50.161572+00:00",
    "SchedulePreferenceDate": "2026-04-08T11:11:50.161572+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-04-08T11:11:50.161572+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "84407be0-66ab-4c75-9d59-afb06db4618d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "faf07614-d091-4d5a-ae9f-d39b6ac34378",
      "Sequence": 1,
      "AncestorCategoryId": "aaa3d044-196c-4aaf-a5c1-2180b196f025",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9d25ad38-7985-48ac-9f38-07c967fe6e60",
          "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": "9d25ad38-7985-48ac-9f38-07c967fe6e60",
          "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": "84407be0-66ab-4c75-9d59-afb06db4618d",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "faf07614-d091-4d5a-ae9f-d39b6ac34378",
      "Sequence": 1,
      "AncestorCategoryId": "aaa3d044-196c-4aaf-a5c1-2180b196f025",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "9d25ad38-7985-48ac-9f38-07c967fe6e60",
          "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": "9d25ad38-7985-48ac-9f38-07c967fe6e60",
          "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": "f8f38e8e-fe03-41f7-b795-47e3171f6947",
    "CategoryId": "d9908f28-851e-4acd-b7f8-39fa726aac8a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0c9d1fbf-2c36-465f-8d0e-fd7b77dc1f48",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0c9d1fbf-2c36-465f-8d0e-fd7b77dc1f48",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ff77080d-b05a-4398-8668-feb5555f3272",
      "Questions": [
        {
          "Id": "3ed23b9f-6917-4bef-b2e3-dba0709da194",
          "Answers": "sample string 2"
        },
        {
          "Id": "3ed23b9f-6917-4bef-b2e3-dba0709da194",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ff77080d-b05a-4398-8668-feb5555f3272",
      "Questions": [
        {
          "Id": "3ed23b9f-6917-4bef-b2e3-dba0709da194",
          "Answers": "sample string 2"
        },
        {
          "Id": "3ed23b9f-6917-4bef-b2e3-dba0709da194",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d6095305-079b-479e-b8fc-f0c39b0ed5af",
      "ContentItemId": "72c1ab16-4951-4e4e-83ad-1ca7fc121d9b",
      "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-04-08T11:11:50.161572+00:00",
      "RescheduleDate": "2026-04-08T11:11:50.161572+00:00"
    },
    {
      "Id": "d6095305-079b-479e-b8fc-f0c39b0ed5af",
      "ContentItemId": "72c1ab16-4951-4e4e-83ad-1ca7fc121d9b",
      "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-04-08T11:11:50.161572+00:00",
      "RescheduleDate": "2026-04-08T11:11:50.161572+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}