Navigation:  Integration via SOAP web services > Published web services > SPC >

ImportSampleVar

Previous  Top  Next

This method enables to import 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 structure

<ImportSampleAttRequestType>

<IDCOLLECT>?</DCOLLECT>

<IDCHARACTERISTIC>?</IDCHARACTERISTIC>

<IDSEQUENCESAMPLE>?</IDSEQUENCESAMPLE>

<DTSAMPLE>?</DTSAMPLE>

<TMSAMPLE>?</TMSAMPLE>

<CONFIG>?<CONFIG/>

<IDMACHINE>?<IDMACHINE/>

<IDOPERATOR>?</IDOPERATOR>

<IDINSPECTOR>?</IDINSPECTOR>

<IDSHIFT>?</IDSHIFT>

<IDGAGE>?</IDGAGE>

<NMLOT>?</NMLOT>

<NMMO>?</NMMO>

<READINGS>?</READINGS>

<IDPROCESS>?</IDPROCESS>

<AttributeList>

<!--1 or more repetitions:-->

<Attribute>

<AttributeID>?</AttributeID>

<!--Zero or more repetitions:-->

<AttributeValueList>

<AttributeValue>?</AttributeValue>

</AttributeValueList>

</Attribute>

</AttributeList>

</ImportSampleAttRequestType>

 

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

 

OF

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 dot (.) as decimal separator

* Currency: numeric digits without thousand separator and with dot (.) as decimal separator

* Date: YYYY-MM-DD

* Hour: HHHH:MM

 

Return

ID #

Description

return

SUCCESS: 1

FAILURE: Returns a message regarding the error that occurred