curl --request POST \
--url https://your-endpoint.example.com/v1.questionnaire.export-failed \
--header 'Content-Type: application/json' \
--data '
{
"questionnaire": {
"id": "507f1f77bcf86cd799439011"
},
"export": {
"id": "6a7b8c9d0e1f2a3b4c5d6e7f",
"format": "csv",
"requestedAt": "2025-01-08T12:00:00.000Z",
"failedAt": "2025-01-08T12:05:00.000Z",
"reason": "Questionnaire has no responses to export"
}
}
'