Skip to main content
Version: 2.2.3

ImportAttCause

This method allows editing the number of causes of a defect 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/ImportAttCauseRequestType.java
Returnweb/wwwroot/ws/java/spc/ImportAttCauseResponseType.java

Request:

ID #RequiredDescription
IDCOLLECTXCollection ID #
IDCHARACTERISTICXCharacteristic ID #
IDSEQUENCESAMPLEXSample ID #
IDDEFECTXDefect ID #
IDCAUSEXCause ID #
QTCAUSEXQuantity of causes

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:spc">
<soapenv:Header/>
<soapenv:Body>
<urn:ImportAttCause>
<!--You may enter the following 6 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:qtcause>?</urn:qtcause>
</urn:ImportAttCause>
</soapenv:Body>
</soapenv:Envelope>

Return:

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