← Back to team overview

dhis2-devs team mailing list archive

Re: issue with /api/eventReports for fetching data

 

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@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxx> 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/<id>/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@xxxxxxxxxxxxxxxx
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Tue, May 10, 2016 at 3:00 AM, Lars Helge Øverland <lars@xxxxxxxxx>
>> 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@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx> wrote:
>>>>
>>>>> Thank you, Lars
>>>>>
>>>>> On Mon, May 2, 2016 at 6:10 PM, Lars Helge Øverland <lars@xxxxxxxxx>
>>>>> 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@xxxxxxxxxxxxxxxx> 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/<id>/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@xxxxxxxxxxxxxxxxxxx
>>>>>>> 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 <https://www.dhis2.org/>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Lars Helge Øverland
>>> Lead developer, DHIS 2
>>> University of Oslo
>>> Skype: larshelgeoverland
>>> lars@xxxxxxxxx
>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>
>>>
>>
>
>
> --
> With Regards
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>



-- 
With Regards
ThoughtWorks Technologies
Hyderabad

--Stay Hungry Stay Foolish!!

Follow ups

References