setAttributeValue
This method allows assigning a value to an attribute of a certain document. To use it, it is necessary to follow the standard documented below:
Java class | |
---|---|
Request | web/wwwroot/ws/java/document/SetAttributeValueRequestType.java |
Return | web/wwwroot/ws/java/document/SetAttributeValueResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDDOCUMENT | X | Document ID #. |
IDREVISION | Revision ID #. Note: If not entered, the current revision will be considered. | |
IDATTRIBUTE | X | Attribute ID #. |
VLATTRIBUTE | X | Attribute value. |
SEPARATOR | When the attribute is multivalued, it is necessary to inform which characters indicate separation between values. E.g.: SEPARATOR = "#$" indicates that the values are separated by these characters. If none is entered, the system will break the values at the comma. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:document">
<soapenv:Header/>
<soapenv:Body>
<urn:setAttributeValue>
<!--You may enter the following 5 items in any order-->
<urn:iddocument>?</urn:iddocument>
<urn:idrevision>?</urn:idrevision>
<urn:idattribute>?</urn:idattribute>
<urn:vlattribute>?</urn:vlattribute>
<urn:separator>?</urn:separator>
</urn:setAttributeValue>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS: 1: Action successfully executed. FAILURE: 0: Message with the error found. |