Skip to main content
Version: 2.2.1

addCharacteristicVar

This method allows:

  • Adding a variable type characteristic.
  • Editing a variable type characteristic.

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

Java class
Requestweb\wwwroot\ws\java\item\AddCharacteristicVarRequestType.java
Returnweb\wwwroot\ws\java\item\AddCharacteristicVarResponseType.java

Request:

ID #RequiredDescription
IDOBJECTXItem ID #
IDREVISIONXItem revision ID #
IDCHARACTERISTICXCharacteristic 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
QTDECIMALXNumber of decimal places
FGLIMITXLimits:
0 - Bilateral;
1 - Unilateral up;
2 - Unilateral down;
IDMEASUNITYXMeasurement unit ID #
VLNOMINALXNominal value
VLUPPERX²Upper tolerance
VLLOWERX³Lower tolerance
QTSAMPLESIZEField for # of readings, used in the SPC tab, in the item characteristic
DSOBSERVATIONComments
info
  • X¹ - Required if the characteristic is special.
  • X² - Required only when the limit is bilateral or unilateral up.
  • X³ - Required only when the limit is bilateral or unilateral down.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:item">
<soapenv:Header/>
<soapenv:Body>
<urn:addCharacteristicVar>
<!--You may enter the following 16 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:QTDECIMAL>?</urn:QTDECIMAL>
<urn:FGLIMIT>?</urn:FGLIMIT>
<urn:IDMEASUNITY>?</urn:IDMEASUNITY>
<urn:VLNOMINAL>?</urn:VLNOMINAL>
<urn:VLUPPER>?</urn:VLUPPER>
<urn:VLLOWER>?</urn:VLLOWER>
<urn:QTSAMPLESIZE>?</urn:QTSAMPLESIZE>
<urn:DSOBSERVATION>?</urn:DSOBSERVATION>
</urn:addCharacteristicVar>
</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