CAP Vehicle Images
CAP Vehicle Image Web Page.
Parameter Notes
Database: Support values include "CAR" and "LCV".
Date Format: "dd/mm/yyyy".
Max Image Width: 1024 pixels.
Max Image Height: 768 pixels.
By leaving the Width and Height parameters blank the image size will default to 1024x768.
Image Text: Allows you to write any text on the returned image.
HTTP GET: Requires the use of an MD5 hashcode, the parameters of which are defined in each operation.
Parameter Notes - View Point (Requires a subscription to the Enhanced Image Product)
Please leave the field blank if you do not subscribe to the Enhanced Image ProductWill allow you to specify the view of the vehicle (ViewPoint Id: 1 to 6).
Are only available for CARS
Available View Points:
1 Profile
2 Front
3 Front Three Quarter (Main Image)
4 Rear
5 Rear Three Quarter
6 Interior
MD5 Encoding
To check your MD5 encoding routine, please enter the following input string to confirm your MD5 hashcode matches ours.Operations
The following operations are supported: -
-
Get Image
Returns a specific image.Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /VehicleImage.aspx?SUBID=string&HASHCODE=string&DB=string&IMAGEID=string&WIDTH=string&HEIGHT=string&IMAGETEXT=string&VIEWPOINT=string HTTP/1.1 Host: soap.cap.co.uk/images
The MD5 Code (HASHCODE) consists of the following elements: -
Subscriber Id Password Database Image Id
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /VehicleImage.aspx HTTP/1.1 Host: soap.cap.co.uk/images Content-Type: application/x-www-form-urlencoded Content-Length: length SUBID=string&PWD=string&DB=string&IMAGEID=string&WIDTH=string&HEIGHT=string&IMAGETEXT=string&VIEWPOINT=string
-
Get Image for CAPId and Date
Returns an image associated with the vehicle on the given date.Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /VehicleImage.aspx?SUBID=string&HASHCODE=string&DB=string&CAPID=string&DATE=string&WIDTH=string&HEIGHT=string&IMAGETEXT=string&VIEWPOINT=string HTTP/1.1 Host: soap.cap.co.uk/images
The MD5 Code (HASHCODE) consists of the following elements: -
Subscriber Id Password Database CAP Id
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /VehicleImage.aspx HTTP/1.1 Host: soap.cap.co.uk/images Content-Type: application/x-www-form-urlencoded Content-Length: length SUBID=string&PWD=string&DB=string&CAPID=string&DATE=string&WIDTH=string&HEIGHT=string&IMAGETEXT=string&VIEWPOINT=string
-
Get Image for CAPId's Last Model Year
Returns the image associated with the vehicle's last model change.Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /VehicleImage.aspx?SUBID=string&HASHCODE=string&DB=string&CAPID=string&WIDTH=string&HEIGHT=string&IMAGETEXT=string&VIEWPOINT=string HTTP/1.1 Host: soap.cap.co.uk/images
The MD5 Code (HASHCODE) consists of the following elements: -
Subscriber Id Password Database CAP Id
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /VehicleImage.aspx HTTP/1.1 Host: soap.cap.co.uk/images Content-Type: application/x-www-form-urlencoded Content-Length: length SUBID=string&PWD=string&DB=string&CAPID=string&WIDTH=string&HEIGHT=string&IMAGETEXT=string&VIEWPOINT=string