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.
View Point: Will allow you to specify the view of the vehicle (currently not used).
HTTP GET: Requires the use of an MD5 hashcode, the parameters of which are defined in each operation.
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: images.capnetwork.co.uk
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: images.capnetwork.co.uk 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: images.capnetwork.co.uk
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: images.capnetwork.co.uk 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: images.capnetwork.co.uk
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: images.capnetwork.co.uk 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