Skip to content

Instantly share code, notes, and snippets.

@cox-auto-inc-codeweavers
cox-auto-inc-codeweavers / ycmi2_v2_soap_response_with_quotes.xml
Last active October 11, 2015 06:58
Insurance SOAP Response With Quotes
<QuotesResponse xmlns="http://www.codeweavers.net/webservices/Insurance/">;
<QuotesResult>
<CustomerDetailsForm>
<Url>http://www.ycmi2.co.uk/[Access Point ID]/Integration/ForCustomer/[Unique Customer Reference]</Url>
<DisplayText>Update insurance details</DisplayText>
</CustomerDetailsForm>
<Calculations>
<Calculation> <!-- Example result with 2 valid quotes with the best quote specified for given vehicle -->
<Id>Your Unique Vehicle Identifier</Id>
@cox-auto-inc-codeweavers
cox-auto-inc-codeweavers / ycmi2_v2_soap_response.xml
Last active October 11, 2015 06:58
Insurance SOAP Response
<QuotesResponse xmlns="http://www.codeweavers.net/webservices/Insurance/">
<QuotesResult>
<CustomerDetailsForm>
<Url>http://wwww.ycmi2.co.uk/[Access Point ID]/Integration/ForCustomer/[Unique Customer Reference]</Url>
<DisplayText>Get an insurance quote</DisplayText>
</CustomerDetailsForm>
<Calculations />
</QuotesResult>
</QuotesResponse>
@cox-auto-inc-codeweavers
cox-auto-inc-codeweavers / ycmi2_v2_soap_request.xml
Last active October 11, 2015 06:57
Insurance SOAP Request
<?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>
<Quotes xmlns="http://www.codeweavers.net/webservices/Insurance/" >
<Credentials>
<Username>string</Username>
<Password>string</Password>
</Credentials>
<VehicleRequests>
<VehicleRequest>
<Id>string</Id>
@cox-auto-inc-codeweavers
cox-auto-inc-codeweavers / stockIdentifierSnippet.xml
Created September 21, 2012 09:33
Stock Identifier Snippet
stockIdentifier: 'STOCK_IDENTIFIER'
@cox-auto-inc-codeweavers
cox-auto-inc-codeweavers / stockIdentifierExample.xml
Created September 21, 2012 09:26
Finance Plugin Stock Identifier Example
<html>
<head>
<script type="text/javascript" src="https://services.codeweavers.net/v1/script/Plugin?key=YOUR_API_KEY"></script>
<link href="https://services.codeweavers.net/v1/css/Plugin" rel="stylesheet" type="text/css" />
<script type='text/javascript'>
function loadPlugin() {
var pluginOptions = function () {
return {
stockIdentifier: 'STOCK_IDENTIFIER'
};
<InsuranceCalculationResult xmlns="http://www.codeweavers.net/webservices/Insurance/">;
<CustomerDetailsForm>
<Url>http://www.ycmi2.co.uk/[Access Point ID]/Integration/ForCustomer/[Unique Customer Reference]</Url>
<DisplayText>Update insurance details</DisplayText>
</CustomerDetailsForm>
<Calculations xmlns="">
<Calculation> <!-- Example result with 2 valid quotes with the best quote specified for given vehicle -->
<Vehicle>
<CapId>12345</CapId>
<InsuranceCalculationResult xmlns="http://www.codeweavers.net/webservices/Insurance/">;
<CustomerDetailsForm>
<Url>http&#58;//wwww.ycmi2.co.uk/[Access Point ID]/Integration/ForCustomer/[Unique Customer Reference]</Url>
<DisplayText>Get an insurance quote</DisplayText>
</CustomerDetailsForm>
</InsuranceCalculationResult>
<?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>
<Quotes xmlns="http://www.codeweavers.net/webservices/Insurance/" >
<Username>string</Username>
<Password>string</Password>
<CustomerData>
<CustomerReference>string</CustomerReference>
</CustomerData>
<VehicleDataArray>
<InsuranceCalculationVehicle>
@cox-auto-inc-codeweavers
cox-auto-inc-codeweavers / VideoContent.html
Created August 8, 2012 09:25
Payment Search Video Content
<object id="myExperience1042514001001" class="BrightcoveExperience">
<param name="bgcolor" value="#FFFFFF" />
<param name="width" value="480" />
<param name="height" value="270" />
<param name="playerID" value="1042638381001" />
<param name="playerKey" value=[PLAYER_KEY] />
<param name="isVid" value="true" />
<param name="isUI" value="true" />
<param name="dynamicStreaming" value="true" />
@cox-auto-inc-codeweavers
cox-auto-inc-codeweavers / WhyFinance.html
Created August 8, 2012 09:22
Why Finance Through a Dealership
<iframe src="http://player.vimeo.com/video/51527752" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>