TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthFollowupPatientinfoGetRequest req = new AlibabaAlihealthFollowupPatientinfoGetRequest();
AlibabaAlihealthFollowupPatientinfoGetRequest.FollowUpTagRequest obj1 = new AlibabaAlihealthFollowupPatientinfoGetRequest.FollowUpTagRequest();
obj1.setFollowUpId(16000001376004L);
obj1.setDoctorId(4717853024878123L);
obj1.setDingCorpId(1636873811356221L);
obj1.setSuffererId(5394977607673890L);
req.setRequest1(obj1);
req.setAuthToken("122222");
AlibabaAlihealthFollowupPatientinfoGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAlihealthFollowupPatientinfoGetRequest req = new AlibabaAlihealthFollowupPatientinfoGetRequest();
AlibabaAlihealthFollowupPatientinfoGetRequest.FollowUpTagRequestDomain obj1 = new AlibabaAlihealthFollowupPatientinfoGetRequest.FollowUpTagRequestDomain();
obj1.FollowUpId = 16000001376004L;
obj1.DoctorId = 4717853024878123L;
obj1.DingCorpId = 1636873811356221L;
obj1.SuffererId = 5394977607673890L;
req.Request1_ = obj1;
req.AuthToken = "122222";
AlibabaAlihealthFollowupPatientinfoGetResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAlihealthFollowupPatientinfoGetRequest;
$request1 = new FollowUpTagRequest;
$request1->follow_up_id="16000001376004";
$request1->doctor_id="4717853024878123";
$request1->ding_corp_id="1636873811356221";
$request1->sufferer_id="5394977607673890";
$req->setRequest1(json_encode($request1));
$req->setAuthToken("122222");
$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.followup.patientinfo.get' \
-d 'partner_id=apidoc' \
-d 'sign=3741037B7413332FEE4EB144D5E2A675' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-07-16+07%3A20%3A28' \
-d 'v=2.0' \
-d 'auth_token=122222' \
-d 'request1=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAlihealthFollowupPatientinfoGetRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.request1=""
req.auth_token="122222"
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.followup.patientinfo.get");
add_param(pRequest,"request1","数据结构JSON示例");
add_param(pRequest,"auth_token","122222");
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.followup.patientinfo.get', {
'request1':'数据结构JSON示例',
'auth_token':'122222'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})