Navigation:  Integration via SOAP web services > Published web services > Document >

uploadEletronicFile

Previous  Top  Next

This method enables to upload an electronic file. To use it, it is necessary to follow the standard documented below:

 

Java class

Request

web/wwwroot/ws/java/document/UploadEletronicFileRequestType.java

Return

web/wwwroot/ws/java/document/UploadEletronicFileResponseType.java

 

Request

ID #

Required

Description

IDDOCUMENT

X

Document ID #.

IDREVISION

 

Revision ID #.

IDUSER

 

Starting with version 2.0, this parameter became obsolete. During the import, leave it blank.

FILE

X

Files array:

NMFILE: String; File name;

BINFILE: Stream; Electronic file binary1.

CONTAINER: Item ID # of the container structure.

ERROR: Starting from version 2.0, this parameter became obsolete. During the import, leave it blank.

IDCATEGORY

 

Document category ID #.

 

1 - Content of the electronic file converted to Base64. If you are testing the use through web service data source, we suggest converting a small text using a website of your choosing.

 

Return

ID #

Description

return

SUCCESS: 1: Operation successfully performed.

FAILURE: 0: Message with error.