Skip to main content

Integration Solution Example

Use Case Example

This is a simple example how an integration with Vetera can be triggered and executed. If you want to see more detailed examples on how to use the Vetera API and filter the data, refer to our developer site.

Use case: A third-party system (e.g. a financial system) wants to have immediate information about a newly created consultation in Vetera. This can be archived by combining the webhooks and REST API in the following way by utilising the consultation webhook:

  1. A consultation is created in Vetera.

  2. Vetera sends a consultation HTTP hook notification to the URL defined in the settings.

    • Webhook: Consultation create/update

    • Parameter: consultation_id=123 (consultation with ID 123 has been created)

  3. Third-party system receives the hook and knows that consultation with ID 123 has been created in Vetera.

  4. Third-party system requests the consultation with ID 123 data by using the REST API call.

  5. Vetera returns the data for the consultation with ID 123 in the JSON format.

  6. Third-party system receives the data of the consultation and processes it in the desired way (and creates further REST API calls, if necessary).

Did this answer your question?