["SUM", "amount"]
[["SUM", "amount"], [], ...]
, the return key is sumAmount
.{
"aggFunctions": [
"SUM",
"amount"
],
"effectiveDate": "2019-08-24",
"filters": [
"name",
"=",
"PM"
]
}
curl --location --request POST '//searchSimpleAgg' \
--header 'Content-Type: application/json' \
--data-raw '{
"aggFunctions": [
"SUM",
"amount"
],
"effectiveDate": "2019-08-24",
"filters": [
"name",
"=",
"PM"
]
}'
{
"code": 0,
"data": {
"checksum": "string",
"fileId": "string",
"fileName": "string",
"fileType": "JPG",
"size": 0,
"url": "string"
},
"message": "string"
}