Upload a related file to the flex document.
URL parameters are:
Specify either a document ID (such as 1000) or a job ID (such as c300).
|name||The name of the related file. With sub-folders use the backslash: "myfolder\myfile.docx"||Mandatory, string|
|locale||Optional. Uses source locale by default. Permits to fetch attached files in a specific language.||Optional, string|
Upload the file with the HTTP request using a multi-part request. Set Content-Type header to "multipart/form-data".
The method does not return a result.
The screenshot below shows how we can attach a file to the German target language of the Flex document.
You must use the multi-part upload mechanism as shown below.
If the Flex document is at the root of the containing project, the file shows up in the German folder: