Generate detailed statistics on JDM tickets with export capability
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
or
Body Params application/jsonRequired
{
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z",
"mandate_type": "coupon",
"export_format": "string"
}
Request Code Samples
curl --location --request POST 'https://jdm-616556849502.europe-west1.run.app/jdm/tickets/statistics' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z",
"mandate_type": "coupon",
"export_format": "string"
}'
Responses
{
"total_count": 0,
"coupon_count": 0,
"gift_count": 0,
"consumed_count": 0,
"active_count": 0,
"expired_count": 0,
"total_value": 0,
"average_value": 0,
"tickets_by_date": {
"property1": 0,
"property2": 0
},
"mandate_distribution": {
"property1": 0,
"property2": 0
},
"export_path": "string"
}
Modified at 2025-09-01 15:20:10