API Reference
Start developing plugins for BizFusion.

 
Journal Line (JournalLineDTO)

A journal entry consists of two or more journal lines.
The journal line specifies which account needs to be debited or credited.

You need to specify a debit or credit value on the journal line.
You cannot specify both.


Properties
property data type reference
Timestamp String
JournalLineId Int32 Primary Key
JournalEntryId Int32 JournalEntryDTO
AccountId Int32 AccountDTO
Debit Decimal
Credit Decimal


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


* This object is read only.

JSON sample
{
  "JournalLineId": 1,
  "JournalEntryId": 1,
  "AccountId": 7,
  "Debit": 0.0,
  "Credit": 299.0,
  "Timestamp": "AQIDKQ=="
}


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.