lastUpdatedDuration parameter for Tracker API

I’m trying to use the lastUpdatedDuration parameter of the trackedEntityInstances endpoint. There is some doucmentation here, but I can not figure out the correct syntax. Can someone provide me the syntax to retrieve everything updated in the last 7 days?

Thanks,
Kayla

Thanks for posting the link to the docs. Here’s an example, @kstankevitz:

your_instance_URL/api/33/trackedEntityInstances?program=IpHINAT79UW&ou=r5WWF9WDzoa&lastUpdatedDuration=2498d

1 Like

I would have sworn this is what I tried… but yes, it works! Thank you!

1 Like