API Reference
Start developing plugins for BizFusion.

 
Transaction Type (TransactionTypeDTO)

You need to specify a transaction type on a customer voucher.
The transaction type determines if you can link a payment record to the voucher.

The following transaction types are available in the system:

1. Neutral
2. Income
3. Expense
4. Transfer

You can only use the first three transaction types on a custom voucher.
The fourth one is a special transaction type that can only be used on transfer vouchers.


Properties
property data type reference
TransactionTypeId Int32 Primary Key
TransactionTypeName String
Timestamp String


Methods
method parameters URL
Get
/api/TransactionType
Get
Int32 id
/api/TransactionType?id={value}
Get
Int32 pageIndex, Int32 recordsPerPage
/api/TransactionType?pageIndex={value}&recordsPerPage={value}
GetByEnumId
Int32 enumId
/api/TransactionTypeSet/ByEnumId?enumId={value}
GetRecordCount
/api/TransactionTypeSet/RecordCount
GetByField
String field, String value
/api/TransactionTypeSet/ByField?field={value}&value={value}
GetAfterId
Int32 id
/api/TransactionTypeSet/AfterId?id={value}
GetBeforeId
Int32 id
/api/TransactionTypeSet/BeforeId?id={value}
GetMaxId
/api/TransactionTypeSet/MaxId


Enum Values
1 = Neutral
2 = Income
3 = Expense
4 = Transfer


* This object is read only.

JSON sample
{
  "TransactionTypeId": 2,
  "TransactionTypeName": "Income",
  "Timestamp": "AQIDAg=="
}


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.