5.16 查询电子保单,批单下载链接
<p>[TOC]</p>
<p>请求模式:渠道方→华农阿凡达平台</p>
<p>接口描述:查询电子保单,批单下载,保函链接</p>
<p>测试接口地址: <a href="https://porsche-avatar.chinahuanong.com.cn/avatar/elec/elePolicyQuery">https://porsche-avatar.chinahuanong.com.cn/avatar/elec/elePolicyQuery</a></p>
<p>生产接口地址: <a href="https://avatar.chinahuanong.com.cn/avatar/elec/elePolicyQuery">https://avatar.chinahuanong.com.cn/avatar/elec/elePolicyQuery</a></p>
<h3>请求头</h3>
<p><code>head</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>渠道代码</td>
<td>policySource</td>
<td>varchar</td>
<td>Y</td>
<td>保险公司分配给渠道方的渠道编码</td>
</tr>
<tr>
<td>请求时间</td>
<td>reqTime</td>
<td>DateTime</td>
<td>Y</td>
<td>格式为:yyyy-MM-dd HH:mm:ss。</td>
</tr>
<tr>
<td>唯一标识符</td>
<td>uuid</td>
<td>varchar</td>
<td>Y</td>
<td>单次请求唯一标识符,可用UUID生成</td>
</tr>
</tbody>
</table>
<h3>请求体</h3>
<p><code>eleUrlQueryReq</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>业务号</td>
<td>bussinessNoList</td>
<td>List<String></td>
<td>Y</td>
<td>业务号(限制100条)</td>
</tr>
</tbody>
</table>
<h3>响应头</h3>
<p><code>head</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>响应时间</td>
<td>respTime</td>
<td>DateTime</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>唯一标识符</td>
<td>uuid</td>
<td>varchar</td>
<td>Y</td>
<td>单次请求唯一标识符,可用UUID生成</td>
</tr>
</tbody>
</table>
<h3>响应体</h3>
<p><code>respBody</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>处理状态码</td>
<td>dealCode</td>
<td>varchar</td>
<td>Y</td>
<td>处理结果状态码</td>
</tr>
<tr>
<td>处理结果描述</td>
<td>dealDesc</td>
<td>varchar</td>
<td>Y</td>
<td>处理结果描述</td>
</tr>
<tr>
<td>详细信息</td>
<td>eleDetails</td>
<td>List<EleDetail></td>
<td>Y</td>
<td>详情信息</td>
</tr>
</tbody>
</table>
<p><code>eleDetail</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>业务号</td>
<td>bussinessNo</td>
<td>varchar</td>
<td>Y</td>
<td>业务号</td>
</tr>
<tr>
<td>链接</td>
<td>eleUrl</td>
<td>varchar</td>
<td>Y</td>
<td>下载链接</td>
</tr>
<tr>
<td>类型</td>
<td>modelType</td>
<td>varchar</td>
<td>Y</td>
<td>类型,1-电子保单,2-电子保函,3-批单</td>
</tr>
</tbody>
</table>
<h3>示例报文</h3>
<h4>请求报文</h4>
<pre><code class="language-json">{
&quot;head&quot;:{
&quot;policySource&quot;:&quot;PHN_TC&quot;,
&quot;reqTime&quot;:&quot;2023-02-27 14:17:43&quot;,
&quot;uuid&quot;:&quot;3cfaad6d-59b1-46cc-8617-f1e4abe9a692&quot;
},
&quot;eleUrlQueryReq&quot;:{
&quot;bussinessNoList&quot;: [
&quot;X11000011000011000&quot;,
&quot;X11000011000011000_001&quot;,
&quot;X11000011000011000_002&quot;
]
}
}
</code></pre>
<h4>返回报文</h4>
<pre><code class="language-json">{
&quot;head&quot;:{
&quot;policySource&quot;:&quot;PHN_TC&quot;,
&quot;respTime&quot;:1677575612590,
&quot;uuid&quot;:&quot;3cfaad6d-59b1-46cc-8617-f1e4abe9a692&quot;
},
&quot;respBody&quot;:{
&quot;dealCode&quot;:&quot;1&quot;,
&quot;dealDesc&quot;:&quot;成功&quot;,
&quot;eleDetails&quot;:[
{
&quot;bussinessNo&quot;:&quot;X00272634230051486512&quot;,
&quot;eleUrl&quot;:&quot;https://porsche-avatar.chinahuanong.com.cn/avatar/elec/download?data=YNgmccsYhnaqVngifnElm/269YHQuO7rGqnIMxEs%2Bng=&amp;sign=3F284BC6626C70CF1B57913EB32EC721&quot;,
&quot;modelType&quot;:&quot;1&quot;
},
{
&quot;bussinessNo&quot;:&quot;X00272634230051486512_001&quot;,
&quot;eleUrl&quot;:&quot;https://porsche-avatar.chinahuanong.com.cn/avatar/elec/download?data=YNgmccsYhnaqVngifnElm5z8CGg3PZUWDjp4f1mlTtQ=&amp;sign=C00220A136584714235C4AC2701B1882&quot;,
&quot;modelType&quot;:&quot;1&quot;
},
{
&quot;bussinessNo&quot;:&quot;X00272634230051486512&quot;,
&quot;eleUrl&quot;:&quot;https://porsche-avatar.chinahuanong.com.cn/avatar/elec/download?data=YNgmccsYhnaqVngifnElm5z8CGg3PZUWDjp4f1mlTtQ=&amp;sign=C00220A136584714235C4AC2701B1882&quot;,
&quot;modelType&quot;:&quot;2&quot;
}
]
}
}
</code></pre>