po.getList 采购单查询接口

详细描述

返回采购单信息

应用级参数

参数名称 是否必要 类型 示例 描述
po_bn string 采购单编号
supplier string 供应商名称
start_time string 开始时间
end_time string 结束时间
eo_status string 1 入库状态
check_status string 1 审核状态
po_status string 1 采购状态
statement_status string 1 结算状态
page_no number 1 页码
page_size number 100 每页数量

返回结果

注意: 已经做过特殊字符处理的字段如下: po_bn, product_bn, product_name

XML数据,例:

成功

<response>
  <po_id>1</po_id>
  <po_name><![CDATA[20150831采购单]]></po_name>
  <po_bn><![CDATA[I201508311517009516]]></po_bn>
  <supplier>1</supplier>
  <po_time><![CDATA[2015-08-31 07:18:47]]></po_time>
  <amount>2500.000</amount>
  <operator><![CDATA[admin]]></operator>
  <branch>2</branch>
  <po_status>1</po_status>
  <statement_status>1</statement_status>
  <check_status>1</check_status>
  <eo_status>0</eo_status>
  <logistic_fee/>
  <item_cost>2500.000</item_cost>
  <deposit>0.000</deposit>
  <deposit_balance>0.000</deposit_balance>
  <items>
    <product_bn><![CDATA[h002]]></product_bn>
    <product_name><![CDATA[仙剑奇侠传6]]></product_name>
    <price>50.000</price>
    <num>50</num>
    <in_num>0</in_num>
    <status>1</status>
  </items>
</response>
json数据,例:

成功

{
    "response": [
        {
            "po_id": "1", 
            "po_name": "20150831采购单", 
            "po_bn": "I201508311517009516", 
            "supplier": "1", 
            "po_time": "2015-08-31 07:18:47", 
            "amount": "2500.000", 
            "operator": "admin", 
            "branch": "2", 
            "po_status": "1", 
            "statement_status": "1", 
            "check_status": "1", 
            "eo_status": "0", 
            "logistic_fee": null, 
            "item_cost": "2500.000", 
            "deposit": "0.000", 
            "deposit_balance": "0.000", 
            "items": [
                {
                    "product_bn": "h002", 
                    "product_name": "仙剑奇侠传6", 
                    "price": "50.000", 
                    "num": "50", 
                    "in_num": "0", 
                    "status": "1"
                }
            ]
        }
    ]
}

沪ICP备05002918号

© 2003-2017 ShopEx,Inc.All rights reserved.