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": "7cbdb42a-1774-46fc-8310-dc3810f2db90",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-12T14:56:05.5899794+00:00",
  "Registration": {
    "Id": "61be7705-d2a9-4bf0-8a90-07f6c3af5f04",
    "UserId": "1a520d23-88f7-4564-b0fc-7e74e22fe9ba",
    "IsCurrent": true,
    "CenterId": "06034809-1bc2-4222-b839-fe935414b5c5",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "09566d27-3e3d-4f23-96db-fd1b6a61c52f",
    "EndDate": "2026-10-12T14:56:05.5743509+00:00",
    "StartDate": "2026-10-12T14:56:05.5743509+00:00",
    "SchedulePreferenceDate": "2026-10-12T14:56:05.5743509+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-10-12T14:56:05.5743509+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9af756c1-2a15-4817-a1c3-7a2558302b0c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "cd48fcf7-18a7-42fa-96f7-e25f2f066e51",
      "Sequence": 1,
      "AncestorCategoryId": "6eff9b3a-f523-44b7-8df7-61fcde60f0ff",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3cc60d85-5d58-4e67-8a9b-f02937499f5d",
          "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": "3cc60d85-5d58-4e67-8a9b-f02937499f5d",
          "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": "9af756c1-2a15-4817-a1c3-7a2558302b0c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "cd48fcf7-18a7-42fa-96f7-e25f2f066e51",
      "Sequence": 1,
      "AncestorCategoryId": "6eff9b3a-f523-44b7-8df7-61fcde60f0ff",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3cc60d85-5d58-4e67-8a9b-f02937499f5d",
          "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": "3cc60d85-5d58-4e67-8a9b-f02937499f5d",
          "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": "04826ff9-719e-4a49-b6d5-6d069925a1eb",
    "CategoryId": "d92b7ddd-26c5-4723-ba5d-3f889923a3b1",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d8a5b786-09b0-4fc3-bb64-3864aec0b1e6",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d8a5b786-09b0-4fc3-bb64-3864aec0b1e6",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "6f021d6f-30c5-4dcd-af62-80505af514a4",
      "Questions": [
        {
          "Id": "c5bf311b-2c4b-41ed-977d-e8cf9be92181",
          "Answers": "sample string 2"
        },
        {
          "Id": "c5bf311b-2c4b-41ed-977d-e8cf9be92181",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "6f021d6f-30c5-4dcd-af62-80505af514a4",
      "Questions": [
        {
          "Id": "c5bf311b-2c4b-41ed-977d-e8cf9be92181",
          "Answers": "sample string 2"
        },
        {
          "Id": "c5bf311b-2c4b-41ed-977d-e8cf9be92181",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "e4a550c1-29e6-47d0-8f16-b2f00891ba2e",
      "ContentItemId": "c336d803-f380-461b-ae9f-d4287684bc80",
      "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-10-12T14:56:05.5743509+00:00",
      "RescheduleDate": "2026-10-12T14:56:05.5743509+00:00"
    },
    {
      "Id": "e4a550c1-29e6-47d0-8f16-b2f00891ba2e",
      "ContentItemId": "c336d803-f380-461b-ae9f-d4287684bc80",
      "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-10-12T14:56:05.5743509+00:00",
      "RescheduleDate": "2026-10-12T14:56:05.5743509+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "7cbdb42a-1774-46fc-8310-dc3810f2db90",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-12T14:56:05.6368523+00:00",
  "Registration": {
    "Id": "61be7705-d2a9-4bf0-8a90-07f6c3af5f04",
    "UserId": "1a520d23-88f7-4564-b0fc-7e74e22fe9ba",
    "IsCurrent": true,
    "CenterId": "06034809-1bc2-4222-b839-fe935414b5c5",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "09566d27-3e3d-4f23-96db-fd1b6a61c52f",
    "EndDate": "2026-10-12T14:56:05.5743509+00:00",
    "StartDate": "2026-10-12T14:56:05.5743509+00:00",
    "SchedulePreferenceDate": "2026-10-12T14:56:05.5743509+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-10-12T14:56:05.5743509+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "9af756c1-2a15-4817-a1c3-7a2558302b0c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "cd48fcf7-18a7-42fa-96f7-e25f2f066e51",
      "Sequence": 1,
      "AncestorCategoryId": "6eff9b3a-f523-44b7-8df7-61fcde60f0ff",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3cc60d85-5d58-4e67-8a9b-f02937499f5d",
          "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": "3cc60d85-5d58-4e67-8a9b-f02937499f5d",
          "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": "9af756c1-2a15-4817-a1c3-7a2558302b0c",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "cd48fcf7-18a7-42fa-96f7-e25f2f066e51",
      "Sequence": 1,
      "AncestorCategoryId": "6eff9b3a-f523-44b7-8df7-61fcde60f0ff",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "3cc60d85-5d58-4e67-8a9b-f02937499f5d",
          "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": "3cc60d85-5d58-4e67-8a9b-f02937499f5d",
          "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": "04826ff9-719e-4a49-b6d5-6d069925a1eb",
    "CategoryId": "d92b7ddd-26c5-4723-ba5d-3f889923a3b1",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "d8a5b786-09b0-4fc3-bb64-3864aec0b1e6",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "d8a5b786-09b0-4fc3-bb64-3864aec0b1e6",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "6f021d6f-30c5-4dcd-af62-80505af514a4",
      "Questions": [
        {
          "Id": "c5bf311b-2c4b-41ed-977d-e8cf9be92181",
          "Answers": "sample string 2"
        },
        {
          "Id": "c5bf311b-2c4b-41ed-977d-e8cf9be92181",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "6f021d6f-30c5-4dcd-af62-80505af514a4",
      "Questions": [
        {
          "Id": "c5bf311b-2c4b-41ed-977d-e8cf9be92181",
          "Answers": "sample string 2"
        },
        {
          "Id": "c5bf311b-2c4b-41ed-977d-e8cf9be92181",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "e4a550c1-29e6-47d0-8f16-b2f00891ba2e",
      "ContentItemId": "c336d803-f380-461b-ae9f-d4287684bc80",
      "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-10-12T14:56:05.5743509+00:00",
      "RescheduleDate": "2026-10-12T14:56:05.5743509+00:00"
    },
    {
      "Id": "e4a550c1-29e6-47d0-8f16-b2f00891ba2e",
      "ContentItemId": "c336d803-f380-461b-ae9f-d4287684bc80",
      "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-10-12T14:56:05.5743509+00:00",
      "RescheduleDate": "2026-10-12T14:56:05.5743509+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}