门禁计划获取
GET
https://api2.hik-cloud.com/api/v1/open/access/plans/templates/config
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api2.hik-cloud.com/api/v1/open/access/plans/templates/config' \
--header 'Authorization: Bearer '
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": {
"enable": true,
"templateName": "xxx",
"weekPlanNo": 1,
"holidayGroupNo": "1,3,5"
}
}
请求参数
Query 参数
configType
string
可选
示例值:
userRight
deviceId
string
设备ID
示例值:
xxxxxx
templateNo
string
计划编号,从1开始
示例值:
1
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
返回响应
修改于 2022-05-20 10:08:25