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

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

alibaba.alihealth.drug.kyt.wes.getbyorgcode (根据统一信用代码查询企业信息)

根据统一信用代码查询企业信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
ref_ent_id String 必须 320000000000127971 接口调用企业的唯一标识(接口调用者)
license_token String 必须 adsdyycttt licenseToken
org_code String 必须 xxxxx 统一信用代码

响应参数

名称 类型 示例值 描述
result ResultModel 返回结果
  • └ response_success
  • Boolean
  • true
  • 是否响应成功
  • model
  • PUserEntInfoDto
  • 返回对象
  • └ ent_id
  • String
  • 0000000000000831750
  • 企业id
  • └ ref_ent_id
  • String
  • 320000000000084823
  • 企业唯一标识
  • └ network_type
  • Number
  • 200
  • 200 入驻
  • └ ent_name
  • String
  • 香港测试19
  • 企业名称
  • └ org_code
  • String
  • xxxxx
  • 统一信用代码
  • └ reg_region_code
  • String
  • 110101
  • 注册地址编码
  • └ user_role_type
  • Number
  • 1
  • 企业类型编码
  • └ msg_info
  • String
  • 调用成功
  • 返回值
  • └ msg_code
  • String
  • SUCCESS
  • 返回码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthDrugKytWesGetbyorgcodeRequest req = new AlibabaAlihealthDrugKytWesGetbyorgcodeRequest();
req.setRefEntId("320000000000127971");
req.setLicenseToken("adsdyycttt");
req.setOrgCode("xxxxx");
AlibabaAlihealthDrugKytWesGetbyorgcodeResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_drug_kyt_wes_getbyorgcode_response>
    <result>
        <response_success>true</response_success>
        <model>
            <ent_id>0000000000000831750</ent_id>
            <ref_ent_id>320000000000084823</ref_ent_id>
            <network_type>200</network_type>
            <ent_name>香港测试19</ent_name>
            <org_code>xxxxx</org_code>
            <reg_region_code>110101</reg_region_code>
            <user_role_type>1</user_role_type>
        </model>
        <msg_info>调用成功</msg_info>
        <msg_code>SUCCESS</msg_code>
    </result>
</alibaba_alihealth_drug_kyt_wes_getbyorgcode_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

返回
顶部