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

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

响应示例

返回状态码为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-application:template-application": [
        {
            "template-application-id": "77b3324a-626c-4b2f-be3d-0d6214eee358",
            "template": [
                {
                    "template-id": "f243948c-b822-4ee5-b9c5-84f63a024f0d"
                }
            ],
            "device": [
                {
                    "device-id": "8d394835-cb84-38f3-a4d5-36a7f2074b48",
                    "device-name": "route2"
                }
            ]
        }
    ]
}

返回状态码为400:Bad Request

HTTP/1.1 400 Bad Request
Date: Fri,30 Dec 2022 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_0000002124127186.html