TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDchainAoxiangIndustryWaybillLogisticstatusRemarkAddRequest req = new AlibabaDchainAoxiangIndustryWaybillLogisticstatusRemarkAddRequest();
AlibabaDchainAoxiangIndustryWaybillLogisticstatusRemarkAddRequest.TmsOrderRemarkRequest obj1 = new AlibabaDchainAoxiangIndustryWaybillLogisticstatusRemarkAddRequest.TmsOrderRemarkRequest();
obj1.setSellerId("22021798371");
obj1.setExpressCode("SF3289473286582");
obj1.setRequestTime(1639205668000L);
obj1.setRequestId("xx");
obj1.setIndustry("home_improvement");
obj1.setCpCode("YUELU");
obj1.setOperatorName("xxx");
obj1.setRemark("xxx");
obj1.setFeature("{\"a\":\"b\"}");
req.setTmsOrderRemarkRequest(obj1);
AlibabaDchainAoxiangIndustryWaybillLogisticstatusRemarkAddResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaDchainAoxiangIndustryWaybillLogisticstatusRemarkAddRequest req = new AlibabaDchainAoxiangIndustryWaybillLogisticstatusRemarkAddRequest();
AlibabaDchainAoxiangIndustryWaybillLogisticstatusRemarkAddRequest.TmsOrderRemarkRequestDomain obj1 = new AlibabaDchainAoxiangIndustryWaybillLogisticstatusRemarkAddRequest.TmsOrderRemarkRequestDomain();
obj1.SellerId = "22021798371";
obj1.ExpressCode = "SF3289473286582";
obj1.RequestTime = 1639205668000L;
obj1.RequestId = "xx";
obj1.Industry = "home_improvement";
obj1.CpCode = "YUELU";
obj1.OperatorName = "xxx";
obj1.Remark = "xxx";
obj1.Feature = "{\"a\":\"b\"}";
req.TmsOrderRemarkRequest_ = obj1;
AlibabaDchainAoxiangIndustryWaybillLogisticstatusRemarkAddResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaDchainAoxiangIndustryWaybillLogisticstatusRemarkAddRequest;
$tms_order_remark_request = new TmsOrderRemarkRequest;
$tms_order_remark_request->seller_id="22021798371";
$tms_order_remark_request->express_code="SF3289473286582";
$tms_order_remark_request->request_time="1639205668000";
$tms_order_remark_request->request_id="xx";
$tms_order_remark_request->industry="home_improvement";
$tms_order_remark_request->cp_code="YUELU";
$tms_order_remark_request->operator_name="xxx";
$tms_order_remark_request->remark="xxx";
$tms_order_remark_request->feature="{\"a\":\"b\"}";
$req->setTmsOrderRemarkRequest(json_encode($tms_order_remark_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.remark.add' \
-d 'partner_id=apidoc' \
-d 'sign=0B3F2A5F4BAC62E2FBAF2D3BA222ED36' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-28+21%3A41%3A32' \
-d 'v=2.0' \
-d 'tms_order_remark_request=%7B%7D'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaDchainAoxiangIndustryWaybillLogisticstatusRemarkAddRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.tms_order_remark_request="{}"
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.remark.add");
add_param(pRequest,"tms_order_remark_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.remark.add', {
'tms_order_remark_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})