POST api/whatsapp/whatsappconfig/save

Request Information

URI Parameters

None.

Body Parameters

WhatsAppConfigSettingsForTemplate
NameDescriptionTypeAdditional information
useRocket

boolean

None.

useChatX

boolean

None.

useButton

boolean

None.

useList

boolean

None.

useURL

boolean

None.

useLinkOn

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "useRocket": true,
  "useChatX": true,
  "useButton": true,
  "useList": true,
  "useURL": true,
  "useLinkOn": true
}

text/html

Sample:
{"useRocket":true,"useChatX":true,"useButton":true,"useList":true,"useURL":true,"useLinkOn":true}

application/xml, text/xml

Sample:
<WhatsAppConfigSettingsForTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <useButton>true</useButton>
  <useChatX>true</useChatX>
  <useLinkOn>true</useLinkOn>
  <useList>true</useList>
  <useRocket>true</useRocket>
  <useURL>true</useURL>
</WhatsAppConfigSettingsForTemplate>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WhatsAppConfigSettingsForTemplate'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

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