GET /accounts GET /accounts?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of account to fetch |
PUT /accountsBody JSON
| Params | Type | Description |
|---|---|---|
name |
string |
Required. Account name |
description |
string |
Optional. Account description |
star |
boolean |
Required. Account favorite |
type |
string |
Required. Account type |
balance |
integer |
Required. Account balance |
POST /accounts?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of account to update |
Body JSON
| Params | Type | Description |
|---|---|---|
name |
string |
Optional. Account name |
description |
string |
Optional. Account description |
star |
boolean |
Optional. Account favorite |
type |
string |
Optional. Account type |
balance |
integer |
Optional. Account balance |
DELETE /accounts?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of account to delete |
GET /cat_types GET /cat_types?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id type of category to fetch |
PUT /cat_typesBody JSON
| Params | Type | Description |
|---|---|---|
type |
string |
Required. type category |
description |
string |
Optional. description of type category |
icon |
string |
Required. icon of type category |
POST /cat_types?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id type of category to update |
Body JSON
| Params | Type | Description |
|---|---|---|
type |
string |
Optional. type category |
description |
string |
Optional. description of type category |
icon |
string |
Optional. icon of type category |
DELETE /cat_types?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id type of category to delete |
GET /trx_cats GET /trx_cats?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of category to fetch |
PUT /trx_catsBody JSON
| Params | Type | Description |
|---|---|---|
name |
string |
Required. category name |
description |
string |
Optional. category description |
typeid |
integer |
Required. id type of category |
budget |
(Obj) Add Budget |
Optional. data add budget for category |
POST /trx_cats?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of transaction category to update |
Body JSON
| Params | Type | Description |
|---|---|---|
name |
string |
Optional. transaction category name |
description |
string |
Optional. transaction category description |
DELETE /trx_cats?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of transaction category to delete |
GET /trx_cats_budgets?categoryid=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of category |
GET /trx_cats_budgets?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of budget to fetch |
PUT /trx_cats_budgetsBody JSON
| Params | Type | Description |
|---|---|---|
periode |
string |
Required. Periode budget |
allocated |
integer |
Required. Budget allocated |
spent |
integer |
Required. Budget spent |
available |
integer |
Required. Budget available |
categoryid |
integer |
Required. Id of category |
POST /trx_cats_budgets?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of budget to update |
Body JSON
| Params | Type | Description |
|---|---|---|
periode |
string |
Optional. Periode budget |
allocated |
integer |
Optional. Budget allocated |
spent |
integer |
Optional. Budget spent |
available |
integer |
Optional. Budget available |
categoryid |
integer |
Optional. Id of category |
DELETE /trx_cats_budgets?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of budget to delete |
GET /trxs GET /trxs?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of transaction to fetch |
PUT /trxsBody JSON
| Params | Type | Description |
|---|---|---|
credit |
integer |
Required. transaction in to account |
debit |
integer |
Required. transaction out from account |
description |
string |
Optional. transaction description |
datetime |
string |
Required. transaction description. format (yyyy-MM-dd HH:mm:ss) |
accountid |
integer |
Required. transaction out from account |
categoryid |
integer |
Required. transaction out from account |
POST /trxs?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of transaction to update |
Body JSON
| Params | Type | Description |
|---|---|---|
credit |
integer |
Optional. transaction in to account |
debit |
integer |
Optional. transaction out from account |
description |
string |
Optional. transaction description |
datetime |
string |
Optional. transaction description. format (yyyy-MM-dd HH:mm:ss) |
DELETE /trxs?id=${id}Request Query
| Query | Type | Description |
|---|---|---|
id |
string |
Required. Id of transaction to delete |