华为乾坤-修改站点全局DHCP配置:响应示例
时间:2025-05-12 15:31:20
响应示例
返回状态码为200:修改站点DHCP配置结果,返回结构体参见ApDhcpConfigResponsesDto。
HTTP/1.1 200 OK 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 { "errcode" : "0", "errmsg" : "", "data" : { "ip" : "192.168.1.1", "mask" : "255.255.255.0", "dnsConfig" : { "dnsServerMode" : "systemsetting", "priorDnsServer" : "192.168.1.10", "standbyDnsServer" : "192.168.1.11" }, "tenancyConfig" : { "day" : 999, "hour" : 23, "minute" : 59 }, "masterWins" : "192.168.1.1", "slaveWins" : "192.168.1.2", "ipBindingMacConfigList" : [ { "staticIpAddress" : "192.168.1.10", "staticMacAddress" : "00:00:00:00:00:00" } ], "lanVlanId" : 3911, "dhcpEnable" : 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_0000001852520098.html