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

文档中心 > API类目 > 阿里健康追溯码

alibaba.alihealth.drug.kyt.destbill.check (直调审批)

为药企提供直调单据审批操作

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
ref_ent_id String 可选 cb14553ed7654ff586b87b637ba23e2c 企业ID
bill_code String 可选 BC1_abc4 单据号
check_type String 可选 Y 审核状态,'Y'审批通过 'N' 审批不通过

响应参数

名称 类型 示例值 描述
response_success Boolean true 是否成功
model Boolean true 执行结果
msg_info String 执行成功 返回结果描述
msg_code String SUCCESS 返回结果标识

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthDrugKytDestbillCheckRequest req = new AlibabaAlihealthDrugKytDestbillCheckRequest();
req.setRefEntId("cb14553ed7654ff586b87b637ba23e2c");
req.setBillCode("BC1_abc4");
req.setCheckType("Y");
AlibabaAlihealthDrugKytDestbillCheckResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_drug_kyt_destbill_check_response>
    <response_success>true</response_success>
    <model>true</model>
    <msg_info>执行成功</msg_info>
    <msg_code>SUCCESS</msg_code>
</alibaba_alihealth_drug_kyt_destbill_check_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

返回
顶部