失联修复上传数据(lost_repair_upload_data)
<p>[TOC]</p>
<h5>产品描述</h5>
<ul>
<li>通过批量输入的姓名、身份证号、曾用手机号、授权码返回是否上传成功,每批不可超过1000条数据</li>
</ul>
<h5>接口地址</h5>
<ul>
<li>请求地址:<code>https://api.caih.com/verify/api/lost_repair_upload_data</code></li>
<li>请求方式:POST</li>
<li>接口数据类型:JSON</li>
<li>编码方式:UTF-8</li>
<li>接口参数传递位置:请求体body</li>
<li>接口参数传递内容:认证信息参数(authinfo)和校验请求参数(param)</li>
</ul>
<h5>接口须知</h5>
<ul>
<li><strong>认证信息参数</strong> 和 <strong>统一响应参数</strong>请查看页面 [认证信息参数和统一响应参数](<a href="https://www.showdoc.cc/p/52021eddfd9994a7b84d891a16e27f66">https://www.showdoc.cc/p/52021eddfd9994a7b84d891a16e27f66</a> "认证信息参数和统一响应参数")</li>
<li>如需加密对接请查看页面 [加密对接说明](<a href="https://www.showdoc.cc/p/dfff667dec3c68748dddde67674eb993">https://www.showdoc.cc/p/dfff667dec3c68748dddde67674eb993</a> "加密对接说明"),并联系运营人员进行配置</li>
</ul>
<h5>请求时间限制</h5>
<ul>
<li>每月的27日零点开始不可请求</li>
</ul>
<h5>校验请求参数(param)</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>是否必填</th>
<th>类型</th>
<th>父元素</th>
<th><div style="width: 400px"/>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>toRepairDataArray</td>
<td>是</td>
<td>JsonArray</td>
<td>param</td>
<td>待修复数据</td>
</tr>
<tr>
<td>name</td>
<td>是</td>
<td>string</td>
<td>toRepairDataArray</td>
<td>姓名,明文,最长支持30个中英文字,超过最大长度会报错</td>
</tr>
<tr>
<td>idcode</td>
<td>是</td>
<td>string</td>
<td>toRepairDataArray</td>
<td>身份证号,SHA256加密(明文身份证号如包含字母须统一转成大写后再加密),同一批中不可重复,若重复则之后的数据会被去除</td>
</tr>
<tr>
<td>usedPhone</td>
<td>否</td>
<td>string</td>
<td>toRepairDataArray</td>
<td>曾用手机号,SHA256加密,修复成功的手机号不会包含该手机号</td>
</tr>
<tr>
<td>authCode</td>
<td>是</td>
<td>string</td>
<td>toRepairDataArray</td>
<td>授权码,最多16位大小写字母或数字,同一批中不可重复,若重复则之后的数据会被去除<br/>一般可以填写失联人与客户(银行、保险)签署的合同编号,用来索引到失联人与客户(银行、保险)签署的授权协议)</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{
(认证信息参数)
&quot;param&quot;: {
&quot;toRepairDataArray&quot;:[
{
&quot;name&quot;:&quot;小明&quot;,
&quot;idcode&quot;:&quot;ab46f208c14dcb6642454211fb68b7ff5c0bbc2f87373db40b0e000000000000&quot;,
&quot;usedPhone&quot;:&quot;ab46f208c14dcb6642454211fb68b7ff5c0bbc2f87373db40b0e111111111111&quot;,
&quot;authCode&quot;:&quot;authCode1&quot;
},
{
&quot;name&quot;:&quot;小红&quot;,
&quot;idcode&quot;:&quot;ab46f208c14dcb6642454211fb68b7ff5c0bbc2f87373db40b0e222222222222&quot;,
&quot;usedPhone&quot;:&quot;&quot;,
&quot;authCode&quot;:&quot;authCode2&quot;
}
]
}
}</code></pre>
<h5>产品响应参数(data)</h5>
<p>验真状态码及描述请查看本页章节 <code>验真状态码及描述</code> 。</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>是否必填</th>
<th>类型</th>
<th><div style="width: 400px"/>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>state</td>
<td>是</td>
<td>string</td>
<td>验真状态码</td>
</tr>
<tr>
<td>desc</td>
<td>是</td>
<td>string</td>
<td>验真状态码描述</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<h6>查询成功</h6>
<pre><code>{
(统一响应参数)
&quot;data&quot;: {
&quot;state&quot;: &quot;1&quot;,
&quot;desc&quot;: &quot;成功&quot;
}
}</code></pre>
<h6>查询失败</h6>
<pre><code>{
(统一响应参数)
&quot;data&quot;: {
&quot;state&quot;: &quot;0&quot;,
&quot;desc&quot;: &quot;失败&quot;
}
}</code></pre>
<h5>验真状态码及描述</h5>
<table>
<thead>
<tr>
<th>验真状态码(state)</th>
<th>验真状态码描述(desc)</th>
<th>是否收费</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>0</td>
<td>失败</td>
<td>否</td>
</tr>
<tr>
<td>1</td>
<td>成功</td>
<td>是</td>
<td>可根据响应的平台流水号请求匹配结果、绑定中间号、查询话单接口</td>
</tr>
</tbody>
</table>