← Back to team overview

dhis2-users team mailing list archive

Re: API call on reportTable with parameters?

 

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
>
>

References