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": "0a19db10-7549-46fd-be8f-19afcb424732",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-07T16:17:44.4146977+00:00",
  "Registration": {
    "Id": "df17c3e4-31b7-4a13-94c1-8e67b96c32c0",
    "UserId": "e4df8efe-7213-4524-9aa4-bba742120ea7",
    "IsCurrent": true,
    "CenterId": "90305200-a83a-4b11-b357-21fd3c2993ac",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "cb2527a6-292e-4529-b77e-3bb3b25571f0",
    "EndDate": "2026-10-07T16:17:44.3990713+00:00",
    "StartDate": "2026-10-07T16:17:44.3990713+00:00",
    "SchedulePreferenceDate": "2026-10-07T16:17:44.3990713+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-10-07T16:17:44.3990713+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "1e1a1676-04a9-473a-b62c-e8710c35d7eb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3ae4334a-690a-433d-9e52-0dc7136ea992",
      "Sequence": 1,
      "AncestorCategoryId": "925491c8-0721-45ec-bf7b-f9b9bfa5724b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5b195171-c123-470b-8b03-219f4691e440",
          "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": "5b195171-c123-470b-8b03-219f4691e440",
          "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": "1e1a1676-04a9-473a-b62c-e8710c35d7eb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3ae4334a-690a-433d-9e52-0dc7136ea992",
      "Sequence": 1,
      "AncestorCategoryId": "925491c8-0721-45ec-bf7b-f9b9bfa5724b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5b195171-c123-470b-8b03-219f4691e440",
          "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": "5b195171-c123-470b-8b03-219f4691e440",
          "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": "446b79e3-0708-4094-ae9f-ca5caff56af0",
    "CategoryId": "50365294-c278-49bf-87e2-d4c0bd0f78d8",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "feb814a9-611f-45ba-a8c0-8d7a61124cfd",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "feb814a9-611f-45ba-a8c0-8d7a61124cfd",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "39f2f13e-c4dc-4b19-8e75-df7edf495a25",
      "Questions": [
        {
          "Id": "ba8f078a-7dd3-4262-99b9-5aa2f4b6c5a6",
          "Answers": "sample string 2"
        },
        {
          "Id": "ba8f078a-7dd3-4262-99b9-5aa2f4b6c5a6",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "39f2f13e-c4dc-4b19-8e75-df7edf495a25",
      "Questions": [
        {
          "Id": "ba8f078a-7dd3-4262-99b9-5aa2f4b6c5a6",
          "Answers": "sample string 2"
        },
        {
          "Id": "ba8f078a-7dd3-4262-99b9-5aa2f4b6c5a6",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "056272f3-d90c-41d7-81eb-7b0ebf1a59cf",
      "ContentItemId": "246fbebd-300a-49e0-8114-b53133430a4a",
      "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-10-07T16:17:44.3990713+00:00",
      "RescheduleDate": "2026-10-07T16:17:44.3990713+00:00"
    },
    {
      "Id": "056272f3-d90c-41d7-81eb-7b0ebf1a59cf",
      "ContentItemId": "246fbebd-300a-49e0-8114-b53133430a4a",
      "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-10-07T16:17:44.3990713+00:00",
      "RescheduleDate": "2026-10-07T16:17:44.3990713+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "0a19db10-7549-46fd-be8f-19afcb424732",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-10-07T16:17:44.4459476+00:00",
  "Registration": {
    "Id": "df17c3e4-31b7-4a13-94c1-8e67b96c32c0",
    "UserId": "e4df8efe-7213-4524-9aa4-bba742120ea7",
    "IsCurrent": true,
    "CenterId": "90305200-a83a-4b11-b357-21fd3c2993ac",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "cb2527a6-292e-4529-b77e-3bb3b25571f0",
    "EndDate": "2026-10-07T16:17:44.3990713+00:00",
    "StartDate": "2026-10-07T16:17:44.3990713+00:00",
    "SchedulePreferenceDate": "2026-10-07T16:17:44.3990713+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-10-07T16:17:44.3990713+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "1e1a1676-04a9-473a-b62c-e8710c35d7eb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3ae4334a-690a-433d-9e52-0dc7136ea992",
      "Sequence": 1,
      "AncestorCategoryId": "925491c8-0721-45ec-bf7b-f9b9bfa5724b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5b195171-c123-470b-8b03-219f4691e440",
          "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": "5b195171-c123-470b-8b03-219f4691e440",
          "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": "1e1a1676-04a9-473a-b62c-e8710c35d7eb",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "3ae4334a-690a-433d-9e52-0dc7136ea992",
      "Sequence": 1,
      "AncestorCategoryId": "925491c8-0721-45ec-bf7b-f9b9bfa5724b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "5b195171-c123-470b-8b03-219f4691e440",
          "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": "5b195171-c123-470b-8b03-219f4691e440",
          "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": "446b79e3-0708-4094-ae9f-ca5caff56af0",
    "CategoryId": "50365294-c278-49bf-87e2-d4c0bd0f78d8",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "feb814a9-611f-45ba-a8c0-8d7a61124cfd",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "feb814a9-611f-45ba-a8c0-8d7a61124cfd",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "39f2f13e-c4dc-4b19-8e75-df7edf495a25",
      "Questions": [
        {
          "Id": "ba8f078a-7dd3-4262-99b9-5aa2f4b6c5a6",
          "Answers": "sample string 2"
        },
        {
          "Id": "ba8f078a-7dd3-4262-99b9-5aa2f4b6c5a6",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "39f2f13e-c4dc-4b19-8e75-df7edf495a25",
      "Questions": [
        {
          "Id": "ba8f078a-7dd3-4262-99b9-5aa2f4b6c5a6",
          "Answers": "sample string 2"
        },
        {
          "Id": "ba8f078a-7dd3-4262-99b9-5aa2f4b6c5a6",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "056272f3-d90c-41d7-81eb-7b0ebf1a59cf",
      "ContentItemId": "246fbebd-300a-49e0-8114-b53133430a4a",
      "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-10-07T16:17:44.3990713+00:00",
      "RescheduleDate": "2026-10-07T16:17:44.3990713+00:00"
    },
    {
      "Id": "056272f3-d90c-41d7-81eb-7b0ebf1a59cf",
      "ContentItemId": "246fbebd-300a-49e0-8114-b53133430a4a",
      "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-10-07T16:17:44.3990713+00:00",
      "RescheduleDate": "2026-10-07T16:17:44.3990713+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}