POST api/events/{id}/answers
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
EventPersonResponseDto| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonId | globally unique identifier |
None. |
|
| FailMessage | string |
None. |
|
| Questions | Collection of EventPersonQuestionDto |
None. |
|
| Comment | string |
None. |
|
| CanLeaveComment | boolean |
None. |
|
| Updated | date |
None. |
|
| PersonName | string |
None. |
|
| Timespans | Collection of EventTimespanDto |
None. |
|
| Text | string |
None. |
|
| Documents | Collection of DocumentDto |
None. |
|
| EventId | globally unique identifier |
None. |
|
| EventTitle | string |
None. |
|
| EventText | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"personId": "1e1c7148-10bc-4cda-b7cf-802a3e57cb1d",
"failMessage": "sample string 2",
"questions": [
{
"id": "056fc8ee-9162-4695-8288-f962a919be24",
"question": "sample string 2",
"questionText": "sample string 3",
"freeText": "sample string 4",
"updated": "2025-12-20T12:22:42.4247873+01:00",
"options": [
{
"id": "c1910371-15d8-4259-9708-6ad2734a14d1",
"text": "sample string 2",
"checked": true
},
{
"id": "c1910371-15d8-4259-9708-6ad2734a14d1",
"text": "sample string 2",
"checked": true
}
],
"hasOptions": true,
"hasFreeText": true,
"isOptionsMultipleSelect": true,
"eventId": "680bdbe4-5db6-418e-9f38-49edad94950c"
},
{
"id": "056fc8ee-9162-4695-8288-f962a919be24",
"question": "sample string 2",
"questionText": "sample string 3",
"freeText": "sample string 4",
"updated": "2025-12-20T12:22:42.4247873+01:00",
"options": [
{
"id": "c1910371-15d8-4259-9708-6ad2734a14d1",
"text": "sample string 2",
"checked": true
},
{
"id": "c1910371-15d8-4259-9708-6ad2734a14d1",
"text": "sample string 2",
"checked": true
}
],
"hasOptions": true,
"hasFreeText": true,
"isOptionsMultipleSelect": true,
"eventId": "680bdbe4-5db6-418e-9f38-49edad94950c"
}
],
"comment": "sample string 3",
"canLeaveComment": true,
"updated": "2025-12-20T12:22:42.4247873+01:00",
"personName": "sample string 5",
"timespans": [
{
"id": "e1c49ba8-d153-4cbb-b816-4e20a7243d42",
"created": "2025-12-20T12:22:42.4247873+01:00",
"updated": "2025-12-20T12:22:42.4247873+01:00",
"eventStart": "sample string 1",
"eventStop": "sample string 2",
"comment": "sample string 3"
},
{
"id": "e1c49ba8-d153-4cbb-b816-4e20a7243d42",
"created": "2025-12-20T12:22:42.4247873+01:00",
"updated": "2025-12-20T12:22:42.4247873+01:00",
"eventStart": "sample string 1",
"eventStop": "sample string 2",
"comment": "sample string 3"
}
],
"text": "sample string 6",
"documents": [
{
"id": "ef219e01-a482-44a6-8261-16274d28cb76",
"created": "2025-12-20T12:22:42.4247873+01:00",
"updated": "2025-12-20T12:22:42.4247873+01:00",
"filename": "sample string 3",
"timestamp": "2025-12-20T12:22:42.4247873+01:00",
"description": "sample string 5",
"folder": "sample string 6",
"isPinned": true,
"visibility": 8,
"type": "sample string 9",
"contentBase64": "sample string 10",
"aktuelltId": "cc53913f-aa22-4f8c-8beb-dca2269df66e",
"eventId": "170cae41-032e-4dfb-b1d2-eae52a502c3c",
"messageId": "964f0b8b-8b93-4010-a62e-39d1c0372c66",
"category": "sample string 11",
"uploadedBy": "sample string 12",
"changedBy": "sample string 13",
"parentId": "3b7d8dbf-674d-4109-a12f-b051f5defdb5"
},
{
"id": "ef219e01-a482-44a6-8261-16274d28cb76",
"created": "2025-12-20T12:22:42.4247873+01:00",
"updated": "2025-12-20T12:22:42.4247873+01:00",
"filename": "sample string 3",
"timestamp": "2025-12-20T12:22:42.4247873+01:00",
"description": "sample string 5",
"folder": "sample string 6",
"isPinned": true,
"visibility": 8,
"type": "sample string 9",
"contentBase64": "sample string 10",
"aktuelltId": "cc53913f-aa22-4f8c-8beb-dca2269df66e",
"eventId": "170cae41-032e-4dfb-b1d2-eae52a502c3c",
"messageId": "964f0b8b-8b93-4010-a62e-39d1c0372c66",
"category": "sample string 11",
"uploadedBy": "sample string 12",
"changedBy": "sample string 13",
"parentId": "3b7d8dbf-674d-4109-a12f-b051f5defdb5"
}
],
"eventId": "09ff7be1-40b1-4083-b773-3b6b5f0c5fe5",
"eventTitle": "sample string 8",
"eventText": "sample string 9"
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.