Skip to main content
Version: 2.2.1

editDocument

This method allows editing a document. To use it, it is necessary to follow the standard documented below:

Java class
Requestweb/wwwroot/ws/java/document/EditDocumentRequestType.java
Returnweb/wwwroot/ws/java/document/EditDocumentResponseType.java

Request:

ID #RequiredDescription
IDCATEGORYXCategory ID #.
IDDOCUMENTXDocument ID #.
IDUSERStarting with version 2.0, this parameter became obsolete. During the import, leave it blank.
IDREVISIONRevision ID #.
TITLEDocument title.
SUMMARYDocument summary.
IDUSERRESPUser ID.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:document">
<soapenv:Header/>
<soapenv:Body>
<urn:editDocument>
<!--You may enter the following 7 items in any order-->
<urn:idcategory>?</urn:idcategory>
<urn:iddocument>?</urn:iddocument>
<urn:iduser>?</urn:iduser>
<urn:idrevision>?</urn:idrevision>
<urn:title>?</urn:title>
<urn:summary>?</urn:summary>
<urn:iduserresp>?</urn:iduserresp>
</urn:editDocument>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: 1: Document edited successfully.
FAILURE: 0: Message with the error found.