...
Response | ||||
---|---|---|---|---|
| ||||
lt;result errorcode=quot;0"> | ||||
<event> | ||||
<eventid></eventid> | ||||
<eventtype></eventtype> | ||||
<eventdescription></eventdescription> | ||||
<eventvalue></eventvalue> | ||||
<eventtime></eventtime> | ||||
<serverid></serverid> | ||||
<serverdescription></serverdescription> | ||||
<deviceid></deviceid> | ||||
<devicedescription></devicedescription> | ||||
</event> | ||||
... | ||||
lt;/eventsgt; | ||||
lt;/resultgt; | ||||
[table class="code-table table table-bordered" colwidth="15% | 25% | 60%"] | ||
node | value | remarks | ||
/result | ||||
@errorcode | [number] | See error codes below | ||
/result/events | ||||
@count | [number] | The number of events. | ||
lastEventId | [UID] | id of the last event. | ||
/result/events/event | ||||
eventid |
| id of event. | ||
eventype |
| type of event. (Available in API version < 2.7.1) | ||
eventdescription | description of event. | |||
eventvalue | value of event. | |||
eventtime |
| Time stamp of event in UTC time. | ||
serverid |
| Id of server where the event occurred. | ||
serverdescription |
| Description of the server | ||
deviceid |
| Id of device which triggered the event. | ||
devicedescription | Description of the device | |||
error code | description | remarks |
---|---|---|
0 | Ok | Ok, no error |
-2 | No device | No device found for the supplied camareaid/deviceid |
-4 | Invalid timestamp | Invalid datetime format. See Timestamp. |
...
To get the latest event id ommit the startid or give it a zero or negative value.
Command url:
|
Result:
...
|
...