Lingxing
切换旧版

库存报表 - 本地仓 - 新报表 - 汇总

POST/inventory/center/openapi/storageReport/local/aggregate/list

接口信息

API Path请求协议请求方式令牌桶容量
/inventory/center/openapi/storageReport/local/aggregate/listHTTPSPOST3

请求参数

start_datestring必填
开始时间,格式:Y-m-d
end_datestring必填
结束时间,格式:Y-m-d
sys_widinteger
系统仓库id,多个用英文逗号分隔

请求示例

{
    "start_date": "2020-01-01",
    "end_date": "2024-08-05",
    "sys_wid": "1694,1688"
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 8D680B8B-3C6F-3E16-F055-73DC70EAD977
response_timestring必填
响应时间
示例 2020-05-18 11:23:47
dataarray<object>必填
响应数据
隐藏子属性
sys_widinteger必填
系统仓库id
示例 1
ware_house_namestring必填
仓库名称
示例 仓库1
product_countnumber必填
商品数量
示例 5935
allocation_in_costnumber必填
调拨入库-成本(精度:2位小数点)
示例 0
allocation_in_countnumber必填
调拨入库-数量
allocation_in_transit_costnumber必填
期末在途-成本(精度:2位小数点)
示例 0
allocation_in_transit_countnumber必填
期末在途-数量
allocation_out_costnumber必填
调拨出库-成本(精度:2位小数点)
示例 0
allocation_out_countnumber必填
调拨出库-数量
change_of_standard_in_costnumber必填
换标入库-成本(精度:2位小数点)
示例 0
change_of_standard_in_countnumber必填
换标入库-数量
change_of_standard_out_costnumber必填
换标出库-成本(精度:2位小数点)
示例 0
change_of_standard_out_countnumber必填
换标出库-数量
cost_adjustmentnumber必填
成本调整(精度:2位小数点)
示例 0
day_early_costnumber必填
期初库存-成本(精度:2位小数点)
示例 0
day_early_countnumber必填
期初库存-数量
day_end_costnumber必填
期末库存-成本(精度:2位小数点)
示例 0
day_end_countnumber必填
期末库存-数量
fba_out_costnumber必填
fba出库-成本(精度:2位小数点)
示例 0
fba_out_countnumber必填
fba出库-数量
fbm_out_costnumber必填
fbm出库-成本(精度:2位小数点)
示例 0
fbm_out_countnumber必填
fbm出库-数量
inventory_deficit_out_costnumber必填
盘亏出库-成本(精度:2位小数点)
示例 0
inventory_deficit_out_countnumber必填
盘亏出库-数量
inventory_surplus_in_costnumber必填
盘盈入库-成本(精度:2位小数点)
示例 0
inventory_surplus_in_countnumber必填
盘盈入库-数量
other_in_costnumber必填
其他入库-成本(精度:2位小数点)
示例 0
other_in_countnumber必填
其他入库-数量
other_out_costnumber必填
其他出库-成本(精度:2位小数点)
示例 0
other_out_countnumber必填
其他出库-数量
outsourcing_in_costnumber必填
委外入库-成本(精度:2位小数点)
示例 0
outsourcing_in_countnumber必填
委外入库-数量
outsourcing_out_costnumber必填
委外出库-成本(精度:2位小数点)
示例 0
outsourcing_out_countnumber必填
委外出库-数量
processing_in_costnumber必填
加工入库-成本(精度:2位小数点)
示例 0
processing_in_countnumber必填
加工入库-数量
processing_out_costnumber必填
加工出库-成本(精度:2位小数点)
示例 0
processing_out_countnumber必填
加工出库-数量
purchase_in_costnumber必填
采购入库-成本(精度:2位小数点)
示例 0
purchase_in_countnumber必填
采购入库-数量
purchase_return_costnumber必填
退货出库-成本(精度:2位小数点)
示例 0
purchase_return_countnumber必填
退货出库-数量
remove_in_costnumber必填
移除入库-成本(精度:2位小数点)
示例 0
remove_in_countnumber必填
移除入库-数量
return_goods_in_costnumber必填
退货入库-成本(精度:2位小数点)
示例 0
return_goods_in_countnumber必填
退货入库-数量
split_in_costnumber必填
拆分入库-成本(精度:2位小数点)
示例 0
split_in_countnumber必填
拆分入库-数量
split_out_costnumber必填
拆分出库-成本(精度:2位小数点)
示例 0
split_out_countnumber必填
拆分出库-数量
wfs_out_costnumber必填
WFS出库-成本(精度:2位小数点)
示例 0
wfs_out_countnumber必填
WFS出库-数量
gifts_in_coststring必填
赠品入库-成本(精度:2位小数点)
示例 0.00
gifts_in_countnumber必填
赠品入库-数量
示例 0
rotation_day_costnumber必填
周转天数-成本(精度:2位小数点)
示例 0
rotation_day_countnumber必填
周转天数-数量(精度:2位小数点)
示例 0
rotation_rate_costnumber必填
周转率-成本(精度:4位小数点)
示例 0
rotation_rate_countnumber必填
周转率-数量(精度:4位小数点)
示例 0
sales_ratio_costnumber必填
存销比-成本(精度:4位小数点)
示例 0
sales_ratio_countnumber必填
存销比-数量(精度:4位小数点)
示例 0
sales_ratenumber必填
动销率(精度:4位小数点)
示例 0

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details":[],
    "request_id": "BDF6F403-1998-7E7F-62C2-369C15FEE14D",
    "response_time": "2022-12-21 18:44:54"
    "data": [{
        "other_in_count": 0,
        "purchase_in_count": 0,
        "allocation_in_count": 0,
        "outsourcing_in_count": 0,
        "inventory_surplus_in_count": 0,
        "change_of_standard_in_count": 0,
        "processing_in_count": 0,
        "split_in_count": 0,
        "return_goods_in_count": 0,
        "remove_in_count": 0,
        "outsourcing_out_count": 0,
        "inventory_deficit_out_count": 0,
        "change_of_standard_out_count": 0,
        "processing_out_count": 0,
        "split_out_count": 0,
        "fba_out_count": 0,
        "fbm_out_count": 0,
        "purchase_return_count": 0,
        "allocation_out_count": 0,
        "other_out_count": 0,
        "wfs_out_count": 0,
        "gifts_in_cost": 0,
        "gifts_in_count": 0,
        "day_early_count": 119,
        "day_end_count": 119,
        "allocation_in_transit_count": 0,
        "other_in_cost": "0.00",
        "purchase_in_cost": "0.00",
        "allocation_in_cost": "0.00",
        "outsourcing_in_cost": "0.00",
        "inventory_surplus_in_cost": "0.00",
        "change_of_standard_in_cost": "0.00",
        "processing_in_cost": "0.00",
        "split_in_cost": "0.00",
        "return_goods_in_cost": "0.00",
        "remove_in_cost": "0.00",
        "outsourcing_out_cost": "0.00",
        "inventory_deficit_out_cost": "0.00",
        "change_of_standard_out_cost": "0.00",
        "processing_out_cost": "0.00",
        "split_out_cost": "0.00",
        "fba_out_cost": "0.00",
        "fbm_out_cost": "0.00",
        "purchase_return_cost": "0.00",
        "allocation_out_cost": "0.00",
        "other_out_cost": "0.00",
        "wfs_out_cost": "0.00",
        "day_early_cost": "0.00",
        "day_end_cost": "0.00",
        "allocation_in_transit_cost": "0.00",
        "cost_adjustment": "0.00",
        "rotation_day_count": "0.00",
        "rotation_rate_count": "0.0000",
        "sales_ratio_count": "0.0000",
        "rotation_day_cost": "0.00",
        "rotation_rate_cost": "0.0000",
        "sales_ratio_cost": "0.0000",
        "sys_wid": 4386,
        "ware_house_name": "1213",
        "product_count": 3,
        "sales_rate": "0.0000"
    }]
}