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

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

alibaba.alihealth.drug.code.code.check.medical.insurance (码核查状态同步-医保)

服务描述 核查平台在进行医保单据鉴证核查时,会记录单据中所有提交的追溯码信息;单据中的 追溯码包含所有正常和异常的数据; 此接口,针对正式鉴核的单据中提交的有效的、正常状态的追溯码,提供可由核查平台 发起,按单据鉴核时间顺序组织,向码上放心平台同步每笔单据核销的码状态信息; 入参采用数组方式提供,一次同步最多支持100条记录

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
terminal_ent_id String 必须 id 平台返回的终端id
bureau_name String 可选 省/市/区县 行政区域
terminal_id String 必须 ab9771a586414f63a207ec2168ea9fee 终端id
terminal_type String 必须 1005100 终端类型(1005100-零售药店;1005200-医疗机构)
c_type String 必须 1012100 核销类型(1012100:核销;1012900:退库)
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);
    AlibabaAlihealthDrugCodeCodeCheckMedicalInsuranceRequest req = new AlibabaAlihealthDrugCodeCodeCheckMedicalInsuranceRequest();
    req.setTerminalEntId("id");
    req.setBureauName("省/市/区县");
    req.setTerminalId("ab9771a586414f63a207ec2168ea9fee");
    req.setTerminalType("1005100");
    req.setCType("1012100");
    req.setCodes("87577040000000015130");
    AlibabaAlihealthDrugCodeCodeCheckMedicalInsuranceResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

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

    返回
    顶部