TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthDrugKytStorebilllistRequest req = new AlibabaAlihealthDrugKytStorebilllistRequest();
req.setRefEntId("8b0d323bca554a8d88d903a8a71a2730");
req.setStartDate("2012-05-02");
req.setEndDate("2018-12-12");
req.setBillStatus("3");
req.setPage(1L);
req.setPageSize(20L);
AlibabaAlihealthDrugKytStorebilllistResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAlihealthDrugKytStorebilllistRequest req = new AlibabaAlihealthDrugKytStorebilllistRequest();
req.RefEntId = "8b0d323bca554a8d88d903a8a71a2730";
req.StartDate = "2012-05-02";
req.EndDate = "2018-12-12";
req.BillStatus = "3";
req.Page = 1L;
req.PageSize = 20L;
AlibabaAlihealthDrugKytStorebilllistResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAlihealthDrugKytStorebilllistRequest;
$req->setRefEntId("8b0d323bca554a8d88d903a8a71a2730");
$req->setStartDate("2012-05-02");
$req->setEndDate("2018-12-12");
$req->setBillStatus("3");
$req->setPage("1");
$req->setPageSize("20");
$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.alihealth.drug.kyt.storebilllist' \
-d 'partner_id=apidoc' \
-d 'sign=8C71E4312F42F36CDFAF82AECADADA84' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-16+15%3A44%3A50' \
-d 'v=2.0' \
-d 'bill_status=3' \
-d 'end_date=2018-12-12' \
-d 'page=1' \
-d 'page_size=20' \
-d 'ref_ent_id=8b0d323bca554a8d88d903a8a71a2730' \
-d 'start_date=2012-05-02'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAlihealthDrugKytStorebilllistRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.ref_ent_id="8b0d323bca554a8d88d903a8a71a2730"
req.start_date="2012-05-02"
req.end_date="2018-12-12"
req.bill_status="3"
req.page=1
req.page_size=20
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.alihealth.drug.kyt.storebilllist");
add_param(pRequest,"ref_ent_id","8b0d323bca554a8d88d903a8a71a2730");
add_param(pRequest,"start_date","2012-05-02");
add_param(pRequest,"end_date","2018-12-12");
add_param(pRequest,"bill_status","3");
add_param(pRequest,"page","1");
add_param(pRequest,"page_size","20");
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.alihealth.drug.kyt.storebilllist', {
'ref_ent_id':'8b0d323bca554a8d88d903a8a71a2730',
'start_date':'2012-05-02',
'end_date':'2018-12-12',
'bill_status':'3',
'page':'1',
'page_size':'20'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})