Beispiel #1
0
 /**
  * Put dashboards configuration
  *
  * @param array $request_data
  *
  * @author Marco Antonio Nina <*****@*****.**>
  * @copyright Colosa - Bolivia
  *
  * @url PUT 
  *
  */
 public function doPutDashboard($request_data)
 {
     try {
         $dashboard = new \ProcessMaker\BusinessModel\Dashboard();
         $request_data['USR_UID'] = $this->getUserId();
         $response = $dashboard->createDashboard($request_data);
         return $response;
     } catch (\Exception $e) {
         throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
     }
 }