华为乾坤-风险设备查询:响应示例

时间:2025-05-12 15:31:13

响应示例

返回状态码为200:接口调用成功,响应体参考IllegalDeviceResp。

HTTPS 200 OK
Date: Fri, 25 Aug 2023 07:33:29 GMT
Server: example-server
Content-Type: application/json
{
  "errorCode": "0",
  "errorMessage": null,
  "data": {
    "hasNext": true,
    "nextRowKey": "0,0,0,0,102,2,35,-20,1,0,0,0,0,0,2,3,0,0,0,0,0,1,0,0,0,0,0,0,0,-28,-125,38,-106,103,-33,4,-25,-107,64,-67,37",
    "illegalDeviceList": [
      {
        "mac": "FF-FF-FF-FF-FF-F1",
        "ssid": "HuaWeiApDefaultMesh",
        "channel": "11",
        "containFlag": 0,
        "manualContain": 1,
        "lastDetectTime": 1711364957000,
        "firstDetectTime": 1711364957000,
        "startRowKey": "0,0,0,0,102,2,35,-20,1,0,0,0,0,0,2,3,0,0,0,0,0,1,0,0,0,0,0,0,0,-8,62,-107,-37,44,-17,4,-25,-107,64,-67,32",
        "devType": 0,
        "rogueEntityList": [
          {
            "apName": "AirEngine5761R-11_AAA",
            "apMac": "FF-FF-FF-FF-FF-FF",
            "deviceType": "3",
            "category": "2",
            "channel": "11",
            "rssi": "-70",
            "lastDetectTime": 1711364957000,
            "firstDetectTime": 1711364957000
          }
        ]
      }
    ]
  }
}

返回状态码为400:校验异常。

HTTP/1.1 400 Bad Request
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive

返回状态码为500:内部错误。

HTTP/1.1 500 Internal Server Error
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001852129546.html