Beispiel #1
0
 /**
  * @url DELETE /indicator/:ind_uid
  *
  * @param string $ind_uid  {@min 32}{@max 32}
  *
  * @author Marco Antonio Nina <*****@*****.**>
  * @copyright Colosa - Bolivia
  */
 public function doDeleteIndicator($ind_uid)
 {
     try {
         $dashboard = new \ProcessMaker\BusinessModel\Dashboard();
         $response = $dashboard->delete($ind_uid, $this->getUserId());
         return $response;
     } catch (\Exception $e) {
         throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
     }
 }