POST api/Customer/SaveCustomerNotificationPermission
Request Information
URI Parameters
None.
Body Parameters
CustomerNotificationPermissionRequestName | 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": "bd7f9767-09ff-470c-885d-abbd179a3aaa", "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>bd7f9767-09ff-470c-885d-abbd179a3aaa</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>