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

alibaba.alihealth.drug.kyt.dr.drugrecal (疫苗药品召回)

生产企业发布的召回信息,按照批次进行召回,收货和发货环节的单据处理中调用接口进行查询;

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
ref_ent_id String 可选 64a5dc3809fd48aca7a135fba56f7536 调用企业ID
recall_begin_time String 必须 2018-06-01 召回开始时间
recall_end_time String 必须 2018-12-31 召回结束时间

响应参数

名称 类型 示例值 描述
result Result 接口返回model
  • model_list
  • Model []
  • 召回信息列表
  • └ prepn_type_desc
  • String
  • 合剂
  • 药品剂型
  • └ recall_end_date
  • String
  • 2018-08-23 09:54
  • 召回结束时间
  • └ product_batch_nos
  • String
  • 1208601
  • 药品批次编号
  • └ prodcut_ent_name
  • String
  • 山东东阿阿胶股份有限公司
  • 药品生产企业名称
  • └ approve_no
  • String
  • 国药准字Z20028002
  • 药品批准文号
  • └ physic_name
  • String
  • 海龙胶口服液
  • 药品通用名称
  • └ recall_range
  • String
  • 0
  • 召回范围(0全国1省2市)
  • └ recall_open
  • String
  • 1
  • 是否向消费者公开(1公开0不公开)
  • └ recall_audit_status
  • String
  • 1
  • 批准状态(0未批准1已批准)
  • └ pkg_spec
  • String
  • 盒40支
  • 包装规格
  • └ prepn_spec
  • String
  • 每支装20ml
  • 制剂规格
  • └ recall_info_id
  • String
  • 98e98ee93423455cb3306a5b0884787a
  • 召回ID
  • └ ent_name
  • String
  • 山东东阿阿胶股份有限公司
  • 召回企业名称
  • └ recall_nature
  • String
  • 1
  • 召回性质(1实施召回2模拟召回)
  • └ recall_reason
  • String
  • asd
  • 召回原因
  • └ recall_bill_type
  • String
  • 1
  • 召回单类型(1主动召回2责令召回)
  • └ recall_status
  • String
  • 2
  • 召回状态(0未召回1召回中2召回结束)
  • └ recall_level
  • String
  • 3
  • 召回级别(1一级2二级3三级)
  • └ msg_code
  • String
  • SUCCESS
  • 服务返回编码
  • └ msg_info
  • String
  • 调用成功
  • 服务返回信息
  • └ is_success
  • Boolean
  • true
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthDrugKytDrDrugrecalRequest req = new AlibabaAlihealthDrugKytDrDrugrecalRequest();
req.setRefEntId("64a5dc3809fd48aca7a135fba56f7536");
req.setRecallBeginTime("2018-06-01");
req.setRecallEndTime("2018-12-31");
AlibabaAlihealthDrugKytDrDrugrecalResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_drug_kyt_dr_drugrecal_response>
    <result>
        <model_list>
            <model>
                <prepn_type_desc>合剂</prepn_type_desc>
                <recall_end_date>2018-08-23 09:54</recall_end_date>
                <product_batch_nos>1208601</product_batch_nos>
                <prodcut_ent_name>山东东阿阿胶股份有限公司</prodcut_ent_name>
                <approve_no>国药准字Z20028002</approve_no>
                <physic_name>海龙胶口服液</physic_name>
                <recall_range>0</recall_range>
                <recall_open>1</recall_open>
                <recall_audit_status>1</recall_audit_status>
                <pkg_spec>盒40支</pkg_spec>
                <prepn_spec>每支装20ml</prepn_spec>
                <recall_info_id>98e98ee93423455cb3306a5b0884787a</recall_info_id>
                <ent_name>山东东阿阿胶股份有限公司</ent_name>
                <recall_nature>1</recall_nature>
                <recall_reason>asd</recall_reason>
                <recall_bill_type>1</recall_bill_type>
                <recall_status>2</recall_status>
                <recall_level>3</recall_level>
            </model>
        </model_list>
        <msg_code>SUCCESS</msg_code>
        <msg_info>调用成功</msg_info>
        <is_success>true</is_success>
    </result>
</alibaba_alihealth_drug_kyt_dr_drugrecal_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

返回
顶部