import_attrib_assoc
This method allows associating an item with an attribute.
To associate attributes successfully, follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\item\Import_attrib_assocRequestType.java |
Return | web\wwwroot\ws\java\item\Import_attrib_assocResponseType.java |
Request:
ID | Required | Description |
---|---|---|
IDOBJECT | X | Asset ID #. |
IDATTRIBUTE | X | Attribute ID #. |
VALUE | X | Attribute value. Standards for inputting 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. | |
DSVALUE | Attribute value. Mandatory information if the attribute value is of the MEMO type. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:item">
<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 |