Discussions
Trouble getting Attachments API to work with large data set
I need help getting all the attachment uuid's from ServiceM8.
we have 3 tenants, and for our 2 smaller tenants this seems to work fine return about 179K for one and 89K lines while our largest tenant only returns 17K lines. I am trying to build an application to download several jobs worth of photos for our marketing team, where we can just add in the job numbers we need. This works great for the smaller companies, however, does not work for the large one, where it did the first time I created the app, for reference the large company is around 5 times bigger then the 179K attachments company, so may be an issue of over 1Mil attachments hitting a cap and only able to see the ones after the million?
I have tried several work arounds with dates between and ascending and descending and the result is always the same 17K lines or less, where I know for a fact that there is over that as we have over 40K jobs and all of them have at least one attachment by default.
I need help in either how to explicitely search those older attachments or there may be a fix in the backend that needs updating due to a possible cap being reached that was not accounted for.
Any help would be greatly appreciated.
Kind Regards,
Michael