POST
/api-v1/swissdec/incidents/{incidentId}/attachments
curl \
--request POST 'https://wyzio.app/api-v1/swissdec/incidents/{incidentId}/attachments?contentType=string'
Response examples (200)
{
"id": 42,
"staffId": 42,
"staffName": "string",
"staffAvsNumber": "string",
"domain": "AHV_AVS",
"state": "DRAFT",
"incidentDate": "2026-05-04",
"incapacityToWorkFrom": "2026-05-04",
"incidentScene": "string",
"description": "string",
"companyCaseId": "string",
"insuranceCaseId": "string",
"incidentCaseId": "string",
"testCase": true,
"withoutContract": true,
"processByDistributor": true,
"insuranceCode": "string",
"endUserInformation": "string",
"detailInformation": "string",
"insuranceId": "string",
"insuranceCompanyName": "string",
"customerIdentity": "string",
"contractIdentity": "string",
"createdDate": "2026-05-04T09:42:00Z",
"declaredDate": "2026-05-04T09:42:00Z",
"lastSyncDate": "2026-05-04T09:42:00Z",
"processState": "string",
"awaitedParts": "string",
"awaitedUntil": "2026-05-04T09:42:00Z",
"requestId": "string",
"responseId": "string",
"attachments": [
{
"id": 42,
"filename": "string",
"contentType": "string",
"createdDate": "2026-05-04T09:42:00Z",
"sentDate": "2026-05-04T09:42:00Z",
"storyId": "string"
}
],
"dialogMessages": [
{
"storyId": "string",
"standardDialogId": "string",
"creation": "2026-05-04T09:42:00Z",
"title": "string",
"description": "string",
"sections": [
{
"sectionId": "string",
"heading": "string",
"description": "string"
}
],
"paragraphs": [
{
"id": 42,
"label": "string",
"sectionIdRef": "string",
"valueType": "STRING",
"value": "string",
"answerType": "STRING",
"answerDefault": "string",
"answerValue": "string",
"answerOptional": true,
"problem": "string"
}
]
}
],
"dialogReplyPending": true
}