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

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

alibaba.alihealth.drug.download.getentauthent (获取授权企业列表)

D2D数据落地获取授权企业列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
auth_begin_date String 可选 2017-01-01 授权开始时间
auth_end_date String 可选 2019-01-01 授权结束时间

响应参数

名称 类型 示例值 描述
result Result 接口返回model
  • auth_list
  • Model []
  • list
  • └ auth_ref_ent_id
  • String
  • 1cefe5b4b23c41afa679d6fe5bac360d
  • 企业ID
  • └ ent_name
  • String
  • 华润淮北医药有限公司
  • 企业名称
  • └ ref_ent_id
  • String
  • 5EA13342A2C62186E043AC1114AA2186
  • 授权企业ID
  • └ auth_date
  • String
  • 2019-01-11 10:10:57.0
  • 授权日期
  • └ msg_code
  • String
  • SUCCESS
  • msgCode
  • └ msg_info
  • String
  • 成功
  • msgInfo
  • └ issuccess
  • Boolean
  • true
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthDrugDownloadGetentauthentRequest req = new AlibabaAlihealthDrugDownloadGetentauthentRequest();
req.setAuthBeginDate("2017-01-01");
req.setAuthEndDate("2019-01-01");
AlibabaAlihealthDrugDownloadGetentauthentResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_drug_download_getentauthent_response>
    <result>
        <auth_list>
            <model>
                <auth_ref_ent_id>1cefe5b4b23c41afa679d6fe5bac360d</auth_ref_ent_id>
                <ent_name>华润淮北医药有限公司</ent_name>
                <ref_ent_id>5EA13342A2C62186E043AC1114AA2186</ref_ent_id>
                <auth_date>2019-01-11 10:10:57.0</auth_date>
            </model>
        </auth_list>
        <msg_code>SUCCESS</msg_code>
        <msg_info>成功</msg_info>
        <issuccess>true</issuccess>
    </result>
</alibaba_alihealth_drug_download_getentauthent_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

返回
顶部