Esempio n. 1
0
 /**
  * @url DELETE /:cal_uid
  *
  * @param string $cal_uid {@min 32}{@max 32}
  */
 public function doDelete($cal_uid)
 {
     try {
         $calendar = new \ProcessMaker\BusinessModel\Calendar();
         $calendar->setFormatFieldNameInUppercase($this->formatFieldNameInUppercase);
         $calendar->delete($cal_uid);
     } catch (\Exception $e) {
         throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
     }
 }