← Back to team overview

dhis2-devs team mailing list archive

Re: [API] Event filter "status=SCHEDULE" not working

 

Hi Harsh,

I get a bunch of events when requesting this URL now:

https://play.dhis2.org/dev/api/events?trackedEntityInstance=mXAzn3hMR5a

Perhaps something changed on the demo system?

Lars


On Fri, Dec 4, 2015 at 10:08 AM, Harsh Atal <harsh.atal@xxxxxxxxx> wrote:

> Hi
>
> Am trying to get all the scheduled events through API. Have used this URL -
> [ https://play.dhis2.org/dev/api/events?status=SCHEDULE ] It's giving
> empty result.
>
> If you see this URL [
> https://play.dhis2.org/dev/api/events?trackedEntityInstance=mXAzn3hMR5a ]
> you will see one event which has its status=SCHEDULE. PFA screenshot.
>
> In the documentation under events the SCHEDULE filter is not there
> anymore. Is this filter undergoing some change??
>
> Few days back it was working. On demo[ https://play.dhis2.org/demo ] too
> it is working.
>
> Regards
> harsh
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org <https://www.dhis2.org>

Follow ups

References