Retrieve the complete list of events for an organization; the retention period for events is thirty days.
If multiple events are generated with the same timestamp, to the second, and the same media type, the media file from the last request is used for all of them. To have different media files for each virtual event, use timestamps that differ by at least a second.
Array of Configurable Events (string) or Unconfigurable Events (string) (All Events) |
Successful operation
Bad request error
Unauthorized error
Forbidden error
Not found error
Internal server error
{- "eventTypes": [
- "acceleration"
]
}
{- "data": [
- {
- "id": 3,
- "eventType": "acceleration",
- "imei": "357660101000198",
- "time": "2020-01-01T14:48:00.000Z",
- "lat": 32.0598671,
- "lon": 34.7827316,
- "uniqueness": "357660102858164_button_1697358575",
- "speed": 81.04,
- "accuracy": 4,
- "status": "new",
- "severity": 1,
- "eventComments": [
- {
- "id": 125,
- "comment": "string",
- "createdByAudienceName": "surfsight",
- "createdById": 625,
- "createdBy": {
- "id": 32,
- "email": "email@email.com"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
], - "files": [
- {
- "cameraId": 1,
- "fileType": "video",
- "fileId": "1595077872",
- "mediaAvailable": true
}
], - "geoFenceId": 3,
- "metadata": "{type:'Test event', scope:'Some test scope'}"
}
], - "metadata": {
- "count": 56,
- "limit": 60,
- "offset": 10
}
}