DCLWebService
Click here for a complete list of operations.
SubmitBatchOrder2
Submit a batch of orders. In case of an order error, all orders without error are accepted.
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 /webservices/dclwebservice.asmx HTTP/1.1 Host: www.efactory.dclcorp.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://dclcorp.com/SubmitBatchOrder2" <?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> <SubmitBatchOrder2 xmlns="http://dclcorp.com/"> <SessionID>string</SessionID> <Batch> <Location>string</Location> <OrderArray> <OrderType01Object> <OrderStatus>HoldOrder or NormalOrder or RushOrder</OrderStatus> <AccountNumber>string</AccountNumber> <OrderNumber>string</OrderNumber> <OrderedDate>string</OrderedDate> <PONumber>string</PONumber> <CustomerNumber>string</CustomerNumber> <AcknowledgementEmail>string</AcknowledgementEmail> <FreightAccount>string</FreightAccount> <ConsigneeNumber>string</ConsigneeNumber> <ShippingCarrier>string</ShippingCarrier> <ShippingService>string</ShippingService> <SystemID>string</SystemID> <ShipTo xsi:nil="true" /> <BillTo xsi:nil="true" /> <OrderSubTotal>decimal</OrderSubTotal> <ShippingAndHandling>decimal</ShippingAndHandling> <SalesTax>decimal</SalesTax> <InternationalHandling>decimal</InternationalHandling> <TotalDue>decimal</TotalDue> <AmountPaid>decimal</AmountPaid> <NetDueCurrency>decimal</NetDueCurrency> <BalanceDueUS>decimal</BalanceDueUS> <InternationalDeclaredValue>decimal</InternationalDeclaredValue> <Insurance>decimal</Insurance> <PaymentType>string</PaymentType> <Terms>string</Terms> <FOB>string</FOB> <PackingListType>int</PackingListType> <PackingListComments>string</PackingListComments> <ShippingInstructions>string</ShippingInstructions> <CustomField1>string</CustomField1> <CustomField2>string</CustomField2> <CustomField3>string</CustomField3> <CustomField4>string</CustomField4> <CustomField5>string</CustomField5> <DetailArray xsi:nil="true" /> </OrderType01Object> <OrderType01Object> <OrderStatus>HoldOrder or NormalOrder or RushOrder</OrderStatus> <AccountNumber>string</AccountNumber> <OrderNumber>string</OrderNumber> <OrderedDate>string</OrderedDate> <PONumber>string</PONumber> <CustomerNumber>string</CustomerNumber> <AcknowledgementEmail>string</AcknowledgementEmail> <FreightAccount>string</FreightAccount> <ConsigneeNumber>string</ConsigneeNumber> <ShippingCarrier>string</ShippingCarrier> <ShippingService>string</ShippingService> <SystemID>string</SystemID> <ShipTo xsi:nil="true" /> <BillTo xsi:nil="true" /> <OrderSubTotal>decimal</OrderSubTotal> <ShippingAndHandling>decimal</ShippingAndHandling> <SalesTax>decimal</SalesTax> <InternationalHandling>decimal</InternationalHandling> <TotalDue>decimal</TotalDue> <AmountPaid>decimal</AmountPaid> <NetDueCurrency>decimal</NetDueCurrency> <BalanceDueUS>decimal</BalanceDueUS> <InternationalDeclaredValue>decimal</InternationalDeclaredValue> <Insurance>decimal</Insurance> <PaymentType>string</PaymentType> <Terms>string</Terms> <FOB>string</FOB> <PackingListType>int</PackingListType> <PackingListComments>string</PackingListComments> <ShippingInstructions>string</ShippingInstructions> <CustomField1>string</CustomField1> <CustomField2>string</CustomField2> <CustomField3>string</CustomField3> <CustomField4>string</CustomField4> <CustomField5>string</CustomField5> <DetailArray xsi:nil="true" /> </OrderType01Object> </OrderArray> </Batch> </SubmitBatchOrder2> </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> <SubmitBatchOrder2Response xmlns="http://dclcorp.com/"> <SubmitBatchOrder2Result> <ResultStatus> <Error>int</Error> <ErrorStr>string</ErrorStr> <SessionID>string</SessionID> </ResultStatus> <BatchName>string</BatchName> <OrderStatusArray> <ResultStatusObject> <Error>int</Error> <ErrorStr>string</ErrorStr> <SessionID>string</SessionID> </ResultStatusObject> <ResultStatusObject> <Error>int</Error> <ErrorStr>string</ErrorStr> <SessionID>string</SessionID> </ResultStatusObject> </OrderStatusArray> </SubmitBatchOrder2Result> </SubmitBatchOrder2Response> </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/dclwebservice.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> <SubmitBatchOrder2 xmlns="http://dclcorp.com/"> <SessionID>string</SessionID> <Batch> <Location>string</Location> <OrderArray> <OrderType01Object> <OrderStatus>HoldOrder or NormalOrder or RushOrder</OrderStatus> <AccountNumber>string</AccountNumber> <OrderNumber>string</OrderNumber> <OrderedDate>string</OrderedDate> <PONumber>string</PONumber> <CustomerNumber>string</CustomerNumber> <AcknowledgementEmail>string</AcknowledgementEmail> <FreightAccount>string</FreightAccount> <ConsigneeNumber>string</ConsigneeNumber> <ShippingCarrier>string</ShippingCarrier> <ShippingService>string</ShippingService> <SystemID>string</SystemID> <ShipTo xsi:nil="true" /> <BillTo xsi:nil="true" /> <OrderSubTotal>decimal</OrderSubTotal> <ShippingAndHandling>decimal</ShippingAndHandling> <SalesTax>decimal</SalesTax> <InternationalHandling>decimal</InternationalHandling> <TotalDue>decimal</TotalDue> <AmountPaid>decimal</AmountPaid> <NetDueCurrency>decimal</NetDueCurrency> <BalanceDueUS>decimal</BalanceDueUS> <InternationalDeclaredValue>decimal</InternationalDeclaredValue> <Insurance>decimal</Insurance> <PaymentType>string</PaymentType> <Terms>string</Terms> <FOB>string</FOB> <PackingListType>int</PackingListType> <PackingListComments>string</PackingListComments> <ShippingInstructions>string</ShippingInstructions> <CustomField1>string</CustomField1> <CustomField2>string</CustomField2> <CustomField3>string</CustomField3> <CustomField4>string</CustomField4> <CustomField5>string</CustomField5> <DetailArray xsi:nil="true" /> </OrderType01Object> <OrderType01Object> <OrderStatus>HoldOrder or NormalOrder or RushOrder</OrderStatus> <AccountNumber>string</AccountNumber> <OrderNumber>string</OrderNumber> <OrderedDate>string</OrderedDate> <PONumber>string</PONumber> <CustomerNumber>string</CustomerNumber> <AcknowledgementEmail>string</AcknowledgementEmail> <FreightAccount>string</FreightAccount> <ConsigneeNumber>string</ConsigneeNumber> <ShippingCarrier>string</ShippingCarrier> <ShippingService>string</ShippingService> <SystemID>string</SystemID> <ShipTo xsi:nil="true" /> <BillTo xsi:nil="true" /> <OrderSubTotal>decimal</OrderSubTotal> <ShippingAndHandling>decimal</ShippingAndHandling> <SalesTax>decimal</SalesTax> <InternationalHandling>decimal</InternationalHandling> <TotalDue>decimal</TotalDue> <AmountPaid>decimal</AmountPaid> <NetDueCurrency>decimal</NetDueCurrency> <BalanceDueUS>decimal</BalanceDueUS> <InternationalDeclaredValue>decimal</InternationalDeclaredValue> <Insurance>decimal</Insurance> <PaymentType>string</PaymentType> <Terms>string</Terms> <FOB>string</FOB> <PackingListType>int</PackingListType> <PackingListComments>string</PackingListComments> <ShippingInstructions>string</ShippingInstructions> <CustomField1>string</CustomField1> <CustomField2>string</CustomField2> <CustomField3>string</CustomField3> <CustomField4>string</CustomField4> <CustomField5>string</CustomField5> <DetailArray xsi:nil="true" /> </OrderType01Object> </OrderArray> </Batch> </SubmitBatchOrder2> </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> <SubmitBatchOrder2Response xmlns="http://dclcorp.com/"> <SubmitBatchOrder2Result> <ResultStatus> <Error>int</Error> <ErrorStr>string</ErrorStr> <SessionID>string</SessionID> </ResultStatus> <BatchName>string</BatchName> <OrderStatusArray> <ResultStatusObject> <Error>int</Error> <ErrorStr>string</ErrorStr> <SessionID>string</SessionID> </ResultStatusObject> <ResultStatusObject> <Error>int</Error> <ErrorStr>string</ErrorStr> <SessionID>string</SessionID> </ResultStatusObject> </OrderStatusArray> </SubmitBatchOrder2Result> </SubmitBatchOrder2Response> </soap12:Body> </soap12:Envelope>