POST api/RecibirWBApi
Request Information
URI Parameters
None.
Body Parameters
WebHookResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| entry | Collection of Entry |
None. |
Request Formats
application/json, text/json
Sample:
{
"entry": [
{
"changes": [
{
"value": {
"ad_id": 1,
"form_id": 2,
"leadgen_id": 3,
"created_time": 4,
"page_id": 5,
"adgroup_id": 6,
"messages": [
{
"id": "sample string 1",
"from": "sample string 2",
"text": {
"body": "sample string 1"
}
},
{
"id": "sample string 1",
"from": "sample string 2",
"text": {
"body": "sample string 1"
}
}
]
}
},
{
"value": {
"ad_id": 1,
"form_id": 2,
"leadgen_id": 3,
"created_time": 4,
"page_id": 5,
"adgroup_id": 6,
"messages": [
{
"id": "sample string 1",
"from": "sample string 2",
"text": {
"body": "sample string 1"
}
},
{
"id": "sample string 1",
"from": "sample string 2",
"text": {
"body": "sample string 1"
}
}
]
}
}
]
},
{
"changes": [
{
"value": {
"ad_id": 1,
"form_id": 2,
"leadgen_id": 3,
"created_time": 4,
"page_id": 5,
"adgroup_id": 6,
"messages": [
{
"id": "sample string 1",
"from": "sample string 2",
"text": {
"body": "sample string 1"
}
},
{
"id": "sample string 1",
"from": "sample string 2",
"text": {
"body": "sample string 1"
}
}
]
}
},
{
"value": {
"ad_id": 1,
"form_id": 2,
"leadgen_id": 3,
"created_time": 4,
"page_id": 5,
"adgroup_id": 6,
"messages": [
{
"id": "sample string 1",
"from": "sample string 2",
"text": {
"body": "sample string 1"
}
},
{
"id": "sample string 1",
"from": "sample string 2",
"text": {
"body": "sample string 1"
}
}
]
}
}
]
}
]
}
application/xml, text/xml
Sample:
<WebHookResponseModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<entry>
<Entry>
<changes>
<Change>
<value>
<ad_id>1</ad_id>
<form_id>2</form_id>
<leadgen_id>3</leadgen_id>
<created_time>4</created_time>
<page_id>5</page_id>
<adgroup_id>6</adgroup_id>
<messages>
<Messages>
<id>sample string 1</id>
<from>sample string 2</from>
<text>
<body>sample string 1</body>
</text>
</Messages>
<Messages>
<id>sample string 1</id>
<from>sample string 2</from>
<text>
<body>sample string 1</body>
</text>
</Messages>
</messages>
</value>
</Change>
<Change>
<value>
<ad_id>1</ad_id>
<form_id>2</form_id>
<leadgen_id>3</leadgen_id>
<created_time>4</created_time>
<page_id>5</page_id>
<adgroup_id>6</adgroup_id>
<messages>
<Messages>
<id>sample string 1</id>
<from>sample string 2</from>
<text>
<body>sample string 1</body>
</text>
</Messages>
<Messages>
<id>sample string 1</id>
<from>sample string 2</from>
<text>
<body>sample string 1</body>
</text>
</Messages>
</messages>
</value>
</Change>
</changes>
</Entry>
<Entry>
<changes>
<Change>
<value>
<ad_id>1</ad_id>
<form_id>2</form_id>
<leadgen_id>3</leadgen_id>
<created_time>4</created_time>
<page_id>5</page_id>
<adgroup_id>6</adgroup_id>
<messages>
<Messages>
<id>sample string 1</id>
<from>sample string 2</from>
<text>
<body>sample string 1</body>
</text>
</Messages>
<Messages>
<id>sample string 1</id>
<from>sample string 2</from>
<text>
<body>sample string 1</body>
</text>
</Messages>
</messages>
</value>
</Change>
<Change>
<value>
<ad_id>1</ad_id>
<form_id>2</form_id>
<leadgen_id>3</leadgen_id>
<created_time>4</created_time>
<page_id>5</page_id>
<adgroup_id>6</adgroup_id>
<messages>
<Messages>
<id>sample string 1</id>
<from>sample string 2</from>
<text>
<body>sample string 1</body>
</text>
</Messages>
<Messages>
<id>sample string 1</id>
<from>sample string 2</from>
<text>
<body>sample string 1</body>
</text>
</Messages>
</messages>
</value>
</Change>
</changes>
</Entry>
</entry>
</WebHookResponseModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<anyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />