ImportSampleAtt
This method allows importing an attribute type sample to a collection with attribute type characteristics.
To insert each of these items, it is necessary to follow the standard documented below.
| Java class | |
|---|---|
| Request | web/wwwroot/ws/java/spc/ImportSampleAttRequestType.java |
| Return | web/wwwroot/ws/java/spc/ImportSampleAttResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| IDCOLLECT | X | Collection ID # |
| IDCHARACTERISTIC | X | Characteristic ID # |
| IDSEQUENCESAMPLE | Sample ID # | |
| DTSAMPLE | X | Sample date (mm/dd/yyyy) |
| TMSAMPLE | X | Sample time (hh:mm) |
| CONFIG | X | General data configuration: 1 - Keep general data according to prior sample; 2 - Keep general data according to the characteristic configuration. |
| IDMACHINE | Machine ID # | |
| IDOPERATOR | Operator ID # | |
| IDINSPECTOR | Inspector ID # | |
| IDSHIFT | Shift ID # | |
| IDGAGE | Gage ID # | |
| NMLOT | Lot | |
| NMMO | MO | |
| QTITENS | X | Quantity of items |
| QTDEFECTSITEM | X | Quantity of defective items |
| QTREJECTSITEM | X | Quantity of rejected items |
| IDPROCESS | Process ID # | |
| DEFECT | List of defects and their respective quantities separated by semicolon (;) and colon (:). If the ID # contains one of the two delimiting characters, use backslash () as the antecedent character, according to the format: Format: DEFECT01:3;DEFECT;02:4 | |
| ATTRIBUTEID | Attribute ID # | |
| ATTRIBUTEVALUE | Attribute value. Notes according to the attribute type: _ Numeric: numeric digits without thousand separator and with period (.) as decimal separator _ Currency: numeric digits without thousand separator and with period (.) as decimal separator _ Date: YYYY-MM-DD _ Time: HHHH:MM |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:spc">
<soapenv:Header/>
<soapenv:Body>
<urn:ImportSampleAtt>
<!--You may enter the following 19 items in any order-->
<urn:idcollect>?</urn:idcollect>
<urn:idcharacteristic>?</urn:idcharacteristic>
<urn:idsequencesample>?</urn:idsequencesample>
<urn:dtsample>?</urn:dtsample>
<urn:tmsample>?</urn:tmsample>
<urn:config>?</urn:config>
<urn:idmachine>?</urn:idmachine>
<urn:idoperator>?</urn:idoperator>
<urn:idinspector>?</urn:idinspector>
<urn:idshift>?</urn:idshift>
<urn:idgage>?</urn:idgage>
<urn:nmlot>?</urn:nmlot>
<urn:nmmo>?</urn:nmmo>
<urn:qtitens>?</urn:qtitens>
<urn:qtdefectsitem>?</urn:qtdefectsitem>
<urn:qtrejectsitem>?</urn:qtrejectsitem>
<urn:idprocess>?</urn:idprocess>
<urn:defect>?</urn:defect>
<urn:AttributeList>
<!--Zero or more repetitions:-->
<urn:Attribute>
<urn:AttributeID>?</urn:AttributeID>
<!--1 or more repetitions:-->
<urn:AttributeValueList>
<urn:AttributeValue>?</urn:AttributeValue>
</urn:AttributeValueList>
</urn:Attribute>
</urn:AttributeList>
</urn:ImportSampleAtt>
</soapenv:Body>
</soapenv:Envelope>
Return:
| ID # | Description |
|---|---|
| return | SUCCESS: 1. FAILURE: Returns a message regarding the error that occurred |