API Reference
Start developing plugins for BizFusion.

 
Bank Account (BankAccountDTO)

You can link zero or more bank accounts to a customer.
Registering a customer's bank account is optional.


Properties
property data type reference
Timestamp String
BankAccountId Int32 Primary Key
BankAccountNumber String
BankId Int32 BankDTO
CustomerId Int32 CustomerDTO


Methods
method parameters URL
Get
/api/BankAccount
Get
Int32 id
/api/BankAccount?id={value}
Get
Int32 pageIndex, Int32 recordsPerPage
/api/BankAccount?pageIndex={value}&recordsPerPage={value}
Post /api/BankAccount
Put /api/BankAccount?id={value}
Delete
Int32 id, String timestamp
/api/BankAccount?id={value}&timestamp={value}
GetRecordCount
/api/BankAccountSet/RecordCount
GetByCustomerId
Int32 id
/api/BankAccountSet/ByCustomerId?id={value}
GetByField
String field, String value
/api/BankAccountSet/ByField?field={value}&value={value}
GetAfterId
Int32 id
/api/BankAccountSet/AfterId?id={value}
GetBeforeId
Int32 id
/api/BankAccountSet/BeforeId?id={value}
GetMaxId
/api/BankAccountSet/MaxId


JSON sample
{
  "BankAccountId": 1,
  "BankAccountNumber": "123456789",
  "BankId": 2,
  "CustomerId": 2,
  "Timestamp": "AQIDDw=="
}


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.