I feel it would be good as a full ISO 8601 string.
2013-11-19T14:01:54 with or without the timezone.

Surprisingly, in the call that I pasted in my last email, for 3 datavalue there 
is no timestamp attribute.
Also the link which Knut sent doesn't have timestamp attribute. It will be good 
if they are consistent and with timestamp.

I like the lastupdated name instead of timestamp. This also allows to follow-up 
if the values have been changed or not since the last time they were read.

---
Regards,
Saptarshi PURKAYASTHA

From: morte...@gmail.com
Date: Tue, 19 Nov 2013 12:15:41 +0100
Subject: Re: [Dhis2-devs] Timestamp returning date in web api call for 
datavlaue set
To: sun...@gmail.com
CC: knu...@gmail.com; rajibs...@yahoo.com; dhis2-devs@lists.launchpad.net

So what do we want here, a full timestamp as in numbers, or a full ISO 8601 
string? We have had it likes this for several releases now, and it has the 
potential to break external users.
I'm not too happy with the name "timestamp", but I guess that's minor..

--
Morten


On Tue, Nov 19, 2013 at 12:08 PM, Saptarshi Purkayastha <sun...@gmail.com> 
wrote:





Rajib probably meant for this Web API call.
Trying out the Web API Call mentioned in the doc on "Reading Large bulks of 
data value"
http://apps.dhis2.org/demo/api/dataValueSets.xml?dataSet=pBOMPrpg1QX&dataSet=BfMAe6Itzgt&startDate=2013-01-01&endDate=2013-01-31&orgUnit=YuQRtpLP10I&orgUnit=vWbkYPRmKyS&children=true



Yes, I can see the timestamp lists only date and I agree would be good that its 
a full timestamp instead of date only.

---
Regards,
Saptarshi PURKAYASTHA

From: knu...@gmail.com


Date: Tue, 19 Nov 2013 10:13:57 +0100
To: rajibs...@yahoo.com
CC: dhis2-devs@lists.launchpad.net


Subject: Re: [Dhis2-devs] Timestamp returning date in web api call for 
datavlaue set

Hi Rajib,
Looking at the following query, there is in fact no dataelement lastupdated for 
dataValueSets, perhaps you are referring to completedDate?




http://apps.dhis2.org/demo/api/dataValueSets.xml?dataSet=pBOMPrpg1QX&period=201201&orgUnit=DiszpKrYNg8




Knut



On Mon, Nov 18, 2013 at 1:28 PM, Rajib Sengupta <rajibs...@yahoo.com> wrote:




Hello,




We
 are using DHIS2 2.13 as the backend system for Kolkata Medical 
Emergency System. The concept note of the project can be found here: 
http://www.missionarogya.org/p/kmes.html. The online portal is using the 
web-apis

The datavaluesets web-api calls are returning the lastupdated timestamp for the 
dataelement. But it returns it as a date instead of a timestamp as following: 
timestamp="2013-10-16"





Example calls from the demo: 
http://apps.dhis2.org/demo/api/dataValueSets?dataSet=pBOMPrpg1QX&period=201201&orgUnit=DiszpKrYNg8





http://apps.dhis2.org/demo/api/dataValueSets?dataSet=pBOMPrpg1QX&startDate=2013-10-15&endDate=2013-10-17&orgUnit=DiszpKrYNg8&orgUnit=DiszpKrYNg8&children=false








We will really appreciate if this can be solved.




Thanks,



Rajib


_______________________________________________





Mailing list: https://launchpad.net/~dhis2-devs

Post to     : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp




-- 
Knut StaringDept. of Informatics, University of Oslo+4791880522

http://dhis2.org



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

_______________________________________________

Mailing list: https://launchpad.net/~dhis2-devs

Post to     : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp



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

Reply via email to