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": "681aa89e-2920-4217-88e5-c1f73478b391",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-06T13:18:05.9058078+00:00",
  "Registration": {
    "Id": "d882d5a0-2902-4692-a4fe-737536f8bf2f",
    "UserId": "e9ad4ac9-2d1b-4ac3-9101-a070df1c1c77",
    "IsCurrent": true,
    "CenterId": "55f58dd3-6e10-4268-99dd-f9cf5718b697",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "3541a401-c26e-4f71-b5e9-0c6a5ec74d5f",
    "EndDate": "2026-11-06T13:18:05.8901837+00:00",
    "StartDate": "2026-11-06T13:18:05.8901837+00:00",
    "SchedulePreferenceDate": "2026-11-06T13:18:05.8901837+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-06T13:18:05.8901837+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8721becf-0f2c-4165-a1c3-b1a50c64e5c8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "912a847f-dded-41f4-a2ee-41c8e8a0616b",
      "Sequence": 1,
      "AncestorCategoryId": "7c03a19b-e08f-4c18-b964-970c320ffca2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "203abb8f-f72b-4cda-8e11-ed6720001835",
          "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": "203abb8f-f72b-4cda-8e11-ed6720001835",
          "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": "8721becf-0f2c-4165-a1c3-b1a50c64e5c8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "912a847f-dded-41f4-a2ee-41c8e8a0616b",
      "Sequence": 1,
      "AncestorCategoryId": "7c03a19b-e08f-4c18-b964-970c320ffca2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "203abb8f-f72b-4cda-8e11-ed6720001835",
          "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": "203abb8f-f72b-4cda-8e11-ed6720001835",
          "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": "e39688bc-645e-4c82-9331-172cccc1b6d5",
    "CategoryId": "ad1a5556-29ab-4364-8887-954b6a631f9e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "dcf2d48a-910d-4d74-bad1-e7e1e2b1387f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "dcf2d48a-910d-4d74-bad1-e7e1e2b1387f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "3e2f6e82-639d-4482-a810-5e501ff12218",
      "Questions": [
        {
          "Id": "2d5ec278-7682-47ff-9be6-0f741c6d7ca8",
          "Answers": "sample string 2"
        },
        {
          "Id": "2d5ec278-7682-47ff-9be6-0f741c6d7ca8",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "3e2f6e82-639d-4482-a810-5e501ff12218",
      "Questions": [
        {
          "Id": "2d5ec278-7682-47ff-9be6-0f741c6d7ca8",
          "Answers": "sample string 2"
        },
        {
          "Id": "2d5ec278-7682-47ff-9be6-0f741c6d7ca8",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cb32ee2a-5881-4c50-aca4-2a4114edb02e",
      "ContentItemId": "16da0f7d-71b5-4efe-8c5b-dee06e982070",
      "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-06T13:18:05.9058078+00:00",
      "RescheduleDate": "2026-11-06T13:18:05.9058078+00:00"
    },
    {
      "Id": "cb32ee2a-5881-4c50-aca4-2a4114edb02e",
      "ContentItemId": "16da0f7d-71b5-4efe-8c5b-dee06e982070",
      "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-06T13:18:05.9058078+00:00",
      "RescheduleDate": "2026-11-06T13:18:05.9058078+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "681aa89e-2920-4217-88e5-c1f73478b391",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-06T13:18:05.9370582+00:00",
  "Registration": {
    "Id": "d882d5a0-2902-4692-a4fe-737536f8bf2f",
    "UserId": "e9ad4ac9-2d1b-4ac3-9101-a070df1c1c77",
    "IsCurrent": true,
    "CenterId": "55f58dd3-6e10-4268-99dd-f9cf5718b697",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "3541a401-c26e-4f71-b5e9-0c6a5ec74d5f",
    "EndDate": "2026-11-06T13:18:05.8901837+00:00",
    "StartDate": "2026-11-06T13:18:05.8901837+00:00",
    "SchedulePreferenceDate": "2026-11-06T13:18:05.8901837+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-06T13:18:05.8901837+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "8721becf-0f2c-4165-a1c3-b1a50c64e5c8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "912a847f-dded-41f4-a2ee-41c8e8a0616b",
      "Sequence": 1,
      "AncestorCategoryId": "7c03a19b-e08f-4c18-b964-970c320ffca2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "203abb8f-f72b-4cda-8e11-ed6720001835",
          "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": "203abb8f-f72b-4cda-8e11-ed6720001835",
          "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": "8721becf-0f2c-4165-a1c3-b1a50c64e5c8",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "912a847f-dded-41f4-a2ee-41c8e8a0616b",
      "Sequence": 1,
      "AncestorCategoryId": "7c03a19b-e08f-4c18-b964-970c320ffca2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "203abb8f-f72b-4cda-8e11-ed6720001835",
          "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": "203abb8f-f72b-4cda-8e11-ed6720001835",
          "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": "e39688bc-645e-4c82-9331-172cccc1b6d5",
    "CategoryId": "ad1a5556-29ab-4364-8887-954b6a631f9e",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "dcf2d48a-910d-4d74-bad1-e7e1e2b1387f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "dcf2d48a-910d-4d74-bad1-e7e1e2b1387f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "3e2f6e82-639d-4482-a810-5e501ff12218",
      "Questions": [
        {
          "Id": "2d5ec278-7682-47ff-9be6-0f741c6d7ca8",
          "Answers": "sample string 2"
        },
        {
          "Id": "2d5ec278-7682-47ff-9be6-0f741c6d7ca8",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "3e2f6e82-639d-4482-a810-5e501ff12218",
      "Questions": [
        {
          "Id": "2d5ec278-7682-47ff-9be6-0f741c6d7ca8",
          "Answers": "sample string 2"
        },
        {
          "Id": "2d5ec278-7682-47ff-9be6-0f741c6d7ca8",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "cb32ee2a-5881-4c50-aca4-2a4114edb02e",
      "ContentItemId": "16da0f7d-71b5-4efe-8c5b-dee06e982070",
      "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-06T13:18:05.9058078+00:00",
      "RescheduleDate": "2026-11-06T13:18:05.9058078+00:00"
    },
    {
      "Id": "cb32ee2a-5881-4c50-aca4-2a4114edb02e",
      "ContentItemId": "16da0f7d-71b5-4efe-8c5b-dee06e982070",
      "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-06T13:18:05.9058078+00:00",
      "RescheduleDate": "2026-11-06T13:18:05.9058078+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}