Timestamp returning date in web api call for data=

vlaue set

Hi Rajib=2C
Looking at the following query=2C there is in fact no dataelement lastupdat=
ed for dataValueSets=2C perhaps you are referring to completedDate?=0A=
=0A=

http://apps.dhis2.org/demo/api/dataValueSets.xml?dataSet=3DpBOMPrpg1QX&peri=
od=3D201201&orgUnit=3DDiszpKrYNg8=0A=
=0A=

Knut

=0A=
=0A=

···

On Mon=2C Nov 18=2C 2013 at 1:28 PM=2C Rajib Sengupta <rajibs123@yahoo.com>= wrote:
=0A=
=0A=
Hello=2C
=0A=
=0A=
We=0A=
are using DHIS2 2.13 as the backend system for Kolkata Medical =0A=
Emergency System. The concept note of the project can be found here: =0A=
http://www.missionarogya.org/p/kmes.html. The online portal is using the we=
b-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 fol=
lowing: timestamp=3D"2013-10-16"
=0A=
=0A=

Example calls from the demo:=20
http://apps.dhis2.org/demo/api/dataValueSets?dataSet=3DpBOMPrpg1QX&period=
=3D201201&orgUnit=3DDiszpKrYNg8
=0A=
=0A=

http://apps.dhis2.org/demo/api/dataValueSets?dataSet=3DpBOMPrpg1QX&startDat=
e=3D2013-10-15&endDate=3D2013-10-17&orgUnit=3DDiszpKrYNg8&orgUnit=3DDiszpKr=
YNg8&children=3Dfalse=0A=
=0A=

=0A=
=0A=
We will really appreciate if this can be solved.
=0A=
=0A=
Thanks=2C=0A=
=0A=
Rajib

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

--=20
Knut StaringDept. of Informatics=2C University of Oslo+4791880522http://dhi=
s2.org=0A=
=0A=
=0A=

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

--_1cd878e8-3220-4623-b540-e19c7e67ac91_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Rajib probably meant for this We=
b API call.<br>Trying out the Web API Call mentioned in the doc on "Reading=
Large bulks of data value"<br><a href=3D"http://apps.dhis2.org/demo/api/da=
taValueSets.xml?dataSet=3DpBOMPrpg1QX&amp=3BdataSet=3DBfMAe6Itzgt&amp=3Bsta=
rtDate=3D2013-01-01&amp=3BendDate=3D2013-01-31&amp=3BorgUnit=3DYuQRtpLP10I&=
amp=3BorgUnit=3DvWbkYPRmKyS&amp=3Bchildren=3Dtrue" target=3D"_blank">http:/=
/apps.dhis2.org/demo/api/dataValueSets.xml?dataSet=3DpBOMPrpg1QX&amp=3Bdata=
Set=3DBfMAe6Itzgt&amp=3BstartDate=3D2013-01-01&amp=3BendDate=3D2013-01-31&a=
mp=3BorgUnit=3DYuQRtpLP10I&amp=3BorgUnit=3DvWbkYPRmKyS&amp=3Bchildren=3Dtru=
e</a><br><br>Yes=2C I can see the timestamp lists only date and I agree wou=
ld be good that its a full timestamp instead of date only.<br><br>---<br>Re=
gards=2C<br>Saptarshi PURKAYASTHA<br><br><div><hr id=3D"stopSpelling">From:=
knutst@gmail.com<br>Date: Tue=2C 19 Nov 2013 10:13:57 +0100<br>To: rajibs1=
23@yahoo.com<br>CC: dhis2-devs@lists.launchpad.net<br>Subject: Re: [Dhis2-d=
evs] Timestamp returning date in web api call for datavlaue set<br><br><div=
dir=3D"ltr">Hi Rajib=2C<div><br></div><div><span style=3D"font-family:aria=
l=2Csans-serif=3Bfont-size:12.800000190734863px=3B">Looking at the followin=
g query=2C there is in fact no dataelement lastupdated for dataValueSets=2C=
perhaps you are referring to completedDate?</span><div style=3D"font-famil=
y:arial=2Csans-serif=3Bfont-size:12.800000190734863px=3B">=0A=
=0A=
<br></div><div style=3D"font-family:arial=2Csans-serif=3Bfont-size:12.80000=
0190734863px=3B"><a href=3D"http://apps.dhis2.org/demo/api/dataValueSets.xm=
l?dataSet=3DpBOMPrpg1QX&amp=3Bperiod=3D201201&amp=3BorgUnit=3DDiszpKrYNg8" =
target=3D"_blank">http://apps.dhis2.org/demo/api/dataValueSets.xml?dataSet=
=3DpBOMPrpg1QX&amp=3Bperiod=3D201201&amp=3BorgUnit=3DDiszpKrYNg8</a></div>=
=0A=
=0A=
</div><div style=3D"font-family:arial=2Csans-serif=3Bfont-size:12.800000190=
734863px=3B"><br></div><div style=3D"font-family:arial=2Csans-serif=3Bfont-=
size:12.800000190734863px=3B">Knut</div></div><div class=3D"ecxgmail_extra"=

<br><br><div class=3D"ecxgmail_quote">=0A=

=0A=
On Mon=2C Nov 18=2C 2013 at 1:28 PM=2C Rajib Sengupta <span dir=3D"ltr">&lt=
=3B<a href=3D"mailto:rajibs123@yahoo.com" target=3D"_blank">rajibs123@yahoo=
.com</a>&gt=3B</span> wrote:<br><blockquote class=3D"ecxgmail_quote" style=
=3D"border-left:1px #ccc solid=3Bpadding-left:1ex=3B">=0A=
=0A=
<div><div style=3D"font-size:12pt=3Bfont-family:HelveticaNeue=2CHelvetica N=
eue=2CHelvetica=2CArial=2CLucida Grande=2Csans-serif=3B">Hello=2C<br><div s=
tyle=3D"font-style:normal=3Bfont-size:16px=3Bbackground-color:transparent=
=3Bfont-family:HelveticaNeue=2CHelvetica Neue=2CHelvetica=2CArial=2CLucida =
Grande=2Csans-serif=3B">=0A=
=0A=
We=0A=
are using DHIS2 2.13 as the backend system for Kolkata Medical =0A=
Emergency System. The concept note of the project can be found here: =0A=
<a href=3D"http://www.missionarogya.org/p/kmes.html" target=3D"_blank">http=
://www.missionarogya.org/p/kmes.html</a>. The online portal is using the we=
b-apis<br></div><br>The datavaluesets web-api calls are returning the lastu=
pdated timestamp for the dataelement. But it returns it as a date instead o=
f a timestamp as following: timestamp=3D"2013-10-16"<br>=0A=
=0A=
<br>Example calls from the demo: <br><a href=3D"http://apps.dhis2.org/demo/=
api/dataValueSets?dataSet=3DpBOMPrpg1QX&amp=3Bperiod=3D201201&amp=3BorgUnit=
=3DDiszpKrYNg8" target=3D"_blank">http://apps.dhis2.org/demo/api/dataValueS=
ets?dataSet=3DpBOMPrpg1QX&amp=3Bperiod=3D201201&amp=3BorgUnit=3DDiszpKrYNg8=
</a><br>=0A=
=0A=
<div><br></div><div style=3D"font-style:normal=3Bfont-size:16px=3Bbackgroun=
d-color:transparent=3Bfont-family:HelveticaNeue=2CHelvetica Neue=2CHelvetic=
a=2CArial=2CLucida Grande=2Csans-serif=3B"><a href=3D"http://apps.dhis2.org=
/demo/api/dataValueSets?dataSet=3DpBOMPrpg1QX&amp=3BstartDate=3D2013-10-15&=
amp=3BendDate=3D2013-10-17&amp=3BorgUnit=3DDiszpKrYNg8&amp=3BorgUnit=3DDisz=
pKrYNg8&amp=3Bchildren=3Dfalse" target=3D"_blank">http://apps.dhis2.org/dem=
o/api/dataValueSets?dataSet=3DpBOMPrpg1QX&amp=3BstartDate=3D2013-10-15&amp=
=3BendDate=3D2013-10-17&amp=3BorgUnit=3DDiszpKrYNg8&amp=3BorgUnit=3DDiszpKr=
YNg8&amp=3Bchildren=3Dfalse</a></div>=0A=
=0A=
<div style=3D"font-style:normal=3Bfont-size:16px=3Bbackground-color:transpa=
rent=3Bfont-family:HelveticaNeue=2CHelvetica Neue=2CHelvetica=2CArial=2CLuc=
ida Grande=2Csans-serif=3B"><br></div><div style=3D"font-style:normal=3Bfon=
t-size:16px=3Bbackground-color:transparent=3Bfont-family:HelveticaNeue=2CHe=
lvetica Neue=2CHelvetica=2CArial=2CLucida Grande=2Csans-serif=3B">=0A=
=0A=
We will really appreciate if this can be solved.</div><div style=3D"font-st=
yle:normal=3Bfont-size:16px=3Bbackground-color:transparent=3Bfont-family:He=
lveticaNeue=2CHelvetica Neue=2CHelvetica=2CArial=2CLucida Grande=2Csans-ser=
if=3B"><br></div>=0A=
=0A=
<div style=3D"font-style:normal=3Bfont-size:16px=3Bbackground-color:transpa=
rent=3Bfont-family:HelveticaNeue=2CHelvetica Neue=2CHelvetica=2CArial=2CLuc=
ida Grande=2Csans-serif=3B">Thanks=2C</div><div style=3D"font-style:normal=
=3Bfont-size:16px=3Bbackground-color:transparent=3Bfont-family:HelveticaNeu=
e=2CHelvetica Neue=2CHelvetica=2CArial=2CLucida Grande=2Csans-serif=3B">=0A=
=0A=
Rajib</div><div style=3D"font-style:normal=3Bfont-size:16px=3Bbackground-co=
lor:transparent=3Bfont-family:HelveticaNeue=2CHelvetica Neue=2CHelvetica=2C=
Arial=2CLucida Grande=2Csans-serif=3B"><br></div><br></div></div><br>______=
_________________________________________<br>=0A=
=0A=
=0A=
Mailing list: <a href=3D"https://launchpad.net/~dhis2-devs" target=3D"_blan=
k">https://launchpad.net/~dhis2-devs</a><br>=0A=
Post to &nbsp=3B &nbsp=3B : <a href=3D"mailto:dhis2-devs@lists.launchpad.ne=
t">dhis2-devs@lists.launchpad.net</a><br>=0A=
Unsubscribe : <a href=3D"https://launchpad.net/~dhis2-devs" target=3D"_blan=
k">https://launchpad.net/~dhis2-devs</a><br>=0A=
More help &nbsp=3B : <a href=3D"https://help.launchpad.net/ListHelp" target=
=3D"_blank">https://help.launchpad.net/ListHelp</a><br>=0A=
<br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div>Knu=
t Staring</div><div>Dept. of Informatics=2C&nbsp=3BUniversity of Oslo</div>=
<div>+4791880522</div><div><a href=3D"http://dhis2.org" target=3D"_blank">h=
ttp://dhis2.org</a>=0A=
</div>=0A=
</div>=0A=
<br>_______________________________________________=0A=
Mailing list: https://launchpad.net/~dhis2-devs=0A=
Post to : dhis2-devs@lists.launchpad.net=0A=
Unsubscribe : https://launchpad.net/~dhis2-devs=0A=
More help : https://help.launchpad.net/ListHelp</div> </div></=

</html>=

--_1cd878e8-3220-4623-b540-e19c7e67ac91_--