查询设备列表

接口地址 /device-monitor/api/v1/open/device

请求方式 GET

接口描述 ``

请求参数

参数名称 参数说明 请求类型 是否必须 数据类型 schema
filter RSQL表达式 query false string

filter中支持以下参数筛选:

参数 类型 说明
description string 设备描述
deviceName string 设备名称
deviceNo string 设备序号
deviceType string 设备类型
funcDesc string 设备功能
id string 主键
inputTime string 录入时间
inputUserId string 录入人ID
lastDevice string 是否最后设备
modifyTime string 修改人时间
modifyUserId string 修改人ID
sigUid string 三色灯编号
specsDesc string 设备规格
tenantId string
version integer(int32) 数据版本号
workarea 工作区域(生产线) 生产线 工作区域(生产线)
code string 生产线编号
description string 备注
id string 主键
inputTime string 录入时间
inputUserId string 录入人ID
modifyTime string 修改人时间
modifyUserId string 修改人ID
name string 生产线名称
tenantId string
valuePerHour number(double) 单位时间产值(万元/小时)
version integer(int32) 数据版本号
workshop 车间 所属车间 车间
code string 车间编号
description string 备注
id string 主键
inputTime string 录入时间
inputUserId string 录入人ID
modifyTime string 修改人时间
modifyUserId string 修改人ID
name string 车间名称
tenantId string
version integer(int32) 数据版本号

|

响应状态

状态码 说明 schema
0 成功
200 操作成功 设备
40001 token超时,请重新登录
40003 缺少token参数
-1 系统繁忙
-2 服务超时
  1. {
  2. "data": [
  3. {
  4. "description": null,
  5. "deviceName": "Tst",
  6. "deviceNo": "1234",
  7. "deviceType": null,
  8. "funcDesc": null,
  9. "id": "129996177801216",
  10. "inputTime": "2021-12-18 10:36:48",
  11. "inputUserId": "43507d0a-802d-42eb-9deb-4dcdbe108356",
  12. "lastDevice": "0",
  13. "modifyTime": "2021-12-25 14:44:35",
  14. "modifyUserId": "43507d0a-802d-42eb-9deb-4dcdbe108356",
  15. "sigUid": "867038035394297",
  16. "specsDesc": null,
  17. "tenantId": "43507d0a-802d-42eb-9deb-4dcdbe108356",
  18. "version": 1,
  19. "workarea": {
  20. "code": "0003",
  21. "description": null,
  22. "id": "129832180514816",
  23. "inputTime": "2021-12-17 12:53:28",
  24. "inputUserId": "43507d0a-802d-42eb-9deb-4dcdbe108356",
  25. "modifyTime": "2021-12-17 12:53:44",
  26. "modifyUserId": "43507d0a-802d-42eb-9deb-4dcdbe108356",
  27. "name": "模具生产线",
  28. "tenantId": "43507d0a-802d-42eb-9deb-4dcdbe108356",
  29. "valuePerHour": 13.56,
  30. "version": 1,
  31. "workshop": {
  32. "code": "0002",
  33. "description": null,
  34. "id": "129832109211648",
  35. "inputTime": "2021-12-17 12:52:54",
  36. "inputUserId": "43507d0a-802d-42eb-9deb-4dcdbe108356",
  37. "modifyTime": null,
  38. "modifyUserId": null,
  39. "name": "制造车间",
  40. "tenantId": "43507d0a-802d-42eb-9deb-4dcdbe108356",
  41. "version": 0
  42. }
  43. }
  44. }
  45. ],
  46. "error": false,
  47. "extra": null,
  48. "message": null,
  49. "page": null,
  50. "path": null,
  51. "success": true,
  52. "timestamp": 1641127775121
  53. }