Hi
We are planning to refactor our java based report module to a DHIS2 Web Application. For this we need access to the HTML Reports through the Web API.
Going by the documentation it seems that it is not yet possible to do this.
Will DHIS2 have WEB API support around the reports module in the near future?
Regards
harsh
Lars
(Lars Øverland)
22 June 2015 09:33
2
Hi Harsh,
depends what you mean. You can easily get the HTML content for a standard report directly from the api/reports resource. The HTML content for a standard report is just a property on report called “designContent”:
https://apps.dhis2.org/dev/api/reports/AMERNML55Tg
The “context” code we have for selecting org unit/period is very basic and something you could easily re-implement in your own data reports app.
regards,
Lars
···
On Mon, Jun 22, 2015 at 11:20 AM, Harsh Atal harsh.atal@gmail.com wrote:
Hi
We are planning to refactor our java based report module to a DHIS2 Web Application. For this we need access to the HTML Reports through the Web API.
Going by the documentation it seems that it is not yet possible to do this.
Will DHIS2 have WEB API support around the reports module in the near future?
Regards
harsh
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
–
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org
Thank You Lars! This is exactly what we needed. Sorry I missed it in the documentation.
Regards
harsh
···
On 22 June 2015 at 15:03, Lars Helge Øverland larshelge@gmail.com wrote:
Hi Harsh,
depends what you mean. You can easily get the HTML content for a standard report directly from the api/reports resource. The HTML content for a standard report is just a property on report called “designContent”:
https://apps.dhis2.org/dev/api/reports/AMERNML55Tg
The “context” code we have for selecting org unit/period is very basic and something you could easily re-implement in your own data reports app.
regards,
Lars
On Mon, Jun 22, 2015 at 11:20 AM, Harsh Atal harsh.atal@gmail.com wrote:
Hi
We are planning to refactor our java based report module to a DHIS2 Web Application. For this we need access to the HTML Reports through the Web API.
Going by the documentation it seems that it is not yet possible to do this.
Will DHIS2 have WEB API support around the reports module in the near future?
Regards
harsh
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org
–