POST api/Customer/UpdateNotificationPreferences

Request Information

URI Parameters

None.

Body Parameters

UpdateNotificationPreferencesRequestDto
NameDescriptionTypeAdditional 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": "f9f86d7c-ab1d-4a05-9df3-18026166d48d",
  "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>f9f86d7c-ab1d-4a05-9df3-18026166d48d</UserId>
  <WhatsappOptIn>true</WhatsappOptIn>
</UpdateNotificationPreferencesRequestDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>