Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Configuration Article | CA-20220907-TP-75

VDG Sense | API | Functions | Video Tagging

Note: This function requires an API license.

Update the video tag title and/or comment field. If a field is omitted, it’s value remains unchanged.
Returns the changed videotag.

Request

command=updatevideotag&id=[UID]&title=[String]&comment=[String]

Response

<result errorcode="0">
    <videotag>
        <id>[UID]</id>
        <serverid>[UID]</serverid> <!-- if zero tag is for all devices -->
        <deviceid>[UID]</deviceid> <!-- if zero tag is for all devices -->
        <startdate>[timestamp]</startdate>
        <enddate>[timestamp]</enddate>
        <title>[String]</title>
        <comment>[String]</comment>
    </videotag>
</result>



[table class="code-table table table-bordered" colwidth="15% | 25% | 60%"] error code | description | remarks 0 | Ok | Ok, no error -18 | General error | An undefined error occured -26 | Videotag does not exist | Videotag does not exist or cannot be found [/table]

node/result

value

remarks

/result

@errorcode

[number]

See error codes below

/result/videotag

id

[UID]

unique id

serverid

[UID]

unique server id

deviceid

[UID]

unique device id

startdate

[timestamp]

Tags with a (local) timestamp >= startdate are returned.

enddate

[timestamp]

Tags with a (local) timestamp < = enddate are returned.

title

[string]

A user defined title

comment

[string]

A user defined comment

error code

description

remarks

0

Ok

Ok, no error

-18

General error

An undefined error occured

-26

Videotag does not exist

Videotag does not exist or can not be found

See Also

Changelog

  • 2.4.3 – Added

  • No labels