Skip to main content
Version: 2.2.3

importRecvInspAtt

This method allows importing inspection readings of attribute-type characteristics:

Java class
Requestweb/wwwroot/ws/java/inspection/ImportRecvInspAttRequestType.java
Returnweb/wwwroot/ws/java/inspection/ImportRecvInspAttResponseType.java

Request:

ID #RequiredDescription
IDRECEIVINGXReceiving ID #.
IDCHARACTERISTICXCharacteristic ID #.
IDLABORATORYService center ID #.
IDUSERResponsible user ID.
DSOBSERVATIONComments on the characteristic.
SampleListReadings, composed of a list:
NRSAMPLE - Cycle #
QTSMPDEFECT - Number of defective items
QTSMPREJECT – Number of rejected items

Defects, composed of a list with:
IDDEFECT - Defect ID #
QTDEFECT - Quantity
DSDEFOBSERVATION – Defect comment

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:inspection">
<soapenv:Header/>
<soapenv:Body>
<urn:importRecvInspAtt>
<!--You may enter the following 6 items in any order-->
<urn:IDRECEIVING>?</urn:IDRECEIVING>
<urn:IDCHARACTERISTIC>?</urn:IDCHARACTERISTIC>
<urn:IDLABORATORY>?</urn:IDLABORATORY>
<urn:IDUSER>?</urn:IDUSER>
<urn:DSOBSERVATION>?</urn:DSOBSERVATION>
<urn:SampleList>
<!--Zero or more repetitions:-->
<urn:Readings>
<!--You may enter the following 4 items in any order-->
<urn:NRSAMPLE>?</urn:NRSAMPLE>
<urn:QTSMPDEFECT>?</urn:QTSMPDEFECT>
<urn:QTSMPREJECT>?</urn:QTSMPREJECT>
<urn:DefectList>
<!--You may enter the following 3 items in any order-->
<urn:IDDEFECT>?</urn:IDDEFECT>
<urn:QTDEFECT>?</urn:QTDEFECT>
<urn:DSDEFOBSERVATION>?</urn:DSDEFOBSERVATION>
</urn:DefectList>
</urn:Readings>
</urn:SampleList>
</urn:importRecvInspAtt>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnReturns Status, Code, and Detail.
Status can be SUCCESS or FAILURE.
Code returns 1 when successful or 0 when there is a failure.
Detail returns the error description in case of failure.