NAV undefined
undefined
shell

Introduction

Welcome to the official reference for Tirewire's Application Programming Interface (API).

Tirewire provides powerful web services that can be used for integrating into your point of sale system, building your e-commerce shopfront and any other mobile or desktop application.

Connections Center

The connections center allows you to retrieve pricing and inventory data from a number of different Supplier Systems as well as place orders with those systems. Each Supplier System can be accessed using the same web service methods and data returned from each Supplier System is in a uniform format.

Supplier Systems

Supplier Systems which the Connections Center can provide access to include the following:

Access Keys

Access to each of the Connections Center Web Services requires an Access Key (or API Key), provided by Tirewire. The Access Key identifies and authenticates you to the Connections Center and must be provided with each Web Service method request.

Connections

Access to data from Supplier Systems is achieved via Connections. A Connection stores the credentials required to retrieve data from the Supplier System, and to place orders. Connections can be created, modified and deleted via the Connections Center Tool in Tirewire.

Groups

Connections are placed into Groups and Applications are given permission to access any Connections that are within a particular Group. This allows users to give different applications access to a subset of their total Connections. Groups can be created, modified and deleted via the Connections Center Tool in Tirewire.

Getting Started

Creating a Connection

The following instructions will be using credentials for a testing account. You will need to obtain credentials from the data owner before you set up your production connection. Before you can start using the Connections Center web services, you need to setup a connection and group. To do this, go to your Tirewire account and click on Connections Center.

You probably won't have any connections to begin with so you'll want to create a new connection by clicking on the link.

Enter a name for your connection (this is just a testing connection so the name is not important), click the Tireweb logo and enter the following credentials (leave Biller Code blank):

Username test1
Password test1
Key CL107US6

Click create connection and the following dialog box will show up:

Data owners have control of where the information you pull indirectly from them can be displayed. As this is just a test connection this is not important for now, but it may be for future connections depending on your intended use. So, for now we can just press OK here without selecting anything.

Press OK again when the above dialog shows up.

The message down the bottom of the screen about the credit card can be ignored, as this is just a test connection.

Now that the connection is created, we can retrieve the connection ID to use in web services. To do this, click on the connection and the ID will be shown in the top-right corner:

Creating a Group

Now that a connection has been created, the next step is to create a group. Groups are important in categorizing connections and are required to use the Connections Center web services.

To create a group, the first thing to do is navigate to the Connections Center and click on New Group:

Here, enter a name for your group and click OK. This is just for testing so the name is not important.

The next step is to drag your connection into the group. Group's are capable of having multiple connections and connections can be in multiple groups. A scenario where groups are helpful is if you were using the connections center to pull data into your online store as well as your point of sale system. If you have 3 connections and want to use them all in your point of sale but only one in your online store, you would create an "online store" group and a "point of sale" group and then setup your other systems to pull connection data from their corresponding group.

Now that we have a group setup, we can retrieve the group token to use in web services. To do this, click the dropdown and select Get Token:

Your token will appear in the next dialog. You are now ready to use the Connections Center web services.

Validate Group Token

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/commonservice/ValidateGroupToken"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/commonservice.asmx > response.xml

Request XML

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ValidateGroupToken xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <groupToken>string</groupToken>
    </ValidateGroupToken>
  </soap:Body>
</soap:Envelope>

Response XML

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ValidateGroupTokenResponse xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <ValidateGroupTokenResult>boolean</ValidateGroupTokenResult>
    </ValidateGroupTokenResponse>
  </soap:Body>
</soap:Envelope>

Part of the authentication for the Connection Center web services is the information stored in your connections. To retrieve the connection information we need to use our group token that was obtained before.

First we will check and see if our group token is valid.

Get Connections by Group Token

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction:http://ws.tirewire.com/connectionscenter/commonservice/GetConnectionsByGroup"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/commonservice.asmx > response.xml

Request XML

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetConnectionsByGroup xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <key>string</key>
      <groupToken>string</groupToken>
    </GetConnectionsByGroup>
  </soap:Body>
</soap:Envelope>

Response XML

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetConnectionsByGroupResponse xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <GetConnectionsByGroupResult>
        <Connections>
          <ConnectionInformation>
            <Name>string</Name>
            <WarehouseName>string</WarehouseName>
            <SupplierSystemID>int</SupplierSystemID>
            <TirewireConnectionID>int</TirewireConnectionID>
            <Type>int</Type>
            <HasTires>boolean</HasTires>
            <HasWheels>boolean</HasWheels>
            <HasMiscProducts>boolean</HasMiscProducts>
          </ConnectionInformation>
        </Connections>
      </GetConnectionsByGroupResult>
    </GetConnectionsByGroupResponse>
  </soap:Body>
</soap:Envelope>

Now that we know our group token is valid we can go ahead and get the connection information.

Retrieve Tire Data

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction:http://ws.tirewire.com/connectionscenter/productsservice/GetTires"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/productsservice.asmx > response.xml

Request XML

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:prod="http://ws.tirewire.com/connectionscenter/productsservice">
  <soap:Header/>
  <soap:Body>
    <prod:GetTires>
      <prod:options>
        <prod:AccessKey>string</prod:AccessKey>
        <prod:GroupToken>string</prod:GroupToken>
        <prod:ConnectionID>int</prod:ConnectionID>
        <prod:Width>string</prod:Width>
        <prod:Aspect>string</prod:Aspect>
        <prod:Rim>string</prod:Rim>
      </prod:options>
    </prod:GetTires>
  </soap:Body>
</soap:Envelope>

Finally, knowing the connection ID, we can query it for stock. We'll begin with a simple size search.

Common Web Service

The Common Web Service contains methods related to Groups, Connections and Tire Makes. The Common Web Service does not deal with pricing, inventory or orders.

URL

http://ws.tirewire.com/connectionscenter/commonservice.asmx

WSDL

http://ws.tirewire.com/connectionscenter/commonservice.asmx?wsdl

GetAllMakes

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/commonservice/GetAllMakes"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/commonservice.asmx > response.xml

Request XML

<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>
    <GetAllMakes xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <key>string</key>
    </GetAllMakes>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetAllMakesResponse xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <GetAllMakesResult>
        <Makes>
          <Make>
            <ID>int</ID>
            <Name>string</Name>
            <EzytireCode>string</EzytireCode>
          </Make>
          ...
        </Makes>
      </GetAllMakesResult>
    </GetAllMakesResponse>
  </soap:Body>
</soap:Envelope>

Retrieves all makes from the TireLibrary.

SOAP Action

http://ws.tirewire.com/connectionscenter/commonservice/GetAllMakes

Request Parameters

Parameter Type Description
key string Access Key

Response Parameters

An array of Make objects.

Parameter Type Description
ID int Tirelibrary make ID
Name string Make name
EzytireCode string 4 letter make abbreviation for Tire Intel

GetConnectionByID

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/commonservice/GetConnectionByID"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/commonservice.asmx > response.xml

Request XML

<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>
    <GetConnectionByID xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <key>string</key>
      <groupToken>string</groupToken>
      <connectionID>int</connectionID>
    </GetConnectionByID>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetConnectionByIDResponse xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <GetConnectionByIDResult>
        <Connections>
          <ConnectionInformation>
            <Name>string</Name>
            <Active>boolean</Active>
            <WarehouseName>string</WarehouseName>
            <SupplierSystemID>int</SupplierSystemID>
            <TirewireConnectionID>int</TirewireConnectionID>
            <Credentials xsi:nil="true" />
            <Type>int</Type>
            <HasTires>boolean</HasTires>
            <HasWheels>boolean</HasWheels>
            <HasMiscProducts>boolean</HasMiscProducts>
            <MappingPackageID>int</MappingPackageID>
          </ConnectionInformation>
        </Connections>
      </GetConnectionByIDResult>
    </GetConnectionByIDResponse>
  </soap:Body>
</soap:Envelope>

Retrieves a Connection by ID.

SOAP Action

http://ws.tirewire.com/connectionscenter/commonservice/GetConnectionByID

Request Parameters

Parameter Type Description
key string Access Key
groupToken string The token for the group containing the connection
connectionID int The ID of the connection

Response Parameters

A ConnectionInformation object.

Parameter Type Description
Name string Connection name
Active boolean Has the connection been activated
WarehouseName string Warehouse name (where available)
SupplierSystemID int Supplier system ID
TirewireConnectionID int Connection ID
Credentials string[] (internal)
Type int (internal) Connection type
HasTires boolean Has tires
HasWheels boolean Has wheels
HasMiscProducts boolean Has miscellaneous products (accessories, etc)
MappingPackageID int Tire Library mapping package ID (-1 if not set or unsupported)

GetConnectionsByGroup

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/commonservice/GetConnectionsByGroup"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/commonservice.asmx > response.xml

Request XML

<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>
    <GetConnectionsByGroup xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <key>string</key>
      <groupToken>string</groupToken>
    </GetConnectionsByGroup>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetConnectionsByGroupResponse xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <GetConnectionsByGroupResult>
        <Connections>
          <ConnectionInformation>
            <Name>string</Name>
            <Active>boolean</Active>
            <WarehouseName>string</WarehouseName>
            <SupplierSystemID>int</SupplierSystemID>
            <TirewireConnectionID>int</TirewireConnectionID>
            <Credentials xsi:nil="true" />
            <Type>int</Type>
            <HasTires>boolean</HasTires>
            <HasWheels>boolean</HasWheels>
            <HasMiscProducts>boolean</HasMiscProducts>
            <MappingPackageID>int</MappingPackageID>
          </ConnectionInformation>
          ...
        </Connections>
      </GetConnectionsByGroupResult>
    </GetConnectionsByGroupResponse>
  </soap:Body>
</soap:Envelope>

Retrieves all Connections in a given Group.

SOAP Action

http://ws.tirewire.com/connectionscenter/commonservice/GetConnectionsByGroup

Request Parameters

Parameter Type Description
key string Access Key
groupToken string The token for the group containing the connections

Response Parameters

An array of ConnectionInformation objects.

Parameter Type Description
Name string Connection name
Active boolean Has the connection been activated
WarehouseName string Warehouse name (where available)
SupplierSystemID int Supplier system ID
TirewireConnectionID int Connection ID
Credentials string[] (internal)
Type int (internal) Connection type
HasTires boolean Has tires
HasWheels boolean Has wheels
HasMiscProducts boolean Has miscellaneous products (accessories, etc)
MappingPackageID int Tire Library mapping package ID (-1 if not set or unsupported)

GetSupplierSystemByID

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/commonservice/GetSupplierSystemByID"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/commonservice.asmx > response.xml

Request XML

<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>
    <GetSupplierSystemByID xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <key>string</key>
      <id>int</id>
    </GetSupplierSystemByID>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetSupplierSystemByIDResponse xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <GetSupplierSystemByIDResult>
        <SupplierSystems>
          <SupplierSystem>
            <ID>int</ID>
            <Name>string</Name>
            <ImageURL>string</ImageURL>
            <CredentialFields xsi:nil="true" />
            <CanChangePassword>boolean</CanChangePassword>
            <RequiresUserInformation>boolean</RequiresUserInformation>
            <HasTires>boolean</HasTires>
            <HasWheels>boolean</HasWheels>
            <HasMiscProducts>boolean</HasMiscProducts>
          </SupplierSystem>
        </SupplierSystems>
      </GetSupplierSystemByIDResult>
    </GetSupplierSystemByIDResponse>
  </soap:Body>
</soap:Envelope>

Retrieves a Supplier System by its ID.

SOAP Action

http://ws.tirewire.com/connectionscenter/commonservice/GetSupplierSystemByID

Request Parameters

Parameter Type Description
key string Access Key
id int The ID of the supplier system

Response Parameters

A SupplierSystem object.

Parameter Type Description
ID int Supplier system ID
Name string Supplier system name
ImageURL string Supplier system logo image URL
CredentialFields string[] (internal)
CanChangePassword boolean (internal)
RequiresUserInformation boolean (internal)
HasTires boolean Has tires
HasWheels boolean Has wheels
HasMiscProducts boolean Has miscellaneous products (accessories, etc)

GetSupplierSystems

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/commonservice/GetSupplierSystems"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/commonservice.asmx > response.xml

Request XML

<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>
    <GetSupplierSystems xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <key>string</key>
    </GetSupplierSystems>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetSupplierSystemsResponse xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <GetSupplierSystemsResult>
        <SupplierSystems>
          <SupplierSystem>
            <ID>int</ID>
            <Name>string</Name>
            <ImageURL>string</ImageURL>
            <CredentialFields xsi:nil="true" />
            <CanChangePassword>boolean</CanChangePassword>
            <RequiresUserInformation>boolean</RequiresUserInformation>
            <HasTires>boolean</HasTires>
            <HasWheels>boolean</HasWheels>
            <HasMiscProducts>boolean</HasMiscProducts>
          </SupplierSystem>
          ...
        </SupplierSystems>
      </GetSupplierSystemsResult>
    </GetSupplierSystemsResponse>
  </soap:Body>
</soap:Envelope>

Retrieves all Supplier Systems.

SOAP Action

http://ws.tirewire.com/connectionscenter/commonservice/GetSupplierSystems

Request Parameters

Parameter Type Description
key string Access Key

Response Parameters

An array of SupplierSystem objects.

Parameter Type Description
ID int Supplier system ID
Name string Supplier system name
ImageURL string Supplier system logo image URL
CredentialFields string[] (internal)
CanChangePassword boolean (internal)
RequiresUserInformation boolean (internal)
HasTires boolean Has tires
HasWheels boolean Has wheels
HasMiscProducts boolean Has miscellaneous products (accessories, etc)

ValidateGroupToken

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/commonservice/ValidateGroupToken"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/commonservice.asmx > response.xml

Request XML

<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>
    <ValidateGroupToken xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <groupToken>string</groupToken>
    </ValidateGroupToken>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <ValidateGroupTokenResponse xmlns="http://ws.tirewire.com/connectionscenter/commonservice">
      <ValidateGroupTokenResult>boolean</ValidateGroupTokenResult>
    </ValidateGroupTokenResponse>
  </soap:Body>
</soap:Envelope>

Retrieves all Connections in a given Group.

SOAP Action

http://ws.tirewire.com/connectionscenter/commonservice/ValidateGroupToken

Request Parameters

Parameter Type Description
groupToken string The token for the group

Response Parameters

Parameter Type Description
ValidateGroupTokenResult boolean True if the group token is valid

Products Web Service

The Products Web Service contains methods related to retrieving pricing and inventory.

URL

http://ws.tirewire.com/connectionscenter/productsservice.asmx

WSDL

http://ws.tirewire.com/connectionscenter/productsservice.asmx?wsdl

GetTires (Size)

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/productsservice/GetTires"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/productsservice.asmx > response.xml

Request XML

<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>
    <GetTires xmlns="http://ws.tirewire.com/connectionscenter/productsservice">
      <options>
        <AccessKey>string</AccessKey>
        <GroupToken>string</GroupToken>
        <ConnectionID>int</ConnectionID>
        <TireSize>string</TireSize>
        <DetailLevel>int</DetailLevel>
        <ApplyTirewireMarkups>boolean</ApplyTirewireMarkups>
      </options>
    </GetTires>
  </soap:Body>
</soap:Envelope>

Retrieves tire(s) by size.

SOAP Action

http://ws.tirewire.com/connectionscenter/productsservice/GetTires

Request Parameters

Parameter Type Description
AccessKey string Access Key
GroupToken string The token for the group containing the connection
ConnectionID int The ID of the connection
TireSize string Tire size (eg. 2056515)
DetailLevel int (optional) Level of additional data to retrieve from Tire Library
(0 = Minimum, 6 = Standard, 10 = All)
ApplyTirewireMarkups boolean (optional) Apply Tirewire markups to BuyPrice for display as SellPrice

Response

Returns GetTiresResponse

GetTires (Width, Aspect & Rim)

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/productsservice/GetTires"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/productsservice.asmx > response.xml

Request XML

<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>
    <GetTires xmlns="http://ws.tirewire.com/connectionscenter/productsservice">
      <options>
        <AccessKey>string</AccessKey>
        <GroupToken>string</GroupToken>
        <ConnectionID>int</ConnectionID>
        <Width>string</Width>
        <Aspect>string</Aspect>
        <Rim>string</Rim>
        <DetailLevel>int</DetailLevel>
        <ApplyTirewireMarkups>boolean</ApplyTirewireMarkups>
      </options>
    </GetTires>
  </soap:Body>
</soap:Envelope>

Retrieves tire(s) by size, specified as width, aspect ratio and rim size.

SOAP Action

http://ws.tirewire.com/connectionscenter/productsservice/GetTires

Request Parameters

Parameter Type Description
AccessKey string Access Key
GroupToken string The token for the group containing the connection
ConnectionID int The ID of the connection
Width string Tire width (eg. 205)
Aspect string Tire aspect ratio (eg. 65)
Rim string Tire rim size (eg. 15)
DetailLevel int (optional) Level of additional data to retrieve from Tire Library
(0 = Minimum, 6 = Standard, 10 = All)
ApplyTirewireMarkups boolean (optional) Apply Tirewire markups to BuyPrice for display as SellPrice

Response

Returns GetTiresResponse

GetTires (Product Code)

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/productsservice/GetTires"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/productsservice.asmx > response.xml

Request XML

<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>
    <GetTires xmlns="http://ws.tirewire.com/connectionscenter/productsservice">
      <options>
        <AccessKey>string</AccessKey>
        <GroupToken>string</GroupToken>
        <ConnectionID>int</ConnectionID>
        <ProductCode>string</ProductCode>
        <DetailLevel>int</DetailLevel>
        <ApplyTirewireMarkups>boolean</ApplyTirewireMarkups>
      </options>
    </GetTires>
  </soap:Body>
</soap:Envelope>

Retrieves tire by product code.

SOAP Action

http://ws.tirewire.com/connectionscenter/productsservice/GetTires

Request Parameters

Parameter Type Description
AccessKey string Access Key
GroupToken string The token for the group containing the connection
ConnectionID int The ID of the connection
ProductCode string Manufacturer product code
DetailLevel int (optional) Level of additional data to retrieve from Tire Library
(0 = Minimum, 6 = Standard, 10 = All)
ApplyTirewireMarkups boolean (optional) Apply Tirewire markups to BuyPrice for display as SellPrice

Response

Returns GetTiresResponse

GetTires (Product Codes)

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/productsservice/GetTires"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/productsservice.asmx > response.xml

Request XML

<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>
    <GetTires xmlns="http://ws.tirewire.com/connectionscenter/productsservice">
      <options>
        <AccessKey>string</AccessKey>
        <GroupToken>string</GroupToken>
        <ConnectionID>int</ConnectionID>
        <ProductCodes>
          <string>string</string>
          ...
        </ProductCodes>
        <DetailLevel>int</DetailLevel>
        <ApplyTirewireMarkups>boolean</ApplyTirewireMarkups>
      </options>
    </GetTires>
  </soap:Body>
</soap:Envelope>

Retrieves tire(s) by product codes.

SOAP Action

http://ws.tirewire.com/connectionscenter/productsservice/GetTires

Request Parameters

Parameter Type Description
AccessKey string Access Key
GroupToken string The token for the group containing the connection
ConnectionID int The ID of the connection
ProductCodes string[] Manufacturer product codes
DetailLevel int (optional) Level of additional data to retrieve from Tire Library
(0 = Minimum, 6 = Standard, 10 = All)
ApplyTirewireMarkups boolean (optional) Apply Tirewire markups to BuyPrice for display as SellPrice

Response

Returns GetTiresResponse

GetTires (Client Product Codes)

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/productsservice/GetTires"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/productsservice.asmx > response.xml

Request XML

<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>
    <GetTires xmlns="http://ws.tirewire.com/connectionscenter/productsservice">
      <options>
        <AccessKey>string</AccessKey>
        <GroupToken>string</GroupToken>
        <ConnectionID>int</ConnectionID>
        <ClientProductCodes>
          <string>string</string>
          ...
        </ClientProductCodes>
        <DetailLevel>int</DetailLevel>
        <ApplyTirewireMarkups>boolean</ApplyTirewireMarkups>
      </options>
    </GetTires>
  </soap:Body>
</soap:Envelope>

Retrieves tire(s) by client product codes.

SOAP Action

http://ws.tirewire.com/connectionscenter/productsservice/GetTires

Request Parameters

Parameter Type Description
AccessKey string Access Key
GroupToken string The token for the group containing the connection
ConnectionID int The ID of the connection
ClientProductCodes string[] Manufacturer product codes
DetailLevel int (optional) Level of additional data to retrieve from Tire Library
(0 = Minimum, 6 = Standard, 10 = All)
ApplyTirewireMarkups boolean (optional) Apply Tirewire markups to BuyPrice for display as SellPrice

Response

Returns GetTiresResponse

GetTires (ID)

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/productsservice/GetTires"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/productsservice.asmx > response.xml

Request XML

<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>
    <GetTires xmlns="http://ws.tirewire.com/connectionscenter/productsservice">
      <options>
        <AccessKey>string</AccessKey>
        <GroupToken>string</GroupToken>
        <ConnectionID>int</ConnectionID>
        <ID>int</ID>
        <DetailLevel>int</DetailLevel>
        <ApplyTirewireMarkups>boolean</ApplyTirewireMarkups>
      </options>
    </GetTires>
  </soap:Body>
</soap:Envelope>

Retrieves tire by internal Tirelibrary ID.

SOAP Action

http://ws.tirewire.com/connectionscenter/productsservice/GetTires

Request Parameters

Parameter Type Description
AccessKey string Access Key
GroupToken string The token for the group containing the connection
ConnectionID int The ID of the connection
ID int Internal Tirelibrary ID
DetailLevel int (optional) Level of additional data to retrieve from Tire Library
(0 = Minimum, 6 = Standard, 10 = All)
ApplyTirewireMarkups boolean (optional) Apply Tirewire markups to BuyPrice for display as SellPrice

Response

Returns GetTiresResponse

GetTires (IDs)

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/productsservice/GetTires"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/productsservice.asmx > response.xml

Request XML

<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>
    <GetTires xmlns="http://ws.tirewire.com/connectionscenter/productsservice">
      <options>
        <AccessKey>string</AccessKey>
        <GroupToken>string</GroupToken>
        <ConnectionID>int</ConnectionID>
        <IDs>
          <int>int</int>
          ...
        </IDs>
        <DetailLevel>int</DetailLevel>
        <ApplyTirewireMarkups>boolean</ApplyTirewireMarkups>
      </options>
    </GetTires>
  </soap:Body>
</soap:Envelope>

Retrieves tire(s) by internal Tirelibrary IDs.

SOAP Action

http://ws.tirewire.com/connectionscenter/productsservice/GetTires

Request Parameters

Parameter Type Description
AccessKey string Access Key
GroupToken string The token for the group containing the connection
ConnectionID int The ID of the connection
IDs int[] Internal Tirelibrary IDs
DetailLevel int (optional) Level of additional data to retrieve from Tire Library
(0 = Minimum, 6 = Standard, 10 = All)
ApplyTirewireMarkups boolean (optional) Apply Tirewire markups to BuyPrice for display as SellPrice

Response

Returns GetTiresResponse

GetTires Response

Response XML

<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>
    <GetTiresResponse xmlns="http://ws.tirewire.com/connectionscenter/productsservice">
      <GetTiresResult>
        <Tires>
          <Tire>
            <ID>int</ID>
            <ProductCode>string</ProductCode>
            <ClientProductCode>string</ClientProductCode>
            <Name>string</Name>
            <ClientName>string</ClientName>
            <BuyPrice>decimal</BuyPrice>
            <SellPrice>decimal</SellPrice>
            <Tax>decimal</Tax>
            <Quantity>int</Quantity>
            <QuantitySecondary>int</QuantitySecondary>
            <Quantities xsi:nil="true" />
            <Make>string</Make>
            <MakeID>int</MakeID>
            <Pattern>string</Pattern>
            <PatternID>int</PatternID>
            <Description>string</Description>
            <SizeID>int</SizeID>
            <ImageURL>string</ImageURL>
            <Width>double</Width>
            <AspectRatio>double</AspectRatio>
            <Rim>double</Rim>
            <InchWidth>double</InchWidth>
            <Diameter>double</Diameter>
            <MetricRim>double</MetricRim>
            <Weight>double</Weight>
            <SpeedRating>string</SpeedRating>
            <LoadRating>string</LoadRating>
            <PlyRating>string</PlyRating>
            <UTQG>string</UTQG>
            <LoadCapacity>string</LoadCapacity>
            <InflationPressure>int</InflationPressure>
            <Sidewall>string</Sidewall>
            <LoadRange>string</LoadRange>
            <ApprovedRimWidth>string</ApprovedRimWidth>
            <MeasuringRimWidth>string</MeasuringRimWidth>
            <SectionWidth>string</SectionWidth>
            <MeasuredOD>string</MeasuredOD>
            <TreadDepth>string</TreadDepth>
            <RevsPerMile>string</RevsPerMile>
            <MaxLoadSingle>string</MaxLoadSingle>
            <MaxLoadDual>string</MaxLoadDual>
            <Features>string</Features>
            <Benefits>string</Benefits>
            <Has360Image>boolean</Has360Image>
            <MaxInflationPressure>string</MaxInflationPressure>
            <IsSpecial>boolean</IsSpecial>
            <Warranty>string</Warranty>
            <SupplierSystemID>int</SupplierSystemID>
            <ConnectionID>int</ConnectionID>
            <TireClasses xsi:nil="true" />
            <Programs xsi:nil="true" />
            <TireMake xsi:nil="true" />
            <ClientDescription>string</ClientDescription>
            <GMProductCode>string</GMProductCode>
            <GBB>int</GBB>
            <ItemFlag>int</ItemFlag>
            <Notes>string</Notes>
            <unusedlw>string</unusedlw>
            <unusedmd>string</unusedmd>
            <unusedhg>string</unusedhg>
            <unusedsp>string</unusedsp>
            <FeaturesArray xsi:nil="true" />
            <BenefitsArray xsi:nil="true" />
          </Tire>
          ...
        </Tires>
        <UnmappedTires>
          <UnmappedTire>
            <ClientProductCode>string</ClientProductCode>
            <ClientMake>string</ClientMake>
            <ClientMakeAbbreviation>string</ClientMakeAbbreviation>
            <ClientMakeID>int</ClientMakeID>
            <ClientDescription>string</ClientDescription>
            <ProductCode>string</ProductCode>
            <Make>string</Make>
            <MakeID>int</MakeID>
            <PlyRating>string</PlyRating>
            <BuyPrice>decimal</BuyPrice>
            <SellPrice>decimal</SellPrice>
            <Tax>decimal</Tax>
            <Quantity>int</Quantity>
            <QuantitySecondary>int</QuantitySecondary>
            <Quantities xsi:nil="true" />
            <IsSpecial>boolean</IsSpecial>
            <GBB>int</GBB>
            <ItemFlag>int</ItemFlag>
            <ConnectionID>int</ConnectionID>
            <Notes>string</Notes>
            <Programs xsi:nil="true" />
            <TireClasses xsi:nil="true" />
          </UnmappedTire>
          ...
        </UnmappedTires>
        <UnmappedCount>int</UnmappedCount>
        <LogID>int</LogID>
        <LogIDs>
          <int>int</int>
          <int>int</int>
        </LogIDs>
        <Message>string</Message>
        <SLogID>guid</SLogID>
      </GetTiresResult>
    </GetTiresResponse>
  </soap:Body>
</soap:Envelope>

The response from a successful GetTires request.

Response Parameters

Parameter Type Description
Tires Tire[] Array of tires that successfully map to the Tirelibrary
UnmappedTires UnmappedTire[] Array of tires that did not map to the Tirelibrary
UnmappedCount int Number of unmapped tires
LogID int (internal) The log ID
LogIDs int[] (internal) The log IDs
Message string Message from the supplier system
SLogID guid (internal) Speed log ID

Tire Object

Mapped tire with data from the Tirelibrary

Object Parameters

Parameter Type Description
ID int Tirelibrary tire ID
ProductCode string Manufacturer product code from Tirelibrary
ClientProductCode string Product code from supplier system
Name string Product name from Tirelibrary
ClientName string Product name from supplier system
BuyPrice decimal Buy price from supplier system
SellPrice decimal Sell price either from supplier system (if available) or marked up from buy price (if markups set)
Tax decimal FET value from supplier system (if available)
Quantity int Primary stock quantity
QuantitySecondary int Secondary stock quantity
Quantities string[] (internal)
Make string Make name from Tirelibrary
MakeID int Tirelibrary make ID
Pattern string Pattern name from Tirelibrary
PatternID int Tirelibrary pattern ID
Description string Description from Tirelibrary
SizeID int Tirelibrary size ID
ImageURL string Tire image URL from Tirelibrary
Width double Width (mm)
AspectRatio double Aspect Ratio (%)
Rim double Rim Size (inch)
InchWidth double Inch Width (inch)
Diameter double Diameter (inch)
MetricRim double Metric Rim Diameter (mm)
Weight double Weight (lbs)
SpeedRating string Speed Rating
LoadRating string Load Rating (Single/Double)
PlyRating string Ply Rating
UTQG string UTQG
LoadCapacity string Load Capacity (lbs)
InflationPressure double Inflation Pressure (psi)
Sidewall string Sidewall
LoadRange string Load Range
ApprovedRimWidth string Approved Rim Width (inch)
MeasuringRimWidth string Measuring Rim Width (inch)
SectionWidth string Section Width
MeasuredOD string Overall Diameter (inch)
TreadDepth string Tread Depth (1/32")
RevsPerMile string Revolutions Per Mile
MaxLoadSingle string Load Capacity Single (lbs)
MaxLoadDual string Load Capacity Dual (lbs)
Features string Features
Benefits string Benefits
Has360Image boolean Has 360 degree tire images
MaxInflationPressure string Max Inflation Pressure
IsSpecial boolean Is special pricing
Warranty boolean Warranty (miles)
SupplierSystemID int Supplier system ID
ConnectionID int Connection ID
TireClasses TireClass[] Classes that provide a general grouping for tires
Programs TireProgram[] (internal)
TireMake TireMake Tire make information (ID, Name, Image URL)
ClientDescription string Description from supplier system
GMProductCode string GM product code
GBB int Good Better Best (1 = Good, 2 = Better, 3 = Best, -1 Default)
ItemFlag int (internal)
Notes string (internal)
unusedlw string (internal)
unusedmd string (internal)
unusedhg string (internal)
unusedsp string (internal)
FeaturesArray string[] Features (separated out by line)
BenefitsArray string[] Benefits (separated out by line)

UnmappedTire Object

Unmapped tire when a match could not be made to the Tirelibrary

Object Parameters

Parameter Type Description
ClientProductCode string Product code from supplier system
ClientMake string Make name from supplier system
ClientMakeAbbreviation string Make abbreviation from supplier system
ClientMakeID int Make ID from suppler system
ClientDescription string Description from supplier system
ProductCode string Product code
Make string Make name from Tirelibrary
MakeID int Tirelibrary make ID
PlyRating string Ply Rating
BuyPrice decimal Buy price from supplier system
SellPrice decimal Sell price either from supplier system (if available) or marked up from buy price (if markups set)
Tax decimal FET value from supplier system (if available)
Quantity int Primary stock quantity
QuantitySecondary int Secondary stock quantity
Quantities string[] (internal)
IsSpecial boolean Is special pricing
GBB int Good Better Best (1 = Good, 2 = Better, 3 = Best, -1 Default)
ItemFlag int (internal)
ConnectionID int Connection ID
Notes string (internal)
Programs TireProgram[] (internal)
TireClasses TireClass[] Classes that provide a general grouping for tires

Orders Web Service

The Orders Web Service contains methods related to retrieving orders, delivery/shipping information, and placing orders.

URL

http://ws.tirewire.com/connectionscenter/ordersservice.asmx

WSDL

http://ws.tirewire.com/connectionscenter/ordersservice.asmx?wsdl

GetAllOrdersByConnection

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/ordersservice/GetAllOrdersByConnection"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/ordersservice.asmx > response.xml

Request XML

<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>
    <GetAllOrdersByConnection xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <key>string</key>
      <groupToken>string</groupToken>
      <connectionID>int</connectionID>
    </GetAllOrdersByConnection>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetAllOrdersByConnectionResponse xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <GetAllOrdersByConnectionResult>
        <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" />
          </Order>
          ...
        </Orders>
      </GetAllOrdersByConnectionResult>
    </GetAllOrdersByConnectionResponse>
  </soap:Body>
</soap:Envelope>

Retrieves all orders for a Connection.

SOAP Action

http://ws.tirewire.com/connectionscenter/ordersservice/GetAllOrdersByConnection

Request Parameters

Parameter Type Description
key string Access Key
groupToken string The token for the group containing the connection
connectionID int The ID of the connection

Response Parameters

An array of Order objects.

Parameter Type Description
ID int Connections Center order ID
LogId string Connections Center order log ID
TirewireConnectionID int Connection ID
SubData string SubData value provided at the time of order
SupplierSystemID int Connection supplier system ID
SupplierSystemOrderID string Supplier system order ID
Status string Order status
StatusID int Order status ID
DatePlaced datetime Time that the order was placed
Number string Purchase order number
Notes string Order notes
DeliveryID int Delivery ID
ShipTo ShipTo Ship-to information (if available)
Tires Tire[] Array of tires that successfully map to the Tirelibrary
UnmappedTires UnmappedTire[] Array of tires that did not map to the Tirelibrary
MiscProducts MiscProduct[] Array of miscellaneous products
Wheels Wheel[] Array of wheels

GetAllOrdersByGroup

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/ordersservice/GetAllOrdersByGroup"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/ordersservice.asmx > response.xml

Request XML

<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>
    <GetAllOrdersByGroup xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <key>string</key>
      <groupToken>string</groupToken>
    </GetAllOrdersByGroup>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetAllOrdersByGroupResponse xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <GetAllOrdersByGroupResult>
        <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" />
          </Order>
          ...
        </Orders>
      </GetAllOrdersByGroupResult>
    </GetAllOrdersByGroupResponse>
  </soap:Body>
</soap:Envelope>

Retrieves all orders for a Group.

SOAP Action

http://ws.tirewire.com/connectionscenter/ordersservice/GetAllOrdersByGroup

Request Parameters

Parameter Type Description
key string Access Key
groupToken string The token for the group containing the connection

Response Parameters

An array of Order objects.

Parameter Type Description
ID int Connections Center order ID
LogId string Connections Center order log ID
TirewireConnectionID int Connection ID
SubData string SubData value provided at the time of order
SupplierSystemID int Connection supplier system ID
SupplierSystemOrderID string Supplier system order ID
Status string Order status
StatusID int Order status ID
DatePlaced datetime Time that the order was placed
Number string Purchase order number
Notes string Order notes
DeliveryID int Delivery ID
ShipTo ShipTo Ship-to information (if available)
Tires Tire[] Array of tires that successfully map to the Tirelibrary
UnmappedTires UnmappedTire[] Array of tires that did not map to the Tirelibrary
MiscProducts MiscProduct[] Array of miscellaneous products
Wheels Wheel[] Array of wheels

GetOrderByID

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/ordersservice/GetOrderByID"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/ordersservice.asmx > response.xml

Request XML

<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>
    <GetOrderByID xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <key>string</key>
      <groupToken>string</groupToken>
      <orderID>int</orderID>
    </GetOrderByID>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetOrderByIDResponse xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <GetOrderByIDResult>
        <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" />
          </Order>
          ...
        </Orders>
      </GetOrderByIDResult>
    </GetOrderByIDResponse>
  </soap:Body>
</soap:Envelope>

Retrieves an order by ID.

SOAP Action

http://ws.tirewire.com/connectionscenter/ordersservice/GetOrderByID

Request Parameters

Parameter Type Description
key string Access Key
groupToken string The token for the group containing the connection
orderID int Connections Center order ID

Response Parameters

An array of Order objects.

Parameter Type Description
ID int Connections Center order ID
LogId string Connections Center order log ID
TirewireConnectionID int Connection ID
SubData string SubData value provided at the time of order
SupplierSystemID int Connection supplier system ID
SupplierSystemOrderID string Supplier system order ID
Status string Order status
StatusID int Order status ID
DatePlaced datetime Time that the order was placed
Number string Purchase order number
Notes string Order notes
DeliveryID int Delivery ID
ShipTo ShipTo Ship-to information (if available)
Tires Tire[] Array of tires that successfully map to the Tirelibrary
UnmappedTires UnmappedTire[] Array of tires that did not map to the Tirelibrary
MiscProducts MiscProduct[] Array of miscellaneous products
Wheels Wheel[] Array of wheels

GetOrderByIDAndConnection

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/ordersservice/GetOrderByIDAndConnection"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/ordersservice.asmx > response.xml

Request XML

<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>
    <GetOrderByIDAndConnection xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <key>string</key>
      <groupToken>string</groupToken>
      <connectionID>int</connectionID>
      <orderID>int</orderID>
    </GetOrderByIDAndConnection>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetOrderByIDAndConnectionResponse xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <GetOrderByIDAndConnectionResult>
        <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" />
          </Order>
          ...
        </Orders>
      </GetOrderByIDAndConnectionResult>
    </GetOrderByIDAndConnectionResponse>
  </soap:Body>
</soap:Envelope>

Retrieves an order by ID and Connection.

SOAP Action

http://ws.tirewire.com/connectionscenter/ordersservice/GetOrderByIDAndConnection

Request Parameters

Parameter Type Description
key string Access Key
groupToken string The token for the group containing the connection
connectionID int The ID of the connection
orderID int Connections Center order ID

Response Parameters

An array of Order objects.

Parameter Type Description
ID int Connections Center order ID
LogId string Connections Center order log ID
TirewireConnectionID int Connection ID
SubData string SubData value provided at the time of order
SupplierSystemID int Connection supplier system ID
SupplierSystemOrderID string Supplier system order ID
Status string Order status
StatusID int Order status ID
DatePlaced datetime Time that the order was placed
Number string Purchase order number
Notes string Order notes
DeliveryID int Delivery ID
ShipTo ShipTo Ship-to information (if available)
Tires Tire[] Array of tires that successfully map to the Tirelibrary
UnmappedTires UnmappedTire[] Array of tires that did not map to the Tirelibrary
MiscProducts MiscProduct[] Array of miscellaneous products
Wheels Wheel[] Array of wheels

GetOrdersByGroupExtended

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/ordersservice/GetOrdersByGroupExtended"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/ordersservice.asmx > response.xml

Request XML

<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>
    <GetOrdersByGroupExtended xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <key>string</key>
      <groupToken>string</groupToken>
      <skip>int</skip>
      <take>int</take>
      <from>dateTime</from>
      <to>dateTime</to>
    </GetOrdersByGroupExtended>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetOrdersByGroupExtendedResponse xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <GetOrdersByGroupExtendedResult>
        <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" />
          </Order>
          ...
        </Orders>
        <TotalCount>int</TotalCount>
      </GetOrdersByGroupExtendedResult>
    </GetOrdersByGroupExtendedResponse>
  </soap:Body>
</soap:Envelope>

Retrieves orders for a Group with extended options.

SOAP Action

http://ws.tirewire.com/connectionscenter/ordersservice/GetOrdersByGroupExtended

Request Parameters

Parameter Type Description
key string Access Key
groupToken string The token for the group containing the connection
skip int Number of orders to skip for pagination
take int Number of orders to return for pagination
from dateTime Only return orders after this date and time
to dateTime Only return orders before this date and time

Response Parameters

An array of Order objects.

Parameter Type Description
ID int Connections Center order ID
LogId string Connections Center order log ID
TirewireConnectionID int Connection ID
SubData string SubData value provided at the time of order
SupplierSystemID int Connection supplier system ID
SupplierSystemOrderID string Supplier system order ID
Status string Order status
StatusID int Order status ID
DatePlaced datetime Time that the order was placed
Number string Purchase order number
Notes string Order notes
DeliveryID int Delivery ID
ShipTo ShipTo Ship-to information (if available)
Tires Tire[] Array of tires that successfully map to the Tirelibrary
UnmappedTires UnmappedTire[] Array of tires that did not map to the Tirelibrary
MiscProducts MiscProduct[] Array of miscellaneous products
Wheels Wheel[] Array of wheels
Parameter Type Description
TotalCount int Total number of orders in the provided date range

GetDeliveryOptions

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/ordersservice/GetDeliveryOptions"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/ordersservice.asmx > response.xml

Request XML

<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>
    <GetDeliveryOptions xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <key>string</key>
      <groupToken>string</groupToken>
      <connectionID>int</connectionID>
      <subData>string</subData>
    </GetDeliveryOptions>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetDeliveryOptionsResponse xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <GetDeliveryOptionsResult>
        <DeliveryOptions>
          <DeliveryOption>
            <Code>string</Code>
            <Title>string</Title>
          </DeliveryOption>
          ...
        </DeliveryOptions>
      </GetDeliveryOptionsResult>
    </GetDeliveryOptionsResponse>
  </soap:Body>
</soap:Envelope>

Retrieves available Delivery Options for a Connection.

SOAP Action

http://ws.tirewire.com/connectionscenter/ordersservice/GetDeliveryOptions

Request Parameters

Parameter Type Description
key string Access Key
groupToken string The token for the group containing the connection
connectionID int The ID of the connection
SubData string SubData override

Response Parameters

An array of DeliveryOption objects.

Parameter Type Description
Code string Delivery option identifying code
Title string Delivery option title

GetShipToOptions

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/ordersservice/GetShipToOptions"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/ordersservice.asmx > response.xml

Request XML

<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>
    <GetShipToOptions xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <key>string</key>
      <groupToken>string</groupToken>
      <connectionID>int</connectionID>
      <subData>string</subData>
    </GetShipToOptions>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetShipToOptionsResponse xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <GetShipToOptionsResult>
        <ShipToOptions>
          <ShipToOption>
            <Code>string</Code>
            <Title>string</Title>
            <AddressLine1>string</AddressLine1>
            <AddressLine2>string</AddressLine2>
            <City>string</City>
            <State>string</State>
            <ZIP>int</ZIP>
          </ShipToOption>
          ...
        </ShipToOptions>
      </GetShipToOptionsResult>
    </GetShipToOptionsResponse>
  </soap:Body>
</soap:Envelope>

Retrieves available Ship-To Options for a Connection where supported.

SOAP Action

http://ws.tirewire.com/connectionscenter/ordersservice/GetShipToOptions

Request Parameters

Parameter Type Description
key string Access Key
groupToken string The token for the group containing the connection
connectionID int The ID of the connection
SubData string SubData override

Response Parameters

An array of ShipToOption objects.

Parameter Type Description
Code string Ship-to option identifying code
Title string Ship-to option title
AddressLine1 string Address line 1
AddressLine2 string Address line 2
City string City
State string State
ZIP int ZIP code

PlaceOrders

curl -p
  -H "Content-Type: text/xml;charset=UTF-8"
  -H "SOAPAction: http://ws.tirewire.com/connectionscenter/ordersservice/PlaceOrders"
  -d @request.xml
  http://ws.tirewire.com/connectionscenter/ordersservice.asmx > response.xml

Request XML

<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>int</ZIP>
          </ShipTo>
          <Tires>
            <UnplacedOrderTire>
              <ClientProductCode>string</ClientProductCode>
              <Quantity>int</Quantity>
              <Price>decimal</Price>
              <Tax>decimal</Tax>
            </UnplacedOrderTire>
            ...
          </Tires>
          <UnmappedTires>
            <UnplacedOrderUnmappedTire>
              <ClientProductCode>string</ClientProductCode>
              <Make>string</Make>
              <Quantity>int</Quantity>
              <Price>decimal</Price>
              <Tax>decimal</Tax>
            </UnplacedOrderUnmappedTire>
            ...
          </UnmappedTires>
          <MiscProducts>
            <UnplacedOrderMiscProduct>
              <ClientProductCode>string</ClientProductCode>
              <Make>string</Make>
              <Quantity>int</Quantity>
              <Price>decimal</Price>
              <Tax>decimal</Tax>
            </UnplacedOrderMiscProduct>
            ...
          </MiscProducts>
          <Wheels>
            <UnplacedOrderWheel>
              <ClientProductCode>string</ClientProductCode>
              <Quantity>int</Quantity>
              <Price>decimal</Price>
              <Tax>decimal</Tax>
            </UnplacedOrderWheel>
            ...
          </Wheels>
        </UnplacedOrder>
        ...
      </ordersToPlace>
    </PlaceOrders>
  </soap:Body>
</soap:Envelope>

Response XML

<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>
    <GetAllOrdersByConnectionResponse xmlns="http://ws.tirewire.com/connectionscenter/ordersservice">
      <GetAllOrdersByConnectionResult>
        <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" />
          </Order>
          ...
        </Orders>
      </GetAllOrdersByConnectionResult>
    </GetAllOrdersByConnectionResponse>
  </soap:Body>
</soap:Envelope>

Places orders. (Delivery information, including IDs, can be retrieved using the GetDeliveryOptions method).

SOAP Action

http://ws.tirewire.com/connectionscenter/ordersservice/PlaceOrders

Request Parameters

Parameter Type Description
key string Access Key
groupToken string The token for the group containing the connection
ordersToPlace UnplacedOrder[] Array of UnplacedOrder objects

UnplacedOrder

Parameter Type Description
ConnectionID int The ID of the connection
SubData string SubData override
OrderNumber string Purchase order number
Notes string Order notes
DeliveryID string Delivery option identifying code
ShipTo ShipTo (optional) Ship-to information
Not supported/required by all supplier systems
Tires UnplacedOrderTire[] (optional) Array of UnplacedOrderTire objects
UnmappedTires UnplacedOrderUnmappedTire[] (optional) Array of UnplacedOrderUnmappedTire objects (Make name must be provided)
MiscProducts UnplacedOrderMiscProduct[] (optional) Array of UnplacedOrderMiscProduct objects (Make name must be provided)
Wheels UnplacedOrderWheel[] (optional) Array of UnplacedOrderWheel objects

Response Parameters

An array of Order objects.

Parameter Type Description
ID int Connections Center order ID
LogId string Connections Center order log ID
TirewireConnectionID int Connection ID
SubData string SubData value provided at the time of order
SupplierSystemID int Connection supplier system ID
SupplierSystemOrderID string Supplier system order ID
Status string Order status
StatusID int Order status ID
DatePlaced datetime Time that the order was placed
Number string Purchase order number
Notes string Order notes
DeliveryID int Delivery ID
ShipTo ShipTo Ship-to information (if available)
Tires Tire[] Array of tires that successfully map to the Tirelibrary
UnmappedTires UnmappedTire[] Array of tires that did not map to the Tirelibrary
MiscProducts MiscProduct[] Array of miscellaneous products
Wheels Wheel[] Array of wheels