Actuate Information Delivery API operations : UploadFile
 
UploadFile
Uploads a file to an Encyclopedia volume. You can upload the file as a MIME attachment or embed it in the request. To embed the file in the request, specify the ContentData element of the attachment.
Request schema
<xsd:complexType name="UploadFile">
<xsd:sequence>
<xsd:element name="NewFile" type="typens:NewFile"/>
<xsd:element name="CopyFromLatestVersion"
type="typens:ArrayOfString" minOccurs="0" maxOccurs="1"/>
<xsd:element name="Content" type="typens:Attachment"/>
</xsd:sequence>
</xsd:complexType>
Request elements
NewFile
The file to upload.
CopyFromLatestVersion
*Copies one or more of the following properties from the latest version of the file, if one exists, to the version of the file that you upload:
*Description
The description of the file
*Permissions
Access control list (ACL) specifying the users and roles that can access the file
*ArchiveRule
The autoarchive rules for the file
Content
The information about the file, such as the encoding the file uses and the data to upload.
Response schema
<xsd:complexType name="UploadFileResponse">
<xsd:sequence>
<xsd:element name="FileId" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
Response elements
FileId
The ID of the uploaded file.