CAPVRM


Click here for a complete list of operations.

VRMInternetPricesValuation

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
SubscriberID:
Password:
VRM:
Mileage:
StandardEquipmentRequired:

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 /vrm/capvrm.asmx HTTP/1.1
Host: soap.cap.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://soap.cap.co.uk/vrm/VRMInternetPricesValuation"

<?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>
    <VRMInternetPricesValuation xmlns="https://soap.cap.co.uk/vrm">
      <SubscriberID>int</SubscriberID>
      <Password>string</Password>
      <VRM>string</VRM>
      <Mileage>int</Mileage>
      <StandardEquipmentRequired>boolean</StandardEquipmentRequired>
    </VRMInternetPricesValuation>
  </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>
    <VRMInternetPricesValuationResponse xmlns="https://soap.cap.co.uk/vrm">
      <VRMInternetPricesValuationResult>
        <Success>boolean</Success>
        <VRMLookup>
          <Success>boolean</Success>
          <VehicleFound>boolean</VehicleFound>
          <Database>string</Database>
          <CAPID>int</CAPID>
          <CAPcode>string</CAPcode>
          <CAPMan>string</CAPMan>
          <CAPRange>string</CAPRange>
          <CAPMod>string</CAPMod>
          <CAPDer>string</CAPDer>
          <ModIntroduced>int</ModIntroduced>
          <ModDiscontinued>int</ModDiscontinued>
          <DerIntroduced>dateTime</DerIntroduced>
          <DerDiscontinued>dateTime</DerDiscontinued>
          <FailReason>string</FailReason>
          <RegisteredDate>dateTime</RegisteredDate>
          <VinNumber>string</VinNumber>
          <EngineNumber>string</EngineNumber>
          <Colour>string</Colour>
        </VRMLookup>
        <Valuation>
          <Success>boolean</Success>
          <ValuationDateMatch>boolean</ValuationDateMatch>
          <ValuationMileage>int</ValuationMileage>
          <RetailHigh>int</RetailHigh>
          <RetailLow>int</RetailLow>
          <CleanHigh>int</CleanHigh>
          <CleanLow>int</CleanLow>
          <AverageHigh>int</AverageHigh>
          <AverageLow>int</AverageLow>
          <BelowHigh>int</BelowHigh>
          <BelowLow>int</BelowLow>
          <FailReason>string</FailReason>
        </Valuation>
        <MileageOutOfBounds>boolean</MileageOutOfBounds>
        <StandardEquipment>
          <Success>boolean</Success>
          <EquipmentDateMatch>boolean</EquipmentDateMatch>
          <SEData>
            <SEDataItem xsi:nil="true" />
            <SEDataItem xsi:nil="true" />
          </SEData>
          <FailReason>string</FailReason>
        </StandardEquipment>
        <FailReason>string</FailReason>
      </VRMInternetPricesValuationResult>
    </VRMInternetPricesValuationResponse>
  </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 /vrm/capvrm.asmx HTTP/1.1
Host: soap.cap.co.uk
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>
    <VRMInternetPricesValuation xmlns="https://soap.cap.co.uk/vrm">
      <SubscriberID>int</SubscriberID>
      <Password>string</Password>
      <VRM>string</VRM>
      <Mileage>int</Mileage>
      <StandardEquipmentRequired>boolean</StandardEquipmentRequired>
    </VRMInternetPricesValuation>
  </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>
    <VRMInternetPricesValuationResponse xmlns="https://soap.cap.co.uk/vrm">
      <VRMInternetPricesValuationResult>
        <Success>boolean</Success>
        <VRMLookup>
          <Success>boolean</Success>
          <VehicleFound>boolean</VehicleFound>
          <Database>string</Database>
          <CAPID>int</CAPID>
          <CAPcode>string</CAPcode>
          <CAPMan>string</CAPMan>
          <CAPRange>string</CAPRange>
          <CAPMod>string</CAPMod>
          <CAPDer>string</CAPDer>
          <ModIntroduced>int</ModIntroduced>
          <ModDiscontinued>int</ModDiscontinued>
          <DerIntroduced>dateTime</DerIntroduced>
          <DerDiscontinued>dateTime</DerDiscontinued>
          <FailReason>string</FailReason>
          <RegisteredDate>dateTime</RegisteredDate>
          <VinNumber>string</VinNumber>
          <EngineNumber>string</EngineNumber>
          <Colour>string</Colour>
        </VRMLookup>
        <Valuation>
          <Success>boolean</Success>
          <ValuationDateMatch>boolean</ValuationDateMatch>
          <ValuationMileage>int</ValuationMileage>
          <RetailHigh>int</RetailHigh>
          <RetailLow>int</RetailLow>
          <CleanHigh>int</CleanHigh>
          <CleanLow>int</CleanLow>
          <AverageHigh>int</AverageHigh>
          <AverageLow>int</AverageLow>
          <BelowHigh>int</BelowHigh>
          <BelowLow>int</BelowLow>
          <FailReason>string</FailReason>
        </Valuation>
        <MileageOutOfBounds>boolean</MileageOutOfBounds>
        <StandardEquipment>
          <Success>boolean</Success>
          <EquipmentDateMatch>boolean</EquipmentDateMatch>
          <SEData>
            <SEDataItem xsi:nil="true" />
            <SEDataItem xsi:nil="true" />
          </SEData>
          <FailReason>string</FailReason>
        </StandardEquipment>
        <FailReason>string</FailReason>
      </VRMInternetPricesValuationResult>
    </VRMInternetPricesValuationResponse>
  </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 /vrm/capvrm.asmx/VRMInternetPricesValuation?SubscriberID=string&Password=string&VRM=string&Mileage=string&StandardEquipmentRequired=string HTTP/1.1
Host: soap.cap.co.uk
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<VRMInternetPricesValuationResult xmlns="https://soap.cap.co.uk/vrm">
  <Success>boolean</Success>
  <VRMLookup>
    <Success>boolean</Success>
    <VehicleFound>boolean</VehicleFound>
    <Database>string</Database>
    <CAPID>int</CAPID>
    <CAPcode>string</CAPcode>
    <CAPMan>string</CAPMan>
    <CAPRange>string</CAPRange>
    <CAPMod>string</CAPMod>
    <CAPDer>string</CAPDer>
    <ModIntroduced>int</ModIntroduced>
    <ModDiscontinued>int</ModDiscontinued>
    <DerIntroduced>dateTime</DerIntroduced>
    <DerDiscontinued>dateTime</DerDiscontinued>
    <FailReason>string</FailReason>
    <RegisteredDate>dateTime</RegisteredDate>
    <VinNumber>string</VinNumber>
    <EngineNumber>string</EngineNumber>
    <Colour>string</Colour>
  </VRMLookup>
  <Valuation>
    <Success>boolean</Success>
    <ValuationDateMatch>boolean</ValuationDateMatch>
    <ValuationMileage>int</ValuationMileage>
    <RetailHigh>int</RetailHigh>
    <RetailLow>int</RetailLow>
    <CleanHigh>int</CleanHigh>
    <CleanLow>int</CleanLow>
    <AverageHigh>int</AverageHigh>
    <AverageLow>int</AverageLow>
    <BelowHigh>int</BelowHigh>
    <BelowLow>int</BelowLow>
    <FailReason>string</FailReason>
  </Valuation>
  <MileageOutOfBounds>boolean</MileageOutOfBounds>
  <StandardEquipment>
    <Success>boolean</Success>
    <EquipmentDateMatch>boolean</EquipmentDateMatch>
    <SEData>
      <SEDataItem>
        <SECode>int</SECode>
        <SEDescription>string</SEDescription>
        <SECategory>string</SECategory>
      </SEDataItem>
      <SEDataItem>
        <SECode>int</SECode>
        <SEDescription>string</SEDescription>
        <SECategory>string</SECategory>
      </SEDataItem>
    </SEData>
    <FailReason>string</FailReason>
  </StandardEquipment>
  <FailReason>string</FailReason>
</VRMInternetPricesValuationResult>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /vrm/capvrm.asmx/VRMInternetPricesValuation HTTP/1.1
Host: soap.cap.co.uk
Content-Type: application/x-www-form-urlencoded
Content-Length: length

SubscriberID=string&Password=string&VRM=string&Mileage=string&StandardEquipmentRequired=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<VRMInternetPricesValuationResult xmlns="https://soap.cap.co.uk/vrm">
  <Success>boolean</Success>
  <VRMLookup>
    <Success>boolean</Success>
    <VehicleFound>boolean</VehicleFound>
    <Database>string</Database>
    <CAPID>int</CAPID>
    <CAPcode>string</CAPcode>
    <CAPMan>string</CAPMan>
    <CAPRange>string</CAPRange>
    <CAPMod>string</CAPMod>
    <CAPDer>string</CAPDer>
    <ModIntroduced>int</ModIntroduced>
    <ModDiscontinued>int</ModDiscontinued>
    <DerIntroduced>dateTime</DerIntroduced>
    <DerDiscontinued>dateTime</DerDiscontinued>
    <FailReason>string</FailReason>
    <RegisteredDate>dateTime</RegisteredDate>
    <VinNumber>string</VinNumber>
    <EngineNumber>string</EngineNumber>
    <Colour>string</Colour>
  </VRMLookup>
  <Valuation>
    <Success>boolean</Success>
    <ValuationDateMatch>boolean</ValuationDateMatch>
    <ValuationMileage>int</ValuationMileage>
    <RetailHigh>int</RetailHigh>
    <RetailLow>int</RetailLow>
    <CleanHigh>int</CleanHigh>
    <CleanLow>int</CleanLow>
    <AverageHigh>int</AverageHigh>
    <AverageLow>int</AverageLow>
    <BelowHigh>int</BelowHigh>
    <BelowLow>int</BelowLow>
    <FailReason>string</FailReason>
  </Valuation>
  <MileageOutOfBounds>boolean</MileageOutOfBounds>
  <StandardEquipment>
    <Success>boolean</Success>
    <EquipmentDateMatch>boolean</EquipmentDateMatch>
    <SEData>
      <SEDataItem>
        <SECode>int</SECode>
        <SEDescription>string</SEDescription>
        <SECategory>string</SECategory>
      </SEDataItem>
      <SEDataItem>
        <SECode>int</SECode>
        <SEDescription>string</SEDescription>
        <SECategory>string</SECategory>
      </SEDataItem>
    </SEData>
    <FailReason>string</FailReason>
  </StandardEquipment>
  <FailReason>string</FailReason>
</VRMInternetPricesValuationResult>