public function createEventCommand($fromDt, $commandId, $displayGroupIds, $recurrenceType, $recurrenceDetail, $recurrenceRange, $displayOrder, $isPriority, $syncTimezone)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->eventTypeId = 2;
        $this->fromDt = $fromDt;
        $this->commandId = $commandId;
        $this->displayGroupIds = $displayGroupIds;
        $this->recurrenceType = $recurrenceType;
        $this->recurrenceDetail = $recurrenceDetail;
        $this->recurrenceRange = $recurrenceRange;
        $this->displayOrder = $displayOrder;
        $this->isPriority = $isPriority;
        $this->syncTimezone = $syncTimezone;

        $this->getLogger()->info('Creating new scheduled command ');
        $response = $this->doPost('/schedule', $this->toArray());
        
        $this->getLogger()->debug('Passing the response to Hydrate ');
        return $this->hydrate($response);
    }