Commit 3fc63d99 authored by David Koch's avatar David Koch
Browse files

Updates on Readme

parent 62bd69a6
This is the API of Cars & Co to send a contract and payment information (JSON-file) to our workflow implementation.
## How to integrate the API?
missing.
## How to use the API?
In the CarsandCoApiClient.java there are two methods:
1. sendContract(RepairContract contract)
2. sendPaymentNotification(PaymentNotification note)
1. sendContract(RepairContract contract)
2. sendPaymentNotification(PaymentNotification note)
These functions take the defined object, convert it into JSON and send it to our endpoints via HTTP POST.
In order to use them, just create the corresponding object needed for those functions with the API and fill it with the required data.
All attributes are described with JavaDoc commentary.
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment