Skip to main content
Version: 2.2.2

ImportAttDefect

This method allows editing the number of defects of the attribute type sample of a data collection.

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

Java class
Requestweb/wwwroot/ws/java/spc/ImportAttDefectRequestType.java
Returnweb/wwwroot/ws/java/spc/ImportAttDefectResponseType.java

Request:

ID #RequiredDescription
IDCOLLECTXCollection ID #
IDCHARACTERISTICXCharacteristic ID #
IDSEQUENCESAMPLEXSample ID #
IDDEFECTXDefect ID #
QTDEFECTXQuantity of defects

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:spc">
<soapenv:Header/>
<soapenv:Body>
<urn:ImportAttDefect>
<!--You may enter the following 5 items in any order-->
<urn:idcollect>?</urn:idcollect>
<urn:idcharacteristic>?</urn:idcharacteristic>
<urn:idsequencesample>?</urn:idsequencesample>
<urn:iddefect>?</urn:iddefect>
<urn:qtdefect>?</urn:qtdefect>
</urn:ImportAttDefect>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: 1.
FAILURE: Returns a message regarding the error that occurred