华为乾坤-查询模板:响应示例

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

响应示例

返回状态码为200:Successful operation

HTTP/1.1 200 OK
Date: Fri,03 Dec 2021 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
{
    "huawei-nce-aoc-config-template:output": {
        "template-infos": [
            {
                "template-id": "f2ce253d-5ad3-44c7-a845-e6d70d57fbac",
                "template-name": "test",
                "package-type": "GND",
                "create-type": "customize",
                "template-format": "ui",
                "children-number": 0,
                "empty-template": false,
                "feature-view-mode": "full"
            },
            {
                "template-id": "d6f23e9a-58d6-4195-82d3-20946c8cc673",
                "template-name": "hq",
                "package-type": "GND",
                "create-type": "customize",
                "template-format": "ui",
                "children-number": 1,
                "empty-template": false,
                "feature-view-mode": "full"
            }
        ],
        "total-num": 2
    }
}

返回状态码为400:Bad Request

HTTP/1.1 400 Bad Request
Date: Thu,05 Jan 2023 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_0000002159327161.html