TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDchainAoxiangIndustryWaybillLogisticstatusChangeRequest req = new AlibabaDchainAoxiangIndustryWaybillLogisticstatusChangeRequest();
AlibabaDchainAoxiangIndustryWaybillLogisticstatusChangeRequest.TmsOrderConfirmRequest obj1 = new AlibabaDchainAoxiangIndustryWaybillLogisticstatusChangeRequest.TmsOrderConfirmRequest();
obj1.setSellerId("22021798371");
obj1.setExpressCode("SF3289473286582");
obj1.setRequestId("xx");
obj1.setIndustry("home_improvement");
obj1.setCpCode("YUELU");
obj1.setOperateTime(1639205668000L);
obj1.setLogisticStatus("LOGISTIC_ORIGIN_RECEIVING");
obj1.setOperatorName("xxx");
obj1.setDescription("xxx");
obj1.setRemark("xxx");
obj1.setFeature("{\"a\":\"b\"}");
obj1.setRequestTime(1639205668000L);
req.setTmsOrderConfirmRequest(obj1);
AlibabaDchainAoxiangIndustryWaybillLogisticstatusChangeResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaDchainAoxiangIndustryWaybillLogisticstatusChangeRequest req = new AlibabaDchainAoxiangIndustryWaybillLogisticstatusChangeRequest();
AlibabaDchainAoxiangIndustryWaybillLogisticstatusChangeRequest.TmsOrderConfirmRequestDomain obj1 = new AlibabaDchainAoxiangIndustryWaybillLogisticstatusChangeRequest.TmsOrderConfirmRequestDomain();
obj1.SellerId = "22021798371";
obj1.ExpressCode = "SF3289473286582";
obj1.RequestId = "xx";
obj1.Industry = "home_improvement";
obj1.CpCode = "YUELU";
obj1.OperateTime = 1639205668000L;
obj1.LogisticStatus = "LOGISTIC_ORIGIN_RECEIVING";
obj1.OperatorName = "xxx";
obj1.Description = "xxx";
obj1.Remark = "xxx";
obj1.Feature = "{\"a\":\"b\"}";
obj1.RequestTime = 1639205668000L;
req.TmsOrderConfirmRequest_ = obj1;
AlibabaDchainAoxiangIndustryWaybillLogisticstatusChangeResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaDchainAoxiangIndustryWaybillLogisticstatusChangeRequest;
$tms_order_confirm_request = new TmsOrderConfirmRequest;
$tms_order_confirm_request->seller_id="22021798371";
$tms_order_confirm_request->express_code="SF3289473286582";
$tms_order_confirm_request->request_id="xx";
$tms_order_confirm_request->industry="home_improvement";
$tms_order_confirm_request->cp_code="YUELU";
$tms_order_confirm_request->operate_time="1639205668000";
$tms_order_confirm_request->logistic_status="LOGISTIC_ORIGIN_RECEIVING";
$tms_order_confirm_request->operator_name="xxx";
$tms_order_confirm_request->description="xxx";
$tms_order_confirm_request->remark="xxx";
$tms_order_confirm_request->feature="{\"a\":\"b\"}";
$tms_order_confirm_request->request_time="1639205668000";
$req->setTmsOrderConfirmRequest(json_encode($tms_order_confirm_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.dchain.aoxiang.industry.waybill.logisticstatus.change' \
-d 'partner_id=apidoc' \
-d 'sign=5A23CF1FCF965A17532AD44B78999BDB' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-04+15%3A36%3A18' \
-d 'v=2.0' \
-d 'tms_order_confirm_request=xx'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaDchainAoxiangIndustryWaybillLogisticstatusChangeRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.tms_order_confirm_request="xx"
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.dchain.aoxiang.industry.waybill.logisticstatus.change");
add_param(pRequest,"tms_order_confirm_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.dchain.aoxiang.industry.waybill.logisticstatus.change', {
'tms_order_confirm_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})