请求支持 POST 和 GET 两种方法,字符编码为 utf-8 ,支持全天24小时发送。
https://api.ihuyi.com/idcard/entcbi/Submit.json
| 参数名称 | 参数值描述 | 示例 | 类型 | 必填 |
| Content-Type | 内容类型,固定值 | application/x-www-form-urlencoded | string | 是 |
| 参数名称 | 参数值描述 | 示例 | 类型 | 必填 |
| account | APIID(用户中心【认证核验】-【企业信息验证】-【产品总览】查看) | xxxxxxxx | string | 是 |
| password | 1、APIKEY(用户中心【认证核验】-【企业信息验证】-【产品总览】查看) 2、动态密码(生成动态密码方式请看该文档末尾的说明) |
xxxxxxxxx | string | 是 |
| ent_name | 企业名称(ent_name、ent_code、organization_code、reg_no四选一传递) | 上海************有限公司 | string | 否 |
| ent_code | 社会信用代码(ent_name、ent_code、organization_code、reg_no四选一传递) | 913****** | string | 否 |
| organization_code | 组织机构代码(ent_name、ent_code、organization_code、reg_no四选一传递) | 403925****** | string | 否 |
| reg_no | 注册号(ent_name、ent_code、organization_code、reg_no四选一传递) | 403925****** | string | 否 |
| time | Unix时间戳(10位整型数字,当使用动态密码方式时为必填) | 1623643787 | string | 否 |
| 参数名称 | 参数值描述 | 示例 | 类型 | 必返 |
| code | 返回值为2时,表示提交成功 | 2|1 | int | |
| msg | 提交结果描述 | 查询成功|查询失败 | string | |
| idcardid | 当提交成功后,此字段为流水号,否则为0或空 | 16236437872836|0 | string | |
| result | 查询结果 | object | ||
| info | 信息详情 | object | ||
| entityName | 企业名称 | 上海思锐信息技术有限公司 | string | |
| creditcode | 统一社会信用代码 | 9131011676****322N | string | |
| registerCode | 注册号 | 31011600****8277 | string | |
| organizationCode | 组织机构代码 | 7616****2 | string | |
| shortName | 企业简称 | 思锐信 | string | |
| englishName | 英文全称 | string | ||
| brief | 企业简介 | 互亿无线(隶属于上海思锐信息技术有限公司)成立于2004年,是国内专业的企业互联网应用服务提供商。 | string | |
| website | 企业官网 | ihuyi.com | string | |
| registerAddress | 注册地址 | 上海市金山区亭林镇寺平南路**号***室 | string | |
| regAddressLongitude | 注册地址经度 | 121.31**** | string | |
| regAddressLatitude | 注册地址纬度 | 30.88**** | string | |
| businessAddress | 经营地址 | 中国(上海)自由贸易试验区纳贤路***号*幢***-**室 | string | |
| telephone | 电话 | 021-5169**** | string | |
| 邮箱 | 5246****@qq.com | string | ||
| wechatName | 微信名 | 天天惠报 | string | |
| wechatDescription | 微信公众号描述 | 每日更新最新的线上活动信息,汇集流量、现金、话费、优惠卷等奖品! | string |
| code | msg |
| 0 | 未知错误 |
| 1 | 提交失败 |
| 2 | 提交成功 |
| 400 | 非法ip访问 |
| 401 | 帐号不能为空 |
| 402 | 密码不能为空 |
| 403 | 应用不存在 |
| 406 | 企业名称、统代、组织机构代码、工商注册号四选一 |
| 405 | API ID 或 API KEY 不正确 |
| 4050 | 账号被冻结 |
| 40501 | 动态密码已过期 |
| 40502 | 动态密码校验失败 |
| 40505 | 没有签定合同 |
| 4051 | 剩余条数不足 |
| 4052 | 访问 ip 与备案 ip 不符 |
| 4086 | 通道无效 |
| 4010 | 通道错误 |
| 4201 | 查询无结果 |
| 4202 | 系统异常 |
| 4203 | 参数有误或者不支持查询关键字,请检查 |
https://api.ihuyi.com/idcard/entcbi/Submit.json?account=xxxxxxxx&password=xxxxxxxxx&ent_name=上海************有限公司&ent_code=913******&organization_code=403925******®_no=403925******&
示例(成功)
<?xml version="1.0" encoding="utf-8"?><SubmitResult><code>2</code><msg>查询成功</msg><idcardid>16236437872836</idcardid><result><info><entityName>上海思锐信息技术有限公司</entityName><creditcode>9131011676****322N</creditcode><registerCode>31011600****8277</registerCode><organizationCode>7616****2</organizationCode><shortName>思锐信</shortName><englishName></englishName><brief>互亿无线(隶属于上海思锐信息技术有限公司)成立于2004年,是国内专业的企业互联网应用服务提供商。</brief><website>ihuyi.com</website><registerAddress>上海市金山区亭林镇寺平南路**号***室</registerAddress><regAddressLongitude>121.31****</regAddressLongitude><regAddressLatitude>30.88****</regAddressLatitude><businessAddress>中国(上海)自由贸易试验区纳贤路***号*幢***-**室</businessAddress><telephone>021-5169****</telephone><email>5246****@qq.com</email><wechatName>天天惠报</wechatName><wechatDescription>每日更新最新的线上活动信息,汇集流量、现金、话费、优惠卷等奖品!</wechatDescription></info></result></SubmitResult>
{ "code":
2
, "msg":
"查询成功"
, "idcardid":
"16236437872836"
, "result":
{ "info":
{ "entityName":
"上海思锐信息技术有限公司"
, "creditcode":
"9131011676****322N"
, "registerCode":
"31011600****8277"
, "organizationCode":
"7616****2"
, "shortName":
"思锐信"
, "englishName":
""
, "brief":
"互亿无线(隶属于上海思锐信息技术有限公司)成立于2004年,是国内专业的企业互联网应用服务提供商。"
, "website":
"ihuyi.com"
, "registerAddress":
"上海市金山区亭林镇寺平南路**号***室"
, "regAddressLongitude":
"121.31****"
, "regAddressLatitude":
"30.88****"
, "businessAddress":
"中国(上海)自由贸易试验区纳贤路***号*幢***-**室"
, "telephone":
"021-5169****"
, "email":
"5246****@qq.com"
, "wechatName":
"天天惠报"
, "wechatDescription":
"每日更新最新的线上活动信息,汇集流量、现金、话费、优惠卷等奖品!"
}
}
}
示例(失败)
<?xml version="1.0" encoding="utf-8"?><SubmitResult><code>1</code><msg>查询失败</msg></SubmitResult> {"code":1,"msg":"查询失败"}
$account = 'xxxxxxxx';
$password = 'xxxxxxxxx';
$app = 'entcbi'; //固定值
$ent_name = '上海************有限公司';
$ent_code = '913******';
$time = '1623643787';
$password=md5($account.$password.$app.$ent_name.$ent_code.$time);
$password=md5('xxxxxxxxxxxxxxxxxentcbi上海************有限公司913******1623643787');
//注意:所有字符编码统一为UTF-8
服务热线:
400 118 6878
服务热线(工作时间):
400 118 6878
业务咨询(非工作时间):
售后咨询(非工作时间):
