DELETE api/questions/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
StateQuestionDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| StateId | globally unique identifier |
None. |
|
| StateSectionId | globally unique identifier |
None. |
|
| QuestionId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Text | string |
None. |
|
| Type | string |
None. |
|
| OrderIndex | integer |
None. |
|
| Choices | Collection of ChoiceSimple |
None. |
|
| ParentQuestionId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "7fa71e0c-74cb-4ead-b8a6-548b08ac8e6a",
"StateId": "8dd71a2b-d453-4ac4-9442-767dfd474daf",
"StateSectionId": "f6e57d86-f8e7-4885-a616-0d8a5a1964bb",
"QuestionId": "36950d9e-4a98-46b3-8423-db867df9996c",
"Name": "sample string 5",
"Text": "sample string 6",
"Type": "sample string 7",
"OrderIndex": 8,
"Choices": [
{
"Id": "7b31fcec-2545-44e7-8691-f25b34c5dc87",
"Text": "sample string 2",
"OrderIndex": 3
},
{
"Id": "7b31fcec-2545-44e7-8691-f25b34c5dc87",
"Text": "sample string 2",
"OrderIndex": 3
}
],
"ParentQuestionId": "09ac65f5-1888-4148-ba43-3072901293bd"
}
application/xml, text/xml
Sample:
<StateQuestionDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Admin.DTO">
<Choices>
<ChoiceSimple>
<Id>7b31fcec-2545-44e7-8691-f25b34c5dc87</Id>
<OrderIndex>3</OrderIndex>
<Text>sample string 2</Text>
</ChoiceSimple>
<ChoiceSimple>
<Id>7b31fcec-2545-44e7-8691-f25b34c5dc87</Id>
<OrderIndex>3</OrderIndex>
<Text>sample string 2</Text>
</ChoiceSimple>
</Choices>
<Id>7fa71e0c-74cb-4ead-b8a6-548b08ac8e6a</Id>
<Name>sample string 5</Name>
<OrderIndex>8</OrderIndex>
<ParentQuestionId>09ac65f5-1888-4148-ba43-3072901293bd</ParentQuestionId>
<QuestionId>36950d9e-4a98-46b3-8423-db867df9996c</QuestionId>
<StateId>8dd71a2b-d453-4ac4-9442-767dfd474daf</StateId>
<StateSectionId>f6e57d86-f8e7-4885-a616-0d8a5a1964bb</StateSectionId>
<Text>sample string 6</Text>
<Type>sample string 7</Type>
</StateQuestionDetail>