TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAscpLogisticsSellerOrdersGetRequest req = new AlibabaAscpLogisticsSellerOrdersGetRequest();
req.setWriteOffDate("2022-03-04");
req.setPageIndex(1L);
req.setReceiveCode("928031");
req.setPageSize(5L);
req.setTid("2973990279350502150");
req.setWriteOffStatus("1");
AlibabaAscpLogisticsSellerOrdersGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAscpLogisticsSellerOrdersGetRequest req = new AlibabaAscpLogisticsSellerOrdersGetRequest();
req.WriteOffDate = "2022-03-04";
req.PageIndex = 1L;
req.ReceiveCode = "928031";
req.PageSize = 5L;
req.Tid = "2973990279350502150";
req.WriteOffStatus = "1";
AlibabaAscpLogisticsSellerOrdersGetResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAscpLogisticsSellerOrdersGetRequest;
$req->setWriteOffDate("2022-03-04");
$req->setPageIndex("1");
$req->setReceiveCode("928031");
$req->setPageSize("5");
$req->setTid("2973990279350502150");
$req->setWriteOffStatus("1");
$resp = $c->execute($req, $sessionKey);
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.logistics.seller.orders.get' \
-d 'partner_id=apidoc' \
-d 'session=9034a40b-5119-4b13-85cd-f44426a0d698' \
-d 'sign=C14226C1A65C5BB71E52F99EEDD62691' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-29+18%3A19%3A07' \
-d 'v=2.0' \
-d 'page_index=1' \
-d 'page_size=5' \
-d 'receive_code=928031' \
-d 'tid=2973990279350502150' \
-d 'write_off_date=2022-03-04' \
-d 'write_off_status=1'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAscpLogisticsSellerOrdersGetRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.write_off_date="2022-03-04"
req.page_index=1
req.receive_code="928031"
req.page_size=5
req.tid="2973990279350502150"
req.write_off_status="1"
try:
resp= req.getResponse(sessionkey)
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.logistics.seller.orders.get");
add_param(pRequest,"write_off_date","2022-03-04");
add_param(pRequest,"page_index","1");
add_param(pRequest,"receive_code","928031");
add_param(pRequest,"page_size","5");
add_param(pRequest,"tid","2973990279350502150");
add_param(pRequest,"write_off_status","1");
pResponse = top_execute(pClient,pRequest,sessionKey);
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.logistics.seller.orders.get', {
'write_off_date':'2022-03-04',
'page_index':'1',
'receive_code':'928031',
'page_size':'5',
'tid':'2973990279350502150',
'write_off_status':'1'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})