Example #1
0
 /**
  * @param string $projectUid {@min 1} {@max 32}
  * @param string $triggerUid {@min 1} {@max 32}
  * @return array
  * @author Brayan Pereyra (Cochalo) <*****@*****.**>
  * @copyright Colosa - Bolivia
  *
  * @url GET /:projectUid/trigger/:triggerUid
  */
 public function doGetTrigger($projectUid, $triggerUid)
 {
     try {
         $trigger = new \ProcessMaker\BusinessModel\Trigger();
         $response = $trigger->getDataTrigger($triggerUid);
         return $response;
     } catch (\Exception $e) {
         throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
     }
 }