schedule event api action