API Reference
Start developing plugins for BizFusion.

 
Bank (BankDTO)

BizFusion comes pre-installed with a list of Dutch banks.
You need to specify a bank when you link a bank account to a customer.
Note, it's optional to link a bank account to a customer.


Properties
property data type reference
BankId Int32 Primary Key
BankName String
Timestamp String


Methods
method parameters URL
Get
/api/Bank
Get
Int32 id
/api/Bank?id={value}
Get
Int32 pageIndex, Int32 recordsPerPage
/api/Bank?pageIndex={value}&recordsPerPage={value}
Post /api/Bank
Put
Int32 id, BankDTO record
/api/Bank?id={value}
Delete
Int32 id, String timestamp
/api/Bank?id={value}&timestamp={value}
GetByEnumId
Int32 enumId
/api/BankSet/ByEnumId?enumId={value}
GetRecordCount
/api/BankSet/RecordCount
GetByField
String field, String value
/api/BankSet/ByField?field={value}&value={value}
GetAfterId
Int32 id
/api/BankSet/AfterId?id={value}
GetBeforeId
Int32 id
/api/BankSet/BeforeId?id={value}
GetMaxId
/api/BankSet/MaxId


Enum Values
1 = Other
2 = ABN_AMRO
3 = ING
4 = RABO
5 = Fortis
6 = DeutscheBank
7 = Postbank


JSON sample
{
  "Timestamp": "AQIDBg==",
  "BankId": 2,
  "BankName": "ABN_AMRO"
}


General Info

- Numbers should be in English format: 124.99
- Dates look like: 2014-12-31T00:00:00
- Time information is ignored.
- Concurrency is handled through timestamps

Create Record (POST)

- Primary keys are not required when doing a post.
- Timestamps are not required when doing a post.
- Provide the JSON record in the body of the post request.

Update Record (PUT)

- Timestamps are required.
- Provide the JSON record in the body of the put request.

Delete Record (DELETE)

- Primary key and Timestamp are required.