Home / Docs Center / Device API Reference / Recording ScheduleSettings
Recording ScheduleSettings
Project: Device Interface Document (New Version) | page_id: 1093
Brief Description
- Recording plan configuration
Request URL
/xsw/api/record/plans
Request Method
- POST
Parameters
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| channel | Yes | int | Channel index, starting from 0 |
| curPlans | Yes | string | 7*24 length string. 0 means disabled, 1 means enabled |
Return Example
{
"code": 0,
"msg": "",
}
Return Parameter Description
| Parameter Name | Type | Description |
|---|---|---|
| code | int | Status code. 0 means success, others mean failure |
| msg | string | Failure message |
Notes
- Recording is performed according to a 7-day 24-hour plan. The smallest unit is the hour, starting from Monday
Didn't find what you need?Contact us,Talk to our engineers directly.