dhis2-devs team mailing list archive
Mailing list archive
Re: [API] Event filter "status=SCHEDULE" not working
Events are coming fine, that's not the problem. Problem is when I try to
filter it by "status=SCHEDULE".
So the same URL with that filter returns empty result.
But this should not be empty since the same URL[
without any filter shows one event which has status=SCHEDULE.
On 7 December 2015 at 18:02, Lars Helge Øverland <larshelge@xxxxxxxxx>
> Hi Harsh,
> I get a bunch of events when requesting this URL now:
> Perhaps something changed on the demo system?
> On Fri, Dec 4, 2015 at 10:08 AM, Harsh Atal <harsh.atal@xxxxxxxxx> wrote:
>> 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.
>> 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>