Skip to content

Instantly share code, notes, and snippets.

@rchittock
Last active November 14, 2023 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rchittock/ada35fa67950b75354343800b2d0b375 to your computer and use it in GitHub Desktop.
Save rchittock/ada35fa67950b75354343800b2d0b375 to your computer and use it in GitHub Desktop.
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sup="http://webservices.hpi.co.uk/SupplementaryEnquiryV1">
<soapenv:Header/>
<soapenv:Body>
<sup:EnquiryRequest>
<sup:Authentication>
<!--Optional:-->
<sup:ServiceVersion>
<sup:MajorVersion>1</sup:MajorVersion>
<sup:MinorVersion>16</sup:MinorVersion>
<!--You may enter ANY elements at this point-->
</sup:ServiceVersion>
<sup:SubscriberDetails>
<sup:CustomerCode>' . CAP_HPI_USERNAME . '</sup:CustomerCode>
<sup:Initials>' . CAP_HPI_INITIALS . '</sup:Initials>
<sup:Password>' . CAP_HPI_PASSWORD . '</sup:Password>
<!--You may enter ANY elements at this point-->
</sup:SubscriberDetails>
<!--You may enter ANY elements at this point-->
</sup:Authentication>
<sup:Request>
<sup:Asset>
<!--Optional:-->
<sup:Vrm>' . trim($registration) . '</sup:Vrm>
<!--Optional:-->
<sup:Vin></sup:Vin>
<!--Optional: (Supplied in thousands, e.g. 10 for 10,000-->
<sup:Mileage>' . $mileage . '</sup:Mileage>
<!--Optional:-->
<sup:Reference>?</sup:Reference>
</sup:Asset>
<!--HPI63 is basic, HPI64 is full-->
<!--ns1:Asset-->
<sup:PrimaryProduct>
<sup:Code>HPI63</sup:Code>
</sup:PrimaryProduct>
<!--ns1:CAP-->
<sup:SupplementaryProduct>
<sup:Code>CAPCD</sup:Code>
</sup:SupplementaryProduct>
<!--ns1:SmmtExtra-->
<sup:SupplementaryProduct>
<sup:Code>ADSMT</sup:Code>
</sup:SupplementaryProduct>
<!--ns1:CAPLiveValuation-->
<sup:SupplementaryProduct>
<sup:Code>CAPL1</sup:Code>
</sup:SupplementaryProduct>
</sup:Request>
</sup:EnquiryRequest>
</soapenv:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment