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": "e9707f45-c707-4ae9-b1e1-7adcc366f3cc",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-12T04:56:09.0006409+00:00",
  "Registration": {
    "Id": "4d363ed5-be1a-4a5f-a043-20f4f6fc9294",
    "UserId": "a3bdb6c2-a482-41f4-b79c-29b5e7ad7166",
    "IsCurrent": true,
    "CenterId": "f1f7850c-b836-4b30-aa4a-9a062dc4d10b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "b46250d7-e7c7-4963-8115-4a113d063de9",
    "EndDate": "2026-11-12T04:56:08.9850214+00:00",
    "StartDate": "2026-11-12T04:56:08.9850214+00:00",
    "SchedulePreferenceDate": "2026-11-12T04:56:08.9850214+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-11-12T04:56:08.9850214+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e65207a9-2cb9-4f65-94a2-eddd365827f1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "40c7da3b-3b37-4700-9b6a-1447277d20d4",
      "Sequence": 1,
      "AncestorCategoryId": "dc6359ce-b800-48d8-83a3-19dc31df6680",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ffcc1e3c-07cc-4469-8754-34b7900b4dd8",
          "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": "ffcc1e3c-07cc-4469-8754-34b7900b4dd8",
          "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": "e65207a9-2cb9-4f65-94a2-eddd365827f1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "40c7da3b-3b37-4700-9b6a-1447277d20d4",
      "Sequence": 1,
      "AncestorCategoryId": "dc6359ce-b800-48d8-83a3-19dc31df6680",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ffcc1e3c-07cc-4469-8754-34b7900b4dd8",
          "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": "ffcc1e3c-07cc-4469-8754-34b7900b4dd8",
          "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": "7ca7be95-e9bd-4779-aeb7-10f4f1352ae5",
    "CategoryId": "0ee25e22-ee65-4d1b-9313-a807382b1159",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "92cfb729-5a49-441c-a7a8-f26a7ccce1cd",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "92cfb729-5a49-441c-a7a8-f26a7ccce1cd",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "256692c8-8307-41c2-b404-f7ce0410472c",
      "Questions": [
        {
          "Id": "0ae1f514-87cd-46e9-98f4-3765f2d7721f",
          "Answers": "sample string 2"
        },
        {
          "Id": "0ae1f514-87cd-46e9-98f4-3765f2d7721f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "256692c8-8307-41c2-b404-f7ce0410472c",
      "Questions": [
        {
          "Id": "0ae1f514-87cd-46e9-98f4-3765f2d7721f",
          "Answers": "sample string 2"
        },
        {
          "Id": "0ae1f514-87cd-46e9-98f4-3765f2d7721f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "51cbb1ec-a74a-48a0-9bba-135017f21d98",
      "ContentItemId": "217c534e-eb34-4787-a2d8-a2b6d39fd1d2",
      "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-11-12T04:56:08.9850214+00:00",
      "RescheduleDate": "2026-11-12T04:56:08.9850214+00:00"
    },
    {
      "Id": "51cbb1ec-a74a-48a0-9bba-135017f21d98",
      "ContentItemId": "217c534e-eb34-4787-a2d8-a2b6d39fd1d2",
      "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-11-12T04:56:08.9850214+00:00",
      "RescheduleDate": "2026-11-12T04:56:08.9850214+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "e9707f45-c707-4ae9-b1e1-7adcc366f3cc",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-12T04:56:09.0162651+00:00",
  "Registration": {
    "Id": "4d363ed5-be1a-4a5f-a043-20f4f6fc9294",
    "UserId": "a3bdb6c2-a482-41f4-b79c-29b5e7ad7166",
    "IsCurrent": true,
    "CenterId": "f1f7850c-b836-4b30-aa4a-9a062dc4d10b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "b46250d7-e7c7-4963-8115-4a113d063de9",
    "EndDate": "2026-11-12T04:56:08.9850214+00:00",
    "StartDate": "2026-11-12T04:56:08.9850214+00:00",
    "SchedulePreferenceDate": "2026-11-12T04:56:08.9850214+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-11-12T04:56:08.9850214+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e65207a9-2cb9-4f65-94a2-eddd365827f1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "40c7da3b-3b37-4700-9b6a-1447277d20d4",
      "Sequence": 1,
      "AncestorCategoryId": "dc6359ce-b800-48d8-83a3-19dc31df6680",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ffcc1e3c-07cc-4469-8754-34b7900b4dd8",
          "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": "ffcc1e3c-07cc-4469-8754-34b7900b4dd8",
          "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": "e65207a9-2cb9-4f65-94a2-eddd365827f1",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "40c7da3b-3b37-4700-9b6a-1447277d20d4",
      "Sequence": 1,
      "AncestorCategoryId": "dc6359ce-b800-48d8-83a3-19dc31df6680",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ffcc1e3c-07cc-4469-8754-34b7900b4dd8",
          "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": "ffcc1e3c-07cc-4469-8754-34b7900b4dd8",
          "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": "7ca7be95-e9bd-4779-aeb7-10f4f1352ae5",
    "CategoryId": "0ee25e22-ee65-4d1b-9313-a807382b1159",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "92cfb729-5a49-441c-a7a8-f26a7ccce1cd",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "92cfb729-5a49-441c-a7a8-f26a7ccce1cd",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "256692c8-8307-41c2-b404-f7ce0410472c",
      "Questions": [
        {
          "Id": "0ae1f514-87cd-46e9-98f4-3765f2d7721f",
          "Answers": "sample string 2"
        },
        {
          "Id": "0ae1f514-87cd-46e9-98f4-3765f2d7721f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "256692c8-8307-41c2-b404-f7ce0410472c",
      "Questions": [
        {
          "Id": "0ae1f514-87cd-46e9-98f4-3765f2d7721f",
          "Answers": "sample string 2"
        },
        {
          "Id": "0ae1f514-87cd-46e9-98f4-3765f2d7721f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "51cbb1ec-a74a-48a0-9bba-135017f21d98",
      "ContentItemId": "217c534e-eb34-4787-a2d8-a2b6d39fd1d2",
      "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-11-12T04:56:08.9850214+00:00",
      "RescheduleDate": "2026-11-12T04:56:08.9850214+00:00"
    },
    {
      "Id": "51cbb1ec-a74a-48a0-9bba-135017f21d98",
      "ContentItemId": "217c534e-eb34-4787-a2d8-a2b6d39fd1d2",
      "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-11-12T04:56:08.9850214+00:00",
      "RescheduleDate": "2026-11-12T04:56:08.9850214+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}