产品详情
API参数 云鉴特殊企业基本信息查询_事业单位工商信息查询_律所单位信息查询 调用地址: http,https://teshujibenxinxi.api.bdymkt.com/teshujibenxinxi 请求方式: POST 支持格式: application/x-www-form-urlencoded 调用工具: 去调试 请求参数(Headers) 请求参数(Query) 请求参数(Body)
- 名称
- 类型
- 是否必须
- 示例值
- 描述
- companyname
- string
- true
- --
- 公司名称
<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/teshujibenxinxi";
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": "ZT20201216165703970293462",
"responsetime": "20201216165704311",
"errcode": "C0000",
"errmsg": "查询成功",
"result": {
"orgtype": "公司",//机构类型
"orgnumber": "326******",//组织机构代码
"capital": "3000万人民币",//注册资本(万元)
"address": "深圳市福田区XX街道XX路XX大厦XX号",//机构地址
"orgname": "深圳XXX科技有限公司",//组织机构名称
"certificatedept": "福田局",//办证机构
"industry": "服务业",//经济行业名称
"legalpersonname": "杨X",//法人代表姓名
"creditno": "914403******",//统一社会信用代码
"establishdate": "2015-01-13",//注册日期
"base": "gd"//行政区划
}
}
失败返回示例 {
"jobid": "ZT20201216164344291801638",
"errmsg": "查询成功无结果",
"errcode": "C0025",
"responsetime": "20201216164344337"
}
错误码定义
