DCLWebService
Click here for a complete list of operations.
SubmitBatchOrder3
Submit a batch of orders with additional custom info.
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/SubmitBatchOrder3" <?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> <SubmitBatchOrder3 xmlns="http://dclcorp.com/"> <SessionID>string</SessionID> <Batch> <OrderArray> <OrderTypeAIObject> <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> <InternationalCode>int</InternationalCode> <AdditionalInfo xsi:nil="true" /> <DetailArray xsi:nil="true" /> </OrderTypeAIObject> <OrderTypeAIObject> <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> <InternationalCode>int</InternationalCode> <AdditionalInfo xsi:nil="true" /> <DetailArray xsi:nil="true" /> </OrderTypeAIObject> </OrderArray> <Location>string</Location> </Batch> <AllowPartial>boolean</AllowPartial> </SubmitBatchOrder3> </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> <SubmitBatchOrder3Response xmlns="http://dclcorp.com/"> <SubmitBatchOrder3Result> <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> </SubmitBatchOrder3Result> </SubmitBatchOrder3Response> </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> <SubmitBatchOrder3 xmlns="http://dclcorp.com/"> <SessionID>string</SessionID> <Batch> <OrderArray> <OrderTypeAIObject> <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> <InternationalCode>int</InternationalCode> <AdditionalInfo xsi:nil="true" /> <DetailArray xsi:nil="true" /> </OrderTypeAIObject> <OrderTypeAIObject> <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> <InternationalCode>int</InternationalCode> <AdditionalInfo xsi:nil="true" /> <DetailArray xsi:nil="true" /> </OrderTypeAIObject> </OrderArray> <Location>string</Location> </Batch> <AllowPartial>boolean</AllowPartial> </SubmitBatchOrder3> </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> <SubmitBatchOrder3Response xmlns="http://dclcorp.com/"> <SubmitBatchOrder3Result> <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> </SubmitBatchOrder3Result> </SubmitBatchOrder3Response> </soap12:Body> </soap12:Envelope>