POST /v3/reports/grid/{gridEntityType}/exports
Use this endpoint to start an export for a Grid request. After calling this endpoint, use the /v3/exports endpoint to poll the status of the export until it's finished. Then, you can download the results with the URL given by the /v3/exports endpoint.
Security
API_Key
Sorts the result by the specified columns, in the same order as in the columns array.
Dynamic Aggregation Row totals for columns. As for now, only one aggregation is supported for each column (same columnIndex) in the columns array.
POST
curl -i -X POST \
'https://api.observepoint.com/v3/reports/grid/{gridEntityType}/exports' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"size": 10,
"page": 0,
"filters": {
"conditions": [
{
"negated": false,
"operator": "string_contains",
"filteredColumn": {
"groupBy": false,
"columnId": "string",
"format": "string"
},
"fieldName": "id",
"arg": "string",
"wildcardStart": true,
"wildcardEnd": true
}
],
"conditionMatchMode": "all"
},
"columns": [
{
"groupBy": false,
"columnId": "string",
"format": "string"
}
],
"sortBy": [
{
"columnIndex": 0,
"sortDesc": false
}
],
"totals": [
{
"columnIndex": 0,
"aggregateFunction": "avg"
}
],
"itemName": "string",
"customExportFileName": "string",
"fileFormat": "csv"
}'Response
{ "exportId": 0 }