Skip to main content
Version: 2.2.1

DeleteAttDefect

This method allows deleting the defects of a sample (zeroes the defects).

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

Java class
Requestweb/wwwroot/ws/java/spc/DeleteAttDefectRequestType.java
Returnweb/wwwroot/ws/java/spc/DeleteAttDefectResponseType.java

Request:

ID #RequiredDescription
IDCOLLECTXCollection ID #
IDCHARACTERISTICXCharacteristic ID #
IDSEQUENCESAMPLEXSample ID #
IDDEFECTXDefect ID #

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:spc">
<soapenv:Header/>
<soapenv:Body>
<urn:DeleteAttCause>
<!--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:idcause>?</urn:idcause>
</urn:DeleteAttCause>
</soapenv:Body>
</soapenv:Envelope>

Return:

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