{
"startDate": "string",
"endDate": "string",
"compareType": "YEAR",
"pivotalImpact": true,
"highImportance": true,
"followMark": true,
"finished": true,
"majorCode": "string",
"onlyHappen": true
}
curl --location --request POST '/ee/risk-event/count-by-date' \
--header 'project-id: {{project-id}}' \
--header 'group-code: {{group-code}}' \
--header 'token: {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"startDate": "string",
"endDate": "string",
"compareType": "YEAR",
"pivotalImpact": true,
"highImportance": true,
"followMark": true,
"finished": true,
"majorCode": "string",
"onlyHappen": true
}'
[
{
"date": "",
"count": {
"nowCount": 0,
"oldCount": 0
}
}
]