Go to documentation repository
GET http://{login}:{password}@IP-address:[port]/web2/secure/video/action.do?version={version}&sessionid={session_id}&cam.id={cam_id}&target=PTZ&targetid={PTZ_device_id}&command={command}&login={login}&password={password}&speed={speed}&preset={preset}
Important!
Login and password must be specified twice in the request: before the IP address and in parameters. In both cases, this is the same login and password of the Axxon PSIM user.
Parameter | Is required | Description |
---|---|---|
version | Yes | See Product version |
session_id | Yes | Session ID |
cam_id | Yes | Camera ID |
PTZ_device_id | Yes | ID of the PTZ control panel related to the camera (can be obtained in configuration request – see Getting a list of all server objects) |
command | Yes | The command to be executed. It can take one of the following values:
|
login | Yes | Axxon PSIM username, if set |
password | Yes | Axxon PSIM user password, if set |
speed | Yes | Command-processing speed (from 0 to 10). It is recommended to use low values due to delays while controlling by network |
preset | No | Number of preset. Required parameter only for the command=GO_PRESET. Otherwise its value is ignored. x – x coordinate relatively the image size. It takes values from 0.0 to 1.0. Required parameter only for the command=POINTMOVE or command=AREAZOOM. Otherwise its value is ignored. y – y coordinate relatively the image size. It takes values from 0.0 to 1.0. Required parameter only for the command=POINTMOVE or command=AREAZOOM. Otherwise its value is ignored. w – width of zooming area relatively the image size. It takes values from 0.0 to 1.0. Required parameter only for the command=AREAZOOM. Otherwise its value is ignored. h – height of zooming area relatively the image size. It takes values from 0.0 to 1.0. Required parameter only for the command=AREAZOOM. Otherwise its value is ignored. |
GET http://user:pass@127.0.0.1:8085/web2/secure/video/action.do?version=1.0.1.224&cam.id=5cam.id=1&target=PTZ&targetid=1.1&command=RIGHT&login=user&password=pass&speed=2