












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 = "https://jmqyfw2gqctt.api.bdymkt.com/enterprise/ownership-structure"; 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(); } } }点击复制代码
{
"code": 200,//返回码,详见返回码说明
"msg": "成功",//返回码对应描述
"taskNo": "779539869172465196935149",//本次请求号
"data": {
"shareholderList": [
{
"subConam": 104,//认缴出资额
"companyStatusName": "",//如果是企业的话,企业状态
"creditCode": "",//如果是企业的话,统一信用代码
"childNum": 0,//子节点数目
"fundedRatioNum": 0.8,//持股比例数字
"name": "曾献林",//公司名称或者企业名称
"type": "person",//如果是企业的话company,否则为person
"fundedRatio": "80.00%" //持股比例
}
],
"investmentList": [
{
"subConam": 104,//认缴出资额
"companyStatusName": "",//如果是企业的话,企业状态
"creditCode": "",//如果是企业的话,统一信用代码
"childNum": 0,//子节点数目
"fundedRatioNum": 0.8,//持股比例数字
"name": "曾献林",//公司名称或者企业名称
"type": "person",//如果是企业的话company,否则为person
"fundedRatio": "80.00%" //持股比例
}
]
}
}
{
"msg": "关键字不能为空",
"code": 400
}
1,官方直连,权威校验;2,全实时优质接口,不参缓存,品质保证;3,多通道冗余切换,稳定可靠。

