import_attrib_assoc
This method allows filling out an attribute associated with a supply.
For the attributes to be successfully filled out, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\supply\Import_attrib_assocRequestType.java |
Return | web\wwwroot\ws\java\supply\Import_attrib_assocResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDOBJECT | X | Supply ID #. |
IDATTRIBUTE | X | Attribute ID # |
VALUE | X | Attribute value. Standards to enter date type data: â–ª dd/mm/yyyy; â–ª yyyy-mm-dd. |
IDREVISION | Supply 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:sp">
<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 |