文档
测试

查询工位列表

GET
api/seats

URL参数

参数名
类型
描述
必填
status
int
工位状态。0:空;1:有物料;没有此参数返回产线区全部工位
必填
type
string
工位类别。见“type参数说明”
必填

响应参数

参数名
类型
描述
必填
errorno
int
响应码,成功时为0,其它值表示异常。
必填
errormsg
string
code不为0时填入异常消息内容。
必填
data
list
工位列表
必填
_id
string
工位ID
必填
name
string
库位名称
必填
location
string
此工位在地图中对应的点位的loc
必填
extra_info
string
其它描述或备注信息
必填
status
int
0:空,1:有栈板/有物料
必填
type
strign
product、enter、exit
必填
color
string
#F2E3D4,#80C1B2A3
必填
container
string
容器类型名称
必填
product
string
物料名称
必填
is_frozen
int
是否被冻结
必填
group
int
分组
必填
layer
int
层数
必填

响应示例

## type参数说明表 |type|说明| |-|-| |enter|产线入库栈板工位| |exit|出库栈板工位| |product|产线放置物料的工位| |exit_cache|出库暂存区工位| |storage|库位| |cache|缓存点|