Authorization: ********************
{
"reportId": "string",
"durationDateField": "string",
"type": "LINE",
"filters": {
"searchFilters": [
{
"type": "REGEX",
"field": "string",
"value": "string"
}
],
"operator": "AND",
"sortQuery": [
{
"field": "string",
"sortDirection": "ASCENDING"
}
]
},
"chartDetails": {
"groupingField": "string",
"groupingLabel": "string",
"dateGroupingFieldAggregationType": "HOUR",
"aggregationField": "string",
"aggregationLabel": "string",
"aggregator": "SUM",
"subGrouping": {
"field": "string",
"label": "string",
"dateFieldAggregationType": "HOUR"
}
},
"simulationStartDate": "2019-08-24T14:15:22Z",
"simulationEndDate": "2019-08-24T14:15:22Z"
}
curl --location --request POST 'https://api.qal.eazy2biz.com/v1/charts/ID of report/simulate' \
--header 'Content-Type: application/json' \
--header 'Authorization;' \
--data-raw '{
"reportId": "string",
"durationDateField": "string",
"type": "LINE",
"filters": {
"searchFilters": [
{
"type": "REGEX",
"field": "string",
"value": "string"
}
],
"operator": "AND",
"sortQuery": [
{
"field": "string",
"sortDirection": "ASCENDING"
}
]
},
"chartDetails": {
"groupingField": "string",
"groupingLabel": "string",
"dateGroupingFieldAggregationType": "HOUR",
"aggregationField": "string",
"aggregationLabel": "string",
"aggregator": "SUM",
"subGrouping": {
"field": "string",
"label": "string",
"dateFieldAggregationType": "HOUR"
}
},
"simulationStartDate": "2019-08-24T14:15:22Z",
"simulationEndDate": "2019-08-24T14:15:22Z"
}'
"string"