Discussions
attachment filtering on edit date does not work
about 6 years ago by Koen van Besien
Hi,
I am trying to filter the attachement list on attachment edited last month.
But I always get back the full attachment json which is getting very large as we are running servicem8 for a while now.
Could you guide me if I do something wrong with the url filtering?
Based on this I came up with this filter:
https://developer.servicem8.com/docs/filtering
Filter:
https://api.servicem8.com/api_1.0/Attachment.json%24filter=edit_date%20gt%20'2018-09-01'
If I use this in chrome, it gives me some results , but basically all the attachments.
If I try this in postman, my postman just crashes, same with my python script as it seems the json is just to big to parse?
Could you advise me how to get the attachment of last month using the url filter?
Thanks