wsAPISmartTID
Click here for a complete list of operations.
CreateOperation
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /wsAPISmartTID.asmx HTTP/1.1
Host: secureapi.smarttid.dk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.smarttid.dk/CreateOperation"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateOperation xmlns="http://api.smarttid.dk/">
<sAPIKey>string</sAPIKey>
<sJobCode>string</sJobCode>
<nLineNumber>decimal</nLineNumber>
<sOperationCode>string</sOperationCode>
<sDescription>string</sDescription>
<sPlannedTime>string</sPlannedTime>
<sERPReference>string</sERPReference>
<nPlannedQuantityPerHour>decimal</nPlannedQuantityPerHour>
<nQuantityPerUnit>decimal</nQuantityPerUnit>
<nLength>decimal</nLength>
<nWidth>decimal</nWidth>
<nHeight>decimal</nHeight>
<bOperationCompleted>boolean</bOperationCompleted>
<bReportScrap>boolean</bReportScrap>
<bReportProduced>boolean</bReportProduced>
<sColorCode>string</sColorCode>
<nArea>decimal</nArea>
<sType>string</sType>
<sQuality>string</sQuality>
</CreateOperation>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateOperationResponse xmlns="http://api.smarttid.dk/" />
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /wsAPISmartTID.asmx HTTP/1.1
Host: secureapi.smarttid.dk
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<CreateOperation xmlns="http://api.smarttid.dk/">
<sAPIKey>string</sAPIKey>
<sJobCode>string</sJobCode>
<nLineNumber>decimal</nLineNumber>
<sOperationCode>string</sOperationCode>
<sDescription>string</sDescription>
<sPlannedTime>string</sPlannedTime>
<sERPReference>string</sERPReference>
<nPlannedQuantityPerHour>decimal</nPlannedQuantityPerHour>
<nQuantityPerUnit>decimal</nQuantityPerUnit>
<nLength>decimal</nLength>
<nWidth>decimal</nWidth>
<nHeight>decimal</nHeight>
<bOperationCompleted>boolean</bOperationCompleted>
<bReportScrap>boolean</bReportScrap>
<bReportProduced>boolean</bReportProduced>
<sColorCode>string</sColorCode>
<nArea>decimal</nArea>
<sType>string</sType>
<sQuality>string</sQuality>
</CreateOperation>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<CreateOperationResponse xmlns="http://api.smarttid.dk/" />
</soap12:Body>
</soap12:Envelope>