← Back to team overview

dhis2-users team mailing list archive

Re: API call on reportTable with parameters?

 

I'm honestly not sure, Lars would have to answer that. The date itself is a
normal date object, which means multiple date formats are supported.

@Lars ?

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Mon, May 9, 2016 at 3:37 PM, Martin Van Aken <martin@xxxxxxxxxxxxxxxx>
wrote:

> Thanks a lot for the quick answer. Is the date a period ? (in my case the
> table represent a selection of data element and indicators which are
> collected each month in each org units).
>
> Martin
>
> On Mon, May 9, 2016 at 10:34 AM, Morten Olav Hansen <morten@xxxxxxxxx>
> wrote:
>
>> Hi Martin
>>
>> You can use ou and date as query parameters
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Mon, May 9, 2016 at 3:18 PM, Martin Van Aken <martin@xxxxxxxxxxxxxxxx>
>> wrote:
>>
>>> Hi,
>>> We currently have a reportTable used to generate a PDF report. We now
>>> want to be able to extract the exact same info using the API. I've seen
>>> that there is a reportTables/<ID>/data.json option, but I cannot find how
>>> to pass it parameters (our table take two - the organisation unit and the
>>> period).
>>>
>>> Any pointers?
>>>
>>> Thanks,
>>>
>>> Martin
>>>
>>> --
>>> *Martin Van Aken - **Freelance Enthusiast Developer*
>>>
>>> Mobile : +32 486 899 652
>>>
>>> Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken>
>>> Call me on Skype : vanakenm
>>> Hang out with me : martin@xxxxxxxxxxxxxxxx
>>> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
>>> Company website : www.joyouscoding.com
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
>
> --
> *Martin Van Aken - **Freelance Enthusiast Developer*
>
> Mobile : +32 486 899 652
>
> Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken>
> Call me on Skype : vanakenm
> Hang out with me : martin@xxxxxxxxxxxxxxxx
> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
> Company website : www.joyouscoding.com
>

Follow ups

References