产品详情
API参数 云鉴_企业工商对外投资查询_个体工商户对外投资查询_企业工商对外投资名目_企业对外投资持股明细 调用地址: http,https://duiwaitouzi.api.bdymkt.com/duiwaitouzi 请求方式: POST 支持格式: application/x-www-form-urlencoded 调用工具: 去调试 请求参数(Headers) 请求参数(Query) 请求参数(Body)
- 名称
- 类型
- 是否必须
- 示例值
- 描述
- keyword
- string
- true
- 深圳云码通科技有限公司
- 搜索关键字(公司名、注册号或社会统一信用代码)
- pageindex
- string
- false
- 1
- 页码,默认第一页
- pagesize
- string
- false
- 10
- 每页条目数,默认10条,最大不超过50条
<dependency>
<groupId>com.baidubce</groupId>
<artifactId>api-explorer-sdk</artifactId>
<version>1.0.0</version>
</dependency>
import com.baidubce.http.ApiExplorerClient;
import com.baidubce.http.AppSigner;
import com.baidubce.http.HttpMethodName;
import com.baidubce.model.ApiExplorerRequest;
import com.baidubce.model.ApiExplorerResponse;
// 云鉴企业工商对外投资查询_个体工商户对外投资查询_企业工商对外投资名目查询_企业对外投资持股明细 Java示例代码
public class RequestDemo {
public static void main(String[] args) {
String path = "http://gwgp-theahwkwf3y.n.bdcloudapi.com/duiwaitouzi";
ApiExplorerRequest request = new ApiExplorerRequest(HttpMethodName.POST, path);
request.setCredentials("您的 access key", "您的 secret key");
request.addHeaderParameter("Content-Type", "application/x-www-form-urlencoded");
ApiExplorerClient client = new ApiExplorerClient(new AppSigner());
try {
ApiExplorerResponse response = client.sendRequest(request);
// 返回结果格式为Json字符串
System.out.println(response.getResult());
} catch (Exception e) {
e.printStackTrace();
}
}
}
点击复制代码
正常返回示例 {
"jobid": "ZT20201227104407718738877",
"responsetime": "20201227104407868",
"errcode": "C0000",
"errmsg": "查询成功",
"result": {
"ary": [{
"creditno": "91460200051093526e",//统一社会信用代码
"companytype": "其他有限责任公司",//公司类型
"companystatus": "注销",//状态
"capital": "100万元",//注册资本
"legalperson": "石晓虹",//法人名称
"establishdate": "2012-09-25 00:00:00",//成立日期
"stockproportion": "0.95",//出资比例
"stockcapital": "95.0万元",//出资金额
"companyname": "三亚奇骏科技有限公司"//公司名称
}, {
"creditno": "91110102ma00aurg65",
"companytype": "其他有限责任公司",
"companystatus": "注销",
"capital": "14293.297000万人民币",
"legalperson": "齐向东",
"establishdate": "2016-12-27 00:00:00",
"stockproportion": "0.23614845476169705",
"stockcapital": "3375.34万元",
"companyname": "360企业安全技术(北京)集团有限公司"
}]
}
}
errcode释义:
C0000 查询成功(收费)
C0025 查询成功无结果
C0026 查询成功无结果(收费)
C0096 查询失败
00029 请求参数不标准
00061 查询次数超限
21005 该产品暂时无法使用
910RE 系统交易超时
91096 系统其他错误
失败返回示例 {
"jobid": "ZT20201227104407718738877",
"responsetime": "20201227104407868",
"errcode": "C0025",
"errmsg": "查询成功无结果",
"result": {}
}
错误码定义
