GET v1/Application/GetDevice?num={num}

通过机身号获取设备 返回应用下单个设备的基本信息

请求信息

URI参数

字段名称描述类型约束
num

设备机身号

string

必须

Body参数

响应信息

返回类型

ApiResultOfDeviceInfo
字段名称描述类型约束
code

错误码

ErrorCode

必填

msg

相关提示信息

string

必填

data

业务数据

DeviceInfo

必填

响应格式

application/json, text/json

例子:
{
  "code": 0,
  "msg": "sample string 1",
  "data": {
    "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-05-20 09:32:16",
    "isOnline": true,
    "ipAddress": "sample string 9",
    "port": 10,
    "lastOnOffTime": "2024-05-20 09:32:16"
  }
}

接口调试

Authorization

AppId

Token

URI

GET

请求header

响应body