|
|
|
# Data Workflow with Business Partners
|
|
|
|
## BVIS
|
|
|
|
### Contracting
|
|
|
|
1. [in] [contract data](bvis/contracting/contract-data)
|
|
|
|
Capitol provides a REST API that accepts JSON data to start the process.
|
|
|
|
2. [out] [contract data](bvis/contracting/contract-data) (insurance benefits may have been added)
|
|
|
|
BVIS provides a REST endpoint that accepts JSON data.
|
|
|
|
3. [] **???**
|
|
|
|
|
|
|
|
### Accident
|
|
|
|
1. [in] [accident data](bvis/accident/accident-data)
|
|
|
|
Capitol provides a REST endpoint that accepts JSON data to start the process.
|
|
|
|
|
|
|
|
* Capitol contract id
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
* BVIS customer id
|
|
|
|
* car
|
|
|
|
|
|
|
|
to identify the contract and
|
|
|
|
|
|
|
|
* process id
|
|
|
|
* date
|
|
|
|
* damage description
|
|
|
|
|
|
|
|
2. [out] contact BVIS if accident is a liability case [liability information](bvis/accident/liability-information)
|
|
|
|
BVIS provides a REST endpoint that accepts JSON.
|
|
|
|
|
|
|
|
* process id
|
|
|
|
* contract id
|
|
|
|
* liability flag
|
|
|
|
|
|
|
|
**TODO** adopt workflow model
|
|
|
|
|
|
|
|
## Cars & Co
|
|
|
|
### Accident
|
|
|
|
1. [out] contact Cars & Co if accident is liability case [data](bvis/accident/-data)
|
|
|
|
|
|
|
|
**@see** BVIS->Cars & Co
|
|
|
|
|
|
|
|
* car
|
|
|
|
* damage description
|
|
|
|
* customer id (of Capitol for Cars & Co)
|
|
|
|
|
|
|
|
2. [in] receive [bill](bvis/accident/billing-data)
|
|
|
|
Capitol provides a REST endpoint that accepts JSON.
|
|
|
|
|
|
|
|
* kontoinhaber
|
|
|
|
* iban
|
|
|
|
* bic
|
|
|
|
* betrag
|
|
|
|
* referenznummer
|
|
|
|
* posten
|
|
|
|
|
|
|
|
3. [out] pay Cars & Co [payment data](bvis/accident/payment-data)
|
|
|
|
This will simulate a payment transaction to Cars & Co via a bank.
|
|
|
|
Cars & Co provides a REST endpoint that accepts JSON.
|
|
|
|
|
|
|
|
* iban
|
|
|
|
* bic
|
|
|
|
* betrag
|
|
|
|
* verwendungszweck |