list_assets_expenses_accounts
POST /list_assets_expenses_accounts
To get the TOTAL COUNT of list of assets and expenses accounts for multiple search criteria.
Use this method with only_counted = 'Y' FIRST to determine how many total records there are for the given criteria.
After you call this method with only_counted = 'Y', then call again this method with only_counted = 'N', and pass the required paging parameters.
To get a list of assets and expenses accounts for multiple search criteria.
| field |
type |
description |
| api_credentials
|
| token |
string |
Credentials provided by Powersoft that allow access to the API |
| filter_define
|
| only_counted |
string |
'Y' = brings only the total of accounts found based on user filter criteria. 'N' = brings the list of the accounts found based on user filter criteria |
| page_number |
integer |
The page number in the entire list. eg Page 1. |
| page_size |
integer |
The number of rows to return. eg 100 rows. Maximum page size allowed is 100 rows. |
| active_type |
string |
'active' = Only the active accounts. 'inactive' = Only the inactive accounts. 'all' = All the accounts(active and inactive) |
| account_code_365_selection |
string |
A comma separated list of 365 accounts codes (eg '111001,111002,...'). If the value is empty then no search criteria by account code is applied. |
| header_code_365_selection |
string |
A comma separated list of 365 headers codes (eg '4324,2161,...'). If the value is empty then no search criteria by header code is applied. |
| account_type_selection |
string |
A comma separated list of accounts type selection (eg 'Expenses,CurrentAssets,...'). Allowed values are 'CostOfSales', 'CurrentAssets', 'Expenses', 'FixedAssets'. If the value is empty then no search criteria by account type is applied. |
Returns
TOTAL COUNT of list of accounts for multiple search criteria (only_counted='Y').
List of accounts for multiple search criteria (only_counted='N').