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

alibaba.alihealth.synergy.yzw.signednotstampedbill.query (查询已经签收但是还未盖章的单据)

查询已经签收但是还未盖章的单据

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
ref_ent_id String 必须 cb14553ed7654ff586b87b637ba23e2c 企业(本企业id)
begin_time String 必须 2024-05-03 00:00:00 上游出库单开始日期(最大查询区间一月)
end_time String 必须 2024-06-13 00:00:00 上游出库单结束日期(最大查询区间一月)
page Page 必须 分页对象
  • └ page
  • Number
  • 必须
  • 1
  • 当前页
  • └ page_size
  • Number
  • 必须
  • 20
  • 分页大小(不能超过20)

响应参数

名称 类型 示例值 描述
res_result ResultModel 结果
  • └ res_success
  • Boolean
  • true
  • 是否响应成功(true |false)
  • model
  • Page
  • 结果
  • result
  • HoloBillSearchCommonShowDTO []
  • 结果
  • └ bill_type
  • Number
  • 101
  • 单据类型
  • └ bill_id
  • String
  • 22
  • 单据id
  • └ bill_detail_id
  • String
  • 11
  • 单据明细ID
  • └ bill_time
  • String
  • 2024-05-03 00:00:00
  • 单据时间
  • └ bill_code
  • String
  • xx
  • 单据编码
  • └ produce_batch_no
  • String
  • xxx
  • 批号
  • └ drug_id
  • String
  • xxx
  • 药品id
  • └ sealed_report_url
  • String
  • http://xx.pdf
  • 签章URL
  • └ total_num
  • Number
  • 10
  • 总记录数
  • └ msg_info
  • String
  • 调用成功
  • 状态值
  • └ msg_code
  • String
  • SUCCESS
  • 状态码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthSynergyYzwSignednotstampedbillQueryRequest req = new AlibabaAlihealthSynergyYzwSignednotstampedbillQueryRequest();
req.setRefEntId("cb14553ed7654ff586b87b637ba23e2c");
req.setBeginTime("2024-05-03 00:00:00");
req.setEndTime("2024-06-13 00:00:00");
AlibabaAlihealthSynergyYzwSignednotstampedbillQueryRequest.Page obj1 = new AlibabaAlihealthSynergyYzwSignednotstampedbillQueryRequest.Page();
obj1.setPage(1L);
obj1.setPageSize(20L);
req.setPage(obj1);
AlibabaAlihealthSynergyYzwSignednotstampedbillQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_synergy_yzw_signednotstampedbill_query_response>
    <res_result>
        <res_success>true</res_success>
        <model>
            <result>
                <holo_bill_search_common_show_d_t_o>
                    <bill_type>101</bill_type>
                    <bill_id>22</bill_id>
                    <bill_detail_id>11</bill_detail_id>
                    <bill_time>2024-05-03 00:00:00</bill_time>
                    <bill_code>xx</bill_code>
                    <produce_batch_no>xxx</produce_batch_no>
                    <drug_id>xxx</drug_id>
                    <sealed_report_url>http://xx.pdf</sealed_report_url>
                </holo_bill_search_common_show_d_t_o>
            </result>
            <total_num>10</total_num>
        </model>
        <msg_info>调用成功</msg_info>
        <msg_code>SUCCESS</msg_code>
    </res_result>
</alibaba_alihealth_synergy_yzw_signednotstampedbill_query_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

返回
顶部