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 QTypeDefaultAnswerDTOName | 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": "9e27509a-0298-4638-be44-a23a8d734e52", "Answer": "sample string 3", "AnswerOrder": 4, "AnswerWeight": 5 }, { "Id": 1, "QuestionTypeId": "9e27509a-0298-4638-be44-a23a8d734e52", "Answer": "sample string 3", "AnswerOrder": 4, "AnswerWeight": 5 } ]
text/html, multipart/form-data
Sample:
[{"Id":1,"QuestionTypeId":"9e27509a-0298-4638-be44-a23a8d734e52","Answer":"sample string 3","AnswerOrder":4,"AnswerWeight":5},{"Id":1,"QuestionTypeId":"9e27509a-0298-4638-be44-a23a8d734e52","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>9e27509a-0298-4638-be44-a23a8d734e52</QuestionTypeId> </QTypeDefaultAnswerDTO> <QTypeDefaultAnswerDTO> <Answer>sample string 3</Answer> <AnswerOrder>4</AnswerOrder> <AnswerWeight>5</AnswerWeight> <Id>1</Id> <QuestionTypeId>9e27509a-0298-4638-be44-a23a8d734e52</QuestionTypeId> </QTypeDefaultAnswerDTO> </ArrayOfQTypeDefaultAnswerDTO>