Scenario
Assume that there is a reporting system in which the status information for tickets from Enneo are to be displayed. The third-party system has a technical interface (API), through which the information about the tickets can be transmitted. The third-party system requires as input parameters when calling the interface, the sender of the ticket and the status of the ticket.Possible Solution
Each status change of a ticket triggers a “TicketUpdated” event. To configure this process, go to Settings -> Integration into Other Systems -> Events and create a new event hook by selecting the “TicketUpdated” event. The configuration process can then begin.Viewing the Data in the Event
The data provided in the event can be viewed on one of the tickets. Here is an example of the data:Example of Customer-Specific Code
If the data available in the event is not sufficient, further data can be loaded in the customer-specific code with the help of the Enneo SDK. Configured input parameters are loaded by Enneo and are available in the Input variable. A valid JSON_object is expected as output, which is displayed after execution in the technical details of the activity log on the ticket.Error handling is deliberately omitted in this code example for better clarity.