DELETE api/FormAnswer/OfQuestion/{QuestionId}
Delete Answer of question.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| QuestionId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of FormAnswer| Name | Description | Type | Additional information |
|---|---|---|---|
| OptionId | integer |
None. |
|
| EmployesId | integer |
None. |
|
| QuestionId | integer |
None. |
|
| Value | string |
None. |
|
| IsFreeAnswer | boolean |
None. |
|
| IsNumeric | boolean |
None. |
|
| IsBool | boolean |
None. |
|
| IsFile | boolean |
None. |
|
| LastChanged | date |
None. |
|
| LastChange_AuthorId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"OptionId": 1,
"EmployesId": 2,
"QuestionId": 3,
"Value": "sample string 4",
"IsFreeAnswer": true,
"IsNumeric": true,
"IsBool": true,
"IsFile": true,
"LastChanged": "2025-12-24T15:38:35.4586348+00:00",
"LastChange_AuthorId": 10
},
{
"OptionId": 1,
"EmployesId": 2,
"QuestionId": 3,
"Value": "sample string 4",
"IsFreeAnswer": true,
"IsNumeric": true,
"IsBool": true,
"IsFile": true,
"LastChanged": "2025-12-24T15:38:35.4586348+00:00",
"LastChange_AuthorId": 10
}
]
application/xml, text/xml
Sample:
<ArrayOfFormAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
<FormAnswer>
<EmployesId>2</EmployesId>
<IsBool>true</IsBool>
<IsFile>true</IsFile>
<IsFreeAnswer>true</IsFreeAnswer>
<IsNumeric>true</IsNumeric>
<LastChange_AuthorId>10</LastChange_AuthorId>
<LastChanged>2025-12-24T15:38:35.4586348+00:00</LastChanged>
<OptionId>1</OptionId>
<QuestionId>3</QuestionId>
<Value>sample string 4</Value>
</FormAnswer>
<FormAnswer>
<EmployesId>2</EmployesId>
<IsBool>true</IsBool>
<IsFile>true</IsFile>
<IsFreeAnswer>true</IsFreeAnswer>
<IsNumeric>true</IsNumeric>
<LastChange_AuthorId>10</LastChange_AuthorId>
<LastChanged>2025-12-24T15:38:35.4586348+00:00</LastChanged>
<OptionId>1</OptionId>
<QuestionId>3</QuestionId>
<Value>sample string 4</Value>
</FormAnswer>
</ArrayOfFormAnswer>