企业接口文档

企业接口文档,易背调提供给企业使用的API


生成临时报告

<h4><strong>接口描述</strong></h4> <blockquote> <p>生成背调的临时报告(<a href="https://www.showdoc.cc/ybd?page_id=1865243955181250" title="需验证">需验证</a>) 仅支持 进行中状态 且 至少有一项已完成背调调查项 的背调</p> </blockquote> <h4><strong>请求URL</strong></h4> <blockquote> <p><a href="https://www.showdoc.cc/ybd?page_id=1865243955181250" title="通讯地址 + 企业api基础链接">通讯地址 + 企业api基础链接</a> + <code>/record/generate-temp-report</code></p> </blockquote> <h4><strong>请求方式</strong></h4> <blockquote> <p>GET</p> </blockquote> <h4><strong>请求参数</strong></h4> <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;">recordNo</td> <td style="text-align: left;">string</td> <td>背调号</td> </tr> </tbody> </table> <h4><strong>请求示例</strong></h4> <pre><code>"recordNo"="20190415152645093983751"</code></pre> <h4><strong>响应结果</strong></h4> <blockquote> <p><a href="https://www.showdoc.cc/ybd?page_id=1873739988592287" title="响应结构">响应结构</a></p> </blockquote> <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;">code</td> <td style="text-align: left;">string</td> <td>响应码</td> </tr> <tr> <td style="text-align: left;">key</td> <td style="text-align: left;">string</td> <td>企业key(<em>同请求中的参数</em>),参考<a href="https://www.showdoc.cc/ybd?page_id=1864080192995858" title="准备工作">准备工作</a></td> </tr> <tr> <td style="text-align: left;">seq</td> <td style="text-align: left;">string</td> <td>业务流水号(<em>同请求中的参数</em>)</td> </tr> <tr> <td style="text-align: left;">ts</td> <td style="text-align: left;">string</td> <td>时间戳,服务器处理请求的时间,格式为”yyyyMMddHHmmss”</td> </tr> <tr> <td style="text-align: left;">sign</td> <td style="text-align: left;">string</td> <td>响应摘要签名,规则同<a href="https://www.showdoc.cc/ybd?page_id=1865243955181250" title="请求签名">请求签名</a></td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">string</td> <td>调查报告URL<br/>仅完成状态有值,URL有效期1分钟</td> </tr> </tbody> </table> <h4><strong>响应示例</strong></h4> <pre><code>{ "code": "000", "key": "CF6BF781AB82FEF5BFDF96B054ECEB15", "seq": "s20190415110900", "ts": "20190415110910", "sign": "49f10f06240237c7710ed617758f9b3c", "msg": "https://res.yibeidiao.com/survey-result/20190416/20190416111348367594897.pdf?Expires=123456&amp;OSSAccessKeyId=ABCDE&amp;Signature=FGHIJK" }</code></pre> <h4><strong>备注</strong></h4> <ul> <li><a href="https://www.showdoc.cc/ybd?page_id=1863843278019929" title="全局错误码">全局错误码</a></li> </ul>

页面列表

ITEM_HTML