curl --location --request POST 'https://api2.hik-cloud.com/api/v1/open/access/plans/holidays' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"customPlanId": "xxxxxxx",
"enable": true,
"beginDate": "2019-08-08",
"endDate": "2019-08-09",
"holidayPlan": [
{
"index": 1,
"enable": true,
"beginTime": "20:00:00",
"endTime": "22:00:00"
}
]
}'
{
"code": 200,
"message": "操作成功"
}