Merged in feature/HOR-3701 (pull request #5973)

HOR-3701

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Paula Quispe
2017-08-17 21:10:15 +00:00
committed by Julio Cesar Laura Avendaño
2 changed files with 291 additions and 45 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -139,6 +139,27 @@ class Project extends Api
}
}
/**
* Bulk actions
* @url POST /bulk
*
* @access protected
* @class AccessControl {@permission PM_FACTORY}
*
* @param array $request_data
* @return array $response
* @throws Exception
*/
public function bulk($request_data)
{
try {
$response = Bpmn::doBulk($request_data);
return $response;
} catch (Exception $e) {
throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
}
}
/**
* @url GET /:prj_uid/export/listObjects
*