TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallDisputeReceiveGetRequest req = new TmallDisputeReceiveGetRequest();
req.setStatus("WAIT_SELLER_AGREE");
req.setPageSize(20L);
req.setUseHasNext(true);
req.setType("fixed");
req.setRefundId(10000000000L);
req.setPageNo(1L);
req.setBuyerNick("卡卡");
req.setStartModified(StringUtils.parseDateTime("2000-01-01 00:00:00"));
req.setEndModified(StringUtils.parseDateTime("2000-01-01 00:00:00"));
req.setFields("refund_id, alipay_no, tid, buyer_nick, seller_nick, status, created, modified, order_status, refund_fee, good_status, show_return_logistic, show_exchange_logistic, time_out, oid, refund_version, title, num, dispute_request, reason, desc");
req.setBuyerOpenUid("AXSDSDSDsdadSDDD");
TmallDisputeReceiveGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
TmallDisputeReceiveGetRequest req = new TmallDisputeReceiveGetRequest();
req.Status = "WAIT_SELLER_AGREE";
req.PageSize = 20L;
req.UseHasNext = true;
req.Type = "fixed";
req.RefundId = 10000000000L;
req.PageNo = 1L;
req.BuyerNick = "卡卡";
req.StartModified = DateTime.Parse("2000-01-01 00:00:00");
req.EndModified = DateTime.Parse("2000-01-01 00:00:00");
req.Fields = "refund_id, alipay_no, tid, buyer_nick, seller_nick, status, created, modified, order_status, refund_fee, good_status, show_return_logistic, show_exchange_logistic, time_out, oid, refund_version, title, num, dispute_request, reason, desc";
req.BuyerOpenUid = "AXSDSDSDsdadSDDD";
TmallDisputeReceiveGetResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new TmallDisputeReceiveGetRequest;
$req->setStatus("WAIT_SELLER_AGREE");
$req->setPageSize("20");
$req->setUseHasNext("true");
$req->setType("fixed");
$req->setRefundId("10000000000");
$req->setPageNo("1");
$req->setBuyerNick("卡卡");
$req->setStartModified("2000-01-01 00:00:00");
$req->setEndModified("2000-01-01 00:00:00");
$req->setFields("refund_id, alipay_no, tid, buyer_nick, seller_nick, status, created, modified, order_status, refund_fee, good_status, show_return_logistic, show_exchange_logistic, time_out, oid, refund_version, title, num, dispute_request, reason, desc");
$req->setBuyerOpenUid("AXSDSDSDsdadSDDD");
$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.dispute.receive.get' \
-d 'partner_id=apidoc' \
-d 'session=75d2ec2e-9dc5-49ec-af0a-2aa9daf5c7e1' \
-d 'sign=A83FD3308748948FE4356F9AE1C22830' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-24+16%3A57%3A39' \
-d 'v=2.0' \
-d 'buyer_nick=%E5%8D%A1%E5%8D%A1' \
-d 'buyer_open_uid=AXSDSDSDsdadSDDD' \
-d 'end_modified=2000-01-01+00%3A00%3A00' \
-d 'fields=refund_id%2C+alipay_no%2C+tid%2C+buyer_nick%2C+seller_nick%2C+status%2C+created%2C+modified%2C+order_status%2C+refund_fee%2C+good_status%2C+show_return_logistic%2C+show_exchange_logistic%2C+time_out%2C+oid%2C+refund_version%2C+title%2C+num%2C+dispute_request%2C+reason%2C+desc' \
-d 'page_no=1' \
-d 'page_size=20' \
-d 'refund_id=10000000000' \
-d 'start_modified=2000-01-01+00%3A00%3A00' \
-d 'status=WAIT_SELLER_AGREE' \
-d 'type=fixed' \
-d 'use_has_next=true'
# -*- coding: utf-8 -*-
import top.api
req=top.api.TmallDisputeReceiveGetRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.status="WAIT_SELLER_AGREE"
req.page_size=20
req.use_has_next=true
req.type="fixed"
req.refund_id=10000000000
req.page_no=1
req.buyer_nick="卡卡"
req.start_modified="2000-01-01 00:00:00"
req.end_modified="2000-01-01 00:00:00"
req.fields="refund_id, alipay_no, tid, buyer_nick, seller_nick, status, created, modified, order_status, refund_fee, good_status, show_return_logistic, show_exchange_logistic, time_out, oid, refund_version, title, num, dispute_request, reason, desc"
req.buyer_open_uid="AXSDSDSDsdadSDDD"
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.dispute.receive.get");
add_param(pRequest,"status","WAIT_SELLER_AGREE");
add_param(pRequest,"page_size","20");
add_param(pRequest,"use_has_next","true");
add_param(pRequest,"type","fixed");
add_param(pRequest,"refund_id","10000000000");
add_param(pRequest,"page_no","1");
add_param(pRequest,"buyer_nick","卡卡");
add_param(pRequest,"start_modified","2000-01-01 00:00:00");
add_param(pRequest,"end_modified","2000-01-01 00:00:00");
add_param(pRequest,"fields","refund_id, alipay_no, tid, buyer_nick, seller_nick, status, created, modified, order_status, refund_fee, good_status, show_return_logistic, show_exchange_logistic, time_out, oid, refund_version, title, num, dispute_request, reason, desc");
add_param(pRequest,"buyer_open_uid","AXSDSDSDsdadSDDD");
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.dispute.receive.get', {
'status':'WAIT_SELLER_AGREE',
'page_size':'20',
'use_has_next':'true',
'type':'fixed',
'refund_id':'10000000000',
'page_no':'1',
'buyer_nick':'卡卡',
'start_modified':'2000-01-01 00:00:00',
'end_modified':'2000-01-01 00:00:00',
'fields':'refund_id, alipay_no, tid, buyer_nick, seller_nick, status, created, modified, order_status, refund_fee, good_status, show_return_logistic, show_exchange_logistic, time_out, oid, refund_version, title, num, dispute_request, reason, desc',
'buyer_open_uid':'AXSDSDSDsdadSDDD'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})