金融行业违规查询
<p>[TOC]</p>
<h3>接口描述</h3>
<ul>
<li>查询个人金融行业违规信息。</li>
</ul>
<h3>请求地址</h3>
<p><code>https://api.jumdata.com/finance-violation/query</code></p>
<h3>请求方式</h3>
<ul>
<li>GET/POST</li>
</ul>
<h3>请求格式</h3>
<ul>
<li>x-www-form-urlencoded</li>
</ul>
<h3>请求参数</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>是否必填</th>
<th><div style="width:420px">说明 </div></th>
</tr>
</thead>
<tbody>
<tr>
<td>appId</td>
<td>String</td>
<td>是</td>
<td>客户唯一标识</td>
</tr>
<tr>
<td>timestamp</td>
<td>Long</td>
<td>是</td>
<td>当前时间的毫秒数</td>
</tr>
<tr>
<td>sign</td>
<td>String</td>
<td>是</td>
<td>签名,详见:签名算法说明</td>
</tr>
<tr>
<td>idcard</td>
<td>String</td>
<td>是</td>
<td>身份证号</td>
</tr>
<tr>
<td>name</td>
<td>String</td>
<td>是</td>
<td>姓名</td>
</tr>
</tbody>
</table>
<h3>签名算法</h3>
<pre><code>sign = sha256(appId + appSecret + timestamp)</code></pre>
<p>用服务商分配的 <strong>appId</strong>、服务商分配的 <strong>appSecret</strong>,当前时间毫秒数 <strong>timestamp</strong>,按上述顺序拼接成字符串,再进行 <strong>sha256</strong> 哈希得到。如下:</p>
<pre><code class="language-java">String appId = &quot;xyzxy2121zxyz&quot;;
String timestamp = &quot;1555378976238&quot;;
String appSecret = &quot;efcefcef1121cefcefc1212121&quot;;
String str = appId + appSecret + timestamp;
String sign = sha256(str);</code></pre>
<h3>查得返回样例</h3>
<pre><code>{
&quot;msg&quot;: &quot;成功&quot;,//返回码对应描述
&quot;code&quot;: 200,//返回码,详见返回码说明
&quot;taskNo&quot;: &quot;495535040191176601679042&quot;,//本次请求号
&quot;charge&quot;: true,//计费标志
&quot;data&quot;: {
&quot;list&quot;: [
{
&quot;decide_no&quot;: &quot;〔2020〕66 号&quot;,// 行政处罚决定书文号
&quot;parties_position&quot;: &quot;董事&quot;,//当事人时任
&quot;area_name&quot;: &quot;全国&quot;,//区域名称
&quot;legal_person&quot;: &quot;&quot;,//法定代表人(负责人)
&quot;reg_no&quot;: &quot;&quot;,//当事人注册号
&quot;parties_sex&quot;: &quot;男&quot;,//当事人性别
&quot;party_type&quot;: &quot;1&quot;,// 当事人类型,1 自然人主体
&quot;match&quot;: &quot;0.4&quot;,//匹配度
&quot;decide_date&quot;: &quot;2020 年*月* 日&quot;,//文书日期
&quot;punish_content&quot;: &quot;中国证监会行政处罚决定书(*****等 15 名责任人员)〔2020〕66 号当事人: **** 复议和诉讼期间,上述决定不停止执行。中国证监会*年*月* 日&quot;,//行政处罚内容
&quot;parties_address&quot;: &quot;北京市***&quot;,//当事人住址
&quot;punish_type&quot;: &quot;警告罚款&quot;,// 处罚类型
&quot;parties_name&quot;: &quot;赵**&quot;,//当事人名称
&quot;parties_birthday&quot;: &quot;1959-10&quot;,//当事人出生年月
&quot;decide_basis&quot;: &quot;《证券法》第一百九十三条第一款&quot;,//处罚依据
&quot;publish_org&quot;: &quot;中国证券监督管理委员会&quot;,//公示机关
&quot;company_name&quot;: &quot;*** (集团)股份有限公司&quot;,//所在公司名称
&quot;illegal_facts&quot;: &quot;***披露虚假信息&quot;,//违法事实
&quot;old_parties_name&quot;: &quot;&quot;,//当事人历史名称
&quot;decide_org&quot;: &quot;中国证监会&quot; //行政处罚决定机关名称
}
]
}
}
</code></pre>
<h3>错误返回样例</h3>
<pre><code>{
&quot;code&quot;: 400,
&quot;msg&quot;: &quot;身份证号不能为空!&quot;,
&quot;charge&quot;:false
}</code></pre>
<h3>code 返回码说明</h3>
<table>
<thead>
<tr>
<th>code</th>
<th><div style="width:420px">说明 </div></th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td>成功 (计费)</td>
</tr>
<tr>
<td>201</td>
<td>查无数据</td>
</tr>
<tr>
<td>400</td>
<td>参数错误</td>
</tr>
<tr>
<td>404</td>
<td>接口地址不正确</td>
</tr>
<tr>
<td>500</td>
<td>系统维护,请稍候再试</td>
</tr>
<tr>
<td>601</td>
<td>接口未开通</td>
</tr>
<tr>
<td>602</td>
<td>账号停用</td>
</tr>
<tr>
<td>603</td>
<td>余额不足请充值</td>
</tr>
<tr>
<td>604</td>
<td>接口停用</td>
</tr>
<tr>
<td>606</td>
<td>调用超限,请稍候再试</td>
</tr>
<tr>
<td>607</td>
<td>ip不在白名单</td>
</tr>
<tr>
<td>609</td>
<td>请求过于频繁,请稍候再试</td>
</tr>
<tr>
<td>610</td>
<td>请求超时</td>
</tr>
<tr>
<td>999</td>
<td>其他,以实际返回为准</td>
</tr>
</tbody>
</table>