Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digicom5
api
Commits
3fc63d99
Commit
3fc63d99
authored
Jan 21, 2016
by
David Koch
Browse files
Updates on Readme
parent
62bd69a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
3fc63d99
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment