TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallFinCarOpenBillNotifyRequest req = new TmallFinCarOpenBillNotifyRequest();
TmallFinCarOpenBillNotifyRequest.BillStatusRequestTop obj1 = new TmallFinCarOpenBillNotifyRequest.BillStatusRequestTop();
obj1.setCustomerType("ALI");
obj1.setCustomerId("1232");
obj1.setBizType("TMALL_CAR");
obj1.setBizNo("123");
obj1.setEventTime(StringUtils.parseDateTime("2019-09-08 22:33:34"));
obj1.setChannel("GH_APP");
obj1.setReqNo("23123");
obj1.setExtendInfo("{}");
req.setBillStatusEquestTop(obj1);
TmallFinCarOpenBillNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
TmallFinCarOpenBillNotifyRequest req = new TmallFinCarOpenBillNotifyRequest();
TmallFinCarOpenBillNotifyRequest.BillStatusRequestTopDomain obj1 = new TmallFinCarOpenBillNotifyRequest.BillStatusRequestTopDomain();
obj1.CustomerType = "ALI";
obj1.CustomerId = "1232";
obj1.BizType = "TMALL_CAR";
obj1.BizNo = "123";
obj1.EventTime = DateTime.Parse(2019-09-08 22:33:34");
obj1.Channel = "GH_APP";
obj1.ReqNo = "23123";
obj1.ExtendInfo = "{}";
req.BillStatusEquestTop_ = obj1;
TmallFinCarOpenBillNotifyResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new TmallFinCarOpenBillNotifyRequest;
$bill_status_equest_top = new BillStatusRequestTop;
$bill_status_equest_top->customer_type="ALI";
$bill_status_equest_top->customer_id="1232";
$bill_status_equest_top->biz_type="TMALL_CAR";
$bill_status_equest_top->biz_no="123";
$bill_status_equest_top->event_time="2019-09-08 22:33:34";
$bill_status_equest_top->channel="GH_APP";
$bill_status_equest_top->req_no="23123";
$bill_status_equest_top->extend_info="{}";
$req->setBillStatusEquestTop(json_encode($bill_status_equest_top));
$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=tmall.fin.car.open.bill.notify' \
-d 'partner_id=apidoc' \
-d 'sign=71F88FE7D82D30CD270F2C171EFB01AD' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-07-08+22%3A43%3A02' \
-d 'v=2.0' \
-d 'bill_status_equest_top=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.TmallFinCarOpenBillNotifyRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.bill_status_equest_top=""
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,"tmall.fin.car.open.bill.notify");
add_param(pRequest,"bill_status_equest_top","数据结构JSON示例");
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('tmall.fin.car.open.bill.notify', {
'bill_status_equest_top':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})