GET (Specified Workflow) - Teradata Ecosystem Manager

Teradata® Ecosystem Manager API Reference

Product
Teradata Ecosystem Manager
Release Number
16.20
Published
December 2020
Language
English (United States)
Last Update
2020-12-23
dita:mapPath
loa1512743917841.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-3204
Product Category
Analytical Ecosystem

Status Code

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

Example: Getting Details for a Completed Workflow Using the API

{
    "workflow_name": "sanwf3",
    "template_name": "Default workflow",
    "status": "deployed",
    "execution_status": "SUCCESS",
    "created_by": "admin",
    "modified_ts": "2016-12-09T20:09:27.090Z",
    "modified_by": "admin",
    "deployed_ts": "2016-12-09T20:09:27.090Z",
    "deployed_by": "admin",
    "execution_details": {
        "run_id": 131,
        "start_ts": "2016-12-09T22:25:37.900Z",
        "end_ts": "2016-12-09T22:25:41.520Z",
        "duration": "0 00:00:03.620000"
    },
    "nodes": [
        {
            "node_name": "Start",
            "type": "start",
            "execution_status": "SUCCESS",
            "start_ts": "2016-12-09T22:25:38.730Z",
            "end_ts": "2016-12-09T22:25:39.080Z",
            "duration": "000:00:00.350000"
        },
        {
            "node_name": "tableValidation1",
            "type": "tableValidation",
            "execution_status": "SUCCESS",
            "execution_message": "Successful table validation",
            "start_ts": "2016-12-09T22:25:39.110Z",
            "end_ts": "2016-12-09T22:25:40.910Z",
            "duration": "0 00:00:01.800000"
        },
        {
            "node_name": "End",
            "type": "end",
            "execution_status": "SUCCESS",
            "start_ts": "2016-12-09T22:25:41.420Z",
            "end_ts": "2016-12-09T22:25:41.540Z",
            "duration": "000:00:00.120000"
        }
    ]
}

Example: Getting Details for a Workflow Not Yet Deployed

{
    "workflow_name": "firstwf",
    "template_name": "Default Workflow",
    "status": "Created",
    "created_by": "admin",
    "modified_ts": "2016-10-05T12:03:05.550Z",
    "modified_by": "admin",
    "execution_details": {},
    "nodes": [
        {
            "node_name": "Start",
            "type": "start"
        },
        {
            "node_name": "hadoop1",
            "type": "hadoop"
        },
        {
            "node_name": "End",
            "type": "end"
        },
        {
            "node_name": "or-split3",
            "type": "or-split"
        },
        {
            "node_name": "email4",
            "type": "email"
        },
        {
            "node_name": "scriptExecution5",
            "type": "scriptExecution"
        },
        {
            "node_name": "or-merge6",
            "type": "or-merge"
        }
    ]
}