Skip to main content
Version: 2.2.3

CmmImportFile

This method allows importing data with samples of CMM files into existing data collections.

To insert each of these items, it is necessary to follow the standard documented below.

Java class
Requestweb/wwwroot/ws/java/spc/CmmImportFileRequestType.java
Returnweb/wwwroot/ws/java/spc/CmmImportFileResponseType.java

Request:

ID #RequiredDescription
#NMFILEXImported file
dtsampleXSample date (mm/dd/yyyy)
tmsampleXSample time (hh:mm)
txcontentXImported content
idcollectCollection ID #. If it is entered, it must be used to locate the data collection instead of the file (nmfile)

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:spc">
<soapenv:Header/>
<soapenv:Body>
<urn:CmmImportFile>
<!--You may enter the following 5 items in any order-->
<urn:nmfile>?</urn:nmfile>
<urn:dtsample>?</urn:dtsample>
<urn:tmsample>?</urn:tmsample>
<urn:txcontent>?</urn:txcontent>
<urn:idcollect>?</urn:idcollect>
</urn:CmmImportFile>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnReturns Status, Code, and Detail
• Status can be SUCCESS or FAILURE.
• Code returns 1 for success, or 0 for failure.
• Detail returns error description in case of failure.