Filter inactive clients


#1

Hi
I would like to return a list of only active clients from the API as per in the practice dashboard drop down to view active clients. The logical place I would of expected would be from the Accountancy Practice API. Is this missing from the documentation or is this information held in another place.

Many Thanks
Nick


#2

Hi, Nick.

Unfortunately you’re 100% right. There’s no way to filter them out and there’s no way to tell which ones are active without first making a call against them.

I’ve opened a card on our public request board (https://trello.com/c/aOoPziQi/56-clients-endpoint-doesnt-include-client-status) and we’ll take a closer look at it.

Apologies,

Pat George, FreeAgent


#3

ok thanks Pat, I’ll keep an eye on the request


#4

Hi, Nick.

Quick update to let you know we added a new field status to the output of the clients. It will typically be “Active Licence”, “Closed Licence”, or “Inactive Licence”.

Take care,

Pat George


#5

Fantastic thanks for updating this.