Skip to main content
Version: 2.2.1

addCharacteristicAttrib

This method allows:

  • Adding an attribute type characteristic
  • Editing an attribute type characteristic

To insert each of these items, it is necessary to follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\item\AddCharacteristicAttribRequestType.java
Returnweb\wwwroot\ws\java\item\AddCharacteristicAttribResponseType.java

Request:

ID #RequiredDescription
IDOBJECTXItem ID #.
IDREVISIONXItem revision ID #.
IDCHARECTERISTICXCharacteristic ID #.
NMCHARACTERISTICXCharacteristic name.
IDINPUTCHARACTYPECharacteristic type ID #.
DSCHARACSPECIALSpecial characteristic:
1 - Yes;
2 - No.

If the "Require symbol in the characteristic" general parameter from SoftExpert PDM is checked, the system will always consider it as "1 - Yes", even when any value is entered, requiring the input of a symbol.
NMCLIENTSYMBOLX¹Customer symbol name.
NMSUPPLIERSYMBOLX¹Supplier symbol name.
QTSAMPLESIZEField for # of items per sample, used in the SPC tab, in the item characteristic.
DSOBSERVATIONComments.
DSSPECIFICATIONSpecifications.
info
  • X¹ - Required if the characteristic is special.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:item">
<soapenv:Header/>
<soapenv:Body>
<urn:addCharacteristicAttrib>
<!--You may enter the following 11 items in any order-->
<urn:IDOBJECT>?</urn:IDOBJECT>
<urn:IDREVISION>?</urn:IDREVISION>
<urn:IDCHARACTERISTIC>?</urn:IDCHARACTERISTIC>
<urn:NMCHARACTERISTIC>?</urn:NMCHARACTERISTIC>
<urn:IDINPUTCHARACTYPE>?</urn:IDINPUTCHARACTYPE>
<urn:DSCHARACSPECIAL>?</urn:DSCHARACSPECIAL>
<urn:NMCLIENTSYMBOL>?</urn:NMCLIENTSYMBOL>
<urn:NMSUPPLIERSYMBOL>?</urn:NMSUPPLIERSYMBOL>
<urn:QTSAMPLESIZE>?</urn:QTSAMPLESIZE>
<urn:DSOBSERVATION>?</urn:DSOBSERVATION>
<urn:DSSPECIFICATION>?</urn:DSSPECIFICATION>
</urn:addCharacteristicAttrib>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
StatusSUCCESS: SUCCESS
FAILURE: FAILURE
CodeSuccess (1) or failure (0)
DetailFAILURE: Returns a message regarding the error that occurred