华为乾坤-查询设备业务证书更新状态:响应示例

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

响应示例

返回状态码为200:操作成功

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" : "No Rights",
	"totalRecords" : 10,
	"data" : [
		{
			"deviceId" : "936815c9-f7b3-48ab-bd1a-475cb8b1f092",
			"deviceName" : "Device_AP",
			"esn" : "2102353GSG10LA002185",
			"certFileName" : "ca.pem",
			"deviceModel" : "AP4050DN",
			"dueDate" : "2035-04-17 14:47:30",
			"status" : 0,
			"failureCause" : "No Rights"
		}
	]
}

返回状态码为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
{
	"errCode" : "0x00000003",
	"errMsg" : "No Rights"
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001859078142.html