This repository contains a reference implementation in Java for the API of the Insolvex insolvency database.
It uses the published Swagger API definition to automatically generate the client into the directory
insolvex-client/
Also a JUnit test is included which shows how to perform insolvency case search and how to create notification requests.
- Apache Maven
- An active Insolvex package with API access
- An API token ("Mein Konto > Einstellungen > API Zugriff > Neuen API-Token erzeugen")
To compile the Insolvex API client, just execute
mvn clean compile
This command fetches the Insolvex API definition from https://api.insolvex.de/swagger.json and creates the API client.
To perform API requests against the Insolvex API (Warning: Notification requests will be created!), just execute
export INSOLVEX_TOKEN=<YOUR_INSOLVEX_TOKEN>
mvn test