DCLWebService
Click here for a complete list of operations.
GetShipConfirmationType01
Get Ship Confirmation.
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /webservices/TestDCLWebService.asmx HTTP/1.1 Host: www.efactory.dclcorp.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://dclcorp.com/GetShipConfirmationType01" <?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> <GetShipConfirmationType01 xmlns="http://dclcorp.com/"> <SessionID>string</SessionID> <OrderNumber>string</OrderNumber> <ShipDate>string</ShipDate> </GetShipConfirmationType01> </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> <GetShipConfirmationType01Response xmlns="http://dclcorp.com/"> <GetShipConfirmationType01Result> <ResultStatus> <Error>int</Error> <ErrorStr>string</ErrorStr> <SessionID>string</SessionID> </ResultStatus> <OrderHeaderArray> <OrderHeaderType01Object> <AccountNumber>string</AccountNumber> <OrderNumber>string</OrderNumber> <ShipID>int</ShipID> <PONumber>string</PONumber> <ShipVia>string</ShipVia> <ShipType>string</ShipType> <OrderWeight>decimal</OrderWeight> <TotalCharge>decimal</TotalCharge> <TrackingNumber>string</TrackingNumber> <ShipDate>string</ShipDate> <NumberOfBox>int</NumberOfBox> <CustomField1>string</CustomField1> <CustomField2>string</CustomField2> <CustomField3>string</CustomField3> <CustomField4>string</CustomField4> <CustomField5>string</CustomField5> <OrderDetailArray xsi:nil="true" /> </OrderHeaderType01Object> <OrderHeaderType01Object> <AccountNumber>string</AccountNumber> <OrderNumber>string</OrderNumber> <ShipID>int</ShipID> <PONumber>string</PONumber> <ShipVia>string</ShipVia> <ShipType>string</ShipType> <OrderWeight>decimal</OrderWeight> <TotalCharge>decimal</TotalCharge> <TrackingNumber>string</TrackingNumber> <ShipDate>string</ShipDate> <NumberOfBox>int</NumberOfBox> <CustomField1>string</CustomField1> <CustomField2>string</CustomField2> <CustomField3>string</CustomField3> <CustomField4>string</CustomField4> <CustomField5>string</CustomField5> <OrderDetailArray xsi:nil="true" /> </OrderHeaderType01Object> </OrderHeaderArray> </GetShipConfirmationType01Result> </GetShipConfirmationType01Response> </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 /webservices/TestDCLWebService.asmx HTTP/1.1 Host: www.efactory.dclcorp.com 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> <GetShipConfirmationType01 xmlns="http://dclcorp.com/"> <SessionID>string</SessionID> <OrderNumber>string</OrderNumber> <ShipDate>string</ShipDate> </GetShipConfirmationType01> </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> <GetShipConfirmationType01Response xmlns="http://dclcorp.com/"> <GetShipConfirmationType01Result> <ResultStatus> <Error>int</Error> <ErrorStr>string</ErrorStr> <SessionID>string</SessionID> </ResultStatus> <OrderHeaderArray> <OrderHeaderType01Object> <AccountNumber>string</AccountNumber> <OrderNumber>string</OrderNumber> <ShipID>int</ShipID> <PONumber>string</PONumber> <ShipVia>string</ShipVia> <ShipType>string</ShipType> <OrderWeight>decimal</OrderWeight> <TotalCharge>decimal</TotalCharge> <TrackingNumber>string</TrackingNumber> <ShipDate>string</ShipDate> <NumberOfBox>int</NumberOfBox> <CustomField1>string</CustomField1> <CustomField2>string</CustomField2> <CustomField3>string</CustomField3> <CustomField4>string</CustomField4> <CustomField5>string</CustomField5> <OrderDetailArray /> </OrderHeaderType01Object> <OrderHeaderType01Object> <AccountNumber>string</AccountNumber> <OrderNumber>string</OrderNumber> <ShipID>int</ShipID> <PONumber>string</PONumber> <ShipVia>string</ShipVia> <ShipType>string</ShipType> <OrderWeight>decimal</OrderWeight> <TotalCharge>decimal</TotalCharge> <TrackingNumber>string</TrackingNumber> <ShipDate>string</ShipDate> <NumberOfBox>int</NumberOfBox> <CustomField1>string</CustomField1> <CustomField2>string</CustomField2> <CustomField3>string</CustomField3> <CustomField4>string</CustomField4> <CustomField5>string</CustomField5> <OrderDetailArray xsi:nil="true" /> </OrderHeaderType01Object> </OrderHeaderArray> </GetShipConfirmationType01Result> </GetShipConfirmationType01Response> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /webservices/TestDCLWebService.asmx/GetShipConfirmationType01?SessionID=string&OrderNumber=string&ShipDate=string HTTP/1.1 Host: www.efactory.dclcorp.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/TestDCLWebService.asmx/GetShipConfirmationType01 HTTP/1.1 Host: www.efactory.dclcorp.com Content-Type: application/x-www-form-urlencoded Content-Length: length SessionID=string&OrderNumber=string&ShipDate=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?>