importRecvInspAtt
This method allows importing inspection readings of attribute-type characteristics:
Java class | |
---|---|
Request | web/wwwroot/ws/java/inspection/ImportRecvInspAttRequestType.java |
Return | web/wwwroot/ws/java/inspection/ImportRecvInspAttResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDRECEIVING | X | Receiving ID #. |
IDCHARACTERISTIC | X | Characteristic ID #. |
IDLABORATORY | Service center ID #. | |
IDUSER | Responsible user ID. | |
DSOBSERVATION | Comments on the characteristic. | |
SampleList | Readings, 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 |
---|---|
return | Returns 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. |