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": "19526fbb-b04b-4c96-99d0-469fb1d731db",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-19T02:24:15.7479434+00:00",
  "Registration": {
    "Id": "d7a37821-e449-4da3-b90c-bb22cc48e4fe",
    "UserId": "7e99a52c-4889-4d17-a385-d87bd58fb847",
    "IsCurrent": true,
    "CenterId": "38808399-9485-42f6-b94a-bc1fcc67b587",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "7684de0e-8ee4-46cc-81ea-b49dc338ac3b",
    "EndDate": "2026-04-19T02:24:15.7479434+00:00",
    "StartDate": "2026-04-19T02:24:15.7479434+00:00",
    "SchedulePreferenceDate": "2026-04-19T02:24:15.7479434+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-19T02:24:15.7479434+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5ca86c2a-5603-43e5-a737-a5acc260bb65",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "964f9ec8-ef64-41c2-b167-b7f266220d49",
      "Sequence": 1,
      "AncestorCategoryId": "864db967-1900-482e-b1da-60d45ee223cd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c9c70a6b-c018-4b83-8882-d1e7509ab905",
          "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": "c9c70a6b-c018-4b83-8882-d1e7509ab905",
          "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": "5ca86c2a-5603-43e5-a737-a5acc260bb65",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "964f9ec8-ef64-41c2-b167-b7f266220d49",
      "Sequence": 1,
      "AncestorCategoryId": "864db967-1900-482e-b1da-60d45ee223cd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c9c70a6b-c018-4b83-8882-d1e7509ab905",
          "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": "c9c70a6b-c018-4b83-8882-d1e7509ab905",
          "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": "c85582d6-d37d-4647-9e02-cc27661e1f53",
    "CategoryId": "cc2d1396-e991-4045-a167-7aacf820fe90",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "4689916f-0afe-4264-bc96-dc8811e5796d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "4689916f-0afe-4264-bc96-dc8811e5796d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5deead31-2f75-4dd7-a6d8-cbcc5787adee",
      "Questions": [
        {
          "Id": "2257b223-0c40-4dfd-87e0-3ce3f7adced3",
          "Answers": "sample string 2"
        },
        {
          "Id": "2257b223-0c40-4dfd-87e0-3ce3f7adced3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5deead31-2f75-4dd7-a6d8-cbcc5787adee",
      "Questions": [
        {
          "Id": "2257b223-0c40-4dfd-87e0-3ce3f7adced3",
          "Answers": "sample string 2"
        },
        {
          "Id": "2257b223-0c40-4dfd-87e0-3ce3f7adced3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "850f7c4c-c9fc-4309-8a77-9751cf801bef",
      "ContentItemId": "f9097d1d-5cd3-4a42-a780-5db899d5df0a",
      "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-19T02:24:15.7479434+00:00",
      "RescheduleDate": "2026-04-19T02:24:15.7479434+00:00"
    },
    {
      "Id": "850f7c4c-c9fc-4309-8a77-9751cf801bef",
      "ContentItemId": "f9097d1d-5cd3-4a42-a780-5db899d5df0a",
      "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-19T02:24:15.7479434+00:00",
      "RescheduleDate": "2026-04-19T02:24:15.7479434+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "19526fbb-b04b-4c96-99d0-469fb1d731db",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-19T02:24:15.79482+00:00",
  "Registration": {
    "Id": "d7a37821-e449-4da3-b90c-bb22cc48e4fe",
    "UserId": "7e99a52c-4889-4d17-a385-d87bd58fb847",
    "IsCurrent": true,
    "CenterId": "38808399-9485-42f6-b94a-bc1fcc67b587",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "7684de0e-8ee4-46cc-81ea-b49dc338ac3b",
    "EndDate": "2026-04-19T02:24:15.7479434+00:00",
    "StartDate": "2026-04-19T02:24:15.7479434+00:00",
    "SchedulePreferenceDate": "2026-04-19T02:24:15.7479434+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-19T02:24:15.7479434+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5ca86c2a-5603-43e5-a737-a5acc260bb65",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "964f9ec8-ef64-41c2-b167-b7f266220d49",
      "Sequence": 1,
      "AncestorCategoryId": "864db967-1900-482e-b1da-60d45ee223cd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c9c70a6b-c018-4b83-8882-d1e7509ab905",
          "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": "c9c70a6b-c018-4b83-8882-d1e7509ab905",
          "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": "5ca86c2a-5603-43e5-a737-a5acc260bb65",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "964f9ec8-ef64-41c2-b167-b7f266220d49",
      "Sequence": 1,
      "AncestorCategoryId": "864db967-1900-482e-b1da-60d45ee223cd",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c9c70a6b-c018-4b83-8882-d1e7509ab905",
          "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": "c9c70a6b-c018-4b83-8882-d1e7509ab905",
          "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": "c85582d6-d37d-4647-9e02-cc27661e1f53",
    "CategoryId": "cc2d1396-e991-4045-a167-7aacf820fe90",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "4689916f-0afe-4264-bc96-dc8811e5796d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "4689916f-0afe-4264-bc96-dc8811e5796d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "5deead31-2f75-4dd7-a6d8-cbcc5787adee",
      "Questions": [
        {
          "Id": "2257b223-0c40-4dfd-87e0-3ce3f7adced3",
          "Answers": "sample string 2"
        },
        {
          "Id": "2257b223-0c40-4dfd-87e0-3ce3f7adced3",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "5deead31-2f75-4dd7-a6d8-cbcc5787adee",
      "Questions": [
        {
          "Id": "2257b223-0c40-4dfd-87e0-3ce3f7adced3",
          "Answers": "sample string 2"
        },
        {
          "Id": "2257b223-0c40-4dfd-87e0-3ce3f7adced3",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "850f7c4c-c9fc-4309-8a77-9751cf801bef",
      "ContentItemId": "f9097d1d-5cd3-4a42-a780-5db899d5df0a",
      "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-19T02:24:15.7479434+00:00",
      "RescheduleDate": "2026-04-19T02:24:15.7479434+00:00"
    },
    {
      "Id": "850f7c4c-c9fc-4309-8a77-9751cf801bef",
      "ContentItemId": "f9097d1d-5cd3-4a42-a780-5db899d5df0a",
      "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-19T02:24:15.7479434+00:00",
      "RescheduleDate": "2026-04-19T02:24:15.7479434+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}