Implemented getEvent API