GET Api/AnswersApi/GetQTypeDefaultAnswers?questionTypeId={questionTypeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| questionTypeId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of QTypeDefaultAnswerDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| QuestionTypeId | globally unique identifier |
None. |
|
| Answer | string |
None. |
|
| AnswerOrder | integer |
None. |
|
| AnswerWeight | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"QuestionTypeId": "32ad3878-fbd5-4571-85ce-e0be69134b32",
"Answer": "sample string 3",
"AnswerOrder": 4,
"AnswerWeight": 5
},
{
"Id": 1,
"QuestionTypeId": "32ad3878-fbd5-4571-85ce-e0be69134b32",
"Answer": "sample string 3",
"AnswerOrder": 4,
"AnswerWeight": 5
}
]
text/html, multipart/form-data
Sample:
[{"Id":1,"QuestionTypeId":"32ad3878-fbd5-4571-85ce-e0be69134b32","Answer":"sample string 3","AnswerOrder":4,"AnswerWeight":5},{"Id":1,"QuestionTypeId":"32ad3878-fbd5-4571-85ce-e0be69134b32","Answer":"sample string 3","AnswerOrder":4,"AnswerWeight":5}]
application/xml, text/xml
Sample:
<ArrayOfQTypeDefaultAnswerDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
<QTypeDefaultAnswerDTO>
<Answer>sample string 3</Answer>
<AnswerOrder>4</AnswerOrder>
<AnswerWeight>5</AnswerWeight>
<Id>1</Id>
<QuestionTypeId>32ad3878-fbd5-4571-85ce-e0be69134b32</QuestionTypeId>
</QTypeDefaultAnswerDTO>
<QTypeDefaultAnswerDTO>
<Answer>sample string 3</Answer>
<AnswerOrder>4</AnswerOrder>
<AnswerWeight>5</AnswerWeight>
<Id>1</Id>
<QuestionTypeId>32ad3878-fbd5-4571-85ce-e0be69134b32</QuestionTypeId>
</QTypeDefaultAnswerDTO>
</ArrayOfQTypeDefaultAnswerDTO>