PATCH api/SocialDriver/VehicleRenewalAlert
Update the vehicle renewal alert on your service
Request Information
URI Parameters
None.
Body Parameters
PatchVehicleRenewalAlertRequest
PatchVehicleRenewalAlertRequestName | Description | Type | Additional information |
---|---|---|---|
MOTAlert |
Indicates if you want MOT alerts |
boolean |
None. |
ServiceAlert |
Indicates if you want service alerts |
boolean |
None. |
RoadTaxAlert |
Indicates if you want road tax alerts |
boolean |
None. |
InsuranceAlert |
Indicates if you want insurance alerts |
boolean |
None. |
PushNotificationEnabled |
If you want mobile push notifications sent on alert |
boolean |
None. |
InboxMessageEnabled |
If you want an inbox message sent on alert |
boolean |
None. |
EmailEnabled |
If you want emails sent on alert |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "MOTAlert": true, "ServiceAlert": true, "RoadTaxAlert": true, "InsuranceAlert": true, "PushNotificationEnabled": true, "InboxMessageEnabled": true, "EmailEnabled": true }
application/xml, text/xml
Sample:
<PatchVehicleRenewalAlertRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <MOTAlert>true</MOTAlert> <ServiceAlert>true</ServiceAlert> <RoadTaxAlert>true</RoadTaxAlert> <InsuranceAlert>true</InsuranceAlert> <PushNotificationEnabled>true</PushNotificationEnabled> <InboxMessageEnabled>true</InboxMessageEnabled> <EmailEnabled>true</EmailEnabled> </PatchVehicleRenewalAlertRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
200 on success
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |