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 | |
|---|---|
| Request | web\wwwroot\ws\java\admin\CompAtribAssocRequestType.java |
| Return | web\wwwroot\ws\java\admin\CompAtribAssocResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| IDCOMMERCIAL | X | Company ID |
| IDATTRIBUTE | X | Attribute ID # |
| VLATTRIBUTE | X | Attribute 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 |
|---|---|
| return | SUCCESS: an attribute value is created. FAILURE: message regarding the error that occurred. |