5.11下载话术模板接口
<h5>下载任务导入模板接口(GET 传参)</h5>
<p>{BaseUrl} /api/ exportModel 需要把三个公共参数也传过来</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>描述</th>
<th>属性</th>
</tr>
</thead>
<tbody>
<tr>
<td>project_sn</td>
<td>string</td>
<td>模板_sn</td>
<td>必填</td>
</tr>
<tr>
<td>type</td>
<td>string</td>
<td>返回类型</td>
<td>json/extend ,json 返回 json 数 据,extend 返回扩展字段说明,不填返回 excel 格式的二进制流 选填 加密前的</td>
</tr>
</tbody>
</table>
<h5>json 示例:</h5>
<p>{"user_sn":"SYSUSER|5d03d133d7fb004e2ccf34eb8fbdc45c","api_key":"6TRJCuQg","project_sn":"pro ject|8ac1cebd6407f30fb4f618615de41990"} 最后的拼装 url 示例:(注意:json 示例的参数顺序必须跟 get 参数的顺序一致,否则返回 100001)</p>
<p><a href="http://XXX.XXX.XXXXXX/api/exportModelurl=fde3faaf&user_sn=SYSUSER|5XXXXX33d7fb004e2ccf34eb8fbdc45c&api_key=6TRJCuQg&project_sn=project|XXXXXcebd6407f30fb4f618615de41990">http://XXX.XXX.XXXXXX/api/exportModelurl=fde3faaf&user_sn=SYSUSER|5XXXXX33d7fb004e2ccf34eb8fbdc45c&api_key=6TRJCuQg&project_sn=project|XXXXXcebd6407f30fb4f618615de41990</a></p>
<h5>二进制返回值:</h5>
<p>二进制文件,可下载 </p>
<h5>Json 类型返回值</h5>
<p>:{"code":0, "data":[{"0": "姓名","1": "电话", "2": "地址", "3": "时间", "4": "金额", "5": "日期", "6": "地址","7": "公司名称","8": "备注"}]</p>