TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthSettlementQueryRequest req = new AlibabaAlihealthSettlementQueryRequest();
req.setSupplierId(1003242342342L);
req.setGmtCreateLeft("2021-08-01 10:00:00");
req.setPageNum(1L);
req.setPageSize(100L);
req.setGmtCreateRight("2021-08-01 11:00:00");
AlibabaAlihealthSettlementQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAlihealthSettlementQueryRequest req = new AlibabaAlihealthSettlementQueryRequest();
req.SupplierId = 1003242342342L;
req.GmtCreateLeft = "2021-08-01 10:00:00";
req.PageNum = 1L;
req.PageSize = 100L;
req.GmtCreateRight = "2021-08-01 11:00:00";
AlibabaAlihealthSettlementQueryResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAlihealthSettlementQueryRequest;
$req->setSupplierId("1003242342342");
$req->setGmtCreateLeft("2021-08-01 10:00:00");
$req->setPageNum("1");
$req->setPageSize("100");
$req->setGmtCreateRight("2021-08-01 11:00:00");
$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=alibaba.alihealth.settlement.query' \
-d 'partner_id=apidoc' \
-d 'session=8fae2fd9-b563-4ed8-8aef-c68be04bbe3d' \
-d 'sign=E39A6600905058C2E0AF956D884D89EA' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-26+14%3A20%3A38' \
-d 'v=2.0' \
-d 'gmt_create_left=2021-08-01+10%3A00%3A00' \
-d 'gmt_create_right=2021-08-01+11%3A00%3A00' \
-d 'page_num=1' \
-d 'page_size=100' \
-d 'supplier_id=1003242342342'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAlihealthSettlementQueryRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.supplier_id=1003242342342
req.gmt_create_left="2021-08-01 10:00:00"
req.page_num=1
req.page_size=100
req.gmt_create_right="2021-08-01 11:00:00"
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,"alibaba.alihealth.settlement.query");
add_param(pRequest,"supplier_id","1003242342342");
add_param(pRequest,"gmt_create_left","2021-08-01 10:00:00");
add_param(pRequest,"page_num","1");
add_param(pRequest,"page_size","100");
add_param(pRequest,"gmt_create_right","2021-08-01 11:00:00");
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('alibaba.alihealth.settlement.query', {
'supplier_id':'1003242342342',
'gmt_create_left':'2021-08-01 10:00:00',
'page_num':'1',
'page_size':'100',
'gmt_create_right':'2021-08-01 11:00:00'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})