PUT api/user/notification-preferences
Request Information
URI Parameters
None.
Body Parameters
UserNotificationPreferencesUpdateRequestDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| DepartureReminderEnabled | boolean |
None. |
|
| VehicleCheckedInEnabled | boolean |
None. |
|
| KeysHandedBackEnabled | boolean |
None. |
|
| NewDocumentsEnabled | boolean |
None. |
|
| BookingCancelledEnabled | boolean |
None. |
|
| CustomMessageEnabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"departureReminderEnabled": true,
"vehicleCheckedInEnabled": true,
"keysHandedBackEnabled": true,
"newDocumentsEnabled": true,
"bookingCancelledEnabled": true,
"customMessageEnabled": true
}
application/xml, text/xml
Sample:
<UserNotificationPreferencesUpdateRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CruiseParking.Website.API.Models"> <BookingCancelledEnabled>true</BookingCancelledEnabled> <CustomMessageEnabled>true</CustomMessageEnabled> <DepartureReminderEnabled>true</DepartureReminderEnabled> <KeysHandedBackEnabled>true</KeysHandedBackEnabled> <NewDocumentsEnabled>true</NewDocumentsEnabled> <VehicleCheckedInEnabled>true</VehicleCheckedInEnabled> </UserNotificationPreferencesUpdateRequestDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.