TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAscpIndustrySupplierLogisticsVerifyRequest req = new AlibabaAscpIndustrySupplierLogisticsVerifyRequest();
AlibabaAscpIndustrySupplierLogisticsVerifyRequest.ReverseFulfilVerifyRequest obj1 = new AlibabaAscpIndustrySupplierLogisticsVerifyRequest.ReverseFulfilVerifyRequest();
obj1.setMailNo("SF1000001");
obj1.setOrderId("20250401321134");
obj1.setOperateTime("1659080423659");
obj1.setGotCode("1234");
obj1.setFeature("{\"serviceType\": 0}");
req.setReverseFulfilVerifyRequest(obj1);
AlibabaAscpIndustrySupplierLogisticsVerifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAscpIndustrySupplierLogisticsVerifyRequest req = new AlibabaAscpIndustrySupplierLogisticsVerifyRequest();
AlibabaAscpIndustrySupplierLogisticsVerifyRequest.ReverseFulfilVerifyRequestDomain obj1 = new AlibabaAscpIndustrySupplierLogisticsVerifyRequest.ReverseFulfilVerifyRequestDomain();
obj1.MailNo = "SF1000001";
obj1.OrderId = "20250401321134";
obj1.OperateTime = "1659080423659";
obj1.GotCode = "1234";
obj1.Feature = "{\"serviceType\": 0}";
req.ReverseFulfilVerifyRequest_ = obj1;
AlibabaAscpIndustrySupplierLogisticsVerifyResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAscpIndustrySupplierLogisticsVerifyRequest;
$reverse_fulfil_verify_request = new ReverseFulfilVerifyRequest;
$reverse_fulfil_verify_request->mail_no="SF1000001";
$reverse_fulfil_verify_request->order_id="20250401321134";
$reverse_fulfil_verify_request->operate_time="1659080423659";
$reverse_fulfil_verify_request->got_code="1234";
$reverse_fulfil_verify_request->feature="{\"serviceType\": 0}";
$req->setReverseFulfilVerifyRequest(json_encode($reverse_fulfil_verify_request));
$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.ascp.industry.supplier.logistics.verify' \
-d 'partner_id=apidoc' \
-d 'sign=6F1FCFAF20DBE6D64916DCDD955D8B17' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-24+20%3A23%3A01' \
-d 'v=2.0' \
-d 'reverse_fulfil_verify_request=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAscpIndustrySupplierLogisticsVerifyRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.reverse_fulfil_verify_request="数据结构示例JSON格式"
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.ascp.industry.supplier.logistics.verify");
add_param(pRequest,"reverse_fulfil_verify_request","数据结构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.ascp.industry.supplier.logistics.verify', {
'reverse_fulfil_verify_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})