POST api/facebookevents
Request Information
URI Parameters
None.
Body Parameters
Collection of FacebookEvent| Name | Description | Type | Additional information |
|---|---|---|---|
| event_name | string |
None. |
|
| event_time | integer |
None. |
|
| user_data | UserData |
None. |
|
| custom_data | CustomData |
None. |
|
| event_source_url | string |
None. |
|
| opt_out | boolean |
None. |
|
| event_id | string |
None. |
|
| action_source | string |
None. |
|
| data_processing_options | Collection of Object |
None. |
|
| data_processing_options_country | integer |
None. |
|
| data_processing_options_state | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"event_name": "sample string 1",
"event_time": 2,
"user_data": {
"client_ip_address": "sample string 1",
"client_user_agent": "sample string 2",
"em": "sample string 3",
"ph": "sample string 4"
},
"custom_data": {
"currency": "sample string 1",
"value": "sample string 2"
},
"event_source_url": "sample string 3",
"opt_out": true,
"event_id": "sample string 5",
"action_source": "sample string 6",
"data_processing_options": [
{},
{}
],
"data_processing_options_country": 7,
"data_processing_options_state": 8
},
{
"event_name": "sample string 1",
"event_time": 2,
"user_data": {
"client_ip_address": "sample string 1",
"client_user_agent": "sample string 2",
"em": "sample string 3",
"ph": "sample string 4"
},
"custom_data": {
"currency": "sample string 1",
"value": "sample string 2"
},
"event_source_url": "sample string 3",
"opt_out": true,
"event_id": "sample string 5",
"action_source": "sample string 6",
"data_processing_options": [
{},
{}
],
"data_processing_options_country": 7,
"data_processing_options_state": 8
}
]
application/xml, text/xml
Sample:
<ArrayOfFacebookEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VocabloAPI.Controllers">
<FacebookEvent>
<action_source>sample string 6</action_source>
<custom_data>
<currency>sample string 1</currency>
<value>sample string 2</value>
</custom_data>
<data_processing_options xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:anyType />
<d3p1:anyType />
</data_processing_options>
<data_processing_options_country>7</data_processing_options_country>
<data_processing_options_state>8</data_processing_options_state>
<event_id>sample string 5</event_id>
<event_name>sample string 1</event_name>
<event_source_url>sample string 3</event_source_url>
<event_time>2</event_time>
<opt_out>true</opt_out>
<user_data>
<client_ip_address>sample string 1</client_ip_address>
<client_user_agent>sample string 2</client_user_agent>
<em>sample string 3</em>
<ph>sample string 4</ph>
</user_data>
</FacebookEvent>
<FacebookEvent>
<action_source>sample string 6</action_source>
<custom_data>
<currency>sample string 1</currency>
<value>sample string 2</value>
</custom_data>
<data_processing_options xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:anyType />
<d3p1:anyType />
</data_processing_options>
<data_processing_options_country>7</data_processing_options_country>
<data_processing_options_state>8</data_processing_options_state>
<event_id>sample string 5</event_id>
<event_name>sample string 1</event_name>
<event_source_url>sample string 3</event_source_url>
<event_time>2</event_time>
<opt_out>true</opt_out>
<user_data>
<client_ip_address>sample string 1</client_ip_address>
<client_user_agent>sample string 2</client_user_agent>
<em>sample string 3</em>
<ph>sample string 4</ph>
</user_data>
</FacebookEvent>
</ArrayOfFacebookEvent>
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.