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": "e8483c73-59aa-48c9-a9d2-ee93ed0d6549",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-05T01:54:26.3087986+00:00",
  "Registration": {
    "Id": "ac2cb39d-5b84-4048-aedb-5d0e9199be90",
    "UserId": "0eff1386-c3ce-403c-a90e-11b0490daef9",
    "IsCurrent": true,
    "CenterId": "a2a55ab1-87b4-4097-ab84-89e1fe125020",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "79b79c1d-55b0-47f9-bffd-3aba33e10f54",
    "EndDate": "2026-05-05T01:54:26.2931753+00:00",
    "StartDate": "2026-05-05T01:54:26.2931753+00:00",
    "SchedulePreferenceDate": "2026-05-05T01:54:26.2931753+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-05-05T01:54:26.2931753+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f1e0161f-0863-47a4-a97f-a9f35fb5f260",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c3f3e50c-c94f-4c91-a0ff-57ac10c80146",
      "Sequence": 1,
      "AncestorCategoryId": "d6381b09-206f-41d5-8116-17ebfb448925",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ecefcb71-79e3-4ab8-867a-b792fa3b6fb9",
          "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": "ecefcb71-79e3-4ab8-867a-b792fa3b6fb9",
          "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": "f1e0161f-0863-47a4-a97f-a9f35fb5f260",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c3f3e50c-c94f-4c91-a0ff-57ac10c80146",
      "Sequence": 1,
      "AncestorCategoryId": "d6381b09-206f-41d5-8116-17ebfb448925",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ecefcb71-79e3-4ab8-867a-b792fa3b6fb9",
          "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": "ecefcb71-79e3-4ab8-867a-b792fa3b6fb9",
          "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": "6d567d7c-aeef-4d0e-bf59-da8243c55377",
    "CategoryId": "e4343231-c227-4ac4-8281-343549d5a5b5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0aa06320-d36a-4c98-9ab8-d838a1904c12",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0aa06320-d36a-4c98-9ab8-d838a1904c12",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "57d3c696-ad1e-4a30-9044-8700e6e4f185",
      "Questions": [
        {
          "Id": "bfbefbb9-d8ee-4c26-92cc-bd1a0c500c4c",
          "Answers": "sample string 2"
        },
        {
          "Id": "bfbefbb9-d8ee-4c26-92cc-bd1a0c500c4c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "57d3c696-ad1e-4a30-9044-8700e6e4f185",
      "Questions": [
        {
          "Id": "bfbefbb9-d8ee-4c26-92cc-bd1a0c500c4c",
          "Answers": "sample string 2"
        },
        {
          "Id": "bfbefbb9-d8ee-4c26-92cc-bd1a0c500c4c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "c760ae2f-f2e1-4a56-b89e-b721dac454f5",
      "ContentItemId": "f0fbd41a-c513-4361-bbfd-6283e53c88f9",
      "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-05-05T01:54:26.3087986+00:00",
      "RescheduleDate": "2026-05-05T01:54:26.3087986+00:00"
    },
    {
      "Id": "c760ae2f-f2e1-4a56-b89e-b721dac454f5",
      "ContentItemId": "f0fbd41a-c513-4361-bbfd-6283e53c88f9",
      "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-05-05T01:54:26.3087986+00:00",
      "RescheduleDate": "2026-05-05T01:54:26.3087986+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "e8483c73-59aa-48c9-a9d2-ee93ed0d6549",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-05-05T01:54:26.3400477+00:00",
  "Registration": {
    "Id": "ac2cb39d-5b84-4048-aedb-5d0e9199be90",
    "UserId": "0eff1386-c3ce-403c-a90e-11b0490daef9",
    "IsCurrent": true,
    "CenterId": "a2a55ab1-87b4-4097-ab84-89e1fe125020",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "79b79c1d-55b0-47f9-bffd-3aba33e10f54",
    "EndDate": "2026-05-05T01:54:26.2931753+00:00",
    "StartDate": "2026-05-05T01:54:26.2931753+00:00",
    "SchedulePreferenceDate": "2026-05-05T01:54:26.2931753+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-05-05T01:54:26.2931753+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f1e0161f-0863-47a4-a97f-a9f35fb5f260",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c3f3e50c-c94f-4c91-a0ff-57ac10c80146",
      "Sequence": 1,
      "AncestorCategoryId": "d6381b09-206f-41d5-8116-17ebfb448925",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ecefcb71-79e3-4ab8-867a-b792fa3b6fb9",
          "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": "ecefcb71-79e3-4ab8-867a-b792fa3b6fb9",
          "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": "f1e0161f-0863-47a4-a97f-a9f35fb5f260",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c3f3e50c-c94f-4c91-a0ff-57ac10c80146",
      "Sequence": 1,
      "AncestorCategoryId": "d6381b09-206f-41d5-8116-17ebfb448925",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "ecefcb71-79e3-4ab8-867a-b792fa3b6fb9",
          "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": "ecefcb71-79e3-4ab8-867a-b792fa3b6fb9",
          "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": "6d567d7c-aeef-4d0e-bf59-da8243c55377",
    "CategoryId": "e4343231-c227-4ac4-8281-343549d5a5b5",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0aa06320-d36a-4c98-9ab8-d838a1904c12",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0aa06320-d36a-4c98-9ab8-d838a1904c12",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "57d3c696-ad1e-4a30-9044-8700e6e4f185",
      "Questions": [
        {
          "Id": "bfbefbb9-d8ee-4c26-92cc-bd1a0c500c4c",
          "Answers": "sample string 2"
        },
        {
          "Id": "bfbefbb9-d8ee-4c26-92cc-bd1a0c500c4c",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "57d3c696-ad1e-4a30-9044-8700e6e4f185",
      "Questions": [
        {
          "Id": "bfbefbb9-d8ee-4c26-92cc-bd1a0c500c4c",
          "Answers": "sample string 2"
        },
        {
          "Id": "bfbefbb9-d8ee-4c26-92cc-bd1a0c500c4c",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "c760ae2f-f2e1-4a56-b89e-b721dac454f5",
      "ContentItemId": "f0fbd41a-c513-4361-bbfd-6283e53c88f9",
      "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-05-05T01:54:26.3087986+00:00",
      "RescheduleDate": "2026-05-05T01:54:26.3087986+00:00"
    },
    {
      "Id": "c760ae2f-f2e1-4a56-b89e-b721dac454f5",
      "ContentItemId": "f0fbd41a-c513-4361-bbfd-6283e53c88f9",
      "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-05-05T01:54:26.3087986+00:00",
      "RescheduleDate": "2026-05-05T01:54:26.3087986+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}