Run a query
This request executes a query and return the results in CSV format.
Resource
POST /queries/<OID>/execute
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 |
|
[json|stream] |
if stream is specified then the contents are streamed to the client. |
Payload
None
Response
Context
Authorization |
User |
Errors
Example
POST https://xelion.nl/api/v1/master/queries/2313541/execute
{ "object": { "value": "\"ObjectID\",\"name\",\"created\",\"number\"\r\n\"2311687\",\"Developer Trunk\",\"2023-10-13 16:46:48\",\r\n\"2296805\",\"Sander\",\"2022-11-21 12:03:04\",\r\n\"2294858\",\"Arnonn\",\"2022-09-21 15:16:39\",\r\n\"2295422\",\"Sergey\",\"2022-09-22 16:35:53\",\r\n\"2298726\",\"Beheerder Xelion\",\"2022-12-06 14:45:16\",\r\n" } }