issue with /api/eventReports for fetching data

Hi,

We are using latest version of DHIS 2.21

We have configured reports on Event Reports module and trying to fetch data through the API - …/api/eventReports//data, but we get no response. We have looked up the documentation on developer manual for web api in Viewing analytical resource representations, but looks like no resource is provided for the same.

Any help on this would be appreciated.

Thanks,

Srikanth

Hi Srikanth,

unfortunately we do not support this at the moment.

You will have to use the aggregate event analytics API for now and construct the table yourself.

/api/analytics/events/aggregate
···

regards,

Lars

On Mon, May 2, 2016 at 1:28 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi,

We are using latest version of DHIS 2.21

We have configured reports on Event Reports module and trying to fetch data through the API - …/api/eventReports//data, but we get no response. We have looked up the documentation on developer manual for web api in Viewing analytical resource representations, but looks like no resource is provided for the same.

Any help on this would be appreciated.

Thanks,

Srikanth


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

Hi Lars,

Could you please let us know if there is any plan of extending the event reports api for fetching data for 2.24 release. Please let us know your roadmap to support this functionality.

Thanks,

Srikanth

···

On Mon, May 2, 2016 at 6:19 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Thank you, Lars

On Mon, May 2, 2016 at 6:10 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Srikanth,

unfortunately we do not support this at the moment.

You will have to use the aggregate event analytics API for now and construct the table yourself.

/api/analytics/events/aggregate

regards,

Lars

On Mon, May 2, 2016 at 1:28 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi,

We are using latest version of DHIS 2.21

We have configured reports on Event Reports module and trying to fetch data through the API - …/api/eventReports//data, but we get no response. We have looked up the documentation on developer manual for web api in Viewing analytical resource representations, but looks like no resource is provided for the same.

Any help on this would be appreciated.

Thanks,

Srikanth


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

Hi Srikanth,

this specific feature is one we want to implement, but I cannot promise a delivery date - sorry. This area is quite complex and the event reports is still gaining new features, so this is a moving target and hard to know exactly when we will get time to implement the server version.

regards,

Lars

···

On Fri, May 6, 2016 at 8:17 AM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi Lars,

Could you please let us know if there is any plan of extending the event reports api for fetching data for 2.24 release. Please let us know your roadmap to support this functionality.

Thanks,

Srikanth

On Mon, May 2, 2016 at 6:19 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Thank you, Lars

On Mon, May 2, 2016 at 6:10 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Srikanth,

unfortunately we do not support this at the moment.

You will have to use the aggregate event analytics API for now and construct the table yourself.

/api/analytics/events/aggregate

regards,

Lars

On Mon, May 2, 2016 at 1:28 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi,

We are using latest version of DHIS 2.21

We have configured reports on Event Reports module and trying to fetch data through the API - …/api/eventReports//data, but we get no response. We have looked up the documentation on developer manual for web api in Viewing analytical resource representations, but looks like no resource is provided for the same.

Any help on this would be appreciated.

Thanks,

Srikanth


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Hi Lars,

We have a use-case for fetching event reports for a custom app that we’re building. We are planning to extend the API to fetch data for event reports. The potential approach we would follow is similar to the way that pivot tables api are built i.e. /api/eventReports//data should fetch us appropriate data. The metadata configuration can be fetched using the eventReport UID and data can be fetched by using EventAnalyticsService.

Could you please let us know the complexities or the repercussions you foresee that go along with extending the API. Any thoughts on this would be valuable.

Cheers,

···

On Tue, May 10, 2016 at 3:00 AM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Srikanth,

this specific feature is one we want to implement, but I cannot promise a delivery date - sorry. This area is quite complex and the event reports is still gaining new features, so this is a moving target and hard to know exactly when we will get time to implement the server version.

regards,

Lars

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

On Fri, May 6, 2016 at 8:17 AM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi Lars,

Could you please let us know if there is any plan of extending the event reports api for fetching data for 2.24 release. Please let us know your roadmap to support this functionality.

Thanks,

Srikanth

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

On Mon, May 2, 2016 at 6:19 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Thank you, Lars

On Mon, May 2, 2016 at 6:10 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Srikanth,

unfortunately we do not support this at the moment.

You will have to use the aggregate event analytics API for now and construct the table yourself.

/api/analytics/events/aggregate

regards,

Lars

On Mon, May 2, 2016 at 1:28 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi,

We are using latest version of DHIS 2.21

We have configured reports on Event Reports module and trying to fetch data through the API - …/api/eventReports//data, but we get no response. We have looked up the documentation on developer manual for web api in Viewing analytical resource representations, but looks like no resource is provided for the same.

Any help on this would be appreciated.

Thanks,

Srikanth


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

Hi Lars

Hope you are doing well.

We need to take a decision on it very soon. This is part of our current iteration. Would it be possible to let us know your thoughts about this?

Regards

Vanya

···

On Wed, May 11, 2016 at 7:07 PM, Archana Chillala archanac@thoughtworks.com wrote:

Hi Lars,

We have a use-case for fetching event reports for a custom app that we’re building. We are planning to extend the API to fetch data for event reports. The potential approach we would follow is similar to the way that pivot tables api are built i.e. /api/eventReports//data should fetch us appropriate data. The metadata configuration can be fetched using the eventReport UID and data can be fetched by using EventAnalyticsService.

Could you please let us know the complexities or the repercussions you foresee that go along with extending the API. Any thoughts on this would be valuable.

Cheers,

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

On Tue, May 10, 2016 at 3:00 AM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Srikanth,

this specific feature is one we want to implement, but I cannot promise a delivery date - sorry. This area is quite complex and the event reports is still gaining new features, so this is a moving target and hard to know exactly when we will get time to implement the server version.

regards,

Lars

On Fri, May 6, 2016 at 8:17 AM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi Lars,

Could you please let us know if there is any plan of extending the event reports api for fetching data for 2.24 release. Please let us know your roadmap to support this functionality.

Thanks,

Srikanth

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

On Mon, May 2, 2016 at 6:19 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Thank you, Lars

On Mon, May 2, 2016 at 6:10 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Srikanth,

unfortunately we do not support this at the moment.

You will have to use the aggregate event analytics API for now and construct the table yourself.

/api/analytics/events/aggregate

regards,

Lars

On Mon, May 2, 2016 at 1:28 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi,

We are using latest version of DHIS 2.21

We have configured reports on Event Reports module and trying to fetch data through the API - …/api/eventReports//data, but we get no response. We have looked up the documentation on developer manual for web api in Viewing analytical resource representations, but looks like no resource is provided for the same.

Any help on this would be appreciated.

Thanks,

Srikanth


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

With Regards
ThoughtWorks Technologies

Hyderabad

–Stay Hungry Stay Foolish!!

Hi Lars

Can you please let us know your thoughts about this?

Regards

Vanya

···

On Fri, May 13, 2016 at 12:57 PM, Vanya Seth vanyas@thoughtworks.com wrote:

Hi Lars

Hope you are doing well.

We need to take a decision on it very soon. This is part of our current iteration. Would it be possible to let us know your thoughts about this?

Regards

Vanya

On Wed, May 11, 2016 at 7:07 PM, Archana Chillala archanac@thoughtworks.com wrote:

Hi Lars,

We have a use-case for fetching event reports for a custom app that we’re building. We are planning to extend the API to fetch data for event reports. The potential approach we would follow is similar to the way that pivot tables api are built i.e. /api/eventReports//data should fetch us appropriate data. The metadata configuration can be fetched using the eventReport UID and data can be fetched by using EventAnalyticsService.

Could you please let us know the complexities or the repercussions you foresee that go along with extending the API. Any thoughts on this would be valuable.

Cheers,

With Regards
ThoughtWorks Technologies

Hyderabad

–Stay Hungry Stay Foolish!!

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

On Tue, May 10, 2016 at 3:00 AM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Srikanth,

this specific feature is one we want to implement, but I cannot promise a delivery date - sorry. This area is quite complex and the event reports is still gaining new features, so this is a moving target and hard to know exactly when we will get time to implement the server version.

regards,

Lars

On Fri, May 6, 2016 at 8:17 AM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi Lars,

Could you please let us know if there is any plan of extending the event reports api for fetching data for 2.24 release. Please let us know your roadmap to support this functionality.

Thanks,

Srikanth

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

On Mon, May 2, 2016 at 6:19 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Thank you, Lars

On Mon, May 2, 2016 at 6:10 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Srikanth,

unfortunately we do not support this at the moment.

You will have to use the aggregate event analytics API for now and construct the table yourself.

/api/analytics/events/aggregate

regards,

Lars

On Mon, May 2, 2016 at 1:28 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi,

We are using latest version of DHIS 2.21

We have configured reports on Event Reports module and trying to fetch data through the API - …/api/eventReports//data, but we get no response. We have looked up the documentation on developer manual for web api in Viewing analytical resource representations, but looks like no resource is provided for the same.

Any help on this would be appreciated.

Thanks,

Srikanth


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

With Regards
ThoughtWorks Technologies

Hyderabad

–Stay Hungry Stay Foolish!!

Hi there,

okay. Can I ask - are you looking to get the event report data from the server in a tabular format (with columns, rows, etc), or do you plan to fetch the “plain data source” (as in one column per data dimension) from the api and then render the layout of the report in your client side app?

best regards,

Lars

···

On Mon, May 23, 2016 at 10:45 AM, Vanya Seth vanyas@thoughtworks.com wrote:

Hi Lars

Can you please let us know your thoughts about this?

Regards

Vanya

On Fri, May 13, 2016 at 12:57 PM, Vanya Seth vanyas@thoughtworks.com wrote:

Hi Lars

Hope you are doing well.

We need to take a decision on it very soon. This is part of our current iteration. Would it be possible to let us know your thoughts about this?

Regards

Vanya


With Regards
ThoughtWorks Technologies

Hyderabad

–Stay Hungry Stay Foolish!!

On Wed, May 11, 2016 at 7:07 PM, Archana Chillala archanac@thoughtworks.com wrote:

Hi Lars,

We have a use-case for fetching event reports for a custom app that we’re building. We are planning to extend the API to fetch data for event reports. The potential approach we would follow is similar to the way that pivot tables api are built i.e. /api/eventReports//data should fetch us appropriate data. The metadata configuration can be fetched using the eventReport UID and data can be fetched by using EventAnalyticsService.

Could you please let us know the complexities or the repercussions you foresee that go along with extending the API. Any thoughts on this would be valuable.

Cheers,

With Regards
ThoughtWorks Technologies

Hyderabad

–Stay Hungry Stay Foolish!!

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

On Tue, May 10, 2016 at 3:00 AM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Srikanth,

this specific feature is one we want to implement, but I cannot promise a delivery date - sorry. This area is quite complex and the event reports is still gaining new features, so this is a moving target and hard to know exactly when we will get time to implement the server version.

regards,

Lars

On Fri, May 6, 2016 at 8:17 AM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi Lars,

Could you please let us know if there is any plan of extending the event reports api for fetching data for 2.24 release. Please let us know your roadmap to support this functionality.

Thanks,

Srikanth

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

On Mon, May 2, 2016 at 6:19 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Thank you, Lars

On Mon, May 2, 2016 at 6:10 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Srikanth,

unfortunately we do not support this at the moment.

You will have to use the aggregate event analytics API for now and construct the table yourself.

/api/analytics/events/aggregate

regards,

Lars

On Mon, May 2, 2016 at 1:28 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi,

We are using latest version of DHIS 2.21

We have configured reports on Event Reports module and trying to fetch data through the API - …/api/eventReports//data, but we get no response. We have looked up the documentation on developer manual for web api in Viewing analytical resource representations, but looks like no resource is provided for the same.

Any help on this would be appreciated.

Thanks,

Srikanth


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Hi Lars,

Thanks for the response.

We evaluated both the approaches.

  • Extending the /api/eventReport/ API to support /data [just like /reportTables does]

  • Leveraging the analytics API to get the data and use some js lib to render the table

We wanted your opinion on going ahead with the first approach. Do you foresee any complexities and repercussions that we might have overlooked.

Thanks for the help in advance.

Regards

Vanya

···

On Mon, May 23, 2016 at 4:47 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi there,

okay. Can I ask - are you looking to get the event report data from the server in a tabular format (with columns, rows, etc), or do you plan to fetch the “plain data source” (as in one column per data dimension) from the api and then render the layout of the report in your client side app?

best regards,

Lars

On Mon, May 23, 2016 at 10:45 AM, Vanya Seth vanyas@thoughtworks.com wrote:

Hi Lars

Can you please let us know your thoughts about this?

Regards

Vanya


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

On Fri, May 13, 2016 at 12:57 PM, Vanya Seth vanyas@thoughtworks.com wrote:

Hi Lars

Hope you are doing well.

We need to take a decision on it very soon. This is part of our current iteration. Would it be possible to let us know your thoughts about this?

Regards

Vanya


With Regards
ThoughtWorks Technologies

Hyderabad

–Stay Hungry Stay Foolish!!

On Wed, May 11, 2016 at 7:07 PM, Archana Chillala archanac@thoughtworks.com wrote:

Hi Lars,

We have a use-case for fetching event reports for a custom app that we’re building. We are planning to extend the API to fetch data for event reports. The potential approach we would follow is similar to the way that pivot tables api are built i.e. /api/eventReports//data should fetch us appropriate data. The metadata configuration can be fetched using the eventReport UID and data can be fetched by using EventAnalyticsService.

Could you please let us know the complexities or the repercussions you foresee that go along with extending the API. Any thoughts on this would be valuable.

Cheers,

With Regards
ThoughtWorks Technologies

Hyderabad

–Stay Hungry Stay Foolish!!

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

On Tue, May 10, 2016 at 3:00 AM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Srikanth,

this specific feature is one we want to implement, but I cannot promise a delivery date - sorry. This area is quite complex and the event reports is still gaining new features, so this is a moving target and hard to know exactly when we will get time to implement the server version.

regards,

Lars

On Fri, May 6, 2016 at 8:17 AM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi Lars,

Could you please let us know if there is any plan of extending the event reports api for fetching data for 2.24 release. Please let us know your roadmap to support this functionality.

Thanks,

Srikanth

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

On Mon, May 2, 2016 at 6:19 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Thank you, Lars

On Mon, May 2, 2016 at 6:10 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Srikanth,

unfortunately we do not support this at the moment.

You will have to use the aggregate event analytics API for now and construct the table yourself.

/api/analytics/events/aggregate

regards,

Lars

On Mon, May 2, 2016 at 1:28 PM, Srikanth Katta srikantk@thoughtworks.com wrote:

Hi,

We are using latest version of DHIS 2.21

We have configured reports on Event Reports module and trying to fetch data through the API - …/api/eventReports//data, but we get no response. We have looked up the documentation on developer manual for web api in Viewing analytical resource representations, but looks like no resource is provided for the same.

Any help on this would be appreciated.

Thanks,

Srikanth


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

With Regards
ThoughtWorks Technologies

Hyderabad

–Stay Hungry Stay Foolish!!