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": "2d8bfbd0-9a63-4033-913a-0137b2993c7f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-17T14:16:24.0932188+00:00",
  "Registration": {
    "Id": "feb1bf4e-f8ca-49fc-bef3-457ebc2c9048",
    "UserId": "6c184d3e-e6c0-4841-9056-e880d6e13350",
    "IsCurrent": true,
    "CenterId": "93f0fbb5-e5f0-4ddc-ba81-204b552ec739",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "53986561-1629-4fe9-8044-7b82d0faa931",
    "EndDate": "2026-11-17T14:16:24.0775921+00:00",
    "StartDate": "2026-11-17T14:16:24.0775921+00:00",
    "SchedulePreferenceDate": "2026-11-17T14:16:24.0775921+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-17T14:16:24.0775921+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3aa2078b-b4be-401f-9ce6-eb2b1bbcab21",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fcc2c5f1-f32b-4686-bdfb-0022bf1a3f32",
      "Sequence": 1,
      "AncestorCategoryId": "e4230f09-9ce7-4186-b79d-c7d7b05a23a5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b4deee9b-5aaf-40d0-820d-d56f9bf83f60",
          "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": "b4deee9b-5aaf-40d0-820d-d56f9bf83f60",
          "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": "3aa2078b-b4be-401f-9ce6-eb2b1bbcab21",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fcc2c5f1-f32b-4686-bdfb-0022bf1a3f32",
      "Sequence": 1,
      "AncestorCategoryId": "e4230f09-9ce7-4186-b79d-c7d7b05a23a5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b4deee9b-5aaf-40d0-820d-d56f9bf83f60",
          "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": "b4deee9b-5aaf-40d0-820d-d56f9bf83f60",
          "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": "7116c764-f7c2-4ce7-9906-c449d426e51d",
    "CategoryId": "4db2ab72-2152-4d9d-921b-ae28f23f605a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0ac889f2-6b64-474c-9c65-e3bc257f1cef",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0ac889f2-6b64-474c-9c65-e3bc257f1cef",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "98487f18-ad53-4a22-98e6-11b2d5d182a5",
      "Questions": [
        {
          "Id": "9366c728-db0a-4b2d-b36c-34e105730eaf",
          "Answers": "sample string 2"
        },
        {
          "Id": "9366c728-db0a-4b2d-b36c-34e105730eaf",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "98487f18-ad53-4a22-98e6-11b2d5d182a5",
      "Questions": [
        {
          "Id": "9366c728-db0a-4b2d-b36c-34e105730eaf",
          "Answers": "sample string 2"
        },
        {
          "Id": "9366c728-db0a-4b2d-b36c-34e105730eaf",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "12a26ca7-cb1e-4205-9a9d-dd1b983ab1e5",
      "ContentItemId": "30f22c45-c742-47df-b6bf-942d64aea3ab",
      "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-17T14:16:24.0775921+00:00",
      "RescheduleDate": "2026-11-17T14:16:24.0775921+00:00"
    },
    {
      "Id": "12a26ca7-cb1e-4205-9a9d-dd1b983ab1e5",
      "ContentItemId": "30f22c45-c742-47df-b6bf-942d64aea3ab",
      "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-17T14:16:24.0775921+00:00",
      "RescheduleDate": "2026-11-17T14:16:24.0775921+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "2d8bfbd0-9a63-4033-913a-0137b2993c7f",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-11-17T14:16:24.1244666+00:00",
  "Registration": {
    "Id": "feb1bf4e-f8ca-49fc-bef3-457ebc2c9048",
    "UserId": "6c184d3e-e6c0-4841-9056-e880d6e13350",
    "IsCurrent": true,
    "CenterId": "93f0fbb5-e5f0-4ddc-ba81-204b552ec739",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "53986561-1629-4fe9-8044-7b82d0faa931",
    "EndDate": "2026-11-17T14:16:24.0775921+00:00",
    "StartDate": "2026-11-17T14:16:24.0775921+00:00",
    "SchedulePreferenceDate": "2026-11-17T14:16:24.0775921+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-17T14:16:24.0775921+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3aa2078b-b4be-401f-9ce6-eb2b1bbcab21",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fcc2c5f1-f32b-4686-bdfb-0022bf1a3f32",
      "Sequence": 1,
      "AncestorCategoryId": "e4230f09-9ce7-4186-b79d-c7d7b05a23a5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b4deee9b-5aaf-40d0-820d-d56f9bf83f60",
          "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": "b4deee9b-5aaf-40d0-820d-d56f9bf83f60",
          "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": "3aa2078b-b4be-401f-9ce6-eb2b1bbcab21",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "fcc2c5f1-f32b-4686-bdfb-0022bf1a3f32",
      "Sequence": 1,
      "AncestorCategoryId": "e4230f09-9ce7-4186-b79d-c7d7b05a23a5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "b4deee9b-5aaf-40d0-820d-d56f9bf83f60",
          "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": "b4deee9b-5aaf-40d0-820d-d56f9bf83f60",
          "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": "7116c764-f7c2-4ce7-9906-c449d426e51d",
    "CategoryId": "4db2ab72-2152-4d9d-921b-ae28f23f605a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "0ac889f2-6b64-474c-9c65-e3bc257f1cef",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "0ac889f2-6b64-474c-9c65-e3bc257f1cef",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "98487f18-ad53-4a22-98e6-11b2d5d182a5",
      "Questions": [
        {
          "Id": "9366c728-db0a-4b2d-b36c-34e105730eaf",
          "Answers": "sample string 2"
        },
        {
          "Id": "9366c728-db0a-4b2d-b36c-34e105730eaf",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "98487f18-ad53-4a22-98e6-11b2d5d182a5",
      "Questions": [
        {
          "Id": "9366c728-db0a-4b2d-b36c-34e105730eaf",
          "Answers": "sample string 2"
        },
        {
          "Id": "9366c728-db0a-4b2d-b36c-34e105730eaf",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "12a26ca7-cb1e-4205-9a9d-dd1b983ab1e5",
      "ContentItemId": "30f22c45-c742-47df-b6bf-942d64aea3ab",
      "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-17T14:16:24.0775921+00:00",
      "RescheduleDate": "2026-11-17T14:16:24.0775921+00:00"
    },
    {
      "Id": "12a26ca7-cb1e-4205-9a9d-dd1b983ab1e5",
      "ContentItemId": "30f22c45-c742-47df-b6bf-942d64aea3ab",
      "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-17T14:16:24.0775921+00:00",
      "RescheduleDate": "2026-11-17T14:16:24.0775921+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}