Upload

Upload

Create a workflow attachment

Request
URI
POST
https://{api_host}/tca/workflows/api/v1/orgs/{tenantIdWorkflow}/workflow/{workflowId}/attachment
COPY
Path Parameters
string
tenantIdWorkflowExecution
Required

The identifier of the tenant

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

Responses
200

Successfully uploaded the attachment.

Returns fileAttachment of type(s) application/json
{
    "id": "string",
    "reference": false
}
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

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

errors


404

Workflow not found

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

errors


500

Internal Server Error

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

errors