ImportSampleVar
This method allows importing a variable type sample to a collection with a variable type characteristic.
To insert each of these items, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web/wwwroot/ws/java/spc/ImportSampleVarRequestType.java |
Return | web/wwwroot/ws/java/spc/ImportSampleVarResponseType.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 | |
READINGS | X | Readings. Readings must have decimal separator equal to "." E.g.: 1;2;3.3;4.2 |
IDPROCESS | Process ID # | |
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:ImportSampleVar>
<!--You may enter the following 16 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:readings>?</urn:readings>
<urn:idprocess>?</urn:idprocess>
<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:ImportSampleVar>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS: 1. FAILURE: Returns a message regarding the error that occurred |