Forum Discussion
Hi,
You can do this using odata queries on most endpoints
https://developer.myob.com/api/myob-business-api/api-overview/retrieving-data/#FILTER
Just need to append it to your request uri
Cheer
JF
- Nocturnal7 months agoCover User
Hi JeremyF ,
Yup, I can do this on Sales Invoice and Orders because they have the LastModified data available on those end points, but for Purchase Orders and Bills I cant do this because they dont have the same columns and they are returning empty dataset when addind that filter (see image below).
Looks like LastModified data needed to be added on Purchases endpoints.
- Mike_James7 months agoUltimate Cover User
Hi Nocturnal , the Rowversion value can also be stored and compared. We do this where lastmodified is not available.
We also find that larger files generally take longer to process, although the API's performance is usually very good. We did find it necessary to compress the API result in one endpoint (item purchases), due to a case where the client had very lengthy purchases.
- Nocturnal7 months agoCover User
Hi Mike_James,
Yes, thats the same flow I am using but my client is looking for solution to make it even faster yet wont cause bigger cost for the infra side. I was thinking firing multiple thread that can process multiple pages but this will cause bigger cause for infra side thats why I am thinking if its possible to request for the "LastModified" data to be availble on all endpoints.
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Find technical support and help for all MYOB products in our online help centre
Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.