GET v1/Application/GetDevicePage?pageIndex={pageIndex}&pageSize={pageSize}&orderBy={orderBy}
分页获取设备 返回应用下的多个设备的基本信息
ÇëÇóÐÅÏ¢
URI²ÎÊý
×Ö¶ÎÃû³Æ | ÃèÊö | ÀàÐÍ | Ô¼Êø |
---|---|---|---|
pageIndex |
页面索引 |
integer |
必须 |
pageSize |
页面大小 |
integer |
默认值:10 |
orderBy |
排序字符串 |
string |
默认值:id |
Body²ÎÊý
ÎÞ
ÏìÓ¦ÐÅÏ¢
·µ»ØÀàÐÍ
ApiResultOfPageOfDeviceInfo×Ö¶ÎÃû³Æ | ÃèÊö | ÀàÐÍ | Ô¼Êø |
---|---|---|---|
code |
错误码 |
ErrorCode |
必填 |
msg |
相关提示信息 |
string |
必填 |
data |
业务数据 |
PageOfDeviceInfo |
必填 |
ÏìÓ¦¸ñʽ
application/json, text/json
Àý×Ó:
{ "code": 0, "msg": "sample string 1", "data": { "total": 1, "pageIndex": 2, "pageSize": 3, "dataArray": [ { "id": "sample string 1", "apP_Id": "sample string 2", "num": "sample string 3", "code": "sample string 4", "type": "sample string 5", "shortType": "sample string 6", "productType": 1, "createTime": "2025-05-09 02:56:08", "isOnline": true, "ipAddress": "sample string 9", "port": 10, "lastOnOffTime": "2025-05-09 02:56:08" }, { "id": "sample string 1", "apP_Id": "sample string 2", "num": "sample string 3", "code": "sample string 4", "type": "sample string 5", "shortType": "sample string 6", "productType": 1, "createTime": "2025-05-09 02:56:08", "isOnline": true, "ipAddress": "sample string 9", "port": 10, "lastOnOffTime": "2025-05-09 02:56:08" } ] } }
接口调试
Authorization
AppId
Token
URI
GET
请求header
响应body