'POST /api/workflows/upload
Importing dynamic workflows from the api. Return newly generated workflow id.
Author: rpark
# currently assumes payload[\'workflow\'] is a json representation of a workflow to be inserted into the database
Deprecated in favor to POST /api/workflows with encoded \'workflow\' in
payload the same way.'

@expose_api
def import_new_workflow_deprecated(self, trans, payload, **kwd):

    return self.__api_import_new_workflow(trans, payload, **kwd)
