华为乾坤-查询区域详情信息:响应示例

时间:2025-02-17 11:36:27

响应示例

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

HTTP/1.1 200 OK
{
  "errorCode": 0,
  "errorMsg": null,
  "totalSize": 2,
  "regionDetails": [
    {
      "nodeId": "7f75baad-c780-43a0-b2df-40e77b602e93",
      "tenantId": null,
      "siteId": null,
      "resType": "Region",
      "name": "2F",
      "remark": null,
      "parentNodeId": "82cc0ef8-0a10-4a44-bdb2-47244a7b6059",
      "posX": 564.0,
      "posY": 300.0,
      "longitude": null,
      "latitude": null,
      "scaleLength": "0.01999",
      "bgImageName": "1685515888186.jpg",
      "regionType": "region"
    },
    {
      "nodeId": "09e6f195-65f6-44e3-a4c1-b366b3d2c044",
      "tenantId": null,
      "siteId": null,
      "resType": "Region",
      "name": "1F",
      "remark": null,
      "parentNodeId": "82cc0ef8-0a10-4a44-bdb2-47244a7b6059",
      "posX": 500.0,
      "posY": 300.0,
      "longitude": null,
      "latitude": null,
      "scaleLength": "0.01229",
      "bgImageName": null,
      "regionType": "region"
    }
  ]
}

返回状态码为400:参数错误

HTTP/1.1 400 Bad Request
Date: Tue,30 Oct 2018 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive

返回状态码为403:URL鉴权

HTTP/1.1 403 Forbidden
Date: Tue,30 Oct 2018 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive

返回状态码为404:rest接口没找到

HTTP/1.1 404 Not Found
Date: Tue,30 Oct 2018 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive

返回状态码为406:流控限流

HTTP/1.1 406 Not Acceptable
Date: Tue,30 Oct 2018 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive

返回状态码为500:默认ServiceException异常码,应用内部错误

HTTP/1.1 500 Internal Server Error
Date: Tue,30 Oct 2018 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive

返回状态码为502:网关错误

HTTP/1.1 502 Bad Gateway
Date: Tue,30 Oct 2018 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive

返回状态码为503:服务不可用

HTTP/1.1 503 Service Unavailable
Date: Tue,30 Oct 2018 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive

返回状态码为504:表示时间超时,总线超时时间300s

HTTP/1.1 504 Gateway Timeout
Date: Tue,30 Oct 2018 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_0000001847197140.html