华为乾坤-下发Cpe命令:响应示例

时间:2025-02-17 11:36:47

响应示例

返回状态码为200:下发成功。

HTTPS 200 OK
Date: Thu,13 Sep 2022 10:00:00 GMT
Server: example-server
Content-Type: application/json
{
  "errcode": "0",
  "errmsg": "",
  "successList": [
    "IC1-Huawei-AR502H-GW-0001"
  ],
  "failList": [
    {
      "id": "5c37d9e8-cdf6-11e8-a4fc-286ed488d002",
      "serialNumber": "IC1-Huawei-AR502H-GW-0002",
      "errcode": "0x00c80049",
      "errmsg": "WAC is not online"
    }
  ]
}

返回状态码为400:下发失败。

HTTPS 400 Bad Requests
Date: Thu,13 Sep 2022 10:00:00 GMT
Server: example-server
Content-Type: application/json
{
  "errcode": "0x00c8000d",
  "errmsg": "The parameter ids is null."
}

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

HTTP/1.1 500 Internal Server Error
Date: Sun,16 Feb 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_0000001898402361.html