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": "c160b716-fe2a-4f45-b56d-b34a8f279f3d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-19T05:37:35.2357803+00:00",
  "Registration": {
    "Id": "ccb8e630-3b18-4074-8035-35f951284551",
    "UserId": "8ad9d59d-d5e6-459f-84c5-4686caa3058a",
    "IsCurrent": true,
    "CenterId": "f548ab82-b4cc-441d-8c7c-4e47024f4dd0",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "359387e9-cba1-437c-a668-34a48cb6a4b2",
    "EndDate": "2026-11-19T05:37:35.2357803+00:00",
    "StartDate": "2026-11-19T05:37:35.2357803+00:00",
    "SchedulePreferenceDate": "2026-11-19T05:37:35.2357803+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-19T05:37:35.2357803+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "695bd576-3fe2-49a6-a172-86b8bed67889",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fd6173f4-d339-4b3e-b6ca-f0ed05f3c9a0",
      "Sequence": 1,
      "AncestorCategoryId": "66c9b97c-9c7a-4387-b1b9-6f93dd825290",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "78a8cc70-35fd-463e-a5c2-faba189c67e7",
          "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": "78a8cc70-35fd-463e-a5c2-faba189c67e7",
          "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": "695bd576-3fe2-49a6-a172-86b8bed67889",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fd6173f4-d339-4b3e-b6ca-f0ed05f3c9a0",
      "Sequence": 1,
      "AncestorCategoryId": "66c9b97c-9c7a-4387-b1b9-6f93dd825290",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "78a8cc70-35fd-463e-a5c2-faba189c67e7",
          "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": "78a8cc70-35fd-463e-a5c2-faba189c67e7",
          "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": "aaaa38a7-1192-46be-b775-56c82fdea7ef",
    "CategoryId": "4ca4265e-0988-4f7f-a66c-1a463adacf69",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "634f0212-778b-4304-9e63-63c90d5d64b9",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "634f0212-778b-4304-9e63-63c90d5d64b9",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "4024084a-c867-4dc5-b30c-4a47abe269ba",
      "Questions": [
        {
          "Id": "2b6b5477-68e4-4d6d-9e52-96ce14ff1b96",
          "Answers": "sample string 2"
        },
        {
          "Id": "2b6b5477-68e4-4d6d-9e52-96ce14ff1b96",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "4024084a-c867-4dc5-b30c-4a47abe269ba",
      "Questions": [
        {
          "Id": "2b6b5477-68e4-4d6d-9e52-96ce14ff1b96",
          "Answers": "sample string 2"
        },
        {
          "Id": "2b6b5477-68e4-4d6d-9e52-96ce14ff1b96",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "c4444673-79bf-4a51-b988-3826cfd81a2b",
      "ContentItemId": "5fe68c16-627b-453a-81d3-bbe74027c921",
      "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-19T05:37:35.2357803+00:00",
      "RescheduleDate": "2026-11-19T05:37:35.2357803+00:00"
    },
    {
      "Id": "c4444673-79bf-4a51-b988-3826cfd81a2b",
      "ContentItemId": "5fe68c16-627b-453a-81d3-bbe74027c921",
      "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-19T05:37:35.2357803+00:00",
      "RescheduleDate": "2026-11-19T05:37:35.2357803+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "c160b716-fe2a-4f45-b56d-b34a8f279f3d",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-19T05:37:35.2670249+00:00",
  "Registration": {
    "Id": "ccb8e630-3b18-4074-8035-35f951284551",
    "UserId": "8ad9d59d-d5e6-459f-84c5-4686caa3058a",
    "IsCurrent": true,
    "CenterId": "f548ab82-b4cc-441d-8c7c-4e47024f4dd0",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "359387e9-cba1-437c-a668-34a48cb6a4b2",
    "EndDate": "2026-11-19T05:37:35.2357803+00:00",
    "StartDate": "2026-11-19T05:37:35.2357803+00:00",
    "SchedulePreferenceDate": "2026-11-19T05:37:35.2357803+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-19T05:37:35.2357803+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "695bd576-3fe2-49a6-a172-86b8bed67889",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fd6173f4-d339-4b3e-b6ca-f0ed05f3c9a0",
      "Sequence": 1,
      "AncestorCategoryId": "66c9b97c-9c7a-4387-b1b9-6f93dd825290",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "78a8cc70-35fd-463e-a5c2-faba189c67e7",
          "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": "78a8cc70-35fd-463e-a5c2-faba189c67e7",
          "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": "695bd576-3fe2-49a6-a172-86b8bed67889",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fd6173f4-d339-4b3e-b6ca-f0ed05f3c9a0",
      "Sequence": 1,
      "AncestorCategoryId": "66c9b97c-9c7a-4387-b1b9-6f93dd825290",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "78a8cc70-35fd-463e-a5c2-faba189c67e7",
          "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": "78a8cc70-35fd-463e-a5c2-faba189c67e7",
          "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": "aaaa38a7-1192-46be-b775-56c82fdea7ef",
    "CategoryId": "4ca4265e-0988-4f7f-a66c-1a463adacf69",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "634f0212-778b-4304-9e63-63c90d5d64b9",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "634f0212-778b-4304-9e63-63c90d5d64b9",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "4024084a-c867-4dc5-b30c-4a47abe269ba",
      "Questions": [
        {
          "Id": "2b6b5477-68e4-4d6d-9e52-96ce14ff1b96",
          "Answers": "sample string 2"
        },
        {
          "Id": "2b6b5477-68e4-4d6d-9e52-96ce14ff1b96",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "4024084a-c867-4dc5-b30c-4a47abe269ba",
      "Questions": [
        {
          "Id": "2b6b5477-68e4-4d6d-9e52-96ce14ff1b96",
          "Answers": "sample string 2"
        },
        {
          "Id": "2b6b5477-68e4-4d6d-9e52-96ce14ff1b96",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "c4444673-79bf-4a51-b988-3826cfd81a2b",
      "ContentItemId": "5fe68c16-627b-453a-81d3-bbe74027c921",
      "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-19T05:37:35.2357803+00:00",
      "RescheduleDate": "2026-11-19T05:37:35.2357803+00:00"
    },
    {
      "Id": "c4444673-79bf-4a51-b988-3826cfd81a2b",
      "ContentItemId": "5fe68c16-627b-453a-81d3-bbe74027c921",
      "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-19T05:37:35.2357803+00:00",
      "RescheduleDate": "2026-11-19T05:37:35.2357803+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}