POST api/WebhookZalo
Request Information
URI Parameters
None.
Body Parameters
ZaloEventCallback| Name | Description | Type | Additional information |
|---|---|---|---|
| oa_id | string |
None. |
|
| follower | Follower |
None. |
|
| user_id_by_app | string |
None. |
|
| event_name | string |
None. |
|
| source | string |
None. |
|
| app_id | string |
None. |
|
| timestamp | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"oa_id": "sample string 1",
"follower": {
"id": "sample string 1"
},
"user_id_by_app": "sample string 2",
"event_name": "sample string 3",
"source": "sample string 4",
"app_id": "sample string 5",
"timestamp": "sample string 6"
}
application/xml, text/xml
Sample:
<ZaloEventCallback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Punnel.ChatHub.Models.Zalo">
<app_id>sample string 5</app_id>
<event_name>sample string 3</event_name>
<follower>
<id>sample string 1</id>
</follower>
<oa_id>sample string 1</oa_id>
<source>sample string 4</source>
<timestamp>sample string 6</timestamp>
<user_id_by_app>sample string 2</user_id_by_app>
</ZaloEventCallback>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |