POST api/Customer/UpdateNotificationPreferences
Request Information
URI Parameters
None.
Body Parameters
UpdateNotificationPreferencesRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| SmsOptIn | boolean |
None. |
|
| EmailOptIn | boolean |
None. |
|
| PhoneCallOptIn | boolean |
None. |
|
| WhatsappOptIn | boolean |
None. |
|
| PushOptIn | boolean |
None. |
|
| MarketingToolNotification | MarketingToolNotificationEnum |
None. |
|
| Source | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "6b3c8996-209f-4f94-bd6d-5dd628612318",
"SmsOptIn": true,
"EmailOptIn": true,
"PhoneCallOptIn": true,
"WhatsappOptIn": true,
"PushOptIn": true,
"MarketingToolNotification": 0,
"Source": "sample string 2"
}
application/xml, text/xml
Sample:
<UpdateNotificationPreferencesRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <EmailOptIn>true</EmailOptIn> <MarketingToolNotification>None</MarketingToolNotification> <PhoneCallOptIn>true</PhoneCallOptIn> <PushOptIn>true</PushOptIn> <SmsOptIn>true</SmsOptIn> <Source>sample string 2</Source> <UserId>6b3c8996-209f-4f94-bd6d-5dd628612318</UserId> <WhatsappOptIn>true</WhatsappOptIn> </UpdateNotificationPreferencesRequestDto>
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>