Skip to content

Instantly share code, notes, and snippets.

<Calculate>
<Credentials>
<Username>username</Username>
<!-- Previously known as Organisation on our old web services -->
<Password>password</Password>
</Credentials>
<CustomerParameters>
<AnnualMileage>10000</AnnualMileage>
<MaximumTerm>36</MaximumTerm>
<TotalDeposit>1000</TotalDeposit>
@codeweavers
codeweavers / SoapRequest.xml
Last active February 10, 2017 14:28
A simple request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.codeweavers.net/webservices_3.0/Finance/">
<soapenv:Header/>
<soapenv:Body>
<Calculate>
<Credentials>
<Username>Username</Username>
<Password>Password</Password>
</Credentials>
<CustomerParameters>
<AnnualMileage>10000</AnnualMileage>
@codeweavers
codeweavers / basicprolite.html
Created December 23, 2011 12:06
Basis prolite example
<form name="proliteSubmit" action="https://proposalform.yourcarloan.co.uk/index.aspx" method="post">
<input type="hidden" name="siteId" id="siteId" value="" />
<input type="hidden" name="returnUrl" id="returnUrl" value="" />
<input type="hidden" name="vPayments" id="vPayments" value="" />
<input type="hidden" name="vOtrPrice" id="vOtrPrice" value="" />
<input type="hidden" name="vRV" id="vRV" value="" />
<input type="hidden" name="vehicleImageUrl" id="vehicleImageUrl" value="" />
<input type="hidden" name="deposit" id="deposit" value="" />
<input type="hidden" name="termsLength" id="termsLength" value="" />
<input type="hidden" name="mileage" id="mileage" value="" />
@codeweavers
codeweavers / optionalproliteparams.html
Created December 23, 2011 12:08
Optional Prolite Parameters
<input type="hidden" name="vehicleImageUrl" id="vehicleImageUrl" value="" />
<input type="hidden" name="advPayments" id="advPayments" value="" />
<input type="hidden" name="enhancedRentals" id="enhancedRentals" value="" />
<input type="hidden" name="notes" id="notes" value="" />
<input type="hidden" name="assetType" id="assetType" value="" />
@codeweavers
codeweavers / newvehicleform.html
Created December 23, 2011 12:09
Basic new vehicle form
<form name="proliteSubmit" action="https://proposalform.yourcarloan.co.uk/index.aspx" method="post">
<input type="hidden" name="siteId" id="siteId" value="" />
<input type="hidden" name="returnUrl" id="returnUrl" value="" />
<input type="hidden" name="vPayments" id="vPayments" value="" />
<input type="hidden" name="vOtrPrice" id="vOtrPrice" value="" />
<input type="hidden" name="vRV" id="vRV" value="" />
<input type="hidden" name="vehicleImageUrl" id="vehicleImageUrl" value="" />
<input type="hidden" name="deposit" id="deposit" value="" />
<input type="hidden" name="termsLength" id="termsLength" value="" />
<input type="hidden" name="mileage" id="mileage" value="" />
@codeweavers
codeweavers / standaloneform.html
Created December 23, 2011 12:11
Standalone Finance Application Form
<form class="proliteSubmit" method="post" action="https://proposalform.yourcarloan.co.uk/index.aspx">
<input type="hidden" value="[Your Site ID]" name="siteId">
<input type="hidden" value="[Your return url]" name="returnUrl">
<input id="derivative" type="hidden" value="Fake Vehicle" name="derivative">
<input type="hidden" value="18.9" name="rate">
<input type="hidden" value="HP" name="productLabel">
<input type="hidden" value="0.00" name="vRV">
<input type="hidden" value="66.6" name="vPayments">
<input type="hidden" value="6666" name="vOtrPrice">
<input type="hidden" value="66" name="deposit">
@codeweavers
codeweavers / associatedealername.html
Created December 23, 2011 12:13
Associated Dealer Name Parameter
<input type="hidden" name="associatedDealerName" value="" />
@codeweavers
codeweavers / additionalformaparams.html
Created December 23, 2011 12:14
Additional Proposal Form Params
<input type="hidden" name="dealerName" id="dealerName" value="" />
@codeweavers
codeweavers / proposalforwardingrequest.xml
Last active September 28, 2015 23:38
Proposal Forwarding Request
<?xml version="1.0"?>
<ProposalTransfer xmlns="http://www.codeweavers.net/webservices">
<IndividualApplicant>
<Gender>Male</Gender>
<Title>Mr</Title>
<Forename>Forename</Forename>
<Surname>Surname</Surname>
<PhoneNumber type="Home">01234567890</PhoneNumber>
<PhoneNumber type="Mobile">01234567890</PhoneNumber>
<Email>support@codeweavers.net</Email>
@codeweavers
codeweavers / proposalforwardingresponse.xml
Created December 23, 2011 12:18
Proposal Forwarding Response
<?xml version="1.0"?>
<ReturnMsg>
<ReturnCode>0</ReturnCode>
<Proposal proposalID="00000" agreementNbr="00000" proposalNbr="00000">
<Figures>
<financecommission>200.20</financecommission>
<vehicle>
<agemonths>11</agemonths>
<dateofregistration>2010-12-30</dateofregistration>
<vehicleresidualvalue>0.00</vehicleresidualvalue>