TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallExchangeReceiveGetRequest req = new TmallExchangeReceiveGetRequest();
req.setEndGmtModifedTime(StringUtils.parseDateTime("2000-01-01 00:00:00"));
req.setLogisticNo("NO123456789");
req.setBuyerNick("卡卡");
req.setStartCreatedTime(StringUtils.parseDateTime("2000-01-01 00:00:00"));
req.setFields("dispute_id, bizorder_id, num, buyer_nick, status, created, modified, reason, title, buyer_logistic_no, seller_logistic_no, bought_sku, exchange_sku, buyer_address, address, buyer_phone, buyer_logistic_name, seller_logistic_name, alipay_no, buyer_name, seller_nick");
req.setPageSize(30L);
req.setDisputeStatusArray("1,2,3,4");
req.setEndCreatedTime(StringUtils.parseDateTime("2000-01-01 00:00:00"));
req.setBuyerOpenUid("AXADSSDSDD");
req.setRefundIdArray("123456,987654");
req.setPageNo(1L);
req.setStartGmtModifiedTime(StringUtils.parseDateTime("2000-01-01 00:00:00"));
req.setBizOrderId(666666666L);
TmallExchangeReceiveGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
TmallExchangeReceiveGetRequest req = new TmallExchangeReceiveGetRequest();
req.EndGmtModifedTime = DateTime.Parse("2000-01-01 00:00:00");
req.LogisticNo = "NO123456789";
req.BuyerNick = "卡卡";
req.StartCreatedTime = DateTime.Parse("2000-01-01 00:00:00");
req.Fields = "dispute_id, bizorder_id, num, buyer_nick, status, created, modified, reason, title, buyer_logistic_no, seller_logistic_no, bought_sku, exchange_sku, buyer_address, address, buyer_phone, buyer_logistic_name, seller_logistic_name, alipay_no, buyer_name, seller_nick";
req.PageSize = 30L;
req.DisputeStatusArray = "1,2,3,4";
req.EndCreatedTime = DateTime.Parse("2000-01-01 00:00:00");
req.BuyerOpenUid = "AXADSSDSDD";
req.RefundIdArray = "123456,987654";
req.PageNo = 1L;
req.StartGmtModifiedTime = DateTime.Parse("2000-01-01 00:00:00");
req.BizOrderId = 666666666L;
TmallExchangeReceiveGetResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new TmallExchangeReceiveGetRequest;
$req->setEndGmtModifedTime("2000-01-01 00:00:00");
$req->setLogisticNo("NO123456789");
$req->setBuyerNick("卡卡");
$req->setStartCreatedTime("2000-01-01 00:00:00");
$req->setFields("dispute_id, bizorder_id, num, buyer_nick, status, created, modified, reason, title, buyer_logistic_no, seller_logistic_no, bought_sku, exchange_sku, buyer_address, address, buyer_phone, buyer_logistic_name, seller_logistic_name, alipay_no, buyer_name, seller_nick");
$req->setPageSize("30");
$req->setDisputeStatusArray("1,2,3,4");
$req->setEndCreatedTime("2000-01-01 00:00:00");
$req->setBuyerOpenUid("AXADSSDSDD");
$req->setRefundIdArray("123456,987654");
$req->setPageNo("1");
$req->setStartGmtModifiedTime("2000-01-01 00:00:00");
$req->setBizOrderId("666666666");
$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=tmall.exchange.receive.get' \
-d 'partner_id=apidoc' \
-d 'session=acc5fa1d-6204-442d-aada-b41ccb5953c8' \
-d 'sign=777B2F75FE23A611BD3C3C4869957A73' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-09+21%3A00%3A16' \
-d 'v=2.0' \
-d 'biz_order_id=666666666' \
-d 'buyer_nick=%E5%8D%A1%E5%8D%A1' \
-d 'buyer_open_uid=AXADSSDSDD' \
-d 'dispute_status_array=1%2C2%2C3%2C4' \
-d 'end_created_time=2000-01-01+00%3A00%3A00' \
-d 'end_gmt_modifed_time=2000-01-01+00%3A00%3A00' \
-d 'fields=dispute_id%2C+bizorder_id%2C+num%2C+buyer_nick%2C+status%2C+created%2C+modified%2C+reason%2C+title%2C+buyer_logistic_no%2C+seller_logistic_no%2C+bought_sku%2C+exchange_sku%2C+buyer_address%2C+address%2C+buyer_phone%2C+buyer_logistic_name%2C+seller_logistic_name%2C+alipay_no%2C+buyer_name%2C+seller_nick' \
-d 'logistic_no=NO123456789' \
-d 'page_no=1' \
-d 'page_size=30' \
-d 'refund_id_array=123456%2C987654' \
-d 'start_created_time=2000-01-01+00%3A00%3A00' \
-d 'start_gmt_modified_time=2000-01-01+00%3A00%3A00'
# -*- coding: utf-8 -*-
import top.api
req=top.api.TmallExchangeReceiveGetRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.end_gmt_modifed_time="2000-01-01 00:00:00"
req.logistic_no="NO123456789"
req.buyer_nick="卡卡"
req.start_created_time="2000-01-01 00:00:00"
req.fields="dispute_id, bizorder_id, num, buyer_nick, status, created, modified, reason, title, buyer_logistic_no, seller_logistic_no, bought_sku, exchange_sku, buyer_address, address, buyer_phone, buyer_logistic_name, seller_logistic_name, alipay_no, buyer_name, seller_nick"
req.page_size=30
req.dispute_status_array="1,2,3,4"
req.end_created_time="2000-01-01 00:00:00"
req.buyer_open_uid="AXADSSDSDD"
req.refund_id_array="123456,987654"
req.page_no=1
req.start_gmt_modified_time="2000-01-01 00:00:00"
req.biz_order_id=666666666
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,"tmall.exchange.receive.get");
add_param(pRequest,"end_gmt_modifed_time","2000-01-01 00:00:00");
add_param(pRequest,"logistic_no","NO123456789");
add_param(pRequest,"buyer_nick","卡卡");
add_param(pRequest,"start_created_time","2000-01-01 00:00:00");
add_param(pRequest,"fields","dispute_id, bizorder_id, num, buyer_nick, status, created, modified, reason, title, buyer_logistic_no, seller_logistic_no, bought_sku, exchange_sku, buyer_address, address, buyer_phone, buyer_logistic_name, seller_logistic_name, alipay_no, buyer_name, seller_nick");
add_param(pRequest,"page_size","30");
add_param(pRequest,"dispute_status_array","1,2,3,4");
add_param(pRequest,"end_created_time","2000-01-01 00:00:00");
add_param(pRequest,"buyer_open_uid","AXADSSDSDD");
add_param(pRequest,"refund_id_array","123456,987654");
add_param(pRequest,"page_no","1");
add_param(pRequest,"start_gmt_modified_time","2000-01-01 00:00:00");
add_param(pRequest,"biz_order_id","666666666");
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('tmall.exchange.receive.get', {
'end_gmt_modifed_time':'2000-01-01 00:00:00',
'logistic_no':'NO123456789',
'buyer_nick':'卡卡',
'start_created_time':'2000-01-01 00:00:00',
'fields':'dispute_id, bizorder_id, num, buyer_nick, status, created, modified, reason, title, buyer_logistic_no, seller_logistic_no, bought_sku, exchange_sku, buyer_address, address, buyer_phone, buyer_logistic_name, seller_logistic_name, alipay_no, buyer_name, seller_nick',
'page_size':'30',
'dispute_status_array':'1,2,3,4',
'end_created_time':'2000-01-01 00:00:00',
'buyer_open_uid':'AXADSSDSDD',
'refund_id_array':'123456,987654',
'page_no':'1',
'start_gmt_modified_time':'2000-01-01 00:00:00',
'biz_order_id':'666666666'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})