TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAscpIndustrySupplierDeliveryInstallCallbackRequest req = new AlibabaAscpIndustrySupplierDeliveryInstallCallbackRequest();
AlibabaAscpIndustrySupplierDeliveryInstallCallbackRequest.ZxDeliveryInstallLogisticsCallbackRequest obj1 = new AlibabaAscpIndustrySupplierDeliveryInstallCallbackRequest.ZxDeliveryInstallLogisticsCallbackRequest();
obj1.setMailNo("SF001");
obj1.setLogDesc("【杭州分拨】已揽收");
obj1.setFeature("{\"a\":\"b\"}");
obj1.setOperateTime(1639205668000L);
obj1.setLogisticsCode("TMS_SIGN");
obj1.setOperator("张三");
req.setZxDeliveryInstallLogisticsCallbackRequest(obj1);
AlibabaAscpIndustrySupplierDeliveryInstallCallbackResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAscpIndustrySupplierDeliveryInstallCallbackRequest req = new AlibabaAscpIndustrySupplierDeliveryInstallCallbackRequest();
AlibabaAscpIndustrySupplierDeliveryInstallCallbackRequest.ZxDeliveryInstallLogisticsCallbackRequestDomain obj1 = new AlibabaAscpIndustrySupplierDeliveryInstallCallbackRequest.ZxDeliveryInstallLogisticsCallbackRequestDomain();
obj1.MailNo = "SF001";
obj1.LogDesc = "【杭州分拨】已揽收";
obj1.Feature = "{\"a\":\"b\"}";
obj1.OperateTime = 1639205668000L;
obj1.LogisticsCode = "TMS_SIGN";
obj1.Operator = "张三";
req.ZxDeliveryInstallLogisticsCallbackRequest_ = obj1;
AlibabaAscpIndustrySupplierDeliveryInstallCallbackResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAscpIndustrySupplierDeliveryInstallCallbackRequest;
$zx_delivery_install_logistics_callback_request = new ZxDeliveryInstallLogisticsCallbackRequest;
$zx_delivery_install_logistics_callback_request->mail_no="SF001";
$zx_delivery_install_logistics_callback_request->log_desc="【杭州分拨】已揽收";
$zx_delivery_install_logistics_callback_request->feature="{\"a\":\"b\"}";
$zx_delivery_install_logistics_callback_request->operate_time="1639205668000";
$zx_delivery_install_logistics_callback_request->logistics_code="TMS_SIGN";
$zx_delivery_install_logistics_callback_request->operator="张三";
$req->setZxDeliveryInstallLogisticsCallbackRequest(json_encode($zx_delivery_install_logistics_callback_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.delivery.install.callback' \
-d 'partner_id=apidoc' \
-d 'sign=9E030725FCFEC461584028F3362E9C88' \
-d 'sign_method=hmac' \
-d 'timestamp=2026-11-03+03%3A31%3A34' \
-d 'v=2.0' \
-d 'zx_delivery_install_logistics_callback_request=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAscpIndustrySupplierDeliveryInstallCallbackRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.zx_delivery_install_logistics_callback_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.delivery.install.callback");
add_param(pRequest,"zx_delivery_install_logistics_callback_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',
'url': 'http://gw.api.taobao.com/router/rest'
});
client.execute('alibaba.ascp.industry.supplier.delivery.install.callback', {
'zx_delivery_install_logistics_callback_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})