POST api/Customer/UpdateNotificationPreferences
Request Information
URI Parameters
None.
Body Parameters
UpdateNotificationPreferencesRequestDtoName | 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": "fa3ad01f-e7f6-4721-a2e4-665765c71031", "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>fa3ad01f-e7f6-4721-a2e4-665765c71031</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>