salesmaterial.getList获取销售物料

详细描述

获取指定条件下的销售物料列表

应用级参数

参数名称 是否必须 类型 描述
sales_material_bn String 销售物料编号
page_no String 页码
page_size String 每页数量

返回结果

XML数据,例:
<response>
    <lists>
        <sales_material_bn><![CDATA[testC003]]></sales_material_bn>
        <sales_material_name><![CDATA[testC003]]></sales_material_name>
        <unit><![CDATA[袋]]></unit>
        <sales_material_type>1</sales_material_type>
        <retail_price>12.000</retail_price>
        <shop_id><![CDATA[c0b540134794156ebe6ed58cedd1ba60]]></shop_id>
        <basic_materials>
            <material_bn><![CDATA[testC003]]></material_bn>
            <material_name><![CDATA[testC003]]></material_name>
            <store>10</store>
            <store_freeze>2</store_freeze>
            <weight>0.000</weight>
            <cost>0.000</cost>
            <retail_price>0.000</retail_price>
            <barcode><![CDATA[testC003]]></barcode>
        </basic_materials>
    </lists>
    <count>40</count>
</response>
json数据,例:

失败样式:

{
    response":{
        "list":[
            {"sales_material_bn":"testC003","sales_material_name":"testC003","unit":"袋","sales_material_type":"1","retail_price":"12.000","shop_id":"c0b540134794156ebe6ed58cedd1ba60","basic_materials":[{"material_bn":"testC003","material_name":"testC003","store":"10","store_freeze":"2","weight":"0.000","cost":"0.000","retail_price":"0.000","barcode":"testC003"}]}   
        ],
        "count":40
    }

}

沪ICP备05002918号

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