What it does

Adds attachment to the specified object.


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


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


15.03.2021 9:22:24

Please leave your feedback about this article