Exemple #1
0
 /**
  * @url GET /:prjUid/activity/:actUid/available-assignee
  *
  * @param string $prjUid {@min 32} {@max 32}
  * @param string $actUid {@min 32} {@max 32}
  * @param string $filter
  * @param int    $start
  * @param int    $limit
  * @param string $type
  *
  */
 public function doGetActivityAvailableAssignee($prjUid, $actUid, $filter = '', $start = null, $limit = null, $type = '')
 {
     $response = array();
     try {
         $task = new \ProcessMaker\BusinessModel\Task();
         $arrayData = $task->getTaskAvailableAssignee($prjUid, $actUid, $filter, $start, $limit, $type);
         //Response
         $response = $arrayData;
     } catch (\Exception $e) {
         //Response
         throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
     }
     return $response;
 }