华为乾坤-查询设备升级:响应示例
时间:2025-05-12 15:32:18
响应示例
返回状态码为200:查询成功的返回信息。
HTTP/1.1 200 OK Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "errcode" : "0", "errmsg" : "error", "data" : [ { "deviceId" : "ea25fdbf-8dee-4823-bac2-5bfe8e3359ca", "deviceName" : "AP-4-5", "esn" : "21500829352SH1903543", "deviceStatus" : 0, "deviceModel" : "AR6120", "deviceType" : "AP", "siteName" : "test", "pkgVer" : "0", "pkgPercent" : 70, "pkgUpStatus" : 0, "patVer" : "V200R020C00SPC001", "patPercent" : 70, "patUpStatus" : 0, "failureCause" : "设备异常.", "rebootTime" : 1637800000, "downloadTime" : 1637800000, "featureUpgradeList" : [ { "name" : "Behavior-Control", "targetVersion" : "V600R022C10", "downloadProcess" : 0, "upgradeStatus" : 0, "failReason" : "下载失败。" } ] } ] }
返回状态码为400:参数错误,查询失败。
HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
返回状态码为500:内部服务器错误。
HTTP/1.1 500 Internal Server Error Date: Sun,11 May 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_0000001852282138.html