top of page

Version 1.0
Last changed: October 2022

​

CreateOrder

​

Create an unsubmitted DIAL order consisting of the products and quantities provided.

Client Automation Protocol

Request Document Element

DTD Location:

Sample Document

CreateOrder

CreateOrder

<?xp Request="1234"?>
<!DOCTYPE CreateOrder SYSTEM "http://www.worldpac.com/wcap/CreateOrder.dtd">
<CreateOrder>
<CreateOrderLine>
<ProductID>G75X54</ProductID>
<BrandID>MAN</BrandID>
<Quantity>1</Quantity>
</CreateOrderLine>
<CreateOrderLine>
<ProductID>0112455X</ProductID>
<BrandID>ACC</BrandID>
<Quantity>1</Quantity>
</CreateOrderLine>
<Comment>For Bob</Comment>
</CreateOrder>
<?xp /?>

When the user submits the DIAL order to Worldpac, your application is notified of the final contents of the order. These may differ from what was initially requested because of changes made by the user in DIAL.

Request Document Element

DTD Location:

Sample Document

Order

Order

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Order SYSTEM 'http://www.worldpac.com/wcap/Order.dtd'>
<?xp Request="PO554"?>
<Order>
<OrderID>04028093</OrderID>
<OrderCreateTime>2008/01/31+10:15:00+-0800</OrderCreateTime>
<ShipTo>
 <Name>ACME CAR REPAIR</Name>
 <Street>123 Main Street</Street>
 <City>CASTLE ROCK</City>
 <State>CO</State>
 <PostalCode>80104</PostalCode>
</ShipTo>
<OrderLine>
 <ProductID>143-2081</ProductID>
 <BrandID>ND</BrandID>
 <CategoryID></CategoryID>
 <ProductDesc>Air Filter</ProductDesc>
 <DispatchTime>2008/01/31+10:45:00+-0800</DispatchTime>
 <Quantity>1</Quantity>
 <ListPrice>17.07</ListPrice>
 <Price>12.80</Price>
 <CorePrice>0.00</CorePrice>
 <Weight>0.90</Weight>
 <Quality></Quality>
 <RequestedProductID>17801-03010</RequestedProductID>
 <ACESVehicle>
  <BaseVehicle id="7956" />
  <VehicleYear id="2000">2000</VehicleYear>
  <Make id="76">Toyota</Make>
  <Model id="1011">Camry</Model>
  <MfrBodyCode id="1775">MCV2</MfrBodyCode>
  <EngineBase id="1001">3.0 V6</EngineBase>
  <EngineDesignation id="389">1MZFE</EngineDesignation>
 </ACESVehicle>
</OrderLine>
</Order>
<?xp /?>

bottom of page