Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuration Article | CA-20220907-TP-25

VDG Sense | API | Functions | Events

Image Added

PDF Download

Table of Contents

This command returns a Comma-Separated Values text (CSV) of events from the database.

...

The list can be limited by supplying starttime, endtime and/or limit. Refer to chapter Result Lists for an explanation of these parameters. If no limit argument is supplied, a default of 100 records is returned. The result is always sorted in ascending time.

Request

Code Block
command=exportEvents&serverid=[UID]&deviceid=[UID]&types=[commalist]&starttime=[timestamp]&endtime=[timestamp]&limit=[number]


parameter|type|remarks
serverid|[UID]|filters events from a specific server.
cameraid|[UID]|filters events from a specific device.
types|[string]|types delimited with comma can be retrieved with getEventTypes
starttime|[timestamp]|events with a (local) timestamp >= startdate are returned.
endtime|[timestamp]|events with a (local) timestamp <= enddate are returned. limit|[number]|determines the limit of the resulting event count. [/table]

...