Beispiel #1
0
 /**
  * @url POST /case/:app_uid/claim
  *
  * @param $app_uid {@min 1}{@max 32}
  * @return mixed
  */
 public function claimCaseUser($app_uid)
 {
     try {
         $userUid = $this->getUserId();
         $oMobile = new \ProcessMaker\BusinessModel\Light();
         $response = $oMobile->claimCaseUser($userUid, $app_uid);
     } catch (\Exception $e) {
         throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
     }
     return $response;
 }