6.7. Auto Patrol
The APIs below are related to auto patrol. These are equivalent to the features on the Auto Patrol page of the WEB setting page. Refer to the instruction manual for details on the Auto Patrol page.
Start/Stop of Auto Patrol for VN-V685/686/686B
Format /api/param?camera.motion.auto_patrol(number).status=data
Example to start auto patrol mode 1
/api/param?camera.motion.auto_patrol(0).status=start
Example of Response camera.motion.auto_patrol(0).status&200 OK
Interpretation Start/stop a mode of auto patrol. Auto patrol mode is from 0 to 2. Specify start or stop.
Caution: When a mode is started, auto patrol mode of Auto Return is changed to the specified mode if auto patrol is registered as Auto Return.
Allowed users admin, operator
Getting Status of Auto Patrol from VN-V685/686/686B
Format /api/param?camera.motion.auto_patrol(number).status
Example of response camera.motion.auto_patrol(0).status=moving&200 OK
Interpretation Acquire current status of a mode of auto patrol. Auto patrol mode is from 0 to 2. "moving" or "stop" is
returned.
Allowed users admin, operator, user
Getting Preset Postion Number of Auto Patrol from
Format /api/param?camera.motion.auto_patrol(number1).position(number2)
Example to get preset position number of patrol nuber 3 in mode 1
/api/param?camera.motion.auto_patrol(0).position(3)
Example of response camera.motion.auto_patrol(0).position(3)=5&200 OK
Interpretation Acquire preset position number of specified patrol number in a mode of auto patrol. Auto patrol mode is from 0 to 2. Patrol number is from 0 to 99. Preset position number from 0 to 99 is returned.
Allowed users admin, operator, user
Setting Preset Postion Number of Auto Patrol for
Format /api/param?camera.motion.auto_patrol(number1).position(number2)=data
Example of Response camera.motion.auto_patrol(0).position(3)&202
Accepted(camera.motion.auto_patrol.status=save)
74