POST api/SMS/sendWhatsAppAPI

Request Information

URI Parameters

None.

Body Parameters

WhatsAppLogParam
NameDescriptionTypeAdditional information
WhatsAppLogId

decimal number

None.

BranchId

integer

None.

IsUnicode

integer

None.

DocumentId

decimal number

None.

RefrenceId

integer

None.

Message

string

None.

ContactType

string

None.

SentDate

string

None.

SentTime

string

None.

SenderId

decimal number

None.

MinInterval

string

None.

MaxInterval

string

None.

MessageType

integer

None.

ExternalLink

string

None.

IsWhatsappAPI

integer

None.

WhatsAppSchedule

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "WhatsAppLogId": 1.0,
  "BranchId": 1,
  "IsUnicode": 2,
  "DocumentId": 3.0,
  "RefrenceId": 4,
  "Message": "sample string 5",
  "ContactType": "sample string 6",
  "SentDate": "sample string 7",
  "SentTime": "sample string 8",
  "SenderId": 1.0,
  "MinInterval": "sample string 9",
  "MaxInterval": "sample string 10",
  "MessageType": 1,
  "ExternalLink": "sample string 11",
  "IsWhatsappAPI": 1,
  "WhatsAppSchedule": 1
}

application/xml, text/xml

Sample:
<SMSController.WhatsAppLogParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Controllers">
  <BranchId>1</BranchId>
  <ContactType>sample string 6</ContactType>
  <DocumentId>3</DocumentId>
  <ExternalLink>sample string 11</ExternalLink>
  <IsUnicode>2</IsUnicode>
  <IsWhatsappAPI>1</IsWhatsappAPI>
  <MaxInterval>sample string 10</MaxInterval>
  <Message>sample string 5</Message>
  <MessageType>1</MessageType>
  <MinInterval>sample string 9</MinInterval>
  <RefrenceId>4</RefrenceId>
  <SenderId>1</SenderId>
  <SentDate>sample string 7</SentDate>
  <SentTime>sample string 8</SentTime>
  <WhatsAppLogId>1</WhatsAppLogId>
  <WhatsAppSchedule>1</WhatsAppSchedule>
</SMSController.WhatsAppLogParam>

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 'WhatsAppLogParam'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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