Merged in victorsl/processmaker (pull request #44)
ProcessMaker-MA "Dynaforms Resources (endpoints)"
This commit is contained in:
@@ -148,6 +148,22 @@ class Project extends Api
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @url GET /:projectUid/dynaforms
|
||||
*/
|
||||
public function doGetDynaForms($projectUid)
|
||||
{
|
||||
try {
|
||||
$process = new \BusinessModel\Process();
|
||||
|
||||
$response = $process->getDynaForms($projectUid);
|
||||
|
||||
return $response;
|
||||
} catch (\Exception $e) {
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @url GET /:projectUid/input-documents
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user