华为乾坤-查询终端组:响应示例

时间:2025-02-17 11:38:35

响应示例

返回状态码为200:查询成功终端组信息。响应体参考TerminalGroupMgrResult。

HTTP/1.1 200 OK
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
{
	"errcode" : "0",
	"errmsg" : "",
	"pageIndex" : 1,
	"pageSize" : 20,
	"totalNum" : 10000,
	"data" : [
		{
			"id" : "59946d2b-8207-4ab4-8c1e-88c7df343668",
			"groupName" : "HUAWEI",
			"isModify" : true,
			"bsid" : "00000-00001",
			"level" : 5,
			"parentId" : "22fbb5f2-d07e-4710-94ac-7705517ab842",
			"fullpath" : "22fbb5f2-d07e-4710-94ac-7705517ab842/59946d2b-8207-4ab4-8c1e-88c7df343668",
			"description" : "identify"
		}
	]
}

返回状态码为400:校验异常。

HTTP/1.1 400 Bad Request
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_0000002164038877.html