POST api/Customer/SaveCustomerNotificationPermission

Request Information

URI Parameters

None.

Body Parameters

CustomerNotificationPermissionRequest
NameDescriptionTypeAdditional information
CustomerId

globally unique identifier

None.

NotificationPermission

NotificationPermission

None.

Email

boolean

None.

Sms

boolean

None.

Call

boolean

None.

Whatsapp

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

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>