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": "17c04961-9b14-4fc3-8103-5c2fd03ce728",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-08T09:47:28.3866277+00:00",
  "Registration": {
    "Id": "47992bfe-1578-4cad-9dd3-38126d0e6e1b",
    "UserId": "efed6cb7-2d39-42dd-a7f3-8666b4afbdd0",
    "IsCurrent": true,
    "CenterId": "27270ccd-057e-421e-8654-76b8da259ab8",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "30bcc4e4-080d-4e87-8f40-3b5a9eea6e43",
    "EndDate": "2026-09-08T09:47:28.3709998+00:00",
    "StartDate": "2026-09-08T09:47:28.3709998+00:00",
    "SchedulePreferenceDate": "2026-09-08T09:47:28.3709998+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-09-08T09:47:28.3709998+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "0a31e852-56c0-447a-a449-b6d80cdf9db1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "62cfcf86-7d42-4f60-ac8b-62ef31b0bedd",
      "Sequence": 1,
      "AncestorCategoryId": "c87998dd-4398-4332-8f63-024dfabc8d97",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "78f25ee5-ce2d-4c83-91c9-8d8475531b10",
          "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": "78f25ee5-ce2d-4c83-91c9-8d8475531b10",
          "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": "0a31e852-56c0-447a-a449-b6d80cdf9db1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "62cfcf86-7d42-4f60-ac8b-62ef31b0bedd",
      "Sequence": 1,
      "AncestorCategoryId": "c87998dd-4398-4332-8f63-024dfabc8d97",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "78f25ee5-ce2d-4c83-91c9-8d8475531b10",
          "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": "78f25ee5-ce2d-4c83-91c9-8d8475531b10",
          "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": "60c24a40-971d-466d-ba55-49ce0bbce0c0",
    "CategoryId": "7da45f3b-4d67-410c-977a-b0655e2348b5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5a877d80-5842-462a-bc81-a0a2dc1c46d6",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5a877d80-5842-462a-bc81-a0a2dc1c46d6",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "41312eca-f590-4869-8f42-24c71f0e1353",
      "Questions": [
        {
          "Id": "2d47056e-add7-44fc-a44b-af3cde567e62",
          "Answers": "sample string 2"
        },
        {
          "Id": "2d47056e-add7-44fc-a44b-af3cde567e62",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "41312eca-f590-4869-8f42-24c71f0e1353",
      "Questions": [
        {
          "Id": "2d47056e-add7-44fc-a44b-af3cde567e62",
          "Answers": "sample string 2"
        },
        {
          "Id": "2d47056e-add7-44fc-a44b-af3cde567e62",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d5f282e8-772e-489e-880a-c939886c185d",
      "ContentItemId": "68fec8b6-81d0-4b6e-bff5-1104b3ea4d67",
      "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-09-08T09:47:28.3709998+00:00",
      "RescheduleDate": "2026-09-08T09:47:28.3709998+00:00"
    },
    {
      "Id": "d5f282e8-772e-489e-880a-c939886c185d",
      "ContentItemId": "68fec8b6-81d0-4b6e-bff5-1104b3ea4d67",
      "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-09-08T09:47:28.3709998+00:00",
      "RescheduleDate": "2026-09-08T09:47:28.3709998+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "17c04961-9b14-4fc3-8103-5c2fd03ce728",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-08T09:47:28.4178758+00:00",
  "Registration": {
    "Id": "47992bfe-1578-4cad-9dd3-38126d0e6e1b",
    "UserId": "efed6cb7-2d39-42dd-a7f3-8666b4afbdd0",
    "IsCurrent": true,
    "CenterId": "27270ccd-057e-421e-8654-76b8da259ab8",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "30bcc4e4-080d-4e87-8f40-3b5a9eea6e43",
    "EndDate": "2026-09-08T09:47:28.3709998+00:00",
    "StartDate": "2026-09-08T09:47:28.3709998+00:00",
    "SchedulePreferenceDate": "2026-09-08T09:47:28.3709998+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-09-08T09:47:28.3709998+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "0a31e852-56c0-447a-a449-b6d80cdf9db1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "62cfcf86-7d42-4f60-ac8b-62ef31b0bedd",
      "Sequence": 1,
      "AncestorCategoryId": "c87998dd-4398-4332-8f63-024dfabc8d97",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "78f25ee5-ce2d-4c83-91c9-8d8475531b10",
          "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": "78f25ee5-ce2d-4c83-91c9-8d8475531b10",
          "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": "0a31e852-56c0-447a-a449-b6d80cdf9db1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "62cfcf86-7d42-4f60-ac8b-62ef31b0bedd",
      "Sequence": 1,
      "AncestorCategoryId": "c87998dd-4398-4332-8f63-024dfabc8d97",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "78f25ee5-ce2d-4c83-91c9-8d8475531b10",
          "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": "78f25ee5-ce2d-4c83-91c9-8d8475531b10",
          "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": "60c24a40-971d-466d-ba55-49ce0bbce0c0",
    "CategoryId": "7da45f3b-4d67-410c-977a-b0655e2348b5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "5a877d80-5842-462a-bc81-a0a2dc1c46d6",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "5a877d80-5842-462a-bc81-a0a2dc1c46d6",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "41312eca-f590-4869-8f42-24c71f0e1353",
      "Questions": [
        {
          "Id": "2d47056e-add7-44fc-a44b-af3cde567e62",
          "Answers": "sample string 2"
        },
        {
          "Id": "2d47056e-add7-44fc-a44b-af3cde567e62",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "41312eca-f590-4869-8f42-24c71f0e1353",
      "Questions": [
        {
          "Id": "2d47056e-add7-44fc-a44b-af3cde567e62",
          "Answers": "sample string 2"
        },
        {
          "Id": "2d47056e-add7-44fc-a44b-af3cde567e62",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d5f282e8-772e-489e-880a-c939886c185d",
      "ContentItemId": "68fec8b6-81d0-4b6e-bff5-1104b3ea4d67",
      "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-09-08T09:47:28.3709998+00:00",
      "RescheduleDate": "2026-09-08T09:47:28.3709998+00:00"
    },
    {
      "Id": "d5f282e8-772e-489e-880a-c939886c185d",
      "ContentItemId": "68fec8b6-81d0-4b6e-bff5-1104b3ea4d67",
      "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-09-08T09:47:28.3709998+00:00",
      "RescheduleDate": "2026-09-08T09:47:28.3709998+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}