TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallCarLeaseStatussynchronizeRequest req = new TmallCarLeaseStatussynchronizeRequest();
req.setOrderId(1000006423302111014L);
req.setBizType(1L);
req.setActionType(3L);
req.setActionValue(1L);
req.setRefuseReason("xxxxx");
TmallCarLeaseStatussynchronizeResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
TmallCarLeaseStatussynchronizeRequest req = new TmallCarLeaseStatussynchronizeRequest();
req.OrderId = 1000006423302111014L;
req.BizType = 1L;
req.ActionType = 3L;
req.ActionValue = 1L;
req.RefuseReason = "xxxxx";
TmallCarLeaseStatussynchronizeResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new TmallCarLeaseStatussynchronizeRequest;
$req->setOrderId("1000006423302111014");
$req->setBizType("1");
$req->setActionType("3");
$req->setActionValue("1");
$req->setRefuseReason("xxxxx");
$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.car.lease.statussynchronize' \
-d 'partner_id=apidoc' \
-d 'session=d0b7c35f-0c61-4718-83f6-083ee2811910' \
-d 'sign=DF827BD9E12AD00AB2CB509AA3D66FDD' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-31+00%3A31%3A12' \
-d 'v=2.0' \
-d 'action_type=3' \
-d 'action_value=1' \
-d 'biz_type=1' \
-d 'order_id=1000006423302111014' \
-d 'refuse_reason=xxxxx'
# -*- coding: utf-8 -*-
import top.api
req=top.api.TmallCarLeaseStatussynchronizeRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.order_id=1000006423302111014
req.biz_type=1
req.action_type=3
req.action_value=1
req.refuse_reason="xxxxx"
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.car.lease.statussynchronize");
add_param(pRequest,"order_id","1000006423302111014");
add_param(pRequest,"biz_type","1");
add_param(pRequest,"action_type","3");
add_param(pRequest,"action_value","1");
add_param(pRequest,"refuse_reason","xxxxx");
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.car.lease.statussynchronize', {
'order_id':'1000006423302111014',
'biz_type':'1',
'action_type':'3',
'action_value':'1',
'refuse_reason':'xxxxx'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})