The API for entering event data