Jump to content

API "getinvoices" order changed?


Corneliu

Recommended Posts

Hi,

 

We noticed that in one of the last releases (not sure which) the order of the invoices returned by the "getinvoices" API call has changed.

Page 0 now has the newest invoices while the last page has the oldest ones.

 

1. Is there a way to control this behaviour? This broke our integration with other products that were trying to read the last page only. Can we force them to always be in a specific order?

 

2. Is there a way through the API to check the version of WHMCS so we can adjust the reading order through the API (first page first in the new version or last page for older version of whmcs)?

 

3. Could we ask for only the invoices that were changed since a timestamp? Currently we need to reload all the invoices in order to see if any was paid or changed. This implies for few of our customers loading over 10000 invoices every hour to check for changes.

 

Thanks,

Corneliu.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated