list_banks
GET /list_banks
To get the TOTAL COUNT of the list of banks for search criteria.
Use this method FIRST to determine how many total records there are for the given criteria.
After you call this method, then call the method below, and pass the required paging parameters.
/list_banks?token=XXXXX&active_type=active
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| active_type |
'active' = Only the active banks. 'inactive' = Only the inactive banks. 'all' = All the banks(active and inactive) |
Returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"total_count_list_banks": 2
}
GET /list_banks
To get a list of banks.
/list_banks?token=XXXXX&active_type=active&page_number=1&page_size=10
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| active_type |
'active' = Only the active banks. 'inactive' = Only the inactive banks. 'all' = All the banks(active and inactive) |
| page_number |
The page number in the entire list. eg Page 1 |
| page_size |
The number of rows to return. eg 10 rows |
Returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"list_banks": [
{
"bank_code_365": "111-11-11",
"account_code_365": "213001",
"bank_name": "BANK OF CYPRUS",
"account_type_code_365": "OVER",
"account_type_name": "OVERDRAFT ACCOUNT",
"currency_code_365": "EUR",
"currency_name": "EURO",
"currency_symbol": "€",
"active": true,
"limit_amount": 0,
"expiry_date": "",
"requires_reconciliation": true,
"requires_cheque_printing": true,
"notes": ""
},
{
"bank_code_365": "CASH",
"account_code_365": "124001",
"bank_name": "CASH A/C",
"account_type_code_365": "CSH",
"account_type_name": "CASH ACCOUNT",
"currency_code_365": "EUR",
"currency_name": "EURO",
"currency_symbol": "€",
"active": true,
"limit_amount": 0,
"expiry_date": "1899-12-30",
"requires_reconciliation": false,
"requires_cheque_printing": false,
"notes": ""
}
]
}