POST api/Values
Request Information
URI Parameters
None.
Body Parameters
ZaloMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| user_id_by_app | string |
None. |
|
| event_name | string |
None. |
|
| app_id | string |
None. |
|
| timestamp | string |
None. |
|
| sender | Sender |
None. |
|
| recipient | Recipient |
None. |
|
| message | Message |
None. |
|
| oa_id | string |
None. |
|
| follower | Follower |
None. |
|
| source | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"user_id_by_app": "sample string 1",
"event_name": "sample string 2",
"app_id": "sample string 3",
"timestamp": "sample string 4",
"sender": {
"id": "sample string 1"
},
"recipient": {
"id": "sample string 1"
},
"message": {
"text": "sample string 1",
"msg_id": "sample string 2"
},
"oa_id": "sample string 5",
"follower": {
"id": "sample string 1"
},
"source": "sample string 6"
}
application/xml, text/xml
Sample:
<ZaloMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zalo_Service">
<app_id>sample string 3</app_id>
<event_name>sample string 2</event_name>
<follower>
<id>sample string 1</id>
</follower>
<message>
<msg_id>sample string 2</msg_id>
<text>sample string 1</text>
</message>
<oa_id>sample string 5</oa_id>
<recipient>
<id>sample string 1</id>
</recipient>
<sender>
<id>sample string 1</id>
</sender>
<source>sample string 6</source>
<timestamp>sample string 4</timestamp>
<user_id_by_app>sample string 1</user_id_by_app>
</ZaloMessage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.