editDocument
This method allows editing a document. To use it, it is necessary to follow the standard documented below:
Java class | |
---|---|
Request | web/wwwroot/ws/java/document/EditDocumentRequestType.java |
Return | web/wwwroot/ws/java/document/EditDocumentResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDCATEGORY | X | Category ID #. |
IDDOCUMENT | X | Document ID #. |
IDUSER | Starting with version 2.0, this parameter became obsolete. During the import, leave it blank. | |
IDREVISION | Revision ID #. | |
TITLE | Document title. | |
SUMMARY | Document summary. | |
IDUSERRESP | User 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 |
---|---|
return | SUCCESS: 1: Document edited successfully. FAILURE: 0: Message with the error found. |