My Products
Help
ricardorodriguez
CONTRIBUTOR *

API: Tyring to retrieve AR and AP balance for subaccounts in less call

by ricardorodriguez

There are some scenarios in which accounts have between 10-40 subaccounts

 

Is there a way to query the total balance of each subaccount (under an account), grouped by subaccount, in one call?

 

In today's scenario, if we have X accounts with Y subaccounts each we need to perform X*Y calls in order to get the balance for each of them.

1 REPLY 1

by Magnus Johnsen

Hi,

 

What endpoint are you calling to get the information that you need?

Are you able to get the balances grouped as you like in the UI?

If so, please provide the screenID and screenshots so that we can have a look at this.

Generally, the API can provide you with the same information as the UI is able to do.

 

Thank you.