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

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

alibaba.alihealth.drug.kyt.specia.vaccin.getentinfo (【准备停止使用】该接口无法返回多条同名的企业信息,请对接同权限包下的“alibaba.alihealth.drug.vaccine.onesub.getentinfonew”接口。通过企业名得到唯一标识(ref_ent_id)及企业ID(ent_id))

根据企业名称查询企业唯一标识(ref_ent_id)及企业ID(ent_id)

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
ent_name String 必须 测试 公司名称(全称)

响应参数

名称 类型 示例值 描述
result ResultModel 监控宝推送网站监控信息,返回结果
  • model
  • PUserEntInfoDto
  • 返回对象
  • └ ref_ent_id
  • String
  • 00000000000011954895
  • 企业唯一标识【ref_ent_id】
  • └ ent_id
  • String
  • 00000000000011954895
  • 企业ID【ent_id】
  • └ msg_code
  • String
  • SUCCESS
  • 返回码
  • └ msg_info
  • String
  • {"ent_id": "00000000000011954895", "ref_ent_id": "00000000000011954895"}
  • 返回信息
  • └ response_success
  • Boolean
  • true
  • 是否响应成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthDrugKytSpeciaVaccinGetentinfoRequest req = new AlibabaAlihealthDrugKytSpeciaVaccinGetentinfoRequest();
req.setEntName("测试");
AlibabaAlihealthDrugKytSpeciaVaccinGetentinfoResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_drug_kyt_specia_vaccin_getentinfo_response>
    <result>
        <model>
            <ref_ent_id>00000000000011954895</ref_ent_id>
            <ent_id>00000000000011954895</ent_id>
        </model>
        <msg_code>SUCCESS</msg_code>
        <msg_info>{&quot;ent_id&quot;: &quot;00000000000011954895&quot;,  &quot;ref_ent_id&quot;: &quot;00000000000011954895&quot;}</msg_info>
        <response_success>true</response_success>
    </result>
</alibaba_alihealth_drug_kyt_specia_vaccin_getentinfo_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

返回
顶部