alibaba.eshiqi.inspection.submit (提交查询请求)

提交查询请求, 立即返回一个查询实例ID 建议 社会统一信用证号、工商注册号、公司全称 只填一个能唯一确定公司的即可 当两证号和公司名称都填时,第一选择是社会统一信用证号,第二选择是工商注册号,第三选择是公司名称

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param SubmitQueryRequestDto 必须 请求参数
  • └ unified_social_credit_code
  • String
  • 可选
  • 91370104MA3N1XXXXX
  • 社会统一信用证号
  • └ biz_idempotent_no
  • String
  • 必须
  • 201908102222122
  • 幂等号(防止业务端重复提交)
  • └ company_full_name
  • String
  • 可选
  • 阿里巴巴(上海)有限公司
  • 公司全名
  • └ registration_number
  • String
  • 可选
  • 52250000000xxxx
  • 工商注册号
  • └ notify_url
  • String
  • 可选
  • http://xxxxx.xxxxx.com/callback
  • 回调通知url
  • └ policy_code
  • String
  • 必须
  • s23ees
  • 策略代码(从策略维护菜单中获取)
  • └ need_company_base_info
  • Boolean
  • 可选
  • false
  • 是否需要返回企业基本信息

响应参数

名称 类型 示例值 描述
moudle Number 102311 实例id
succeeded Boolean true 是否成功
http_status_code String 200 http状态
response_code String 200 响应状态
response_msg String ok 响应说明

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaEshiqiInspectionSubmitRequest req = new AlibabaEshiqiInspectionSubmitRequest();
AlibabaEshiqiInspectionSubmitRequest.SubmitQueryRequestDto obj1 = new AlibabaEshiqiInspectionSubmitRequest.SubmitQueryRequestDto();
obj1.setUnifiedSocialCreditCode("91370104MA3N1XXXXX");
obj1.setBizIdempotentNo("201908102222122");
obj1.setCompanyFullName("阿里巴巴(上海)有限公司");
obj1.setRegistrationNumber("52250000000xxxx");
obj1.setNotifyUrl("http://xxxxx.xxxxx.com/callback");
obj1.setPolicyCode("s23ees");
obj1.setNeedCompanyBaseInfo(false);
req.setParam(obj1);
AlibabaEshiqiInspectionSubmitResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_eshiqi_inspection_submit_response>
    <moudle>102311</moudle>
    <succeeded>true</succeeded>
    <http_status_code>200</http_status_code>
    <response_code>200</response_code>
    <response_msg>ok</response_msg>
</alibaba_eshiqi_inspection_submit_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部