Skip to main content
Version: 2.2.0

compAtribAssoc

This method allows associating attribute values with companies. To insert each of these items, it is necessary to follow the standard documented below:

Java class
Requestweb\wwwroot\ws\java\admin\CompAtribAssocRequestType.java
Returnweb\wwwroot\ws\java\admin\CompAtribAssocResponseType.java

Request:

ID #RequiredDescription
IDCOMMERCIALXCompany ID
IDATTRIBUTEXAttribute ID #
VLATTRIBUTEXAttribute value

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:compAtribAssoc>
<!--You may enter the following 3 items in any order-->
<urn:IDCOMMERCIAL>?</urn:IDCOMMERCIAL>
<urn:IDATTRIBUTE>?</urn:IDATTRIBUTE>
<urn:VLATTRIBUTE>?</urn:VLATTRIBUTE>
</urn:compAtribAssoc>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: an attribute value is created.
FAILURE: message regarding the error that occurred.