Request to create Raw-data report
Request to create Raw-data report
POST
https://api.ocamba.com/v2/adex/reports/raw-data
Obtains Raw-data report
Note
When filtering event_time, use hour range format:
Hour range format: YYYY-MM-DD HH:00:00,YYYY-MM-DD HH:00:00 Requires usage of the range operators:
*r - range - The value must be in a specified open range, where both endpoints are excluded.
*rf - range full - The value must be in a specified closed range, where both endpoints are included.
*rl - range left - The value must be in a specified half-open range, where only left or start point is included.
*rr - range right - The value must be in a specified half-open range, where only right or end point is included.
Hour range format: YYYY-MM-DD HH:00:00,YYYY-MM-DD HH:00:00 Requires usage of the range operators:
*r - range - The value must be in a specified open range, where both endpoints are excluded.
*rf - range full - The value must be in a specified closed range, where both endpoints are included.
*rl - range left - The value must be in a specified half-open range, where only left or start point is included.
*rr - range right - The value must be in a specified half-open range, where only right or end point is included.
Query parameters
parametersResponse schemas
›
202
application/json
curl -X POST \
"https://api.ocamba.com/v2/adex/reports/raw-data" \
-H "Authorization: Bearer {TOKEN}"const url = 'https://api.ocamba.com/v2/adex/reports/raw-data';
const options = {
method: 'POST',
headers: {
Authorization: `Bearer {TOKEN}`
}
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}$ch = curl_init("https://api.ocamba.com/v2/adex/reports/raw-data");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);Responses
202 Accepted
{
"code": 202,
"title": "Accepted",
"message": "Your request has been processed, you can check the status on this relative path: /v1/adex/reports/raw-data/1232",
"link": "/v1/adex/reports/raw-data/1232",
"id": "1232"
}
Responses