projects/{pid}/workflows/{did}/attachments/{locale}/file (POST)

Use this to upload an attachment to a specific workflow.

URL

(POST) /api/projects/{pid}/workflows/{did}/attachments/{locale}/file

PARAMETERS

The URL parameters are:

pid

The project ID

int, Mandatory

did

The document ID

int, Mandatory

locale

Source or target language code

string, Mandatory

filename

The file to download. Include any folders. Example:

Instructions/Readme.docx

Or the equivalent:

Instructions\\Readme.docx

string, Mandatory

The body must be a JSON object with these properties:

token

First use API media/upload to upload a file to the system. The method returns the token to be included here.

If you need to upload multiple files to get multiple tokens, use the multi-upload: media/upload/multi

string, Mandatory

name

Set the file name including folders. Examples:

string, Mandatory

RESULTS

Returns detailed information about the uploaded file. Example:

 

 

 

Copyright Wordbee - Buzzin' Outside the Box since 2008