purchasereturn.getList 获取采购退货单数据

详细描述

获取指定条件下的采购退货单列表

应用级参数

参数名称 是否必要 类型 描述
rp_bn string 退货单编号
supplier string 供应商名称
returned_time string 退货日期
branch string 仓库
return_status string 退货单状态1 默认2 退货完成 3 出库拒绝
page_no string 页码
page_size string 每页数量

返回结果

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

XML数据,例:

成功

<response>
    <po_name>
        <![CDATA[退货单测试01]]>
    </po_name>
    <rp_bn>
        <![CDATA[H201509010817004536]]>
    </rp_bn>
    <supplier>
        <![CDATA[g01-s]]>
    </supplier>
    <po_time>1441094637</po_time>
    <amount>20.000</amount>
    <operator>
        <![CDATA[admin]]>
    </operator>
    <branch>
        <![CDATA[新仓库测试]]>
    </branch>
    <return_status>1</return_status>
    <logistic_fee>0.000</logistic_fee>
    <item_cost>20.000</item_cost>
    <items>
        <product_bn>
            <![CDATA[h002]]>
        </product_bn>
        <product_name>
            <![CDATA[仙剑奇侠传6]]>
        </product_name>
        <num>2</num>
    </items>
</response>
json数据,例:

成功

{
    "response": [
        {
            "po_name": "退货单测试01",
            "rp_bn": "H201509010817004536",
            "supplier": "g01-s",
            "po_time": "1441094637",
            "amount": "20.000",
            "operator": "admin",
            "branch": "新仓库测试",
            "return_status": "1",
            "logistic_fee": "0.000",
            "item_cost": "20.000",
            "items": {
                "product_bn": "h002",
                "product_name": "仙剑奇侠传6",
                "num": "2"
            }
        }
    ]
}

沪ICP备05002918号

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