验证问卷密码
<p><strong>简要描述:</strong> </p>
<ul>
<li>验证问卷密码 (如果问卷没有加密 无论key的值是多少都会直接返回对应问卷数据)</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>v1/completes/check_key/问卷id</code></li>
</ul>
<p><strong>请求方式:</strong>
POST </p>
<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;">secretKey</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>问卷密码</td>
</tr>
<tr>
<td style="text-align: left;">问卷id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>置于请求url中</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"basicInfo": {
"condition": false,
"deadline": "Mon, 27 Jan 2020 11:29:18 GMT",
"deadlineControl": true,
"equipmentControl": true,
"ipControl": true,
"isSecret": true,
"questionnaireId": 15840064958351836,
"renewTime": "Thu, 12 Mar 2020 09:48:15 GMT",
"secretKey": null,
"subTitle": "副标题",
"title": "标题",
"wechatControl": false
},
"information": "验证成功",
"problems": [],
"status": "success"
}</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>
<tr>
<td style="text-align: left;">problems</td>
<td style="text-align: left;">array</td>
<td>所有问题以及选项</td>
</tr>
</tbody>
</table>