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": "8bdc3b81-6158-41b9-8c47-77bd213f5d37",
"StateId": "ae9a2a5d-5bc1-49dd-a5c3-ada6f238870c",
"StateSectionId": "e7ccd507-fbe8-44ca-96d4-ea6dd687908b",
"QuestionId": "8014a012-f028-42a7-b1fd-322b11e7b757",
"Name": "sample string 5",
"Text": "sample string 6",
"Type": "sample string 7",
"OrderIndex": 8,
"Choices": [
{
"Id": "4b13c405-6b87-4248-a782-cfb646edda8e",
"Text": "sample string 2",
"OrderIndex": 3
},
{
"Id": "4b13c405-6b87-4248-a782-cfb646edda8e",
"Text": "sample string 2",
"OrderIndex": 3
}
],
"ParentQuestionId": "348a1073-a312-403f-ba30-4c7261e83a74"
}
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>4b13c405-6b87-4248-a782-cfb646edda8e</Id>
<OrderIndex>3</OrderIndex>
<Text>sample string 2</Text>
</ChoiceSimple>
<ChoiceSimple>
<Id>4b13c405-6b87-4248-a782-cfb646edda8e</Id>
<OrderIndex>3</OrderIndex>
<Text>sample string 2</Text>
</ChoiceSimple>
</Choices>
<Id>8bdc3b81-6158-41b9-8c47-77bd213f5d37</Id>
<Name>sample string 5</Name>
<OrderIndex>8</OrderIndex>
<ParentQuestionId>348a1073-a312-403f-ba30-4c7261e83a74</ParentQuestionId>
<QuestionId>8014a012-f028-42a7-b1fd-322b11e7b757</QuestionId>
<StateId>ae9a2a5d-5bc1-49dd-a5c3-ada6f238870c</StateId>
<StateSectionId>e7ccd507-fbe8-44ca-96d4-ea6dd687908b</StateSectionId>
<Text>sample string 6</Text>
<Type>sample string 7</Type>
</StateQuestionDetail>