Connections Center - Orders Service
Click here for a complete list of operations.
PlaceOrders
Places orders. (Delivery information, including IDs, can be retrieved using the GetDeliveryOptionsByConnection method).
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 /connectionscenter/ordersservice.asmx HTTP/1.1 Host: ws.tirewire.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://ws.tirewire.com/connectionscenter/ordersservice/PlaceOrders" <?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> <PlaceOrders xmlns="http://ws.tirewire.com/connectionscenter/ordersservice"> <accessKey>string</accessKey> <groupToken>string</groupToken> <ordersToPlace> <UnplacedOrder> <ConnectionID>int</ConnectionID> <SubData>string</SubData> <OrderNumber>string</OrderNumber> <Notes>string</Notes> <DeliveryID>string</DeliveryID> <ShipTo> <Code>string</Code> <Title>string</Title> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <City>string</City> <State>string</State> <ZIP>string</ZIP> <Name>string</Name> <PhoneNumber>string</PhoneNumber> <EmailAddress>string</EmailAddress> <EmailAddress2>string</EmailAddress2> <DeliveryInstructions>string</DeliveryInstructions> <ShippingMethod>string</ShippingMethod> <SignatureRequired>string</SignatureRequired> <IsResidential>boolean</IsResidential> </ShipTo> <Tires> <UnplacedOrderTire xsi:nil="true" /> <UnplacedOrderTire xsi:nil="true" /> </Tires> <UnmappedTires> <UnplacedOrderUnmappedTire xsi:nil="true" /> <UnplacedOrderUnmappedTire xsi:nil="true" /> </UnmappedTires> <MiscProducts> <UnplacedOrderMiscProduct xsi:nil="true" /> <UnplacedOrderMiscProduct xsi:nil="true" /> </MiscProducts> <Wheels> <UnplacedOrderWheel xsi:nil="true" /> <UnplacedOrderWheel xsi:nil="true" /> </Wheels> <ShippingLabelURL>string</ShippingLabelURL> <PaymentDetails> <Type>CreditCard</Type> <CardType>Unknown or AMEX or DISCOVER or MASTERCARD or VISA</CardType> <Amount>decimal</Amount> <Reference>string</Reference> <Notes>string</Notes> </PaymentDetails> <OrderOptions> <string>string</string> <string>string</string> </OrderOptions> </UnplacedOrder> <UnplacedOrder> <ConnectionID>int</ConnectionID> <SubData>string</SubData> <OrderNumber>string</OrderNumber> <Notes>string</Notes> <DeliveryID>string</DeliveryID> <ShipTo> <Code>string</Code> <Title>string</Title> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <City>string</City> <State>string</State> <ZIP>string</ZIP> <Name>string</Name> <PhoneNumber>string</PhoneNumber> <EmailAddress>string</EmailAddress> <EmailAddress2>string</EmailAddress2> <DeliveryInstructions>string</DeliveryInstructions> <ShippingMethod>string</ShippingMethod> <SignatureRequired>string</SignatureRequired> <IsResidential>boolean</IsResidential> </ShipTo> <Tires> <UnplacedOrderTire xsi:nil="true" /> <UnplacedOrderTire xsi:nil="true" /> </Tires> <UnmappedTires> <UnplacedOrderUnmappedTire xsi:nil="true" /> <UnplacedOrderUnmappedTire xsi:nil="true" /> </UnmappedTires> <MiscProducts> <UnplacedOrderMiscProduct xsi:nil="true" /> <UnplacedOrderMiscProduct xsi:nil="true" /> </MiscProducts> <Wheels> <UnplacedOrderWheel xsi:nil="true" /> <UnplacedOrderWheel xsi:nil="true" /> </Wheels> <ShippingLabelURL>string</ShippingLabelURL> <PaymentDetails> <Type>CreditCard</Type> <CardType>Unknown or AMEX or DISCOVER or MASTERCARD or VISA</CardType> <Amount>decimal</Amount> <Reference>string</Reference> <Notes>string</Notes> </PaymentDetails> <OrderOptions> <string>string</string> <string>string</string> </OrderOptions> </UnplacedOrder> </ordersToPlace> </PlaceOrders> </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> <PlaceOrdersResponse xmlns="http://ws.tirewire.com/connectionscenter/ordersservice"> <PlaceOrdersResult> <Orders> <Order> <ID>int</ID> <LogId>string</LogId> <TirewireConnectionID>int</TirewireConnectionID> <SubData>string</SubData> <SupplierSystemID>int</SupplierSystemID> <SupplierSystemOrderID>string</SupplierSystemOrderID> <Status>string</Status> <StatusID>int</StatusID> <DatePlaced>dateTime</DatePlaced> <Number>string</Number> <Notes>string</Notes> <DeliveryID>string</DeliveryID> <ShipTo xsi:nil="true" /> <Tires xsi:nil="true" /> <UnmappedTires xsi:nil="true" /> <MiscProducts xsi:nil="true" /> <Wheels xsi:nil="true" /> <ShippingLabelURL>string</ShippingLabelURL> <FulfillmentIfAvailable xsi:nil="true" /> <Errors xsi:nil="true" /> <PaymentDetails xsi:nil="true" /> </Order> <Order> <ID>int</ID> <LogId>string</LogId> <TirewireConnectionID>int</TirewireConnectionID> <SubData>string</SubData> <SupplierSystemID>int</SupplierSystemID> <SupplierSystemOrderID>string</SupplierSystemOrderID> <Status>string</Status> <StatusID>int</StatusID> <DatePlaced>dateTime</DatePlaced> <Number>string</Number> <Notes>string</Notes> <DeliveryID>string</DeliveryID> <ShipTo xsi:nil="true" /> <Tires xsi:nil="true" /> <UnmappedTires xsi:nil="true" /> <MiscProducts xsi:nil="true" /> <Wheels xsi:nil="true" /> <ShippingLabelURL>string</ShippingLabelURL> <FulfillmentIfAvailable xsi:nil="true" /> <Errors xsi:nil="true" /> <PaymentDetails xsi:nil="true" /> </Order> </Orders> </PlaceOrdersResult> </PlaceOrdersResponse> </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 /connectionscenter/ordersservice.asmx HTTP/1.1 Host: ws.tirewire.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> <PlaceOrders xmlns="http://ws.tirewire.com/connectionscenter/ordersservice"> <accessKey>string</accessKey> <groupToken>string</groupToken> <ordersToPlace> <UnplacedOrder> <ConnectionID>int</ConnectionID> <SubData>string</SubData> <OrderNumber>string</OrderNumber> <Notes>string</Notes> <DeliveryID>string</DeliveryID> <ShipTo> <Code>string</Code> <Title>string</Title> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <City>string</City> <State>string</State> <ZIP>string</ZIP> <Name>string</Name> <PhoneNumber>string</PhoneNumber> <EmailAddress>string</EmailAddress> <EmailAddress2>string</EmailAddress2> <DeliveryInstructions>string</DeliveryInstructions> <ShippingMethod>string</ShippingMethod> <SignatureRequired>string</SignatureRequired> <IsResidential>boolean</IsResidential> </ShipTo> <Tires> <UnplacedOrderTire xsi:nil="true" /> <UnplacedOrderTire xsi:nil="true" /> </Tires> <UnmappedTires> <UnplacedOrderUnmappedTire xsi:nil="true" /> <UnplacedOrderUnmappedTire xsi:nil="true" /> </UnmappedTires> <MiscProducts> <UnplacedOrderMiscProduct xsi:nil="true" /> <UnplacedOrderMiscProduct xsi:nil="true" /> </MiscProducts> <Wheels> <UnplacedOrderWheel xsi:nil="true" /> <UnplacedOrderWheel xsi:nil="true" /> </Wheels> <ShippingLabelURL>string</ShippingLabelURL> <PaymentDetails> <Type>CreditCard</Type> <CardType>Unknown or AMEX or DISCOVER or MASTERCARD or VISA</CardType> <Amount>decimal</Amount> <Reference>string</Reference> <Notes>string</Notes> </PaymentDetails> <OrderOptions> <string>string</string> <string>string</string> </OrderOptions> </UnplacedOrder> <UnplacedOrder> <ConnectionID>int</ConnectionID> <SubData>string</SubData> <OrderNumber>string</OrderNumber> <Notes>string</Notes> <DeliveryID>string</DeliveryID> <ShipTo> <Code>string</Code> <Title>string</Title> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <City>string</City> <State>string</State> <ZIP>string</ZIP> <Name>string</Name> <PhoneNumber>string</PhoneNumber> <EmailAddress>string</EmailAddress> <EmailAddress2>string</EmailAddress2> <DeliveryInstructions>string</DeliveryInstructions> <ShippingMethod>string</ShippingMethod> <SignatureRequired>string</SignatureRequired> <IsResidential>boolean</IsResidential> </ShipTo> <Tires> <UnplacedOrderTire xsi:nil="true" /> <UnplacedOrderTire xsi:nil="true" /> </Tires> <UnmappedTires> <UnplacedOrderUnmappedTire xsi:nil="true" /> <UnplacedOrderUnmappedTire xsi:nil="true" /> </UnmappedTires> <MiscProducts> <UnplacedOrderMiscProduct xsi:nil="true" /> <UnplacedOrderMiscProduct xsi:nil="true" /> </MiscProducts> <Wheels> <UnplacedOrderWheel xsi:nil="true" /> <UnplacedOrderWheel xsi:nil="true" /> </Wheels> <ShippingLabelURL>string</ShippingLabelURL> <PaymentDetails> <Type>CreditCard</Type> <CardType>Unknown or AMEX or DISCOVER or MASTERCARD or VISA</CardType> <Amount>decimal</Amount> <Reference>string</Reference> <Notes>string</Notes> </PaymentDetails> <OrderOptions> <string>string</string> <string>string</string> </OrderOptions> </UnplacedOrder> </ordersToPlace> </PlaceOrders> </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> <PlaceOrdersResponse xmlns="http://ws.tirewire.com/connectionscenter/ordersservice"> <PlaceOrdersResult> <Orders> <Order> <ID>int</ID> <LogId>string</LogId> <TirewireConnectionID>int</TirewireConnectionID> <SubData>string</SubData> <SupplierSystemID>int</SupplierSystemID> <SupplierSystemOrderID>string</SupplierSystemOrderID> <Status>string</Status> <StatusID>int</StatusID> <DatePlaced>dateTime</DatePlaced> <Number>string</Number> <Notes>string</Notes> <DeliveryID>string</DeliveryID> <ShipTo xsi:nil="true" /> <Tires xsi:nil="true" /> <UnmappedTires xsi:nil="true" /> <MiscProducts xsi:nil="true" /> <Wheels xsi:nil="true" /> <ShippingLabelURL>string</ShippingLabelURL> <FulfillmentIfAvailable xsi:nil="true" /> <Errors xsi:nil="true" /> <PaymentDetails xsi:nil="true" /> </Order> <Order> <ID>int</ID> <LogId>string</LogId> <TirewireConnectionID>int</TirewireConnectionID> <SubData>string</SubData> <SupplierSystemID>int</SupplierSystemID> <SupplierSystemOrderID>string</SupplierSystemOrderID> <Status>string</Status> <StatusID>int</StatusID> <DatePlaced>dateTime</DatePlaced> <Number>string</Number> <Notes>string</Notes> <DeliveryID>string</DeliveryID> <ShipTo xsi:nil="true" /> <Tires xsi:nil="true" /> <UnmappedTires xsi:nil="true" /> <MiscProducts xsi:nil="true" /> <Wheels xsi:nil="true" /> <ShippingLabelURL>string</ShippingLabelURL> <FulfillmentIfAvailable xsi:nil="true" /> <Errors xsi:nil="true" /> <PaymentDetails xsi:nil="true" /> </Order> </Orders> </PlaceOrdersResult> </PlaceOrdersResponse> </soap12:Body> </soap12:Envelope>