PM-137
This commit is contained in:
@@ -154,6 +154,20 @@ class Project extends Api
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @url POST /save-as
|
||||
*
|
||||
* @param string $prj_uid
|
||||
* @param string $prj_name
|
||||
* @param string $prj_description
|
||||
* @param string $prj_category
|
||||
*/
|
||||
public function doSaveAs($prj_uid, $prj_name, $prj_description, $prj_category)
|
||||
{
|
||||
$importer = new \ProcessMaker\Importer\XmlImporter();
|
||||
return $importer->saveAs($prj_uid, $prj_name, $prj_description, $prj_category);
|
||||
}
|
||||
|
||||
/**
|
||||
* @url GET /:prj_uid/process
|
||||
|
||||
Reference in New Issue
Block a user