extracted getevents from generate report, added webservice endpoint