Saves a file as deliverable or as an attachment.
The file is passed as a secure file reference token.
The message body contains a JSON object:
The scope object. Note that if you use a document set or global search scope, you will receive an "available" = false result. In fact these scopes do not support files.
|did||The document id. This must be a document within the scope.||Mandatory|
|token||The secure reference file token. A previous upload mechanism gives you this token.||Mandatory|
To which language this file shall be uploaded.
Save file to the existing folder ID.
If null then the system assumes that you want to upload a deliverable (and not an attachment).
Save with this (optional) name.
If you do not provide this parameter, the system uses the name of the uploaded file (see "token" parameter).
NOTE: Always specify "name" when uploading deliverables. Users expect that the name of a deliverable is identical to the name of the source file. It is even better to first obtain the current name of the deliverable and show to the user with the option to edit the name.
|overwrite||Optional. By default is false.||Optional|
|returnChanges||Optional. By default is true. Tells if the method shall return the full file information or just null (faster).||Optional|
If returnChanges is true, then the method returns the same JSON as specified in: