POST api/Customer/SaveCustomerNotificationPermission
Request Information
URI Parameters
None.
Body Parameters
CustomerNotificationPermissionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | globally unique identifier |
None. |
|
| NotificationPermission | NotificationPermission |
None. |
|
| boolean |
None. |
||
| Sms | boolean |
None. |
|
| Call | boolean |
None. |
|
| boolean |
None. |
||
| Push | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": "1acffc42-0c39-4cd7-bf04-9e99e554134d",
"NotificationPermission": 1,
"Email": true,
"Sms": true,
"Call": true,
"Whatsapp": true,
"Push": true
}
application/xml, text/xml
Sample:
<CustomerNotificationPermissionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <Call>true</Call> <CustomerId>1acffc42-0c39-4cd7-bf04-9e99e554134d</CustomerId> <Email>true</Email> <NotificationPermission>TEI</NotificationPermission> <Push>true</Push> <Sms>true</Sms> <Whatsapp>true</Whatsapp> </CustomerNotificationPermissionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>