← Back to team overview

dhis2-devs team mailing list archive

Re: Timestamp returning date in web api call for datavlaue set

 

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 <sunbiz@xxxxxxxxx>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: knutst@xxxxxxxxx
> Date: Tue, 19 Nov 2013 10:13:57 +0100
> To: rajibs123@xxxxxxxxx
> CC: dhis2-devs@xxxxxxxxxxxxxxxxxxx
> 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 <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
>
> _______________________________________________ Mailing list:
> https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.netUnsubscribe :
> https://launchpad.net/~dhis2-devs More help :
> https://help.launchpad.net/ListHelp
>
> _______________________________________________
> 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
>
>

Follow ups

References