You've already forked akaunting-py
Basic API Call complete with exceptions/tests
This commit is contained in:
70
data/GetAccountsList.json
Normal file
70
data/GetAccountsList.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"data":[
|
||||
{
|
||||
"id":1,
|
||||
"company_id":1,
|
||||
"name":"Cash",
|
||||
"number":"1",
|
||||
"currency_code":"NZD",
|
||||
"opening_balance":0,
|
||||
"opening_balance_formatted":"$0.00",
|
||||
"current_balance":-250,
|
||||
"current_balance_formatted":"-$250.00",
|
||||
"bank_name":"Cash",
|
||||
"bank_phone":"None",
|
||||
"bank_address":"None",
|
||||
"enabled":true,
|
||||
"created_by":"None",
|
||||
"created_at":"2022-05-13T03:14:40+12:00",
|
||||
"updated_at":"2022-05-13T03:32:28+12:00"
|
||||
},
|
||||
{
|
||||
"id":3,
|
||||
"company_id":1,
|
||||
"name":"Kiwibank Visa",
|
||||
"number":"4446-89**-****-5385",
|
||||
"currency_code":"NZD",
|
||||
"opening_balance":-250,
|
||||
"opening_balance_formatted":"-$250.00",
|
||||
"current_balance":-250,
|
||||
"current_balance_formatted":"-$250.00",
|
||||
"bank_name":"None",
|
||||
"bank_phone":"None",
|
||||
"bank_address":"None",
|
||||
"enabled":true,
|
||||
"created_by":1,
|
||||
"created_at":"2022-05-13T16:19:26+12:00",
|
||||
"updated_at":"2022-05-13T16:19:26+12:00"
|
||||
},
|
||||
{
|
||||
"id":2,
|
||||
"company_id":1,
|
||||
"name":"WHS Account",
|
||||
"number":"38-9011-0510023-03",
|
||||
"currency_code":"NZD",
|
||||
"opening_balance":0,
|
||||
"opening_balance_formatted":"$0.00",
|
||||
"current_balance":200,
|
||||
"current_balance_formatted":"$200.00",
|
||||
"bank_name":"Kiwibank",
|
||||
"bank_phone":"None",
|
||||
"bank_address":"None",
|
||||
"enabled":true,
|
||||
"created_by":1,
|
||||
"created_at":"2022-05-13T16:16:16+12:00",
|
||||
"updated_at":"2022-05-13T16:16:16+12:00"
|
||||
}
|
||||
],
|
||||
"meta":{
|
||||
"pagination":{
|
||||
"total":3,
|
||||
"count":3,
|
||||
"per_page":25,
|
||||
"current_page":1,
|
||||
"total_pages":1,
|
||||
"links":{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user