Use Case Example
This is a simple example how an integration with Provet can be triggered and executed. If you want to see more detailed examples on how to use the Provet 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 Provet. This can be archived by combining the webhooks and REST API in the following way by utilising the consultation webhook:
A consultation is created in Provet.
Provet 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)
Third-party system receives the hook and knows that consultation with ID 123 has been created in Provet.
Third-party system requests the consultation with ID 123 data by using the REST API call.
Provet returns the data for the consultation with ID 123 in the JSON format.
Third-party system receives the data of the consultation and processes it in the desired way (and creates further REST API calls, if necessary).
