Skip to content

吞吐量周转率报表

字段可选

M:must 必填
O:optional 选填
C: conditional 某些条件下必选

库房吞吐量/周转率

接口名
    /datacenter/io/ware_category
Method
    GET
请求
    start_date  M   datetime    查询开始日期
    end_date    M   datetime    查询截止日期
    ----- session -----
    station_id  M   string  站点ID
响应
    code    M   int     返回码,0表示成功,其他表示错误
    msg     M   string  错误信息
    data    M   string  返回json数据

    [{
        "ware_category_1_name"  M   string  仓库名
        "ware_category_2_name"  M   string  库区名
        "in_item_count" M   int 入库件数
        "in_ton_count"  M   float   入库吨数
        "in_pallet_count"   M   int 入库板数
        "out_item_count"    M   int 出库件数
        "out_ton_count" M   int 出库吨数
        "out_pallet_count"  M   int 出库板数
        "remain_item_count" M   int 库存剩余件数
        "remain_ton_count"  M   float   库存剩余吨数
        "remain_pallet_count"   M   int 库存剩余板数
        "turn_over_rate"    M   string  周转率
    }]

示例
    request
        http://test.guanmai.cn:8888/datacenter/io/ware_category?start_date=2016-10-02&end_date=2016-10-02
    response
        {
            "data": [{
                "ware_category_2_name": "d11",
                "remain_item_count": 12.8,
                "in_pallet_count": 0,
                "ware_category_1_name": "d1",
                "turn_over_rate": "0.0%",
                "remain_ton_count": 0.038,
                "out_pallet_count": 0,
                "in_ton_count": 0.0,
                "out_ton_count": 0.0,
                "remain_pallet_count": 6.4,
                "out_item_count": 0,
                "in_item_count": 0
            }],
            "code": 0,
            "msg": "ok"
        }

库房吞吐量/周转率导出

接口名
    /datacenter/io/ware_category/export
Method
    GET
请求
    start_date  M   datetime    查询开始日期
    end_date    M   datetime    查询截止日期
    ----- session -----
    station_id  M   string  站点ID
响应
    xlsx文件

示例
    request
        http://test.guanmai.cn:8888/datacenter/io/ware_category/export?start_date=2016-10-02&end_date=2016-10-02
    response

客户吞吐量/周转率

接口名
    /datacenter/io/customer
Method
    GET
请求
    start_date  M   datetime    查询开始日期
    end_date    M   datetime    查询截止日期
    ----- session -----
    station_id  M   string  站点ID
响应
    code    M   int     返回码,0表示成功,其他表示错误
    msg     M   string  错误信息
    data    M   string  返回json数据

    [{
        "customer_id"   M   string  客户ID
        "customer_name" M   string  客户名
        "in_item_count" M   int 入库件数
        "in_ton_count"  M   float   入库吨数
        "in_pallet_count"   M   int 入库板数
        "out_item_count"    M   int 出库件数
        "out_ton_count" M   int 出库吨数
        "out_pallet_count"  M   int 出库板数
        "remain_item_count" M   int 库存剩余件数
        "remain_ton_count"  M   float   库存剩余吨数
        "remain_pallet_count"   M   int 库存剩余板数
        "turn_over_rate"    M   string  周转率
    }]

示例
    request
        http://test.guanmai.cn:8888/datacenter/io/customer?start_date=2016-10-02&end_date=2016-10-02
    response
        {
            "msg": "ok",
            "data": [{
                "in_item_count": 137,
                "in_ton_count": 0.493,
                "out_item_count": 0,
                "remain_pallet_count": 18.0,
                "in_pallet_count": 18,
                "turn_over_rate": "100.0%",
                "out_ton_count": 0.0,
                "remain_ton_count": 0.493,
                "remain_item_count": 137.0,
                "customer_name": "客户21",
                "out_pallet_count": 0,
                "customer_id": "K00080"
            }],
            "code": 0
        }

客户吞吐量/周转率导出

接口名
    /datacenter/io/customer/export
Method
    GET
请求
    start_date  M   datetime    查询开始日期
    end_date    M   datetime    查询截止日期
    ----- session -----
    station_id  M   string  站点ID
响应
    xlsx文件

示例
    request
        http://test.guanmai.cn:8888/datacenter/io/customer/export?start_date=2016-10-02&end_date=2016-10-02
    response

品类吞吐量/周转率

接口名
    /datacenter/io/goods_category
Method
    GET
请求
    start_date  M   datetime    查询开始日期
    end_date    M   datetime    查询截止日期
    ----- session -----
    station_id  M   string  站点ID
响应
    code    M   int     返回码,0表示成功,其他表示错误
    msg     M   string  错误信息
    data    M   string  返回json数据

    [{
        "goods_category_1_name" M   string  一级商品分类名
        "goods_category_2_name" M   string  二级商品分类名
        "goods_category_3_name" M   string  品类名
        "in_item_count" M   int 入库件数
        "in_ton_count"  M   float   入库吨数
        "in_pallet_count"   M   int 入库板数
        "out_item_count"    M   int 出库件数
        "out_ton_count" M   int 出库吨数
        "out_pallet_count"  M   int 出库板数
        "remain_item_count" M   int 库存剩余件数
        "remain_ton_count"  M   float   库存剩余吨数
        "remain_pallet_count"   M   int 库存剩余板数
        "turn_over_rate"    M   string  周转率
    }]

示例
    request
        http://test.guanmai.cn:8888/datacenter/io/goods_category?start_date=2016-10-02&end_date=2016-10-02
    response
        {
            "data": [{
                "goods_category_3_name": "test2",
                "remain_pallet_count": 0.0,
                "remain_ton_count": 0.0,
                "out_item_count": 0,
                "goods_category_1_name": "冻品",
                "in_pallet_count": 0,
                "out_pallet_count": 0,
                "in_item_count": 0,
                "in_ton_count": 0.0,
                "turn_over_rate": "0%",
                "goods_category_2_name": "冻牛肉",
                "out_ton_count": 0.0,
                "remain_item_count": 0.0
            }],
            "code": 0,
            "msg": "ok"
        }

品类吞吐量/周转率导出

接口名
    /datacenter/io/goods_category/export
Method
    GET
请求
    start_date  M   datetime    查询开始日期
    end_date    M   datetime    查询截止日期
    ----- session -----
    station_id  M   string  站点ID
响应
    xlsx文件

示例
    request
        http://test.guanmai.cn:8888/datacenter/io/goods_category/export?start_date=2016-10-02&end_date=2016-10-02
    response