查询N条记录
POST
{{host}}/api/marker/query
接口描述
查询该层级下的设备(不包含子层级)
请求参数
参数名
类型
描述
必填
level_id
int
层级ID
必填
tag
string
层级标签(多个使用英文逗号隔开)
必填
device_type
string
设备类型(多个使用英文逗号隔开)
可选
parent_device_type
string
父设备类型
可选
is_traversal
boolean
是否遍历子层级。默认:true
可选
响应参数
参数名
类型
描述
必填
ret
int
返回码:0-正常,非0-失败
必填
msg
string
返回消息
必填
marker_id
int
设备图标ID
必填
level_id
int
层级ID
必填
axis_x
float
在地图上的x轴位置,默认0,单位:px
必填
axis_y
float
在地图上的y轴位置,默认0,单位:px
必填
zoom
int
图标缩放比例,默认100,单位:%
必填
rotate
int
旋转角度
必填
status
int
状态值
必填
icon_content
json
图标内容
必填
device_id
int
设备ID
必填
device_type
string
设备类型
必填
device_type_name
string
设备类型名称
必填
device_online
enum
设备状态,初始化-0,已组网-1,已测试-2,待调整-3,设备下线-9,设备上线-10
必填
bt_device_id
int
关联的蓝牙设备ID
必填
bt_device_type
string
关联的蓝牙设备类型
必填
bt_device_type_name
string
关联的蓝牙设备类型名称
必填
bt_device_online
enum
关联的蓝牙设备状态,初始化-0,已组网-1,已测试-2,待调整-3,设备下线-9,设备上线-10
必填
parent_device_type
string
父设备类型
必填
parent_device_type_name
string
父设备类型名称
必填