Sailthru_Client::postEvent PHP Method

postEvent() public method

Notify Sailthru of an event
public postEvent ( string $id, string $event, array $options = [] ) : array
$id string
$event string
$options array
return array
    public function postEvent($id, $event, $options = [])
    {
        $data = $options;
        $data['id'] = $id;
        $data['event'] = $event;
        $result = $this->apiPost('event', $data);
        return $result;
    }