Skip to main content
Version: 2.2.3

import_attrib_assoc

This method allows associating an item with an attribute.

To associate attributes successfully, follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\item\Import_attrib_assocRequestType.java
Returnweb\wwwroot\ws\java\item\Import_attrib_assocResponseType.java

Request:

IDRequiredDescription
IDOBJECTXAsset ID #.
IDATTRIBUTEXAttribute ID #.
VALUEXAttribute value.
Standards for inputting date-type data:
- dd/mm/yyyy;
- yyyy/mm/dd.
IDREVISIONAsset revision ID #.
FGINSERTLISTVALUEIf 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.
DSVALUEAttribute 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:

IDDescription
returnSUCCESS: 1.
FAILURE: Returns a message regarding the error that occurred