TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthFollowupDialogrecordRecallRequest req = new AlibabaAlihealthFollowupDialogrecordRecallRequest();
req.setAuthToken("9eae09db243df99bd67af033decfd257");
AlibabaAlihealthFollowupDialogrecordRecallRequest.ChickenImRecordRecallDo obj1 = new AlibabaAlihealthFollowupDialogrecordRecallRequest.ChickenImRecordRecallDo();
obj1.setRecordId("1800000767768343");
obj1.setDoctorId("814900585107281");
obj1.setSessionId("64c695fd32d7145a5e2016a04e908fa8");
obj1.setBtermUserId("5435714446542245");
obj1.setSuffererId("2530305183021706");
obj1.setRsType("2");
req.setRequest1(obj1);
AlibabaAlihealthFollowupDialogrecordRecallResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAlihealthFollowupDialogrecordRecallRequest req = new AlibabaAlihealthFollowupDialogrecordRecallRequest();
req.AuthToken = "9eae09db243df99bd67af033decfd257";
AlibabaAlihealthFollowupDialogrecordRecallRequest.ChickenImRecordRecallDoDomain obj1 = new AlibabaAlihealthFollowupDialogrecordRecallRequest.ChickenImRecordRecallDoDomain();
obj1.RecordId = "1800000767768343";
obj1.DoctorId = "814900585107281";
obj1.SessionId = "64c695fd32d7145a5e2016a04e908fa8";
obj1.BtermUserId = "5435714446542245";
obj1.SuffererId = "2530305183021706";
obj1.RsType = "2";
req.Request1_ = obj1;
AlibabaAlihealthFollowupDialogrecordRecallResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAlihealthFollowupDialogrecordRecallRequest;
$req->setAuthToken("9eae09db243df99bd67af033decfd257");
$request1 = new ChickenImRecordRecallDo;
$request1->record_id="1800000767768343";
$request1->doctor_id="814900585107281";
$request1->session_id="64c695fd32d7145a5e2016a04e908fa8";
$request1->bterm_user_id="5435714446542245";
$request1->sufferer_id="2530305183021706";
$request1->rs_type="2";
$req->setRequest1(json_encode($request1));
$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.dialogrecord.recall' \
-d 'partner_id=apidoc' \
-d 'sign=2F86AB4C8953C12E88D133EA3BD6C47E' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-07-23+22%3A21%3A17' \
-d 'v=2.0' \
-d 'auth_token=9eae09db243df99bd67af033decfd257' \
-d 'request1=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAlihealthFollowupDialogrecordRecallRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.auth_token="9eae09db243df99bd67af033decfd257"
req.request1=""
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.dialogrecord.recall");
add_param(pRequest,"auth_token","9eae09db243df99bd67af033decfd257");
add_param(pRequest,"request1","数据结构JSON示例");
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.dialogrecord.recall', {
'auth_token':'9eae09db243df99bd67af033decfd257',
'request1':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})