Help with pagination and getRecords
I need to list the unpaid invoices, it works like this:
search_map = {"status":"unpaid"};
invoices = zoho.books.getRecords("Invoices",organization.get("organization_id"),search_map,"conn");
The problem is when there is more than 200 results, in the results I can see there is more entries:
- pagination = invoices.get("page_context");
- info pagination.get("has_more_page"); // this returns TRUE if more than 200
How can I request the page 2?