开发者平台

TP-LINK官网首页
开发者平台 / 视频管理系统(VMS)/ API功能接口定义 / 球机控制

4.7.9 操作高速球机的巡航点

接口说明:

名称 内容
URL https://xxx/tums/ptz/v1/executeTour
功能说明 操作高速球机的巡航点
使用限制

请求参数:

参数名称 参数描述
id
String
设备索引
tourId
String
巡航点索引
action
String
操作类型
取值范围:
“start”、“stop”、“pause”

返回参数:

参数名称 参数描述
error_code 返回码,0 – 成功,其他- 失败,具体请参考返回码章节

代码示例

          https://xxx/tums/ptz/v1/executeTour
          request:
          {
              "id" : "1",
              "tourId" : "1",
              "action" : "start"
          }
          response:
          { 
          "error_code": 0
          }