*getPresetImage

Configuration Article | CA-20220907-TP-50

VDG Sense | API | Functions | Media

Get the preset images of a dome, a preset image is a represented image of the located preset position.

Request

command=getpresetimage&serverid=[UID]&deviceid=[UID]&preset=[number]& imagewidth=[number >40&number <2560&#93;&imageheight=&#91;number>40&number<1600&#93; &#91;/sourcecode&#93;   &#91;table class="code-table table table-bordered" colwidth="15%|25%|60%"&#93; parameter|type|remarks serverid |&#91;UID&#93;|unique server id. deviceid |&#91;UID&#93;|unique device id. preset |&#91;number&#93;|the number of the preset imagewidth |&#91;number > 40 & number < 2560&#93;|optional image width for transcoding imageheight |&#91;number > 40 & number < 1600&#93;|optional image height for transcoding &#91;/table&#93; <h2>Response</h2>     jpeg image (or result in case of error)

error code

description

remarks

error code

description

remarks

-2

No device

 No device found for the supplied cameraid/deviceid

-11

No image

There is no image found to return

-21

Device not acive

The device is not active in the current profile and cannot produce any results

Changelog

  • 2.1.1   – Added