public function renderRemoveAcknowledgement(RemoveAcknowledgementCommand $command)
 {
     $object = $command->getObject();
     if ($command->getObject()->getType() === $command::TYPE_HOST) {
         /** @var \Icinga\Module\Monitoring\Object\Host $object */
         $commandString = sprintf('%s;%s', 'REMOVE_HOST_ACKNOWLEDGEMENT', $object->getName());
     } else {
         /** @var \Icinga\Module\Monitoring\Object\Service $object */
         $commandString = sprintf('%s;%s;%s', 'REMOVE_SVC_ACKNOWLEDGEMENT', $object->getHost()->getName(), $object->getName());
     }
     return $commandString;
 }
 public function renderRemoveAcknowledgement(RemoveAcknowledgementCommand $command)
 {
     $endpoint = 'actions/remove-acknowledgement';
     $data = array();
     $this->applyFilter($data, $command->getObject());
     return IcingaApiCommand::create($endpoint, $data);
 }