TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthExaminationReportDiagnoseOrderSubmitRequest req = new AlibabaAlihealthExaminationReportDiagnoseOrderSubmitRequest();
req.setOrderId("202103039870");
req.setMobilePhone("*******0000");
req.setIdCardNo("1****************0");
req.setGender("male");
req.setReportUrl("https://xxxx.com/report");
req.setQuestion("血压高");
req.setPatientName("小明");
AlibabaAlihealthExaminationReportDiagnoseOrderSubmitResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAlihealthExaminationReportDiagnoseOrderSubmitRequest req = new AlibabaAlihealthExaminationReportDiagnoseOrderSubmitRequest();
req.OrderId = "202103039870";
req.MobilePhone = "*******0000";
req.IdCardNo = "1****************0";
req.Gender = "male";
req.ReportUrl = "https://xxxx.com/report";
req.Question = "血压高";
req.PatientName = "小明";
AlibabaAlihealthExaminationReportDiagnoseOrderSubmitResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAlihealthExaminationReportDiagnoseOrderSubmitRequest;
$req->setOrderId("202103039870");
$req->setMobilePhone("*******0000");
$req->setIdCardNo("1****************0");
$req->setGender("male");
$req->setReportUrl("https://xxxx.com/report");
$req->setQuestion("血压高");
$req->setPatientName("小明");
$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.examination.report.diagnose.order.submit' \
-d 'partner_id=apidoc' \
-d 'sign=84C7F737B13E55ED164194107A9ECBD8' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-06-12+06%3A51%3A25' \
-d 'v=2.0' \
-d 'gender=male' \
-d 'id_card_no=1****************0' \
-d 'mobile_phone=*******0000' \
-d 'order_id=202103039870' \
-d 'patient_name=%E5%B0%8F%E6%98%8E' \
-d 'question=%E8%A1%80%E5%8E%8B%E9%AB%98' \
-d 'report_url=https%3A%2F%2Fxxxx.com%2Freport'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAlihealthExaminationReportDiagnoseOrderSubmitRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.order_id="202103039870"
req.mobile_phone="*******0000"
req.id_card_no="1****************0"
req.gender="male"
req.report_url="https://xxxx.com/report"
req.question="血压高"
req.patient_name="小明"
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.examination.report.diagnose.order.submit");
add_param(pRequest,"order_id","202103039870");
add_param(pRequest,"mobile_phone","*******0000");
add_param(pRequest,"id_card_no","1****************0");
add_param(pRequest,"gender","male");
add_param(pRequest,"report_url","https://xxxx.com/report");
add_param(pRequest,"question","血压高");
add_param(pRequest,"patient_name","小明");
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.examination.report.diagnose.order.submit', {
'order_id':'202103039870',
'mobile_phone':'*******0000',
'id_card_no':'1****************0',
'gender':'male',
'report_url':'https://xxxx.com/report',
'question':'血压高',
'patient_name':'小明'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})