PUT (Workflow Execution) - Teradata Ecosystem Manager

Teradata Ecosystem Manager API Reference

Product
Teradata Ecosystem Manager
Release Number
16.10
Published
June 2017
Language
English (United States)
Last Update
2018-03-29
dita:mapPath
crq1488477755125.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-3204
lifecycle
previous
Product Category
Analytical Ecosystem

Purpose

Start, Restart, Pause, Resume, or Rollback a workflow.

URL

/emrest/datadiscovery/workflows/{workflow-name}/execution

HTTP Method

PUT

Request Parameters

Path variable:workflow-name

Request body in JSON with the following parameters.
Name Description Data Type Notes
execution_type Type of execution String Required. Possible values:
  • Start
  • Restart
  • Pause
  • Resume
  • Rollback
failed_node_name Identifies a failed node String Required if execution_type is set to Restart.

Response

A JSON response indicates success or error.

Status

A status code of 200 is returned on a successful completion. A non-200 status code is returned if an error occurs.

Example: Starting a workflow

{
"execution_type":"Start"
}

Example: Restarting a workflow from failed node named testNode

{
  "execution_type": "Restart",
  "failed_node_name": "testNode"
}