wsAPISmartTID
Click here for a complete list of operations.
CreateJob
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/CreateJob" <?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> <CreateJob xmlns="http://api.smarttid.dk/"> <sAPIKey>string</sAPIKey> <sJobCode>string</sJobCode> <sJobDescription>string</sJobDescription> <sJobDescription2>string</sJobDescription2> <sPlannedStartDate>string</sPlannedStartDate> <sPlannedCompletionDate>string</sPlannedCompletionDate> <sStatus>string</sStatus> <sJobTemplate>string</sJobTemplate> <sJobGroupCode>string</sJobGroupCode> <nPlannedNumber>int</nPlannedNumber> <nNumberPerContainer>int</nNumberPerContainer> <sOrderCode>string</sOrderCode> <sCustomerCode>string</sCustomerCode> <sCustomerName>string</sCustomerName> <sCustomerAddress>string</sCustomerAddress> <sCustomerZipCode>string</sCustomerZipCode> <sCustomerCity>string</sCustomerCity> <sCustomerPhone>string</sCustomerPhone> <sPlannedDeliveryDate>string</sPlannedDeliveryDate> <sActualDeliveryDate>string</sActualDeliveryDate> <sDepartmentCode>string</sDepartmentCode> <sProductCode>string</sProductCode> <sReference>string</sReference> <sRemark>string</sRemark> <sMaterialsRecieved>string</sMaterialsRecieved> <sReadyToShip>string</sReadyToShip> <sExpectedMaterialDeliveryDate>string</sExpectedMaterialDeliveryDate> <sInvoiced>string</sInvoiced> <sManagerCode>string</sManagerCode> <sOldJobCode>string</sOldJobCode> <sDistrictCode>string</sDistrictCode> <sDimensionCode1>string</sDimensionCode1> <sDimensionCode2>string</sDimensionCode2> <sDimensionCode3>string</sDimensionCode3> <sDimensionCode4>string</sDimensionCode4> <sDimensionCode5>string</sDimensionCode5> <sDimensionCode6>string</sDimensionCode6> <sDimensionCode7>string</sDimensionCode7> <sDimensionCode8>string</sDimensionCode8> <sDimensionCode9>string</sDimensionCode9> <sDimensionCode10>string</sDimensionCode10> <dtPlannedStartDate>string</dtPlannedStartDate> <dtPlannedCompletionDate>string</dtPlannedCompletionDate> <dtPlannedDeliveryDate>string</dtPlannedDeliveryDate> <dtActualDeliveryDate>string</dtActualDeliveryDate> <dtExpectedMaterialDeliveryDate>string</dtExpectedMaterialDeliveryDate> </CreateJob> </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> <CreateJobResponse 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> <CreateJob xmlns="http://api.smarttid.dk/"> <sAPIKey>string</sAPIKey> <sJobCode>string</sJobCode> <sJobDescription>string</sJobDescription> <sJobDescription2>string</sJobDescription2> <sPlannedStartDate>string</sPlannedStartDate> <sPlannedCompletionDate>string</sPlannedCompletionDate> <sStatus>string</sStatus> <sJobTemplate>string</sJobTemplate> <sJobGroupCode>string</sJobGroupCode> <nPlannedNumber>int</nPlannedNumber> <nNumberPerContainer>int</nNumberPerContainer> <sOrderCode>string</sOrderCode> <sCustomerCode>string</sCustomerCode> <sCustomerName>string</sCustomerName> <sCustomerAddress>string</sCustomerAddress> <sCustomerZipCode>string</sCustomerZipCode> <sCustomerCity>string</sCustomerCity> <sCustomerPhone>string</sCustomerPhone> <sPlannedDeliveryDate>string</sPlannedDeliveryDate> <sActualDeliveryDate>string</sActualDeliveryDate> <sDepartmentCode>string</sDepartmentCode> <sProductCode>string</sProductCode> <sReference>string</sReference> <sRemark>string</sRemark> <sMaterialsRecieved>string</sMaterialsRecieved> <sReadyToShip>string</sReadyToShip> <sExpectedMaterialDeliveryDate>string</sExpectedMaterialDeliveryDate> <sInvoiced>string</sInvoiced> <sManagerCode>string</sManagerCode> <sOldJobCode>string</sOldJobCode> <sDistrictCode>string</sDistrictCode> <sDimensionCode1>string</sDimensionCode1> <sDimensionCode2>string</sDimensionCode2> <sDimensionCode3>string</sDimensionCode3> <sDimensionCode4>string</sDimensionCode4> <sDimensionCode5>string</sDimensionCode5> <sDimensionCode6>string</sDimensionCode6> <sDimensionCode7>string</sDimensionCode7> <sDimensionCode8>string</sDimensionCode8> <sDimensionCode9>string</sDimensionCode9> <sDimensionCode10>string</sDimensionCode10> <dtPlannedStartDate>string</dtPlannedStartDate> <dtPlannedCompletionDate>string</dtPlannedCompletionDate> <dtPlannedDeliveryDate>string</dtPlannedDeliveryDate> <dtActualDeliveryDate>string</dtActualDeliveryDate> <dtExpectedMaterialDeliveryDate>string</dtExpectedMaterialDeliveryDate> </CreateJob> </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> <CreateJobResponse xmlns="http://api.smarttid.dk/" /> </soap12:Body> </soap12:Envelope>