Added implementation of /reports/click-detail api function