POST api/files/incoming
Request Information
URI Parameters
None.
Body Parameters
WhatsAppIncomingMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| Channel | string |
None. |
|
| AppId | string |
None. |
|
| Event | string |
None. |
|
| Waid | string |
None. |
|
| Message | string |
None. |
|
| Attachments | Collection of Attachment |
None. |
|
| System | string |
None. |
|
| Location | string |
None. |
|
| Ts | string |
None. |
|
| Tid | string |
None. |
|
| Contacts | string |
None. |
|
| Username | string |
None. |
|
| IdentityKeyHash | string |
None. |
|
| Type | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"Channel": "sample string 2",
"AppId": "sample string 3",
"Event": "sample string 4",
"Waid": "sample string 5",
"Message": "sample string 6",
"Attachments": [
{
"mime_type": "sample string 1",
"url": "sample string 2"
},
{
"mime_type": "sample string 1",
"url": "sample string 2"
}
],
"System": "sample string 7",
"Location": "sample string 8",
"Ts": "sample string 9",
"Tid": "sample string 10",
"Contacts": "sample string 11",
"Username": "sample string 12",
"IdentityKeyHash": "sample string 13",
"Type": "sample string 14"
}
application/xml, text/xml
Sample:
<WhatsAppIncomingMessage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<UserId>sample string 1</UserId>
<Channel>sample string 2</Channel>
<AppId>sample string 3</AppId>
<Event>sample string 4</Event>
<Waid>sample string 5</Waid>
<Message>sample string 6</Message>
<Attachments>
<Attachment>
<MimeType>sample string 1</MimeType>
<Url>sample string 2</Url>
</Attachment>
<Attachment>
<MimeType>sample string 1</MimeType>
<Url>sample string 2</Url>
</Attachment>
</Attachments>
<System>sample string 7</System>
<Location>sample string 8</Location>
<Ts>sample string 9</Ts>
<Tid>sample string 10</Tid>
<Contacts>sample string 11</Contacts>
<Username>sample string 12</Username>
<IdentityKeyHash>sample string 13</IdentityKeyHash>
<Type>sample string 14</Type>
</WhatsAppIncomingMessage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.