TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaHappytripTaxiOrderNotifyRequest req = new AlibabaHappytripTaxiOrderNotifyRequest();
req.setTime(234234234234L);
req.setNotifyType(1L);
req.setNotifyDesc("描述文本");
req.setOrderId("1231233");
req.setCaseId("212325");
req.setAcceptStatus(0L);
AlibabaHappytripTaxiOrderNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaHappytripTaxiOrderNotifyRequest req = new AlibabaHappytripTaxiOrderNotifyRequest();
req.Time = 234234234234L;
req.NotifyType = 1L;
req.NotifyDesc = "描述文本";
req.OrderId = "1231233";
req.CaseId = "212325";
req.AcceptStatus = 0L;
AlibabaHappytripTaxiOrderNotifyResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaHappytripTaxiOrderNotifyRequest;
$req->setTime("234234234234");
$req->setNotifyType("1");
$req->setNotifyDesc("描述文本");
$req->setOrderId("1231233");
$req->setCaseId("212325");
$req->setAcceptStatus("0");
$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=alibaba.happytrip.taxi.order.notify' \
-d 'partner_id=apidoc' \
-d 'sign=8302DB065B9F394B9A2666308B544859' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-02+22%3A20%3A28' \
-d 'v=2.0' \
-d 'accept_status=0' \
-d 'case_id=212325' \
-d 'notify_desc=%E6%8F%8F%E8%BF%B0%E6%96%87%E6%9C%AC' \
-d 'notify_type=1' \
-d 'order_id=1231233' \
-d 'time=234234234234'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaHappytripTaxiOrderNotifyRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.time=234234234234
req.notify_type=1
req.notify_desc="描述文本"
req.order_id="1231233"
req.case_id="212325"
req.accept_status=0
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,"alibaba.happytrip.taxi.order.notify");
add_param(pRequest,"time","234234234234");
add_param(pRequest,"notify_type","1");
add_param(pRequest,"notify_desc","描述文本");
add_param(pRequest,"order_id","1231233");
add_param(pRequest,"case_id","212325");
add_param(pRequest,"accept_status","0");
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('alibaba.happytrip.taxi.order.notify', {
'time':'234234234234',
'notify_type':'1',
'notify_desc':'描述文本',
'order_id':'1231233',
'case_id':'212325',
'accept_status':'0'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})