-
Type:
Sub-task
-
Resolution: Done
-
Priority:
L3 - Default
-
Affects Version/s: None
-
Component/s: backend
-
None
AT:
- There is a new endpoint that evaluates a process with a duration filter and returns a raw data CSV file.
The suggested API:
POST /api/export/csv/process/rawData/{fileName}
{
processDefinitionKey: '...', // the key of the process definition
processDefinitionVersions: ['...'], // a list of versions or ['all'] or ['latest']
tenantIds: ["tenantId1", ...] // none, one or multiple tenantIds, to filter for instances with no tenant provide a `null` entry or an empty list
filter: [...],
includedColumns: [...]
}
Response:
Media-Type: application/octet-stream
Content-Disposition: attachment; filename={fileName}
Body: byte array of a file