import_attrib_assoc
This method allows filling out an attribute associated with an asset.
For the attributes to be successfully filled out, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\asset\Import_attrib_assocRequestType.java |
Return | web\wwwroot\ws\java\asset\Import_attrib_assocResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDOBJECT | X | Asset ID #. |
IDATTRIBUTE | X | Attribute ID # |
VALUE | X | Attribute value. Standards to enter date type data: - dd/mm/yyyy; - yyyy-mm-dd. |
IDREVISION | Asset revision ID #. | |
FGINSERTLISTVALUE | If the value 1 is entered, the interface will verify whether the attribute value already belongs to the list of values. If it does not exist, it will be added. | |
DSATTRIBUTE | Attribute value. Mandatory information if the type of the attribute value is MEMO. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:asset">
<soapenv:Header/>
<soapenv:Body>
<urn:import_attrib_assoc>
<!--You may enter the following 6 items in any order-->
<urn:idobject>?</urn:idobject>
<urn:idattribute>?</urn:idattribute>
<urn:value>?</urn:value>
<urn:idrevision>?</urn:idrevision>
<urn:fginsertlistvalue>?</urn:fginsertlistvalue>
<urn:dsvalue>?</urn:dsvalue>
</urn:import_attrib_assoc>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS: 1. FAILURE: Returns a message regarding the error that occurred |