Create

Create

Create a workflow.

Request
URI
PUT
https://{api_host}/telco/api/workflows/workflow
COPY
Request Body

The workflow to be created

workflowExecutionCreateRequest of type(s) application/json
Required
This request body class requires all of the following: workflowExecutionRoot , InlineworkflowExecutionCreateRequest1
{
    "pauseAtFailure": false,
    "retainedTil": "string",
    "debugStepIds": [
        "string"
    ],
    "contextType": "string",
    "workflowId": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
200

Workflow successfully created

Returns workflowExecution of type(s) application/json
This response body class contains all of the following: workflowExecutionBase , InlineworkflowExecution1
{
    "pauseAtFailure": false,
    "retainedTil": "string",
    "debugStepIds": [
        "string"
    ],
    "contextType": "string",
    "workflow": {
        "id": "string",
        "createdAt": "string",
        "creationUser": "string"
    },
    "id": "string",
    "creationTime": "string",
    "aborted": false,
    "endTime": "string",
    "creationUser": "string",
    "stepExecutions": [
        {
            "stepSnapshot": {
                "id": "string"
            },
            "state": "string",
            "startTime": "string",
            "aborted": false,
            "endTime": "string",
            "logs": [
                {
                    "msg": "string",
                    "time": "string",
                    "level": "string"
                }
            ]
        }
    ],
    "logs": [
        {
            "msg": "string",
            "time": "string",
            "level": "string"
        }
    ]
}

400

Bad Request

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Workflow not found

Operation doesn't return any data structure

500

Internal Server Error

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors