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": "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