POST api/Common/AddTermiiWhatsAppLog

Request Information

URI Parameters

None.

Body Parameters

AddTermiiWhatsAppLog
NameDescriptionTypeAdditional information
BusinessId

integer

None.

Userid

integer

None.

APIkey

string

None.

channel

string

None.

Source

string

None.

Destination

string

None.

Message

string

None.

ApiCallCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "Userid": 2,
  "APIkey": "sample string 3",
  "channel": "sample string 4",
  "Source": "sample string 5",
  "Destination": "sample string 6",
  "Message": "sample string 7",
  "ApiCallCount": 8
}

application/xml, text/xml

Sample:
<AddTermiiWhatsAppLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <APIkey>sample string 3</APIkey>
  <ApiCallCount>8</ApiCallCount>
  <BusinessId>1</BusinessId>
  <Destination>sample string 6</Destination>
  <Message>sample string 7</Message>
  <Source>sample string 5</Source>
  <Userid>2</Userid>
  <channel>sample string 4</channel>
</AddTermiiWhatsAppLog>

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

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2024/09/19 18:24:06",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>