POST Webhook/Facebook
Request Information
URI Parameters
None.
Body Parameters
JsonDataName | Description | Type | Additional information |
---|---|---|---|
object | string |
None. |
|
entry | Collection of Entry |
None. |
Request Formats
application/json, text/json
Sample:
{ "object": "sample string 1", "entry": [ { "id": 1, "time": 2, "changes": [ { "field": "sample string 1", "value": { "leadgen_id": 1, "page_id": 2, "form_id": 3, "adgroup_id": 4, "ad_id": 5, "created_time": 6 } }, { "field": "sample string 1", "value": { "leadgen_id": 1, "page_id": 2, "form_id": 3, "adgroup_id": 4, "ad_id": 5, "created_time": 6 } } ] }, { "id": 1, "time": 2, "changes": [ { "field": "sample string 1", "value": { "leadgen_id": 1, "page_id": 2, "form_id": 3, "adgroup_id": 4, "ad_id": 5, "created_time": 6 } }, { "field": "sample string 1", "value": { "leadgen_id": 1, "page_id": 2, "form_id": 3, "adgroup_id": 4, "ad_id": 5, "created_time": 6 } } ] } ] }
text/html
Sample:
{"object":"sample string 1","entry":[{"id":1,"time":2,"changes":[{"field":"sample string 1","value":{"leadgen_id":1,"page_id":2,"form_id":3,"adgroup_id":4,"ad_id":5,"created_time":6}},{"field":"sample string 1","value":{"leadgen_id":1,"page_id":2,"form_id":3,"adgroup_id":4,"ad_id":5,"created_time":6}}]},{"id":1,"time":2,"changes":[{"field":"sample string 1","value":{"leadgen_id":1,"page_id":2,"form_id":3,"adgroup_id":4,"ad_id":5,"created_time":6}},{"field":"sample string 1","value":{"leadgen_id":1,"page_id":2,"form_id":3,"adgroup_id":4,"ad_id":5,"created_time":6}}]}]}
application/xml, text/xml
Sample:
<JsonData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModKit19_BO.Webhook"> <Entry> <Entry> <Changes> <Change> <Field>sample string 1</Field> <Value> <AdId>5</AdId> <AdgroupId>4</AdgroupId> <CreatedTime>6</CreatedTime> <FormId>3</FormId> <LeadgenId>1</LeadgenId> <PageId>2</PageId> </Value> </Change> <Change> <Field>sample string 1</Field> <Value> <AdId>5</AdId> <AdgroupId>4</AdgroupId> <CreatedTime>6</CreatedTime> <FormId>3</FormId> <LeadgenId>1</LeadgenId> <PageId>2</PageId> </Value> </Change> </Changes> <Id>1</Id> <Time>2</Time> </Entry> <Entry> <Changes> <Change> <Field>sample string 1</Field> <Value> <AdId>5</AdId> <AdgroupId>4</AdgroupId> <CreatedTime>6</CreatedTime> <FormId>3</FormId> <LeadgenId>1</LeadgenId> <PageId>2</PageId> </Value> </Change> <Change> <Field>sample string 1</Field> <Value> <AdId>5</AdId> <AdgroupId>4</AdgroupId> <CreatedTime>6</CreatedTime> <FormId>3</FormId> <LeadgenId>1</LeadgenId> <PageId>2</PageId> </Value> </Change> </Changes> <Id>1</Id> <Time>2</Time> </Entry> </Entry> <Object>sample string 1</Object> </JsonData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |