TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthPwSpecialSynchronodeRequest req = new AlibabaAlihealthPwSpecialSynchronodeRequest();
AlibabaAlihealthPwSpecialSynchronodeRequest.SNodeDto obj1 = new AlibabaAlihealthPwSpecialSynchronodeRequest.SNodeDto();
obj1.setPatientName("张三");
obj1.setHospitalAllowance("500");
obj1.setHospitalEmsPhone("123XXXXXXXX");
obj1.setIsRefer("true");
obj1.setDownloadUrl("xxx");
obj1.setHospitalAddress("湖北省武汉市硚口区");
obj1.setUserUniqueCode("0101010101");
obj1.setApplyAuditTime("2020-11-11 12:13:14");
obj1.setFoundationPayDate("2021-02-28");
obj1.setCheckRemark("审核意见");
obj1.setHospitalPhone("010XXXXXXX");
obj1.setFoundationEmsPhone("010XXXXXXX");
obj1.setUrl("www.xxxx.com");
obj1.setFoundationEmsAddress("北京市朝阳区安贞门");
obj1.setFoundationAllowance("500");
obj1.setSmsPhone("135XXXXXXXX");
obj1.setHospitalAddressee("李老师");
obj1.setApplyAuditStatus("T100");
obj1.setTreatHospital("华中科技大学同济医院");
obj1.setFoundationAddressee("中国出生缺陷干预基金");
obj1.setHospitalPayDate("2021-03-11");
obj1.setProjectThirdId("1");
obj1.setHospitalEmsAddress("湖北省武汉市");
obj1.setPaymentInstitution("foundation");
req.setBody(obj1);
AlibabaAlihealthPwSpecialSynchronodeResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAlihealthPwSpecialSynchronodeRequest req = new AlibabaAlihealthPwSpecialSynchronodeRequest();
AlibabaAlihealthPwSpecialSynchronodeRequest.SNodeDtoDomain obj1 = new AlibabaAlihealthPwSpecialSynchronodeRequest.SNodeDtoDomain();
obj1.PatientName = "张三";
obj1.HospitalAllowance = "500";
obj1.HospitalEmsPhone = "123XXXXXXXX";
obj1.IsRefer = "true";
obj1.DownloadUrl = "xxx";
obj1.HospitalAddress = "湖北省武汉市硚口区";
obj1.UserUniqueCode = "0101010101";
obj1.ApplyAuditTime = "2020-11-11 12:13:14";
obj1.FoundationPayDate = "2021-02-28";
obj1.CheckRemark = "审核意见";
obj1.HospitalPhone = "010XXXXXXX";
obj1.FoundationEmsPhone = "010XXXXXXX";
obj1.Url = "www.xxxx.com";
obj1.FoundationEmsAddress = "北京市朝阳区安贞门";
obj1.FoundationAllowance = "500";
obj1.SmsPhone = "135XXXXXXXX";
obj1.HospitalAddressee = "李老师";
obj1.ApplyAuditStatus = "T100";
obj1.TreatHospital = "华中科技大学同济医院";
obj1.FoundationAddressee = "中国出生缺陷干预基金";
obj1.HospitalPayDate = "2021-03-11";
obj1.ProjectThirdId = "1";
obj1.HospitalEmsAddress = "湖北省武汉市";
obj1.PaymentInstitution = "foundation";
req.Body_ = obj1;
AlibabaAlihealthPwSpecialSynchronodeResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAlihealthPwSpecialSynchronodeRequest;
$body = new SNodeDto;
$body->patient_name="张三";
$body->hospital_allowance="500";
$body->hospital_ems_phone="123XXXXXXXX";
$body->is_refer="true";
$body->download_url="xxx";
$body->hospital_address="湖北省武汉市硚口区";
$body->user_unique_code="0101010101";
$body->apply_audit_time="2020-11-11 12:13:14";
$body->foundation_pay_date="2021-02-28";
$body->check_remark="审核意见";
$body->hospital_phone="010XXXXXXX";
$body->foundation_ems_phone="010XXXXXXX";
$body->url="www.xxxx.com";
$body->foundation_ems_address="北京市朝阳区安贞门";
$body->foundation_allowance="500";
$body->sms_phone="135XXXXXXXX";
$body->hospital_addressee="李老师";
$body->apply_audit_status="T100";
$body->treat_hospital="华中科技大学同济医院";
$body->foundation_addressee="中国出生缺陷干预基金";
$body->hospital_pay_date="2021-03-11";
$body->project_third_id="1";
$body->hospital_ems_address="湖北省武汉市";
$body->payment_institution="foundation";
$req->setBody(json_encode($body));
$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.pw.special.synchronode' \
-d 'partner_id=apidoc' \
-d 'sign=614DEAE3BB1886175AF8F86E1C6C609D' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-07-15+16%3A13%3A38' \
-d 'v=2.0' \
-d 'body=%7B%7D'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAlihealthPwSpecialSynchronodeRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.body="{}"
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.pw.special.synchronode");
add_param(pRequest,"body","数据结构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.pw.special.synchronode', {
'body':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})