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": "6b51f6be-e963-464e-8db3-ee751ce73b29",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-28T03:53:46.8850034+00:00",
  "Registration": {
    "Id": "402546e5-fb04-4f63-bdf8-c8ec44e4d495",
    "UserId": "9b8fd24b-f9a1-4aed-9f0e-753dc850833a",
    "IsCurrent": true,
    "CenterId": "dafc8c93-6dfa-4695-ba04-64fc65f90752",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "92bf3b30-88ba-485f-9c5d-9dfb85759616",
    "EndDate": "2026-01-28T03:53:46.8850034+00:00",
    "StartDate": "2026-01-28T03:53:46.8850034+00:00",
    "SchedulePreferenceDate": "2026-01-28T03:53:46.8850034+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-28T03:53:46.8850034+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "0afbbdda-ce1a-4788-9751-2a3fee5f32b2",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c24baad3-2caf-4961-848d-5c680f8733f1",
      "Sequence": 1,
      "AncestorCategoryId": "5aafc25e-5502-450a-a88d-ce28a533b5b3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4c446507-3397-402b-8494-92e64276795b",
          "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": "4c446507-3397-402b-8494-92e64276795b",
          "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": "0afbbdda-ce1a-4788-9751-2a3fee5f32b2",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c24baad3-2caf-4961-848d-5c680f8733f1",
      "Sequence": 1,
      "AncestorCategoryId": "5aafc25e-5502-450a-a88d-ce28a533b5b3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4c446507-3397-402b-8494-92e64276795b",
          "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": "4c446507-3397-402b-8494-92e64276795b",
          "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": "baa75cbc-fe15-4976-b0b2-d0a1cb9f3b94",
    "CategoryId": "a24fbc04-f828-484e-a30f-ec8b4f0c9d00",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c2c9de26-fe58-4d8e-8880-79ee6da688f3",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c2c9de26-fe58-4d8e-8880-79ee6da688f3",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ccef7a3b-d091-43ca-92d4-866e5c021786",
      "Questions": [
        {
          "Id": "73b1c2a9-9594-4378-b7b4-32f354d379ad",
          "Answers": "sample string 2"
        },
        {
          "Id": "73b1c2a9-9594-4378-b7b4-32f354d379ad",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ccef7a3b-d091-43ca-92d4-866e5c021786",
      "Questions": [
        {
          "Id": "73b1c2a9-9594-4378-b7b4-32f354d379ad",
          "Answers": "sample string 2"
        },
        {
          "Id": "73b1c2a9-9594-4378-b7b4-32f354d379ad",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "69411f4f-3796-4844-8420-53bfc5960d8d",
      "ContentItemId": "b14da48d-26a3-45dd-8d76-f15d0768a0d4",
      "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-28T03:53:46.8850034+00:00",
      "RescheduleDate": "2026-01-28T03:53:46.8850034+00:00"
    },
    {
      "Id": "69411f4f-3796-4844-8420-53bfc5960d8d",
      "ContentItemId": "b14da48d-26a3-45dd-8d76-f15d0768a0d4",
      "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-28T03:53:46.8850034+00:00",
      "RescheduleDate": "2026-01-28T03:53:46.8850034+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "6b51f6be-e963-464e-8db3-ee751ce73b29",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-28T03:53:46.9318791+00:00",
  "Registration": {
    "Id": "402546e5-fb04-4f63-bdf8-c8ec44e4d495",
    "UserId": "9b8fd24b-f9a1-4aed-9f0e-753dc850833a",
    "IsCurrent": true,
    "CenterId": "dafc8c93-6dfa-4695-ba04-64fc65f90752",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "92bf3b30-88ba-485f-9c5d-9dfb85759616",
    "EndDate": "2026-01-28T03:53:46.8850034+00:00",
    "StartDate": "2026-01-28T03:53:46.8850034+00:00",
    "SchedulePreferenceDate": "2026-01-28T03:53:46.8850034+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-28T03:53:46.8850034+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "0afbbdda-ce1a-4788-9751-2a3fee5f32b2",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c24baad3-2caf-4961-848d-5c680f8733f1",
      "Sequence": 1,
      "AncestorCategoryId": "5aafc25e-5502-450a-a88d-ce28a533b5b3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4c446507-3397-402b-8494-92e64276795b",
          "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": "4c446507-3397-402b-8494-92e64276795b",
          "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": "0afbbdda-ce1a-4788-9751-2a3fee5f32b2",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "c24baad3-2caf-4961-848d-5c680f8733f1",
      "Sequence": 1,
      "AncestorCategoryId": "5aafc25e-5502-450a-a88d-ce28a533b5b3",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "4c446507-3397-402b-8494-92e64276795b",
          "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": "4c446507-3397-402b-8494-92e64276795b",
          "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": "baa75cbc-fe15-4976-b0b2-d0a1cb9f3b94",
    "CategoryId": "a24fbc04-f828-484e-a30f-ec8b4f0c9d00",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "c2c9de26-fe58-4d8e-8880-79ee6da688f3",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "c2c9de26-fe58-4d8e-8880-79ee6da688f3",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "ccef7a3b-d091-43ca-92d4-866e5c021786",
      "Questions": [
        {
          "Id": "73b1c2a9-9594-4378-b7b4-32f354d379ad",
          "Answers": "sample string 2"
        },
        {
          "Id": "73b1c2a9-9594-4378-b7b4-32f354d379ad",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "ccef7a3b-d091-43ca-92d4-866e5c021786",
      "Questions": [
        {
          "Id": "73b1c2a9-9594-4378-b7b4-32f354d379ad",
          "Answers": "sample string 2"
        },
        {
          "Id": "73b1c2a9-9594-4378-b7b4-32f354d379ad",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "69411f4f-3796-4844-8420-53bfc5960d8d",
      "ContentItemId": "b14da48d-26a3-45dd-8d76-f15d0768a0d4",
      "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-28T03:53:46.8850034+00:00",
      "RescheduleDate": "2026-01-28T03:53:46.8850034+00:00"
    },
    {
      "Id": "69411f4f-3796-4844-8420-53bfc5960d8d",
      "ContentItemId": "b14da48d-26a3-45dd-8d76-f15d0768a0d4",
      "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-28T03:53:46.8850034+00:00",
      "RescheduleDate": "2026-01-28T03:53:46.8850034+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}