文档
测试

查询通用机器人列表

GET
http://localhost:9099/getRobotCommonList

请求参数

参数名
类型
描述
必填
pageIndex
int
第几页,第一页为起始页,要求为正整数
必填
pageSize
int
每页大小,要求为正整数
必填

响应参数

参数名
类型
描述
必填
result
int
示例:1
必填
message
object
示例:null
必填
pageSize
int
示例:0
必填
pageIndex
int
示例:0
必填
rows
array
数据列表
必填
robotId
int
示例:1005
必填
robotname
string
示例:ws
必填
robotTypeId
int
示例:0
必填
onoff
object
示例:null
必填
robotDeviceId
string
示例:
必填
robotModel
string
示例:
必填
robotVendor
string
示例:
必填
robotWorkEnvTempMax
object
示例:null
必填
robotWorkEnvTempMin
object
示例:null
必填
robotWorkEnvHumiMax
object
示例:null
必填
robotWorkEnvHumiMin
object
示例:null
必填
robotPower
int
示例:999
必填

说明 / 示例

每行的字段意义请参考《新增机器人通用数据》文档中的说明。 以下为postman工具的测试数据: { "result": 1, "message": null, "data": { "total": 12, "list": [ { "robotId": 990, "robotname": "testrobot", "robotTypeId": null, "onoff": null, "robotDeviceId": "testname", "robotModel": null, "robotVendor": null, "robotWorkEnvTempMax": 0.91, "robotWorkEnvTempMin": null, "robotWorkEnvHumiMax": null, "robotWorkEnvHumiMin": null, "robotPower": 999 }, { "robotId": 1000, "robotname": "testrobot", "robotTypeId": null, "onoff": null, "robotDeviceId": "testname", "robotModel": null, "robotVendor": null, "robotWorkEnvTempMax": null, "robotWorkEnvTempMin": null, "robotWorkEnvHumiMax": null, "robotWorkEnvHumiMin": null, "robotPower": 9999 }, { "robotId": 1001, "robotname": "testrobot", "robotTypeId": null, "onoff": null, "robotDeviceId": "testname", "robotModel": null, "robotVendor": null, "robotWorkEnvTempMax": null, "robotWorkEnvTempMin": null, "robotWorkEnvHumiMax": null, "robotWorkEnvHumiMin": null, "robotPower": 9999 } ], "pageNum": 1, "pageSize": 3, "size": 3, "startRow": 1, "endRow": 3, "pages": 4, "prePage": 0, "nextPage": 2, "isFirstPage": true, "isLastPage": false, "hasPreviousPage": false, "hasNextPage": true, "navigatePages": 8, "navigatepageNums": [ 1, 2, 3, 4 ], "navigateFirstPage": 1, "navigateLastPage": 4, "firstPage": 1, "lastPage": 4 } }