Upload

Upload

Create a workflow execution attachment

Request
URI
POST
https://{api_host}/telco/api/workflows/workflowExecution/{workflowExecutionId}/attachment
COPY
Path Parameters
string
workflowExecutionId
Required

The identifier of the workflow execution

Header Parameters
string
filename
Required

The name of the file


Request Body

The content of the file

Authentication
This operation uses the following authentication methods.
Responses
200

Successfully uploaded the attachment.

Returns fileAttachment of type(s) application/json
{
    "reference": true,
    "id": "id"
}
string
id
Required

The identifier of the file in object store

boolean
reference
Required

Is the file attachment only a reference


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 execution 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