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": "90056ba7-bdb7-441a-a51f-cd89b53fa6ab",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-17T14:31:19.0073928+00:00",
  "Registration": {
    "Id": "7e3cbeaa-323a-4a7a-8a54-1cfed966495a",
    "UserId": "bc97b267-4603-4536-9c20-9dd88fe8babe",
    "IsCurrent": true,
    "CenterId": "fe3821ad-2386-4ceb-a584-b3b5e5815c08",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "1e410aa1-f1a2-4ca9-9acc-34353caee7c1",
    "EndDate": "2026-07-17T14:31:18.9917673+00:00",
    "StartDate": "2026-07-17T14:31:18.9917673+00:00",
    "SchedulePreferenceDate": "2026-07-17T14:31:18.9917673+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-07-17T14:31:18.9917673+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e9a466da-306d-4daa-9d02-b778c68ff179",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a4a44018-8209-4aaa-b423-0fb1cc3f318f",
      "Sequence": 1,
      "AncestorCategoryId": "f1bfbfeb-3706-4c71-a483-3b8c7c690347",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c45f3058-165c-48c9-87c5-35ce63f0a4c1",
          "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": "c45f3058-165c-48c9-87c5-35ce63f0a4c1",
          "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": "e9a466da-306d-4daa-9d02-b778c68ff179",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a4a44018-8209-4aaa-b423-0fb1cc3f318f",
      "Sequence": 1,
      "AncestorCategoryId": "f1bfbfeb-3706-4c71-a483-3b8c7c690347",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c45f3058-165c-48c9-87c5-35ce63f0a4c1",
          "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": "c45f3058-165c-48c9-87c5-35ce63f0a4c1",
          "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": "63cd21dd-87d3-48be-a415-8f7961381469",
    "CategoryId": "5999458f-7949-44b0-809d-ac166e839350",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "2e127bb9-fa3c-40af-a5c8-2cd9612c6eba",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "2e127bb9-fa3c-40af-a5c8-2cd9612c6eba",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f088e65e-d37d-4352-99d3-63040a6eef4c",
      "Questions": [
        {
          "Id": "0e7d761d-37a9-4400-8732-838b0525f4ea",
          "Answers": "sample string 2"
        },
        {
          "Id": "0e7d761d-37a9-4400-8732-838b0525f4ea",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f088e65e-d37d-4352-99d3-63040a6eef4c",
      "Questions": [
        {
          "Id": "0e7d761d-37a9-4400-8732-838b0525f4ea",
          "Answers": "sample string 2"
        },
        {
          "Id": "0e7d761d-37a9-4400-8732-838b0525f4ea",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a1e48051-6ad3-472b-8236-ef16734da3c7",
      "ContentItemId": "89d38846-73ed-4041-96c7-dfb6ec019abe",
      "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-07-17T14:31:19.0073928+00:00",
      "RescheduleDate": "2026-07-17T14:31:19.0073928+00:00"
    },
    {
      "Id": "a1e48051-6ad3-472b-8236-ef16734da3c7",
      "ContentItemId": "89d38846-73ed-4041-96c7-dfb6ec019abe",
      "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-07-17T14:31:19.0073928+00:00",
      "RescheduleDate": "2026-07-17T14:31:19.0073928+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "90056ba7-bdb7-441a-a51f-cd89b53fa6ab",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-17T14:31:19.0698932+00:00",
  "Registration": {
    "Id": "7e3cbeaa-323a-4a7a-8a54-1cfed966495a",
    "UserId": "bc97b267-4603-4536-9c20-9dd88fe8babe",
    "IsCurrent": true,
    "CenterId": "fe3821ad-2386-4ceb-a584-b3b5e5815c08",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "1e410aa1-f1a2-4ca9-9acc-34353caee7c1",
    "EndDate": "2026-07-17T14:31:18.9917673+00:00",
    "StartDate": "2026-07-17T14:31:18.9917673+00:00",
    "SchedulePreferenceDate": "2026-07-17T14:31:18.9917673+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-07-17T14:31:18.9917673+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "e9a466da-306d-4daa-9d02-b778c68ff179",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a4a44018-8209-4aaa-b423-0fb1cc3f318f",
      "Sequence": 1,
      "AncestorCategoryId": "f1bfbfeb-3706-4c71-a483-3b8c7c690347",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c45f3058-165c-48c9-87c5-35ce63f0a4c1",
          "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": "c45f3058-165c-48c9-87c5-35ce63f0a4c1",
          "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": "e9a466da-306d-4daa-9d02-b778c68ff179",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "a4a44018-8209-4aaa-b423-0fb1cc3f318f",
      "Sequence": 1,
      "AncestorCategoryId": "f1bfbfeb-3706-4c71-a483-3b8c7c690347",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "c45f3058-165c-48c9-87c5-35ce63f0a4c1",
          "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": "c45f3058-165c-48c9-87c5-35ce63f0a4c1",
          "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": "63cd21dd-87d3-48be-a415-8f7961381469",
    "CategoryId": "5999458f-7949-44b0-809d-ac166e839350",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "2e127bb9-fa3c-40af-a5c8-2cd9612c6eba",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "2e127bb9-fa3c-40af-a5c8-2cd9612c6eba",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f088e65e-d37d-4352-99d3-63040a6eef4c",
      "Questions": [
        {
          "Id": "0e7d761d-37a9-4400-8732-838b0525f4ea",
          "Answers": "sample string 2"
        },
        {
          "Id": "0e7d761d-37a9-4400-8732-838b0525f4ea",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f088e65e-d37d-4352-99d3-63040a6eef4c",
      "Questions": [
        {
          "Id": "0e7d761d-37a9-4400-8732-838b0525f4ea",
          "Answers": "sample string 2"
        },
        {
          "Id": "0e7d761d-37a9-4400-8732-838b0525f4ea",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "a1e48051-6ad3-472b-8236-ef16734da3c7",
      "ContentItemId": "89d38846-73ed-4041-96c7-dfb6ec019abe",
      "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-07-17T14:31:19.0073928+00:00",
      "RescheduleDate": "2026-07-17T14:31:19.0073928+00:00"
    },
    {
      "Id": "a1e48051-6ad3-472b-8236-ef16734da3c7",
      "ContentItemId": "89d38846-73ed-4041-96c7-dfb6ec019abe",
      "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-07-17T14:31:19.0073928+00:00",
      "RescheduleDate": "2026-07-17T14:31:19.0073928+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}