华为乾坤-批量查询站点:响应示例
时间:2025-05-12 15:31:57
响应示例
返回状态码为200:批量查询站点列表返回体,响应体参考querySitesOut。
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 { "data" : [ { "id" : "ea25fdbf-8dee-4823-bac2-5bfe8e3359ca", "tenantId" : "ea25fdbf-8dee-4823-bac2-5bfe8e3359ca", "name" : "site1", "organizationId" : "671cbc38-38eb-49a5-88c4-d7a35bf5bf11", "organizationName" : "南京研究所", "description" : "site1", "type" : ["AP"], "latitude" : "50", "longtitude" : "111", "longitude" : "111", "contact" : "David", "tag" : ["abcd"], "isolated" : false, "email" : "xxx@xxx.xxx", "phone" : "152XXXXXXXX", "postcode" : "215000", "address" : "66 JiangYun Road", "approvalSwitch" : false, "autoApprovalSwitch" : false, "autoTopoCheck" : false, "validityPeriod" : 1, "siteCode" : "", "siteCodeExpireTime" : 1686131018523, "isSiteCodeExpired" : false, "totalDeviceCount" : 100, "siteTag" : "" } ] }
返回状态码为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_0000002128679158.html