Uploading documents

For any method in which documents are uploaded to MultiTrans, the documents can be uploaded using a URL, a file path or via Base64. When uploading documents using a URL or a file path, MultiTrans must have access to the URL or the path.

The fileName parameter is mandatory if documentBase64 is used. It is optional if documents are uploaded via file path or URL. Where the fileName parameter is not mandatory and is not included, the file names of the uploaded documents are their actual file names. If the fileName parameter is included and the documents are uploaded via file path or URL, the fileName overrides the actual file name of the uploaded document.

If

"documents": [

{

"fileName": "MyFileName.docx",

"reference": false,

"documentPath": "C:\folderName\testFile.docx",

"isReference": false

}

]

is included in createProject, testFile.docx is added to the project with filename MyFileName.docx.