华为乾坤-新增时间段模板:请求示例

时间:2025-05-12 15:32:00

请求示例

HTTP的示例
POST /controller/campus/v3/networkconfig/timetemplate HTTP/1.1 
Host: 192.168.1.125:18002 
Content-Type: application/json 
Accept: application/json 
Accept-Language: en-US 
X-AC CES S-TOKEN:CA48D152F6B19D84:637C38259E6974E17788348128A430FEE150E874752CE754B6BF855281219925 
{
    "templateName": "tem01",
    "dayContentDtoList": [{
        "switchDay": 1,
        "startTime": "08:00",
        "endTime": "18:00",
        "onOff": true
    },
    {
        "switchDay": 2,
        "startTime": "08:30",
        "endTime": "20:30",
        "onOff": true
    },
    {
        "switchDay": 3,
        "startTime": "08:00",
        "endTime": "18:00",
        "onOff": true
    },
    {
        "switchDay": 4,
        "startTime": "08:30",
        "endTime": "20:30",
        "onOff": true
    },
    {
        "switchDay": 5,
        "startTime": "08:00",
        "endTime": "18:00",
        "onOff": true
    },
    {
        "switchDay": 6,
        "startTime": "08:00",
        "endTime": "18:00",
        "onOff": true
    },
    {
        "switchDay": 7,
        "startTime": "08:00",
        "endTime": "18:00",
        "onOff": true
    }]
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001852522110.html