Wiki

Clone wiki

Numera.LibrisAPI / event.view

Home > API Reference Documentation > event.view

event.view

The event.view action is used to load up all of the details for an event.

Input Parameters

PropertyRequiredDescription
idyesThe id of an event you want to load

Output

The result object represents a complete event object:

PropertyDescription
idevent id
timeevent time
event_collector_idevent_collector related to the event
imeidevice imei
realmrealm in use at time of event
event_typetype of event
scripta string that usually contains a json object that can be re-hydrated, see the Event Dictionary for more details of how this is used for each event type
statestate of the event
rvif the event was related to a real time server connection, this would represent the id of that connection
fall_timefor call events related to falls
fall_dispositionif the call center agent set the disposition on the call, it will show up here
locationif the event has a location on it, this will contain a location object with the following properties:
  • time - time the location was obtained
  • latitude - latitude of the fix
  • longitude - longitude of the fix
  • method - how the fix was obtained
  • address - if the location has been previously translated into an address, this field will be populated
event_dataif the event has files attached to it (such as a classify event), this will be an array with information about each file:
  • name - file name
  • created - time created
  • key - can be used to retrieve the file (id of the file)
  • type - tells you the type of the file, CSFD (fall detection data), JPEG (image)
  • size - size in bytes of the file

Possible Status Codes

Status CodeReasonDescription
1000MISSING_EVENT_IDYou need to pass in the id
1001EVENT_DOES_NOT_EXISTThe event could not be found or the user does not have access to it

Updated