3.32 普通标的批改接口
<p>[TOC]</p>
<p>请求模式:渠道方→华农阿凡达平台</p>
<p>接口描述:用于批改标的等常规信息</p>
<p>测试接口地址:<a href="https://porsche-avatar.chinahuanong.com.cn/avatar/endor/commonEndorse">https://porsche-avatar.chinahuanong.com.cn/avatar/endor/commonEndorse</a></p>
<p>生产接口地址:<a href="https://avatar.chinahuanong.com.cn/avatar/endor/commonEndorse">https://avatar.chinahuanong.com.cn/avatar/endor/commonEndorse</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>endorseBody</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>字段描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>保单号</td>
<td>policyNo</td>
<td>varchar</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>家财险标的信息</td>
<td>jcRiskInfoVo</td>
<td>Object</td>
<td>N</td>
<td>批改的家财险标的信息</td>
</tr>
</tbody>
</table>
<p><code>jcRiskInfoVo</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>字段描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>房屋地址:省</td>
<td>provinceCode</td>
<td>varchar</td>
<td>N</td>
<td>若有值则返回,没有则不传。</td>
</tr>
<tr>
<td>房屋地址:市</td>
<td>districtCode</td>
<td>varchar</td>
<td>N</td>
<td></td>
</tr>
<tr>
<td>房屋地址:详细地址</td>
<td>address</td>
<td>varchar</td>
<td>N</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>policySource</td>
<td>varchar</td>
<td>Y</td>
<td>保险公司分配给渠道方的渠道编码</td>
</tr>
<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>
</tbody>
</table>
<h3>示例报文</h3>
<h4>请求报文</h4>
<pre><code class="language-json">{
&quot;head&quot;:{
&quot;policySource&quot;:&quot;HN_SDC&quot;,
&quot;reqTime&quot;:&quot;2023-02-21 12:17:43&quot;,
&quot;uuid&quot;:&quot;3cfaad6d-59b1-46cc-8617-f1e4abe9a692&quot;
},
&quot;endorseBody&quot;:{
&quot;policyNo&quot;:&quot;X00270301230000000101&quot;,
&quot;jcRiskInfoVo&quot;:{
&quot;provinceCode&quot;:&quot;110000&quot;,
&quot;districtCode&quot;:&quot;110000&quot;,
&quot;address&quot;:&quot;北京市朝阳区&quot;
}
}
}
</code></pre>
<h4>返回报文</h4>
<pre><code class="language-json">{
&quot;head&quot;:{
&quot;policySource&quot;:&quot;HN_SDC&quot;,
&quot;respTime&quot;:1677030874843,
&quot;uuid&quot;:&quot;637d4c57-a4ac-4588-95a7-05ffa361118a&quot;
},
&quot;respBody&quot;:{
&quot;dealCode&quot;:&quot;1&quot;,
&quot;dealDesc&quot;:&quot;交易成功&quot;
}
}
</code></pre>