Page History
...
Code Block | ||
---|---|---|
| ||
{ "filter": { "date": { "gte": "2023-01-01T00:00:00Z" }, "fields": [ { "name": "@imei", "like": "123456789012345{IMEI}" }, { "name": "@custom-my custom field", "like": "my custom field value{CUSTOM_FIELD_VALUE}" } ] }, "format": "XML", "container": "ZIP" } |
Example Request
See an This example request below. This request would export XML format reports for IMEI 123456789012345 created after 1st of January 2023. The exported reports will be returned in a zip folder (each report in its own separate file).
In the following example replace IMEI with a valid IMEI and {API_KEY} with the key string of your API key. If you don't have an API key yet, see more details from API Keys documentation.
Code Block |
---|
curl -X 'POST' \ 'https://api.eu-west-1.blancco.cloud/v1/report/export' \ -H 'accept: */*' \ -H 'X-BLANCCO-API-KEY: {API_KEY}' \ -H 'Content-Type: application/json' \ -d '{ "filter": { "date": { "gte": "2023-01-01T00:00:00Z" }, "fields": [ { "name": "@imei", "like": "123456789012345" }, { "name": "@custom-my custom field", "like": "my custom field value" } ] }, "format": "XML", "container": "ZIP" }' |
...