华为乾坤-查询单设备的远端模块配置信息:响应示例

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

响应示例

返回状态码为200:查询成功。

HTTP/1.1 200 OK
{
  "errcode": "0",
  "errmsg": "",
  "data": [
    {
      "connectInterface": "XGigabitEthernet0/0/1",
      "description": "remote units",
      "vlanMode": "manual",
      "isolate": true,
      "interfaces": [
        {
          "ifName": "port1",
          "portDefaultVlan": 1,
          "taggedVlan": "10",
          "untaggedVlan": "12",
          "isAdminStatus": true
        }
      ]
    }
  ]
}

返回状态码为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
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001898269637.html