QimenCloudClient client = new DefaultQimenCloudClient(url, appkey, secret);
AlibabaAlihealthReserveDentalQueryscheduleRequest req = new AlibabaAlihealthReserveDentalQueryscheduleRequest();
req.setSpItemId("12");
req.setSpStoreId("12");
req.setQueryDayNum("15");
req.setStoreId("11");
req.setItemId("11");
AlibabaAlihealthReserveDentalQueryscheduleResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAlihealthReserveDentalQueryscheduleRequest req = new AlibabaAlihealthReserveDentalQueryscheduleRequest();
req.SpItemId = "12";
req.SpStoreId = "12";
req.QueryDayNum = "15";
req.StoreId = "11";
req.ItemId = "11";
AlibabaAlihealthReserveDentalQueryscheduleResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAlihealthReserveDentalQueryscheduleRequest;
$req->setSpItemId("12");
$req->setSpStoreId("12");
$req->setQueryDayNum("15");
$req->setStoreId("11");
$req->setItemId("11");
$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=qimen.alibaba.alihealth.reserve.dental.queryschedule' \
-d 'partner_id=apidoc' \
-d 'sign=E730B2701BC9F441E7195815AFEA11DF' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-29+16%3A18%3A34' \
-d 'v=2.0' \
-d 'itemId=11' \
-d 'queryDayNum=15' \
-d 'spItemId=12' \
-d 'spStoreId=12' \
-d 'storeId=11'
# -*- coding: utf-8 -*-
import top.api
req=top.api.QimenAlibabaAlihealthReserveDentalQueryscheduleRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.spItemId="12"
req.spStoreId="12"
req.queryDayNum="15"
req.storeId="11"
req.itemId="11"
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,"qimen.alibaba.alihealth.reserve.dental.queryschedule");
add_param(pRequest,"spItemId","12");
add_param(pRequest,"spStoreId","12");
add_param(pRequest,"queryDayNum","15");
add_param(pRequest,"storeId","11");
add_param(pRequest,"itemId","11");
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('qimen.alibaba.alihealth.reserve.dental.queryschedule', {
'spItemId':'12',
'spStoreId':'12',
'queryDayNum':'15',
'storeId':'11',
'itemId':'11'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})