← Back to team overview

dhis2-devs team mailing list archive

Re: 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 <rajibs123@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org

Follow ups

References