华为乾坤-查询设备:响应示例

时间:2023-12-08 14:36:22

响应示例

返回状态码为200:查询设备信息成功,响应体参考GetDeviceResponseBean。

HTTP/1.1 200 OK
Date: Sun,10 Sep 2023 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
{
	"errcode" : "0",
	"errmsg" : "success",
	"pageIndex" : 1,
	"pageSize" : 20,
	"totalRecords" : 2,
	"data" : [
		{
			"id" : "b473118d-17ff-4f4f-9fa9-a4c0e1e87e42",
			"name" : "AR1",
			"esn" : "2102351BTJ0000000666",
			"deviceModel" : "AR161EW",
			"deviceType" : "AR",
			"status" : "0",
			"siteId" : "ea25fdbf-8dee-4823-bac2-5bfe8e3359ca",
			"mac" : "xx-xx-xx-xx-xx-xx",
			"ip" : "192.168.0.10",
			"manageIp" : "192.168.0.10",
			"neType" : "AR161EW",
			"version" : "V300R003C00",
			"vendor" : "HUAWEI",
			"description" : "HUAWEI",
			"resourceId" : "HUAWEI",
			"tenantId" : "ea25fdbf-8dee-4823-bac2-5bfe8e3359ca",
			"tenantName" : "tenant@huawei.com",
			"siteName" : "test1",
			"createTime" : "2017-12-13 01:37:28",
			"registerTime" : "2017-12-13 01:37:28",
			"modifyTime" : "2017-12-13 01:37:28",
			"startupTime" : "2017-12-13 01:37:28",
			"tags" : [
				 ""
			],
			"systemIp" : "192.168.1.1",
			"patchVersion" : "V200R019SPH",
			"ztpConfirm" : false,
			"manageStatus" : "ABNORMAL",
			"manageStatusDownReason" : ["NEED_ZTP_CONFIRM","DEVICE_HAS_BEEN_ISOLATED"],
			"role" : ["Gateway"],
			"performance" : "",
			"uptime" : "0 天 1 时 10 分"
		}
	]
}
support.huaweicloud.com/qiankuncmn-qiankuncs/qiankuncs_cmn_08_0028.html