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

alibaba.alihealth.bill.upload.billcodesinfoex (单据上传查询批量码的信息)

企业单据上传查询批量码的信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
code_list String [] 可选 83003490000001180310, 83003490000001193083
  • 最大列表长度:200000
  • 码列表
    ref_ent_id String 可选 0001 企业标识

    响应参数

    名称 类型 示例值 描述
    result ResultModel { "alibaba_alihealth_bill_upload_billcodesinfoex_response": { "result": { "model": "{\"message\":\"追溯码【83003490000001180310,83003490000001193083】重复出库,请确认。\\r\\n\"}", "msg_code": "调用成功", "msg_info": "调用成功", "success": true }, "request_id": "ev83asbwu0k0" } } 调用结果
    • └ model
    • String
    • {\"message\":\"追溯码【83003490000001180310,83003490000001193083】重复出库,请确认。\\r\\n\"}
    • 出参数据
    • └ msg_code
    • String
    • 调用成功
    • 信息编码
    • └ msg_info
    • String
    • 调用成功
    • 信息描述
    • └ success
    • Boolean
    • true
    • 是否成功

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AlibabaAlihealthBillUploadBillcodesinfoexRequest req = new AlibabaAlihealthBillUploadBillcodesinfoexRequest();
    req.setCodeList("83003490000001180310, 83003490000001193083");
    req.setRefEntId("0001");
    AlibabaAlihealthBillUploadBillcodesinfoexResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <alibaba_alihealth_bill_upload_billcodesinfoex_response>
        <result>
            <model>{\&quot;message\&quot;:\&quot;追溯码【83003490000001180310,83003490000001193083】重复出库,请确认。\\r\\n\&quot;}</model>
            <msg_code>调用成功</msg_code>
            <msg_info>调用成功</msg_info>
            <success>true</success>
        </result>
    </alibaba_alihealth_bill_upload_billcodesinfoex_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

    返回
    顶部