TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest req = new AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest();
AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest.LogisticOrderCreationForRmaRequest obj1 = new AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest.LogisticOrderCreationForRmaRequest();
obj1.setDisputeId(2345243532L);
obj1.setTrackingCode("X1234");
obj1.setOrderDate(StringUtils.parseDateTime("2017-01-01 00:00:00"));
obj1.setLogisticReason("PRODUCT_CUSTOMER_PICKUP");
obj1.setCarrierName("Correos");
req.setLogisticsOrderCreationRequest(obj1);
AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest req = new AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest();
AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest.LogisticOrderCreationForRmaRequestDomain obj1 = new AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest.LogisticOrderCreationForRmaRequestDomain();
obj1.DisputeId = 2345243532L;
obj1.TrackingCode = "X1234";
obj1.OrderDate = DateTime.Parse(2017-01-01 00:00:00");
obj1.LogisticReason = "PRODUCT_CUSTOMER_PICKUP";
obj1.CarrierName = "Correos";
req.LogisticsOrderCreationRequest_ = obj1;
AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest;
$logistics_order_creation_request = new LogisticOrderCreationForRmaRequest;
$logistics_order_creation_request->dispute_id="2345243532";
$logistics_order_creation_request->tracking_code="X1234";
$logistics_order_creation_request->order_date="2017-01-01 00:00:00";
$logistics_order_creation_request->logistic_reason="PRODUCT_CUSTOMER_PICKUP";
$logistics_order_creation_request->carrier_name="Correos";
$req->setLogisticsOrderCreationRequest(json_encode($logistics_order_creation_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=aliexpress.solution.issue.partner.rma.reverselogistic.trackinginfo.create' \
-d 'partner_id=apidoc' \
-d 'sign=ED29DAB403040301BD5DBA2F51DAE630' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-02+12%3A26%3A20' \
-d 'v=2.0' \
-d 'logistics_order_creation_request=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AliexpressSolutionIssuePartnerRmaReverselogisticTrackinginfoCreateRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.logistics_order_creation_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,"aliexpress.solution.issue.partner.rma.reverselogistic.trackinginfo.create");
add_param(pRequest,"logistics_order_creation_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('aliexpress.solution.issue.partner.rma.reverselogistic.trackinginfo.create', {
'logistics_order_creation_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})