文档中心 > API类目 > 阿里健康-医保

alibaba.alihealth.medicare.order.confirm (阿里健康医保金华支付前确认订单,网能确认情况下通知健康)

阿里健康医保金华支付前确认订单,网能确认情况下通知健康

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
confirmation_status String 可选 1 0已确认,1未确认
store_id String 可选 rrte11 店铺id
order_id String 可选 123124353453 订单id

响应参数

名称 类型 示例值 描述
result ResponseResult ,1失败 返回对象
  • └ success
  • Boolean
  • true
  • 是否调用成功
  • └ error_code
  • String
  • 11
  • 错误码
  • └ error_msg
  • String
  • 订单不存在
  • 错误信息
  • └ result
  • String
  • 1
  • 0已收到,1未收到

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthMedicareOrderConfirmRequest req = new AlibabaAlihealthMedicareOrderConfirmRequest();
req.setConfirmationStatus("1");
req.setStoreId("rrte11");
req.setOrderId("123124353453");
AlibabaAlihealthMedicareOrderConfirmResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_medicare_order_confirm_response>
    <result>
        <success>true</success>
        <error_code>11</error_code>
        <error_msg>订单不存在</error_msg>
        <result>1</result>
    </result>
</alibaba_alihealth_medicare_order_confirm_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

返回
顶部