Hi I feel like there's a couple of things missing that would really help. To have a way of counting records (useful for when calculating pagination for instance). So for example a Count(Receipts/Quotes/Invoices/etc) method would be good. To be able to limit the number of records returned and have a limit offset option within the methods. So for example: return 50 invoices starting with an offset of 50 would return records 50 to 100 At the moment, when calling the GetReceipts method, it returns all the records. I honestly don't know how this method could even be useful for customers with more than a couple of hundred records, as it just takes too long to load into memory making applications painfully slow. What do people think? Am i missing a way of doing this already? Cheers
I suppose you could use GetInvoicesByDateRange to limit the number of invoices you are fetching - and retrieve all invoices for a particular month/week, say. There's no guarantee on how many it'll fetch though. Cheers, Mark
GetInvoices_Recent method is nearly what i was after, seems like there are no similar methods for receipts/quotes though :-( I've emailed them to ask if it can be included so we'll see.
support emailed me back. The following API calls have now been added to the API: 1. GetReceipts_Recent [https://securedwebapp.com/api/service.asmx?op=GetReceipts_Recent] 2. GetQuotes_Recent [https://securedwebapp.com/api/service.asmx?op=GetQuotes_Recent] which is nice