← Back to team overview

dhis2-devs team mailing list archive

Re: Metadata API and lastUpdated

 

Hi Carl,

it seems to be working fine.

eg: to query for events updated after 8th Feb 10.20 am UTC

http://localhost/api/events.json?lastUpdated=2016-02-08T10:20:15Z
, Z for UTC





On Sun, Feb 14, 2016 at 5:20 AM, Carl Leitner <litlfred@xxxxxxxxxxx> wrote:

> Hi,
> Can someone either confirm or deny that you can use a ISO 8601 UTC
> timestamp for the lastUpdated parameter in the metadata API.  From the
> documentation:
>
> http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual_full.html#d4934e315
> it appears that you cannot.
>
> If not, can support for this possibly be added.
>
> I tried with a UTC timestamp and it didn’t seem to work, but I may have
> messed up the request.
>
> Thanks!
>
> Cheers,
> -carl
>
> _______________________________________________
> 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
>
>


-- 
Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any
attachments may be legally privileged and confidential. If you are not an
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this e-mail is strictly prohibited. If you have
received this e-mail in error, please notify the sender and permanently
delete the e-mail and any attachments immediately. You should not retain,
copy or use this e-mail or any attachments for any purpose, nor disclose
all or any part of the contents to any other person.

Follow ups

References