curl --location --request POST 'https://api2.hik-cloud.com/api/v1/community/access/plans/templates/config/polymerization' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"configType": "userRight",
"deviceId": "xxxxx",
"templateNo": 1,
"enable": true,
"templateName": "xxx",
"weekPlan": {
"planNo": 1,
"customPlanId": "xxxxxxxx"
},
"holidayPlanGroup": [
{
"groupNo": 1,
"enable": true,
"groupName": "xxx",
"holidayPlanList": [
{
"planNo": 1,
"customPlanId": "xxxxxxxx"
}
]
}
]
}'
{
"code": 200,
"message": "操作成功"
}