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": "2024-10-21 18:05:16",
        "isOnline": true,
        "ipAddress": "sample string 9",
        "port": 10,
        "lastOnOffTime": "2024-10-21 18:05:16"
      },
      {
        "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": "2024-10-21 18:05:16",
        "isOnline": true,
        "ipAddress": "sample string 9",
        "port": 10,
        "lastOnOffTime": "2024-10-21 18:05:16"
      }
    ]
  }
}

接口调试

Authorization

AppId

Token

URI

GET

请求header

响应body