English (English) - Change language

SaveAttachment

What it does

Adds attachment to the specified object.

Definition

void SaveAttachment( int sessionId, int type, int objectId, int batchId, int projectId, File file );
    

Parameters

Name Type Description
sessionId int The ID of the connection to the Application Server
type int

Type of attachment. Possible values

  • 9 - attachment to a document;
  • 10 - attachment to a page;
  • 11 - attachment to a batch.
objectId int The ID of the object
batchId int The ID of the batch
projectId int The ID of the project
file File Attachment file

Returned value

None.

9/25/2020 9:24:45 AM


Please leave your feedback about this article