Generate CSV from query
This request generates a CSV file with the results of a query.
This returns an Attachment object which can be downloaded with the default attachment API calls (check resources).
Resource
POST /queries/<OID>/generate_csv
Where OID
is the object ID of the query.
Parameters
Name | Type | Description |
---|---|---|
|
[String] |
A comma seperated list with the non-standard query filters. |
|
[String] |
The column seperator, if nothing set the default seperator ',' will be used |
Payload
None
Context
Authorization |
User |
Errors
Example
POST https://xelion.nl/api/v1/master/queries/34345/generate_csv?where=phonelinegroup.linename=support
{
"object": {
"commonName": "",
"oid": "2122851",
"objectType": "Attachment"
},
"links": [
{
"rel": "self",
"method": "GET"
}
]
}