API Reference
Start developing plugins for BizFusion.

 
Account Group (AccountGroupDTO)

Each ledger account belongs to an account group.
The value of the account group determines where an account appears.

The first 6 can be used to categorize balance accounts.
The last two are used for categorizing Profit & Loss accounts.

1. Fixed assets
2. Current assets
3. Liquid assets
4. Equity
5. Long term liability
6. Short term liability
7. Income
8. Expenses


Properties
property data type reference
AccountGroupId Int32 Primary Key
AccountGroupName String
Timestamp String


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


Enum Values
1 = FixedAssets
2 = CurrentAssets
3 = LiquidAssets
4 = Equity
5 = LongTermLiability
6 = ShortTermLiability
7 = Income
8 = Expenses


* This object is read only.

JSON sample
{
  "Timestamp": "AQIDAQ==",
  "AccountGroupId": 8,
  "AccountGroupName": "Expenses"
}


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.