注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 阿里健康保险-信息交互

alibaba.alihealth.insurance.drugstore.order.refund (购药单退款接口)

购药单退款接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
drug_store_bills_refund_request DrugStoreBillsRefundRequest 可选 退款请求体
  • └ pay_order_id
  • String
  • 必须
  • 1234
  • 购药单id
  • └ policy_id
  • String
  • 必须
  • 234
  • 保单id
  • └ medicine_id
  • String
  • 必须
  • 1234
  • 药品id
  • └ extras
  • String
  • 可选
  • 扩展信息参数
  • └ medicine_quantity
  • Number
  • 必须
  • 1
  • 药品数量

响应参数

名称 类型 示例值 描述
result_status String 400 返回状态值
data Boolean true 返回数据
result_code String success 返回状态吗
result_msg String 系统错误 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthInsuranceDrugstoreOrderRefundRequest req = new AlibabaAlihealthInsuranceDrugstoreOrderRefundRequest();
AlibabaAlihealthInsuranceDrugstoreOrderRefundRequest.DrugStoreBillsRefundRequest obj1 = new AlibabaAlihealthInsuranceDrugstoreOrderRefundRequest.DrugStoreBillsRefundRequest();
obj1.setPayOrderId("1234");
obj1.setPolicyId("234");
obj1.setMedicineId("1234");
obj1.setExtras("");
obj1.setMedicineQuantity(1L);
req.setDrugStoreBillsRefundRequest(obj1);
AlibabaAlihealthInsuranceDrugstoreOrderRefundResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_insurance_drugstore_order_refund_response>
    <result_status>400</result_status>
    <data>true</data>
    <result_code>success</result_code>
    <result_msg>系统错误</result_msg>
</alibaba_alihealth_insurance_drugstore_order_refund_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部