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": "ba763a76-2a28-4b92-ba1d-9b09d644f312",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-25T00:35:35.4726642+00:00",
  "Registration": {
    "Id": "1c2854b2-dc0e-4519-8027-a23900a76458",
    "UserId": "72ed7378-0bf8-48f8-826b-afec5a83cff1",
    "IsCurrent": true,
    "CenterId": "faa8939d-ab1d-4ee4-ac6d-2a57db0ebffb",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d8a5f42f-9263-4b2f-a25b-e0f156d3cdf9",
    "EndDate": "2026-08-25T00:35:35.4570397+00:00",
    "StartDate": "2026-08-25T00:35:35.4570397+00:00",
    "SchedulePreferenceDate": "2026-08-25T00:35:35.4570397+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-08-25T00:35:35.4570397+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2b3e1102-1f5e-4eb3-adbf-36923a281222",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "da104074-9304-4150-831a-394a7d958700",
      "Sequence": 1,
      "AncestorCategoryId": "9d779b2a-a1c2-46e4-abb6-a61c944ba0d2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1c4b8f3c-edf6-4113-b602-809382fea027",
          "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": "1c4b8f3c-edf6-4113-b602-809382fea027",
          "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": "2b3e1102-1f5e-4eb3-adbf-36923a281222",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "da104074-9304-4150-831a-394a7d958700",
      "Sequence": 1,
      "AncestorCategoryId": "9d779b2a-a1c2-46e4-abb6-a61c944ba0d2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1c4b8f3c-edf6-4113-b602-809382fea027",
          "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": "1c4b8f3c-edf6-4113-b602-809382fea027",
          "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": "570f32ed-0772-43f9-b1a6-17dc10c50cd0",
    "CategoryId": "61d21de7-e0e1-46e5-96af-ed274e2d9113",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "29f9c2f6-a47a-4a8b-affe-f5f717384e7f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "29f9c2f6-a47a-4a8b-affe-f5f717384e7f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c658ce79-bf07-45b5-b165-4c2ccd26127e",
      "Questions": [
        {
          "Id": "deea98a1-70e1-4f28-9ac6-074a021d52c4",
          "Answers": "sample string 2"
        },
        {
          "Id": "deea98a1-70e1-4f28-9ac6-074a021d52c4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c658ce79-bf07-45b5-b165-4c2ccd26127e",
      "Questions": [
        {
          "Id": "deea98a1-70e1-4f28-9ac6-074a021d52c4",
          "Answers": "sample string 2"
        },
        {
          "Id": "deea98a1-70e1-4f28-9ac6-074a021d52c4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "327b9b75-c771-4a3c-b517-ae8987e6b662",
      "ContentItemId": "1b9795a6-beee-4096-a61a-a85edaaa4629",
      "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-08-25T00:35:35.4570397+00:00",
      "RescheduleDate": "2026-08-25T00:35:35.4570397+00:00"
    },
    {
      "Id": "327b9b75-c771-4a3c-b517-ae8987e6b662",
      "ContentItemId": "1b9795a6-beee-4096-a61a-a85edaaa4629",
      "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-08-25T00:35:35.4570397+00:00",
      "RescheduleDate": "2026-08-25T00:35:35.4570397+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "ba763a76-2a28-4b92-ba1d-9b09d644f312",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-08-25T00:35:35.5039142+00:00",
  "Registration": {
    "Id": "1c2854b2-dc0e-4519-8027-a23900a76458",
    "UserId": "72ed7378-0bf8-48f8-826b-afec5a83cff1",
    "IsCurrent": true,
    "CenterId": "faa8939d-ab1d-4ee4-ac6d-2a57db0ebffb",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "d8a5f42f-9263-4b2f-a25b-e0f156d3cdf9",
    "EndDate": "2026-08-25T00:35:35.4570397+00:00",
    "StartDate": "2026-08-25T00:35:35.4570397+00:00",
    "SchedulePreferenceDate": "2026-08-25T00:35:35.4570397+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-08-25T00:35:35.4570397+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "2b3e1102-1f5e-4eb3-adbf-36923a281222",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "da104074-9304-4150-831a-394a7d958700",
      "Sequence": 1,
      "AncestorCategoryId": "9d779b2a-a1c2-46e4-abb6-a61c944ba0d2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1c4b8f3c-edf6-4113-b602-809382fea027",
          "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": "1c4b8f3c-edf6-4113-b602-809382fea027",
          "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": "2b3e1102-1f5e-4eb3-adbf-36923a281222",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "da104074-9304-4150-831a-394a7d958700",
      "Sequence": 1,
      "AncestorCategoryId": "9d779b2a-a1c2-46e4-abb6-a61c944ba0d2",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "1c4b8f3c-edf6-4113-b602-809382fea027",
          "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": "1c4b8f3c-edf6-4113-b602-809382fea027",
          "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": "570f32ed-0772-43f9-b1a6-17dc10c50cd0",
    "CategoryId": "61d21de7-e0e1-46e5-96af-ed274e2d9113",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "29f9c2f6-a47a-4a8b-affe-f5f717384e7f",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "29f9c2f6-a47a-4a8b-affe-f5f717384e7f",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "c658ce79-bf07-45b5-b165-4c2ccd26127e",
      "Questions": [
        {
          "Id": "deea98a1-70e1-4f28-9ac6-074a021d52c4",
          "Answers": "sample string 2"
        },
        {
          "Id": "deea98a1-70e1-4f28-9ac6-074a021d52c4",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "c658ce79-bf07-45b5-b165-4c2ccd26127e",
      "Questions": [
        {
          "Id": "deea98a1-70e1-4f28-9ac6-074a021d52c4",
          "Answers": "sample string 2"
        },
        {
          "Id": "deea98a1-70e1-4f28-9ac6-074a021d52c4",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "327b9b75-c771-4a3c-b517-ae8987e6b662",
      "ContentItemId": "1b9795a6-beee-4096-a61a-a85edaaa4629",
      "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-08-25T00:35:35.4570397+00:00",
      "RescheduleDate": "2026-08-25T00:35:35.4570397+00:00"
    },
    {
      "Id": "327b9b75-c771-4a3c-b517-ae8987e6b662",
      "ContentItemId": "1b9795a6-beee-4096-a61a-a85edaaa4629",
      "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-08-25T00:35:35.4570397+00:00",
      "RescheduleDate": "2026-08-25T00:35:35.4570397+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}