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

alibaba.alihealth.drug.code.code.check.hospital (码核查状态同步-医院)

码核查状态同步-医院

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
auth_ref_ent_id String 必须 320000000000016204 认证企业refEntId
ref_ent_id String 必须 320000000000016204 企业refEntId
bureau_name String 可选 北京 城市名
terminal_name String 可选 终端001 终端名称
terminal_type String 可选 1005100 终端类型
c_type String 必须 1012100 核销类型
codes String [] 必须 87577040000000015130
  • 最大列表长度:20
  • 码列表

    响应参数

    名称 类型 示例值 描述
    result ResultModel 监控宝推送网站监控信息,返回结果 监控宝推送网站监控信息,返回结果
    • └ model
    • Boolean
    • true
    • 成功失败结果
    • └ msg_code
    • String
    • SUCCESS
    • 成功失败编码
    • └ msg_info
    • String
    • 操作成功
    • 成功失败描述
    • └ success
    • Boolean
    • true
    • 成功失败标记

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AlibabaAlihealthDrugCodeCodeCheckHospitalRequest req = new AlibabaAlihealthDrugCodeCodeCheckHospitalRequest();
    req.setAuthRefEntId("320000000000016204");
    req.setRefEntId("320000000000016204");
    req.setBureauName("北京");
    req.setTerminalName("终端001");
    req.setTerminalType("1005100");
    req.setCType("1012100");
    req.setCodes("87577040000000015130");
    AlibabaAlihealthDrugCodeCodeCheckHospitalResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <alibaba_alihealth_drug_code_code_check_hospital_response>
        <result>
            <model>true</model>
            <msg_code>SUCCESS</msg_code>
            <msg_info>操作成功</msg_info>
            <success>true</success>
        </result>
    </alibaba_alihealth_drug_code_code_check_hospital_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

    返回
    顶部