Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 1.01 KB

events-api.md

File metadata and controls

20 lines (11 loc) · 1.01 KB

Events

To trigger Events creation from hardware (or other sources) and render them on Timeline in Device profile pages on the web and in the mobile apps, use this API call:

/external/api/logEvent?token={token}&code={event_name}

event_name should be taken from Product Template Settings > Events

****

Options:

To render custom description of the event on the Timeline, use event_description parameter

/external/api/logEvent?token={token}&code={event_name}&description={event_desciption}

>>IMAGE OF TIMELINE WITH EVENT DESCRIPTION (MOBILE AND WEB)