TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaEshiqiCropRelationInspectionSubmitRequest req = new AlibabaEshiqiCropRelationInspectionSubmitRequest();
AlibabaEshiqiCropRelationInspectionSubmitRequest.BizCorpRelSubmitQueryRequestDto obj1 = new AlibabaEshiqiCropRelationInspectionSubmitRequest.BizCorpRelSubmitQueryRequestDto();
obj1.setBizIdempotentNo("201908102222122");
List<AlibabaEshiqiCropRelationInspectionSubmitRequest.SearchCompanyInfoDto> list3 = new ArrayList<AlibabaEshiqiCropRelationInspectionSubmitRequest.SearchCompanyInfoDto>();
AlibabaEshiqiCropRelationInspectionSubmitRequest.SearchCompanyInfoDto obj4 = new AlibabaEshiqiCropRelationInspectionSubmitRequest.SearchCompanyInfoDto();
list3.add(obj4);
obj4.setCorpName("阿里巴巴(上海)有限公司");
obj4.setRegNo("52250000000xxxx");
obj4.setCreditCode("91370104MA3N1XXXXX");
obj1.setCompanyInfoList(list3);
obj1.setNotifyUrl("http://xxxxx.xxxxx.com/callback");
req.setParam(obj1);
AlibabaEshiqiCropRelationInspectionSubmitResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaEshiqiCropRelationInspectionSubmitRequest req = new AlibabaEshiqiCropRelationInspectionSubmitRequest();
AlibabaEshiqiCropRelationInspectionSubmitRequest.BizCorpRelSubmitQueryRequestDtoDomain obj1 = new AlibabaEshiqiCropRelationInspectionSubmitRequest.BizCorpRelSubmitQueryRequestDtoDomain();
obj1.BizIdempotentNo = "201908102222122";
List<AlibabaEshiqiCropRelationInspectionSubmitRequest.SearchCompanyInfoDtoDomain> list3 = new List<AlibabaEshiqiCropRelationInspectionSubmitRequest.SearchCompanyInfoDtoDomain>();
AlibabaEshiqiCropRelationInspectionSubmitRequest.SearchCompanyInfoDtoDomain obj4 = new AlibabaEshiqiCropRelationInspectionSubmitRequest.SearchCompanyInfoDtoDomain();
list3.Add(obj4);
obj4.CorpName = "阿里巴巴(上海)有限公司";
obj4.RegNo = "52250000000xxxx";
obj4.CreditCode = "91370104MA3N1XXXXX";
obj1.CompanyInfoList= list3;
obj1.NotifyUrl = "http://xxxxx.xxxxx.com/callback";
req.Param_ = obj1;
AlibabaEshiqiCropRelationInspectionSubmitResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaEshiqiCropRelationInspectionSubmitRequest;
$param = new BizCorpRelSubmitQueryRequestDto;
$param->biz_idempotent_no="201908102222122";
$company_info_list = new SearchCompanyInfoDto;
$company_info_list->corp_name="阿里巴巴(上海)有限公司";
$company_info_list->reg_no="52250000000xxxx";
$company_info_list->credit_code="91370104MA3N1XXXXX";
$param->company_info_list = $company_info_list;
$param->notify_url="http://xxxxx.xxxxx.com/callback";
$req->setParam(json_encode($param));
$resp = $c->execute($req);
curl -X POST 'http://gw.api.taobao.com/router/rest' \
-H 'Content-Type:application/x-www-form-urlencoded;charset=utf-8' \
-d 'app_key=12129701' \
-d 'format=json' \
-d 'method=alibaba.eshiqi.crop.relation.inspection.submit' \
-d 'partner_id=apidoc' \
-d 'sign=A507818F80A2F2A84DE66E91A88E2589' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-06-06+09%3A41%3A41' \
-d 'v=2.0' \
-d 'param=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaEshiqiCropRelationInspectionSubmitRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.param=""
try:
resp= req.getResponse()
print(resp)
except Exception,e:
print(e)
pTopRequest pRequest = alloc_top_request();
pTopResponse pResponse = NULL;
pTaobaoClient pClient = alloc_taobao_client(url, appkey, appsecret);
set_api_name(pRequest,"alibaba.eshiqi.crop.relation.inspection.submit");
add_param(pRequest,"param","数据结构JSON示例");
pResponse = top_execute(pClient,pRequest,NULL);
printf("ret code:%d\n",pResponse->code);
if(pResponse->code == 0){
pTopResponseIterator ite = init_response_iterator(pResponse);
pResultItem pResultItem = alloc_result_item();
while(parseNext(ite, pResultItem) == 0){
printf("%s:%s\n",pResultItem->key,pResultItem->value);
}
destroy_response_iterator(ite);
destroy_result_item(pResultItem);
}
destroy_top_request(pRequest);
destroy_top_response(pResponse);
destroy_taobao_client(pClient);
TopClient = require('./topClient').TopClient;
var client = new TopClient({
'appkey': 'appkey',
'appsecret': 'secret',
'REST_URL': 'http://gw.api.taobao.com/router/rest'
});
client.execute('alibaba.eshiqi.crop.relation.inspection.submit', {
'param':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})