New Tracker API: Are relative periods supported for time-based parameters: occuredAfter/Before, etc

The core question is in the title. I would like to use: TODAY, LAST_WEEK, etc as a value for date parameters in an API call using the new tracker API.

Is this possible, yet?

Chase

Hi @chase.freeman,

Thank you for your question! I’ve tried to get it working using relative periods but this doesn’t seem to have been implemented in the new tracker (yet? Would you like to create a feature request in Jira.dhis2.org?)

I’m getting the following error when I try the relative period,

It works when I change the relative period to a date format: