← Back to team overview

dhis2-devs team mailing list archive

Re: Pushing events through the API without the eventdate

 

Hi Jose

Yes, I see that we actually allow null for eventDates (and we don't default
to anything).

Maybe it would make sense to default to current date? we do that for
dueDate, Abyot you agree?

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Tue, May 10, 2016 at 10:46 AM, Jose Garcia Muñoz <josemp10@xxxxxxxxx>
wrote:

>
> Hi devs,
>
> At least in the 2.22 it is possible to send events to DHIS2 without the
> eventDate in the payload. As this is not allowed using the web interface,
> would it be possible to avoid this bahaviour as well when we use the API?
> (so no events can be sents without date)
>
> Thanks!
>
> Regards
> Jose
>
> _______________________________________________
> 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
>
>

Follow ups

References