V1.1问卷id查询题目和选项(用户选择问卷后查询问卷的答题卡)
<p><strong>简要描述:</strong> </p>
<ul>
<li>V1.1问卷id查询题目和选项(用户选择问卷后查询问卷的答题卡)</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/xinshen/questionnaire/queryQuestionnaireAnswerSheet.htm</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">questionnaireId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">Number</td>
<td>问卷id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"questionnaire": {
"id": 419,
"questionnaireTitle": "手拉手测试卷",
"questionnaireExplain": "手拉手测试卷",
"questionnaireScene": "260",
"createBy": "7",
"createDate": "2018-03-25 18:45:25",
"updateDate": "2018-04-24 03:08:42",
"state": "10",
"remark": ""
},
"optionList": [
{
"question": {
"id": 468,
"questionTitle": "借款用途",
"questionExplain": "借款用途",
"questionType": "",
"updateDate": "2018-04-23 14:01:43",
"state": "10",
"remark": "借款用途",
"answerType": 0
},
"questionOption": [
{
"id": 503,
"questionId": 468,
"questionOptionKey": "A",
"questionOptionValue": "消费",
"createDate": "2018-01-18 01:35:28",
"updateDate": "2018-01-18 01:35:28",
"state": "10"
},
{
"id": 504,
"questionId": 468,
"questionOptionKey": "B",
"questionOptionValue": "旅游",
"createDate": "2018-01-18 01:35:28",
"updateDate": "2018-01-18 01:35:28",
"state": "10"
},
{
"id": 505,
"questionId": 468,
"questionOptionKey": "C",
"questionOptionValue": "装修",
"createDate": "2018-01-18 01:35:28",
"updateDate": "2018-01-18 01:35:28",
"state": "10"
},
{
"id": 506,
"questionId": 468,
"questionOptionKey": "D",
"questionOptionValue": "周转",
"createDate": "2018-01-18 01:35:28",
"updateDate": "2018-01-18 01:35:28",
"state": "10"
},
{
"id": 507,
"questionId": 468,
"questionOptionKey": "E",
"questionOptionValue": "其他",
"createDate": "2018-01-18 01:35:28",
"updateDate": "2018-01-18 01:35:28",
"state": "10"
},
{
"id": 515,
"questionId": 468,
"questionOptionKey": "F",
"questionOptionValue": "物业",
"createDate": "2018-04-23 01:40:33",
"updateDate": "2018-04-23 01:40:33",
"state": "10"
}
]
}
]
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>