文档
测试

获取所有库位

GET
[server]/api/storage_location

请求参数

参数名
类型
描述
必填
status
int
0为获取全部位置,1为有料位置,2为没料位置
必填
type
int
库位类型(0:库位,1:工位,2:缓存区),库位传0就行
必填

响应参数

参数名
类型
描述
必填
data
list
库位数据信息
必填
area
int
所属区域
必填
box_id
int
料箱id
必填
box_name
strring
料箱名称
必填
box_type
string
料箱类型
必填
column_id
int
所属列id
必填
column_name
string
所属列名字
必填
create_time
string
创建时间
必填
from_address
int
来源id
必填
id
int
库位id
必填
in_storage_time
string
入库时间
必填
is_frozen
int
是否冻结
必填
layer_id
int
所属层id
必填
layer_name
string
所属层名字
必填
location
string
调度地图点位
必填
material_id
int
库位存储物料id
必填
material_name
string
库位存储物料名称
必填
material_num
int
库位存储物料数量
必填
material_type
string
库位存储物料类型
必填
name
string
库位名字
必填
order_id
string
订单号
必填
region_id
int
所属区域id
必填
region_name
string
所属区域名字
必填
row_id
int
所属行id
必填
row_name
string
所属行名字
必填
type
string
库位类型
必填
update_time
string
更新时间
必填
warehouse_id
int
所属仓库id
必填
warehouse_name
string
所属仓库名字
必填
msg
string
返回信息
必填
status
int
状态码
必填

说明 / 示例

{ "data": [ { "area": 0, "box_id": 0, "box_name": null, "box_type": null, "column_id": 3, "column_name": "列1", "create_time": "Wed, 27 Jul 2022 11:06:22 GMT", "from_address": 0, "id": 80, "in_storage_time": "Wed, 02 Nov 2022 00:00:00 GMT", "is_frozen": 0, "layer_id": 3, "layer_name": "第一层", "location": "1", "location_description": "灌浆区1号位", "material": [ { "material_id": 33, "material_name": "A料", "material_num": 1, "material_type": "物料A" } ], "name": "1号仓库区域1行1列1第一层", "order_id": "", "position_number": "01-01-01-01-01", "qrcode": "44.png", "region_id": 4, "region_name": "区域1", "row_id": 3, "row_name": "行1", "shelve_id": 0, "shelve_name": null, "status": 1, "update_time": "Thu, 03 Nov 2022 10:14:21 GMT", "warehouse_id": 3, "warehouse_name": "1号仓库" }, { "area": 0, "box_id": 0, "box_name": null, "box_type": null, "column_id": 6, "column_name": "列4", "create_time": "Wed, 27 Jul 2022 11:06:22 GMT", "from_address": 0, "id": 83, "in_storage_time": "Wed, 02 Nov 2022 00:00:00 GMT", "is_frozen": 0, "layer_id": 3, "layer_name": "第一层", "location": "14", "location_description": "灌浆区4号位", "material": [ { "material_id": null, "material_name": null, "material_num": null, "material_type": null } ], "name": "1号仓库区域1行1列4第一层", "order_id": "", "position_number": "01-01-01-04-01", "qrcode": "44.png", "region_id": 4, "region_name": "区域1", "row_id": 3, "row_name": "行1", "shelve_id": 0, "shelve_name": null, "status": 0, "update_time": "Thu, 03 Nov 2022 10:10:54 GMT", "warehouse_id": 3, "warehouse_name": "1号仓库" } ], "msg": "获取所有库位成功", "status": 100000 }