← Back to team overview

dhis2-devs team mailing list archive

Re: trackedEntityInstances date and time filter

 

Hi,

Is it possible to filter by the lastUpdated (date and time)  of  the trackedEntityInstances  using the endpoint trackedEntityInstances?

<trackedEntityInstance created="2018-10-31T13:03:12.137" orgUnit="G7g4TvbjFlX" createdAtClient="2018-10-31T13:04:28.701" trackedEntityInstance="iLlGg5SjJY1" lastUpdated="2018-10-31T13:04:28.701" trackedEntityType="sD7b8KtOogp"lastUpdatedAtClient="2018-10-31T13:04:28.701">


Thanks!

De: Dhis2-devs [mailto:dhis2-devs-bounces+tomas.sala=barcelona.msf.org@xxxxxxxxxxxxxxxxxxx] En nombre de Tomas Sala
Enviado el: 31 October 2018 13:34
Para: Abyot Asalefew Gizaw
CC: dhis2-devs
Asunto: Re: [Dhis2-devs] trackedEntityInstances date and time filter

Hi,

Ok, thanks!

De: Abyot Asalefew Gizaw [mailto:abyot@xxxxxxxxx]
Enviado el: 31 October 2018 13:31
Para: Tomas Sala
CC: dhis2-devs
Asunto: Re: [Dhis2-devs] trackedEntityInstances date and time filter

Hi,

Yes, expected behavior.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org


On Wed, Oct 31, 2018 at 1:29 PM Tomas Sala <tomas.sala@xxxxxxxxxxxxxxxxx<mailto:tomas.sala@xxxxxxxxxxxxxxxxx>> wrote:
Hi,

We are using the endpoint trackedEntityInstances and we want to filter by date and time using lastUpdatedStartDate=2018-10-30T18:05:00 but it doesn’t take into account the time, only the date. Is this the expected behaviour?

Thank you!

Tomàs Sala Camarena
Ehealth Technician, eHealth Team
eHealth & Operations Applications (´Apps4OPS´)
Projects & IT Unit
Médecins Sans Frontières (MSF) Spain – Barcelona Office
Fixed: +34 933 213 043
Email / Skype: tomas.sala@xxxxxxxxxxxxxxxxx<mailto:tomas.sala@xxxxxxxxxxxxxxxxx> - www.msf.org<http://www.msf.org/>













_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Follow ups

References