Is there a way to retrieve bills related to a specific contact?
The following URL works for retrieving invoicest:
GET https://api.sandbox.freeagent.com/v2/contacts/XXX/invoices
But if I try a similar URL for bills I get a “Resource not found” error:
GET https://api.sandbox.freeagent.com/v2/contacts/XXX/bills
Also, is the method I am using to return invoices for a contact supported?
I can’t see any reference to it in the documentation…
Hi Ross
This should also work:
GET https://api.sandbox.freeagent.com/v2/https://api.sandbox.freeagent.com/v2/contacts/187/invoices
bill?contact=/contacts/123
But like with invoices it looks like a possible bug. We’ll have to dig
into it for you, apologies for this.
OllyOn Wednesday, May 16, 2012 5:25:52 PM UTC+1, Ross Grayton wrote:
Is there a way to retrieve bills related to a specific contact?
The following URL works for retrieving invoicest:
GET https://api.sandbox.freeagent.com/v2/contacts/XXX/invoices
But if I try a similar URL for bills I get a “Resource not found” error:
GET https://api.sandbox.freeagent.com/v2/contacts/XXX/bills
Also, is the method I am using to return invoices for a contact supported?
I can’t see any reference to it in the documentation…