Home / Docs Center / Device API Reference / PTZPresetSettings
PTZPresetSettings
Project: Device Interface Document (New Version) | page_id: 1002
[TOC]
Brief Description
- Preset point setting
Request URL
/xsw/api/ptz/presetPoint
Request Method
- POST
Parameters
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| value | Yes | int | Preset point operation. 1 - set preset point, 2 - call preset point, 3 - delete preset point |
| point | Yes | int | Preset point position, starting from 0 |
Return Example
{
"msg": "xxx",
"code": 1,
}
Return Parameter Description
| Parameter Name | Type | Description |
|---|---|---|
| code | int | Status code. 0 means success, others mean failure |
| msg | string | Failure message |
Notes
- Preset points start from 0
Didn't find what you need?Contact us,Talk to our engineers directly.