3.39 获取问卷评估url
<p>[TOC]</p>
<p>请求模式:渠道方→华农阿凡达平台</p>
<p>接口描述:获取问卷评估url</p>
<p>测试接口地址:<a href="https://porsche-avatar.chinahuanong.com.cn/avatar/smart/h5">https://porsche-avatar.chinahuanong.com.cn/avatar/smart/h5</a></p>
<p>生产接口地址:<a href="https://avatar.chinahuanong.com.cn/avatar/smart/h5">https://avatar.chinahuanong.com.cn/avatar/smart/h5</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><code>policySource</code></td>
<td><code>varchar</code></td>
<td>Y</td>
<td>保险公司分配给<br/>渠道方的渠道编码</td>
</tr>
<tr>
<td>请求时间</td>
<td><code>reqTime</code></td>
<td><code>DateTime</code></td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>接口类型</td>
<td><code>interfaceType</code></td>
<td><code>varchar</code></td>
<td>CY</td>
<td>针对每个接口,使用接口的<code>API</code>信息</td>
</tr>
<tr>
<td>订单号</td>
<td><code>orderNo</code></td>
<td><code>varchar</code></td>
<td>Y</td>
<td>贯穿保单始终的订单号,<br/>核保接口orderNo一致</td>
</tr>
<tr>
<td>唯一标识符</td>
<td><code>uuid</code></td>
<td><code>varchar</code></td>
<td>Y</td>
<td>单次请求唯一标识符,任一次请求不允许相同</td>
</tr>
</tbody>
</table>
<h3>请求体</h3>
<p><code>reqBody</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>字段类型</th>
<th>是否必传</th>
<th>字段描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>产品编码</td>
<td><code>productCode</code></td>
<td><code>varchar</code></td>
<td>N</td>
<td>产品的唯一标识。如超享e生传值:hncx_cxesylx_mbzs</td>
</tr>
<tr>
<td>被保人性别</td>
<td><code>gender</code></td>
<td><code>varchar</code></td>
<td>N</td>
<td>1:男 0:女</td>
</tr>
<tr>
<td>被保人生日</td>
<td><code>birthday</code></td>
<td><code>varchar</code></td>
<td>N</td>
<td>yyyy-MM-dd</td>
</tr>
<tr>
<td>核保完成后跳转的url</td>
<td><code>successUrl</code></td>
<td><code>varchar</code></td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>核保异常后跳转的url</td>
<td><code>failUrl</code></td>
<td><code>varchar</code></td>
<td>Y</td>
<td></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><code>policySource</code></td>
<td><code>varchar</code></td>
<td>Y</td>
<td>保险公司分配给<br/>渠道方的渠道编码</td>
</tr>
<tr>
<td>响应时间</td>
<td><code>respTime</code></td>
<td><code>DateTime</code></td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>接口类型</td>
<td><code>interfaceType</code></td>
<td><code>varchar</code></td>
<td>CY</td>
<td>针对每个接口,使用接口的<code>API</code>信息</td>
</tr>
<tr>
<td>订单号</td>
<td><code>orderNo</code></td>
<td><code>varchar</code></td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>唯一标识符</td>
<td><code>uuid</code></td>
<td><code>varchar</code></td>
<td>Y</td>
<td>单次请求唯一标识符,任一次请求不允许相同</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><code>dealCode</code></td>
<td><code>varchar</code></td>
<td>Y</td>
<td>处理结果状态码</td>
</tr>
<tr>
<td>处理结果描述</td>
<td><code>dealDesc</code></td>
<td><code>varchar</code></td>
<td>Y</td>
<td>处理结果描述</td>
</tr>
<tr>
<td>问卷编码</td>
<td><code>qaCode</code></td>
<td>varchar</td>
<td>CY</td>
<td></td>
</tr>
<tr>
<td>问卷地址</td>
<td><code>qaUrl</code></td>
<td>varchar</td>
<td>CY</td>
<td></td>
</tr>
</tbody>
</table>
<h3>请求报文</h3>
<pre><code class="language-json">{
&quot;reqBody&quot;: {
&quot;gender&quot;: &quot;1&quot;,
&quot;birthday&quot;: &quot;1990-08-15&quot;,
&quot;successUrl&quot;: &quot;https:\/\/h5.lecheng18.com\/product\/index_167.html?#\/underwriting?orderSn=20230904164608229773&quot;,
&quot;failUrl&quot;: &quot;https:\/\/h5.lecheng18.com\/product\/index_167.html?#\/underwriting?orderSn=20230904164608229773&quot;
},
&quot;head&quot;: {
&quot;interfaceType&quot;: &quot;rule\/h5&quot;,
&quot;orderNo&quot;: &quot;20230904164608229773&quot;,
&quot;policySource&quot;: &quot;HN_LC&quot;,
&quot;reqTime&quot;: &quot;2023-09-04 16:46:08&quot;,
&quot;uuid&quot;: &quot;e4191e98-0445-f3f0-90ae-2a0379ee9a1a&quot;
}
}
</code></pre>
<h3>响应报文</h3>
<pre><code class="language-json">{
&quot;head&quot;: {
&quot;interfaceType&quot;: &quot;rule/h5&quot;,
&quot;orderNo&quot;: &quot;20230904164608229773&quot;,
&quot;policySource&quot;: &quot;HN_LC&quot;,
&quot;respTime&quot;: 1693817169012,
&quot;uuid&quot;: &quot;e4191e98-0445-f3f0-90ae-2a0379ee9a1a&quot;
},
&quot;respBody&quot;: {
&quot;dealCode&quot;: &quot;1&quot;,
&quot;dealDesc&quot;: &quot;成功&quot;,
&quot;qaCode&quot;: &quot;A1698618437514821632&quot;,
&quot;qaUrl&quot;: &quot;https://megrez.aixbx.com/disease/home?code=medical_chic_gr&amp;qaCode=A1698618437514821632&quot;
}
}</code></pre>