webservice
Click here for a complete list of operations.
GetTyreCost
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /eu/webservice.asmx HTTP/1.1 Host: api.wheelwizards.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://driveright.com/GetTyreCost" <?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> <GetTyreCost xmlns="http://driveright.com/"> <username>string</username> <password>string</password> <chassisID>int</chassisID> <modelID>int</modelID> <country>string</country> </GetTyreCost> </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> <GetTyreCostResponse xmlns="http://driveright.com/"> <GetTyreCostResult> <ChassisID>int</ChassisID> <ModelID>int</ModelID> <Manufacturer>string</Manufacturer> <Model>string</Model> <TyreSize>string</TyreSize> <Currency>string</Currency> <Value5>int</Value5> <Value10>int</Value10> <Value20>int</Value20> <Premium5>int</Premium5> <Premium10>int</Premium10> <Premium20>int</Premium20> <Superior5>int</Superior5> <Superior10>int</Superior10> <Superior20>int</Superior20> <HighPriceTyre>int</HighPriceTyre> <LowPriceTyre>int</LowPriceTyre> </GetTyreCostResult> </GetTyreCostResponse> </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 /eu/webservice.asmx HTTP/1.1 Host: api.wheelwizards.net 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> <GetTyreCost xmlns="http://driveright.com/"> <username>string</username> <password>string</password> <chassisID>int</chassisID> <modelID>int</modelID> <country>string</country> </GetTyreCost> </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> <GetTyreCostResponse xmlns="http://driveright.com/"> <GetTyreCostResult> <ChassisID>int</ChassisID> <ModelID>int</ModelID> <Manufacturer>string</Manufacturer> <Model>string</Model> <TyreSize>string</TyreSize> <Currency>string</Currency> <Value5>int</Value5> <Value10>int</Value10> <Value20>int</Value20> <Premium5>int</Premium5> <Premium10>int</Premium10> <Premium20>int</Premium20> <Superior5>int</Superior5> <Superior10>int</Superior10> <Superior20>int</Superior20> <HighPriceTyre>int</HighPriceTyre> <LowPriceTyre>int</LowPriceTyre> </GetTyreCostResult> </GetTyreCostResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /eu/webservice.asmx/GetTyreCost?username=string&password=string&chassisID=string&modelID=string&country=string HTTP/1.1 Host: api.wheelwizards.net
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <TyreCostReturn xmlns="http://driveright.com/"> <ChassisID>int</ChassisID> <ModelID>int</ModelID> <Manufacturer>string</Manufacturer> <Model>string</Model> <TyreSize>string</TyreSize> <Currency>string</Currency> <Value5>int</Value5> <Value10>int</Value10> <Value20>int</Value20> <Premium5>int</Premium5> <Premium10>int</Premium10> <Premium20>int</Premium20> <Superior5>int</Superior5> <Superior10>int</Superior10> <Superior20>int</Superior20> <HighPriceTyre>int</HighPriceTyre> <LowPriceTyre>int</LowPriceTyre> </TyreCostReturn>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /eu/webservice.asmx/GetTyreCost HTTP/1.1 Host: api.wheelwizards.net Content-Type: application/x-www-form-urlencoded Content-Length: length username=string&password=string&chassisID=string&modelID=string&country=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <TyreCostReturn xmlns="http://driveright.com/"> <ChassisID>int</ChassisID> <ModelID>int</ModelID> <Manufacturer>string</Manufacturer> <Model>string</Model> <TyreSize>string</TyreSize> <Currency>string</Currency> <Value5>int</Value5> <Value10>int</Value10> <Value20>int</Value20> <Premium5>int</Premium5> <Premium10>int</Premium10> <Premium20>int</Premium20> <Superior5>int</Superior5> <Superior10>int</Superior10> <Superior20>int</Superior20> <HighPriceTyre>int</HighPriceTyre> <LowPriceTyre>int</LowPriceTyre> </TyreCostReturn>