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": "a4791538-c67c-4104-93a8-e66662b83d6c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-25T17:30:02.5871965+00:00",
  "Registration": {
    "Id": "ce281bc8-fd14-4672-ab21-a3320d845dec",
    "UserId": "3bde5186-6913-4b21-8b91-f365e8cd0e83",
    "IsCurrent": true,
    "CenterId": "22874902-c08e-4d71-96b5-50eb6ad919a4",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d5b87b60-a6dd-4d2b-bdf0-842f00313791",
    "EndDate": "2026-06-25T17:30:02.5871965+00:00",
    "StartDate": "2026-06-25T17:30:02.5871965+00:00",
    "SchedulePreferenceDate": "2026-06-25T17:30:02.5871965+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-06-25T17:30:02.5871965+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d5214f48-2e3f-4280-9039-aa6525807d9b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4067b87d-eed4-4538-9992-5bb1a3d4a6dc",
      "Sequence": 1,
      "AncestorCategoryId": "5216bc96-772e-45c9-854f-7acc849afd65",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a070af47-0173-4d92-a645-a5dbc26a3cd4",
          "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": "a070af47-0173-4d92-a645-a5dbc26a3cd4",
          "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": "d5214f48-2e3f-4280-9039-aa6525807d9b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4067b87d-eed4-4538-9992-5bb1a3d4a6dc",
      "Sequence": 1,
      "AncestorCategoryId": "5216bc96-772e-45c9-854f-7acc849afd65",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a070af47-0173-4d92-a645-a5dbc26a3cd4",
          "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": "a070af47-0173-4d92-a645-a5dbc26a3cd4",
          "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": "ee2e4be7-f191-42f7-92c9-4e10844c1a3e",
    "CategoryId": "f00a57e6-48d7-43dc-bd50-286c8019e875",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "e2e151a2-29a6-4ab8-80a5-7d5a004d5fa1",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "e2e151a2-29a6-4ab8-80a5-7d5a004d5fa1",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0db57f7b-c69b-4d7a-845e-d742c8210a55",
      "Questions": [
        {
          "Id": "42d486ce-f841-4cd0-afb8-6fbcc1573f81",
          "Answers": "sample string 2"
        },
        {
          "Id": "42d486ce-f841-4cd0-afb8-6fbcc1573f81",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0db57f7b-c69b-4d7a-845e-d742c8210a55",
      "Questions": [
        {
          "Id": "42d486ce-f841-4cd0-afb8-6fbcc1573f81",
          "Answers": "sample string 2"
        },
        {
          "Id": "42d486ce-f841-4cd0-afb8-6fbcc1573f81",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "662c437f-72bc-4237-b442-187d7ad2e56a",
      "ContentItemId": "26dd6c54-612e-43b4-82c7-825d9de8ec77",
      "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-06-25T17:30:02.5871965+00:00",
      "RescheduleDate": "2026-06-25T17:30:02.5871965+00:00"
    },
    {
      "Id": "662c437f-72bc-4237-b442-187d7ad2e56a",
      "ContentItemId": "26dd6c54-612e-43b4-82c7-825d9de8ec77",
      "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-06-25T17:30:02.5871965+00:00",
      "RescheduleDate": "2026-06-25T17:30:02.5871965+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "a4791538-c67c-4104-93a8-e66662b83d6c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-25T17:30:02.618445+00:00",
  "Registration": {
    "Id": "ce281bc8-fd14-4672-ab21-a3320d845dec",
    "UserId": "3bde5186-6913-4b21-8b91-f365e8cd0e83",
    "IsCurrent": true,
    "CenterId": "22874902-c08e-4d71-96b5-50eb6ad919a4",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d5b87b60-a6dd-4d2b-bdf0-842f00313791",
    "EndDate": "2026-06-25T17:30:02.5871965+00:00",
    "StartDate": "2026-06-25T17:30:02.5871965+00:00",
    "SchedulePreferenceDate": "2026-06-25T17:30:02.5871965+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-06-25T17:30:02.5871965+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "d5214f48-2e3f-4280-9039-aa6525807d9b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4067b87d-eed4-4538-9992-5bb1a3d4a6dc",
      "Sequence": 1,
      "AncestorCategoryId": "5216bc96-772e-45c9-854f-7acc849afd65",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a070af47-0173-4d92-a645-a5dbc26a3cd4",
          "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": "a070af47-0173-4d92-a645-a5dbc26a3cd4",
          "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": "d5214f48-2e3f-4280-9039-aa6525807d9b",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "4067b87d-eed4-4538-9992-5bb1a3d4a6dc",
      "Sequence": 1,
      "AncestorCategoryId": "5216bc96-772e-45c9-854f-7acc849afd65",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "a070af47-0173-4d92-a645-a5dbc26a3cd4",
          "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": "a070af47-0173-4d92-a645-a5dbc26a3cd4",
          "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": "ee2e4be7-f191-42f7-92c9-4e10844c1a3e",
    "CategoryId": "f00a57e6-48d7-43dc-bd50-286c8019e875",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "e2e151a2-29a6-4ab8-80a5-7d5a004d5fa1",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "e2e151a2-29a6-4ab8-80a5-7d5a004d5fa1",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0db57f7b-c69b-4d7a-845e-d742c8210a55",
      "Questions": [
        {
          "Id": "42d486ce-f841-4cd0-afb8-6fbcc1573f81",
          "Answers": "sample string 2"
        },
        {
          "Id": "42d486ce-f841-4cd0-afb8-6fbcc1573f81",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0db57f7b-c69b-4d7a-845e-d742c8210a55",
      "Questions": [
        {
          "Id": "42d486ce-f841-4cd0-afb8-6fbcc1573f81",
          "Answers": "sample string 2"
        },
        {
          "Id": "42d486ce-f841-4cd0-afb8-6fbcc1573f81",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "662c437f-72bc-4237-b442-187d7ad2e56a",
      "ContentItemId": "26dd6c54-612e-43b4-82c7-825d9de8ec77",
      "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-06-25T17:30:02.5871965+00:00",
      "RescheduleDate": "2026-06-25T17:30:02.5871965+00:00"
    },
    {
      "Id": "662c437f-72bc-4237-b442-187d7ad2e56a",
      "ContentItemId": "26dd6c54-612e-43b4-82c7-825d9de8ec77",
      "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-06-25T17:30:02.5871965+00:00",
      "RescheduleDate": "2026-06-25T17:30:02.5871965+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}