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": "4896658b-64b3-496d-8a08-c537a2738ab3",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-24T03:36:46.6990667+00:00",
  "Registration": {
    "Id": "6f3a5310-a707-43ec-87d9-846052a64862",
    "UserId": "9dc5ddf9-f3ad-4cfa-8f13-01d1e2a48442",
    "IsCurrent": true,
    "CenterId": "92dbcd64-2306-4f64-b60e-4bcd610094e7",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "e5f458c0-2fc6-4337-ac53-15e3498f878c",
    "EndDate": "2026-01-24T03:36:46.6990667+00:00",
    "StartDate": "2026-01-24T03:36:46.6990667+00:00",
    "SchedulePreferenceDate": "2026-01-24T03:36:46.6990667+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-24T03:36:46.6990667+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5489433d-ac7c-44f3-ad32-5455902b98e3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b01dc216-6061-4243-84ef-9e9d3d9a1490",
      "Sequence": 1,
      "AncestorCategoryId": "ad9597e8-10f3-4e59-bde7-9cc08642b36e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6cc44bd0-166e-4b8a-aa79-2fa4b54a07b6",
          "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": "6cc44bd0-166e-4b8a-aa79-2fa4b54a07b6",
          "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": "5489433d-ac7c-44f3-ad32-5455902b98e3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b01dc216-6061-4243-84ef-9e9d3d9a1490",
      "Sequence": 1,
      "AncestorCategoryId": "ad9597e8-10f3-4e59-bde7-9cc08642b36e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6cc44bd0-166e-4b8a-aa79-2fa4b54a07b6",
          "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": "6cc44bd0-166e-4b8a-aa79-2fa4b54a07b6",
          "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": "6c9fa916-3328-4790-af48-c082eefb59ec",
    "CategoryId": "8e3c6748-9c31-48f4-8140-bd7a461f21f2",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "57daa81e-1423-4cf0-b4ec-bbbecee02fe9",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "57daa81e-1423-4cf0-b4ec-bbbecee02fe9",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0a270c2e-2d2d-4b53-af10-ac69d1b30d62",
      "Questions": [
        {
          "Id": "d4124db8-a329-4065-b51f-c55ae1aaf137",
          "Answers": "sample string 2"
        },
        {
          "Id": "d4124db8-a329-4065-b51f-c55ae1aaf137",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0a270c2e-2d2d-4b53-af10-ac69d1b30d62",
      "Questions": [
        {
          "Id": "d4124db8-a329-4065-b51f-c55ae1aaf137",
          "Answers": "sample string 2"
        },
        {
          "Id": "d4124db8-a329-4065-b51f-c55ae1aaf137",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "fd60bdde-75dc-4bab-aa01-1dfbe9183bc3",
      "ContentItemId": "88fe5ac8-57b7-4a52-bfa7-a12c00b402e7",
      "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-24T03:36:46.6990667+00:00",
      "RescheduleDate": "2026-01-24T03:36:46.6990667+00:00"
    },
    {
      "Id": "fd60bdde-75dc-4bab-aa01-1dfbe9183bc3",
      "ContentItemId": "88fe5ac8-57b7-4a52-bfa7-a12c00b402e7",
      "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-24T03:36:46.6990667+00:00",
      "RescheduleDate": "2026-01-24T03:36:46.6990667+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "4896658b-64b3-496d-8a08-c537a2738ab3",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-24T03:36:46.7303178+00:00",
  "Registration": {
    "Id": "6f3a5310-a707-43ec-87d9-846052a64862",
    "UserId": "9dc5ddf9-f3ad-4cfa-8f13-01d1e2a48442",
    "IsCurrent": true,
    "CenterId": "92dbcd64-2306-4f64-b60e-4bcd610094e7",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "e5f458c0-2fc6-4337-ac53-15e3498f878c",
    "EndDate": "2026-01-24T03:36:46.6990667+00:00",
    "StartDate": "2026-01-24T03:36:46.6990667+00:00",
    "SchedulePreferenceDate": "2026-01-24T03:36:46.6990667+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-24T03:36:46.6990667+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "5489433d-ac7c-44f3-ad32-5455902b98e3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b01dc216-6061-4243-84ef-9e9d3d9a1490",
      "Sequence": 1,
      "AncestorCategoryId": "ad9597e8-10f3-4e59-bde7-9cc08642b36e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6cc44bd0-166e-4b8a-aa79-2fa4b54a07b6",
          "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": "6cc44bd0-166e-4b8a-aa79-2fa4b54a07b6",
          "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": "5489433d-ac7c-44f3-ad32-5455902b98e3",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "b01dc216-6061-4243-84ef-9e9d3d9a1490",
      "Sequence": 1,
      "AncestorCategoryId": "ad9597e8-10f3-4e59-bde7-9cc08642b36e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "6cc44bd0-166e-4b8a-aa79-2fa4b54a07b6",
          "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": "6cc44bd0-166e-4b8a-aa79-2fa4b54a07b6",
          "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": "6c9fa916-3328-4790-af48-c082eefb59ec",
    "CategoryId": "8e3c6748-9c31-48f4-8140-bd7a461f21f2",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "57daa81e-1423-4cf0-b4ec-bbbecee02fe9",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "57daa81e-1423-4cf0-b4ec-bbbecee02fe9",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "0a270c2e-2d2d-4b53-af10-ac69d1b30d62",
      "Questions": [
        {
          "Id": "d4124db8-a329-4065-b51f-c55ae1aaf137",
          "Answers": "sample string 2"
        },
        {
          "Id": "d4124db8-a329-4065-b51f-c55ae1aaf137",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "0a270c2e-2d2d-4b53-af10-ac69d1b30d62",
      "Questions": [
        {
          "Id": "d4124db8-a329-4065-b51f-c55ae1aaf137",
          "Answers": "sample string 2"
        },
        {
          "Id": "d4124db8-a329-4065-b51f-c55ae1aaf137",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "fd60bdde-75dc-4bab-aa01-1dfbe9183bc3",
      "ContentItemId": "88fe5ac8-57b7-4a52-bfa7-a12c00b402e7",
      "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-24T03:36:46.6990667+00:00",
      "RescheduleDate": "2026-01-24T03:36:46.6990667+00:00"
    },
    {
      "Id": "fd60bdde-75dc-4bab-aa01-1dfbe9183bc3",
      "ContentItemId": "88fe5ac8-57b7-4a52-bfa7-a12c00b402e7",
      "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-24T03:36:46.6990667+00:00",
      "RescheduleDate": "2026-01-24T03:36:46.6990667+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}