TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
ServindustryFinanceGeexOrderLoanRequest req = new ServindustryFinanceGeexOrderLoanRequest();
req.setPriceUnit("yuan");
req.setUpdateTime(100L);
req.setLoanTime(100L);
req.setAlscOrderId("112233");
req.setLoanPrice(100L);
req.setLoanStatus("success");
req.setLoanFlowId("11111");
ServindustryFinanceGeexOrderLoanResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
ServindustryFinanceGeexOrderLoanRequest req = new ServindustryFinanceGeexOrderLoanRequest();
req.PriceUnit = "yuan";
req.UpdateTime = 100L;
req.LoanTime = 100L;
req.AlscOrderId = "112233";
req.LoanPrice = 100L;
req.LoanStatus = "success";
req.LoanFlowId = "11111";
ServindustryFinanceGeexOrderLoanResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new ServindustryFinanceGeexOrderLoanRequest;
$req->setPriceUnit("yuan");
$req->setUpdateTime("100");
$req->setLoanTime("100");
$req->setAlscOrderId("112233");
$req->setLoanPrice("100");
$req->setLoanStatus("success");
$req->setLoanFlowId("11111");
$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=taobao.servindustry.finance.geex.order.loan' \
-d 'partner_id=apidoc' \
-d 'sign=45C5FB5AB5002657D2A76056E5D0DDDF' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-03-05+10%3A40%3A26' \
-d 'v=2.0' \
-d 'alsc_order_id=112233' \
-d 'loan_flow_id=11111' \
-d 'loan_price=100' \
-d 'loan_status=success' \
-d 'loan_time=100' \
-d 'price_unit=yuan' \
-d 'update_time=100'
# -*- coding: utf-8 -*-
import top.api
req=top.api.ServindustryFinanceGeexOrderLoanRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.price_unit="yuan"
req.update_time=100
req.loan_time=100
req.alsc_order_id="112233"
req.loan_price=100
req.loan_status="success"
req.loan_flow_id="11111"
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,"taobao.servindustry.finance.geex.order.loan");
add_param(pRequest,"price_unit","yuan");
add_param(pRequest,"update_time","100");
add_param(pRequest,"loan_time","100");
add_param(pRequest,"alsc_order_id","112233");
add_param(pRequest,"loan_price","100");
add_param(pRequest,"loan_status","success");
add_param(pRequest,"loan_flow_id","11111");
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('taobao.servindustry.finance.geex.order.loan', {
'price_unit':'yuan',
'update_time':'100',
'loan_time':'100',
'alsc_order_id':'112233',
'loan_price':'100',
'loan_status':'success',
'loan_flow_id':'11111'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})