This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Quote> | |
<CashPrice>7194.00</CashPrice> | |
<Deposit>1699.00</Deposit> | |
<Balance>5495.00</Balance> | |
<Term>24</Term> | |
<FirstPayment>451.43</FirstPayment> | |
<RegularPayment>256.43</RegularPayment> | |
<NumberOfRegularPayments>22</NumberOfRegularPayments> | |
<FinalPayment>451.43</FinalPayment> | |
<AnnualMileage>10000</AnnualMileage> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<CustomerParameters> | |
<AnnualMileage>10000<AnnualMileage> | |
<MaximumTerm>24<MaximumTerm> | |
<TotalDeposit>1699<TotalDeposit> | |
</CustomerParameters> | |
<Vehicle> | |
<CashPrice>7194</CashPrice> | |
<CurrentMileage>12000</CurrentMileage> | |
<DateOfRegistration>2010-02-18</DateOfRegistration> | |
<IsNew>false</IsNew> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once('/path/to/nusoap.php'); | |
//Webservice namespace | |
$namespace = 'https://services.codeweavers.net/soap/v2'; | |
//Link to the WSDL | |
$wsdl = 'https://services.codeweavers.net/soap/v2/Finance.wsdl'; | |
//Using xml string | |
$xml = "<PaymentSearchForStockIdentifiers xmlns='". $namespace ."'>"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Link to the WSDL | |
$wsdl = 'https://services.codeweavers.net/soap/v2/Finance.wsdl'; | |
//Create the SoapClient object | |
$option = array('trace' => 1, 'features' => SOAP_SINGLE_ELEMENT_ARRAYS); | |
$soapClient = new SoapClient($wsdl, $option); | |
//Helper variable for Vehicle Registration Dates, defaults to today for New Vehicle requests | |
$dateOfRegistration = date('Y-m-d', strtotime("-3 months")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"VehicleResults": [ | |
{ | |
"FinanceProductResults": [ | |
{ | |
"Key": "HP", | |
"Notifications": { | |
"Public": [], | |
"Private": [] | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
var request = { | |
Credentials: { | |
Username: "USERNAME", | |
Password: "PASSWORD", | |
ApiKey: "YourApiKey" | |
}, | |
Customer: { | |
Reference: "SESSIONID" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<ProposalTransfer xmlns="http://www.codeweavers.net/webservices"> | |
<IndividualApplicant> | |
... | |
</IndividualApplicant> | |
<BankDetails> | |
... | |
</BankDetails> | |
<Vehicle> | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://forms.yourcarloan.co.uk/quote/UNIQUE_CODEWEAVERS_QUOTE_ID/check |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IndividualApplicant> | |
... | |
<Address OrderNumber="1"> | |
... | |
</Address> | |
<Type>Primary</Type> | |
<Employment OrderNumber="1"> | |
... | |
<GrossMonthlyIncome>2500.99</GrossMonthlyIncome> | |
</Employment> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<PaymentSearchForQuotesResponse xmlns="https://services.codeweavers.net/soap/v2"> | |
<PaymentSearchForQuotesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> | |
<HasGlobalError>false</HasGlobalError> | |
<Error i:nil="true"/> | |
<NumberOfMatchingQuotes>3</NumberOfMatchingQuotes> | |
<NumberOfMatchingVehicles>2</NumberOfMatchingVehicles> | |
<NumberOfVehiclesSearched>23</NumberOfVehiclesSearched> | |
<NumberOfPages>1</NumberOfPages> | |
<PageNumber>1</PageNumber> | |
<TimeTaken>5</TimeTaken> |