get_event_data function

Get event data from the newer DHIS2 versions (version >= 2.41)