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": "eff773ff-97d1-4d4b-94af-eb9ff035028a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-26T18:38:22.3316733+00:00",
  "Registration": {
    "Id": "42578be8-574d-47cb-bbaf-775f0006df5b",
    "UserId": "d64faf14-fa9e-458e-93e3-31df56e6d0a0",
    "IsCurrent": true,
    "CenterId": "929fe585-7133-4fa4-8195-aa4163112f4b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "ed221cea-2a11-4d7f-864f-194cc27ae6e6",
    "EndDate": "2026-01-26T18:38:22.3160479+00:00",
    "StartDate": "2026-01-26T18:38:22.3160479+00:00",
    "SchedulePreferenceDate": "2026-01-26T18:38:22.3160479+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-01-26T18:38:22.3160479+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e1a7f66c-eba1-4ac0-93a9-4bc8465c96b0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "77bad0a4-4723-4398-b6c3-49ec3d3b680a",
      "Sequence": 1,
      "AncestorCategoryId": "d9ad8127-f380-40c1-bf27-f44fef6e194f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cad6e449-56c8-41d3-9ea8-fb148052cf15",
          "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": "cad6e449-56c8-41d3-9ea8-fb148052cf15",
          "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": "e1a7f66c-eba1-4ac0-93a9-4bc8465c96b0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "77bad0a4-4723-4398-b6c3-49ec3d3b680a",
      "Sequence": 1,
      "AncestorCategoryId": "d9ad8127-f380-40c1-bf27-f44fef6e194f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cad6e449-56c8-41d3-9ea8-fb148052cf15",
          "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": "cad6e449-56c8-41d3-9ea8-fb148052cf15",
          "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": "1061f441-7a4d-441b-9a03-9c7afb0b5d2e",
    "CategoryId": "c4bf974d-8fb8-4672-ac90-57bceaff228d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0e7abf9a-17c6-40ee-858c-3c1f50f6f94e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0e7abf9a-17c6-40ee-858c-3c1f50f6f94e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "eb65801e-cf91-4670-80cd-ac9a35bd6bc8",
      "Questions": [
        {
          "Id": "9624bd3e-9735-4d4e-82f5-4dd8a7bdb074",
          "Answers": "sample string 2"
        },
        {
          "Id": "9624bd3e-9735-4d4e-82f5-4dd8a7bdb074",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "eb65801e-cf91-4670-80cd-ac9a35bd6bc8",
      "Questions": [
        {
          "Id": "9624bd3e-9735-4d4e-82f5-4dd8a7bdb074",
          "Answers": "sample string 2"
        },
        {
          "Id": "9624bd3e-9735-4d4e-82f5-4dd8a7bdb074",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "25224450-ab40-4737-aecd-d1d805de8510",
      "ContentItemId": "14e09ec9-18f3-4719-a618-1a6daea81453",
      "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-01-26T18:38:22.3160479+00:00",
      "RescheduleDate": "2026-01-26T18:38:22.3160479+00:00"
    },
    {
      "Id": "25224450-ab40-4737-aecd-d1d805de8510",
      "ContentItemId": "14e09ec9-18f3-4719-a618-1a6daea81453",
      "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-01-26T18:38:22.3160479+00:00",
      "RescheduleDate": "2026-01-26T18:38:22.3160479+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "eff773ff-97d1-4d4b-94af-eb9ff035028a",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-26T18:38:22.3785492+00:00",
  "Registration": {
    "Id": "42578be8-574d-47cb-bbaf-775f0006df5b",
    "UserId": "d64faf14-fa9e-458e-93e3-31df56e6d0a0",
    "IsCurrent": true,
    "CenterId": "929fe585-7133-4fa4-8195-aa4163112f4b",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "ed221cea-2a11-4d7f-864f-194cc27ae6e6",
    "EndDate": "2026-01-26T18:38:22.3160479+00:00",
    "StartDate": "2026-01-26T18:38:22.3160479+00:00",
    "SchedulePreferenceDate": "2026-01-26T18:38:22.3160479+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-01-26T18:38:22.3160479+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e1a7f66c-eba1-4ac0-93a9-4bc8465c96b0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "77bad0a4-4723-4398-b6c3-49ec3d3b680a",
      "Sequence": 1,
      "AncestorCategoryId": "d9ad8127-f380-40c1-bf27-f44fef6e194f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cad6e449-56c8-41d3-9ea8-fb148052cf15",
          "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": "cad6e449-56c8-41d3-9ea8-fb148052cf15",
          "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": "e1a7f66c-eba1-4ac0-93a9-4bc8465c96b0",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "77bad0a4-4723-4398-b6c3-49ec3d3b680a",
      "Sequence": 1,
      "AncestorCategoryId": "d9ad8127-f380-40c1-bf27-f44fef6e194f",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "cad6e449-56c8-41d3-9ea8-fb148052cf15",
          "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": "cad6e449-56c8-41d3-9ea8-fb148052cf15",
          "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": "1061f441-7a4d-441b-9a03-9c7afb0b5d2e",
    "CategoryId": "c4bf974d-8fb8-4672-ac90-57bceaff228d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0e7abf9a-17c6-40ee-858c-3c1f50f6f94e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0e7abf9a-17c6-40ee-858c-3c1f50f6f94e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "eb65801e-cf91-4670-80cd-ac9a35bd6bc8",
      "Questions": [
        {
          "Id": "9624bd3e-9735-4d4e-82f5-4dd8a7bdb074",
          "Answers": "sample string 2"
        },
        {
          "Id": "9624bd3e-9735-4d4e-82f5-4dd8a7bdb074",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "eb65801e-cf91-4670-80cd-ac9a35bd6bc8",
      "Questions": [
        {
          "Id": "9624bd3e-9735-4d4e-82f5-4dd8a7bdb074",
          "Answers": "sample string 2"
        },
        {
          "Id": "9624bd3e-9735-4d4e-82f5-4dd8a7bdb074",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "25224450-ab40-4737-aecd-d1d805de8510",
      "ContentItemId": "14e09ec9-18f3-4719-a618-1a6daea81453",
      "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-01-26T18:38:22.3160479+00:00",
      "RescheduleDate": "2026-01-26T18:38:22.3160479+00:00"
    },
    {
      "Id": "25224450-ab40-4737-aecd-d1d805de8510",
      "ContentItemId": "14e09ec9-18f3-4719-a618-1a6daea81453",
      "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-01-26T18:38:22.3160479+00:00",
      "RescheduleDate": "2026-01-26T18:38:22.3160479+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}