华为乾坤-修改该站点模板全局IOT配置信息:请求示例

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

请求示例

HTTP的示例
PUT /controller/campus/v3/networkconfig/site-templates/fbde1c5d-5b94-49e3-a912-48641015e45c/gapiot?isForceOverride=true HTTP/1.1
Host: 192.168.1.125:18002
Content-Type: application/json
Accept: application/json
Accept-Language: en-US
X-AC CES S-TOKEN: x-yyyyyy
{
	"panelName" : "AirEngine5760-10",
	"iotCardDto" : {
		"cardName" : "card1",
		"cardConfigured" : "true",
		"portType" : "ethernet",
		"communicationPort" : 1026,
		"extCommunicationPort" : 1027,
		"communicationProtocol" : "tcp",
		"shareKey" : "",
		"trustedHostAddress" : "192.168.3.2/24",
		"iotServer2" : "192.168.3.2",
		"port2" : "2080",
		"administrativeStatus" : "false",
		"defaultVlan" : "200",
		"description" : "description",
		"iotServerOneConfig" : [
			{
				"serverNum" : "2",
				"iotServer" : "192.168.3.2",
				"port" : "1080"
			}
		],
		"powerSwitch" : "on"
	},
	"cardNames" : ["card1"],
	"operation" : "Update"
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001852139324.html