华为乾坤-创建设备:请求示例

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

请求示例

HTTP的示例
POST /controller/campus/v3/devices 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
{
	"devices" : [
		{
			"esn" : "2102351BTJ0000000666",
			"name" : "AR1",
			"siteId" : "00000000-0000-0000-0000-000000000000",
			"description" : "AR",
			"resourceId" : "HUAWEI",
			"deviceModel" : "AR161EW",
			"systemIp" : "192.168.1.1",
			"tags" : ["AP01"],
			"ztpConfirm" : true,
			"role" : ["Gateway"],
			"performance" : 0
		}
	],
	"isRegisterEnable" : true,
	"forceRegister" : true
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002163880601.html