TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthFollowupSendRequest req = new AlibabaAlihealthFollowupSendRequest();
AlibabaAlihealthFollowupSendRequest.ChickenImDialogCreateRequest obj1 = new AlibabaAlihealthFollowupSendRequest.ChickenImDialogCreateRequest();
obj1.setSessionId("78bfcced948a65d29c5c77f1cd3367a2");
obj1.setBtermUserId("2034131106552037");
obj1.setCtermUserId("5394977607673890");
obj1.setRsType("2");
obj1.setContent("{\"text\":\"abc\"}");
obj1.setUserId("153315451244705");
req.setRequest1(obj1);
req.setAuthToken("9eae09db243df99bd67af033decfd257");
AlibabaAlihealthFollowupSendResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAlihealthFollowupSendRequest req = new AlibabaAlihealthFollowupSendRequest();
AlibabaAlihealthFollowupSendRequest.ChickenImDialogCreateRequestDomain obj1 = new AlibabaAlihealthFollowupSendRequest.ChickenImDialogCreateRequestDomain();
obj1.SessionId = "78bfcced948a65d29c5c77f1cd3367a2";
obj1.BtermUserId = "2034131106552037";
obj1.CtermUserId = "5394977607673890";
obj1.RsType = "2";
obj1.Content = "{\"text\":\"abc\"}";
obj1.UserId = "153315451244705";
req.Request1_ = obj1;
req.AuthToken = "9eae09db243df99bd67af033decfd257";
AlibabaAlihealthFollowupSendResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAlihealthFollowupSendRequest;
$request1 = new ChickenImDialogCreateRequest;
$request1->session_id="78bfcced948a65d29c5c77f1cd3367a2";
$request1->bterm_user_id="2034131106552037";
$request1->cterm_user_id="5394977607673890";
$request1->rs_type="2";
$request1->content="{\"text\":\"abc\"}";
$request1->user_id="153315451244705";
$req->setRequest1(json_encode($request1));
$req->setAuthToken("9eae09db243df99bd67af033decfd257");
$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.send' \
-d 'partner_id=apidoc' \
-d 'sign=415700B274056B0119C23FA83D73F9F7' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-07-18+17%3A52%3A48' \
-d 'v=2.0' \
-d 'auth_token=9eae09db243df99bd67af033decfd257' \
-d 'request1=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAlihealthFollowupSendRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.request1=""
req.auth_token="9eae09db243df99bd67af033decfd257"
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.send");
add_param(pRequest,"request1","数据结构JSON示例");
add_param(pRequest,"auth_token","9eae09db243df99bd67af033decfd257");
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.send', {
'request1':'数据结构JSON示例',
'auth_token':'9eae09db243df99bd67af033decfd257'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})