周计划获取
GET
https://api2.hik-cloud.com/api/v1/open/access/plans/weeks/config
根据周计划编号获取设备上的周计划
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api2.hik-cloud.com/api/v1/open/access/plans/weeks/config' \
--header 'Authorization: Bearer '
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": {
"enable": true,
"weekPlan": [
{
"week": "Monday",
"timeSegment": [
{
"index": 1,
"enable": true,
"beginTime": "08:00:00",
"endTime": "09:30:00"
},
{
"index": 2,
"enable": false,
"beginTime": "00:00:00",
"endTime": "00:00:00"
}
]
}
]
}
}
请求参数
Query 参数
configType
string
可选
示例值:
userRight
deviceId
string
设备ID
示例值:
xxxxxx
planNo
string
可选
示例值:
1
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
返回响应
修改于 2022-05-20 09:38:46