コード例 #1
0
ファイル: Cases.php プロジェクト: nhenderson/processmaker
 /**
  * @url PUT /:app_uid/reassign-case
  *
  * @param string $app_uid {@min 32}{@max 32}
  * @param string $usr_uid_source {@from body} {@min 32}{@max 32}
  * @param string $usr_uid_target {@from body} {@min 32}{@max 32}
  * @param string $del_index {@from body}
  */
 public function doPutReassignCase($app_uid, $usr_uid_source, $usr_uid_target, $del_index = null)
 {
     try {
         $userUid = $this->getUserId();
         $cases = new \ProcessMaker\BusinessModel\Cases();
         $cases->updateReassignCase($app_uid, $userUid, $del_index, $usr_uid_source, $usr_uid_target);
     } catch (\Exception $e) {
         throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
     }
 }