WebAPI

<back to all web services

GetFilteredVehicleModels

A list of the vehicle model.

The following routes are available for this service:
GET/GetFilteredVehicleModels/{VehicleMakeName}RESTFUL call to get a list of all the vehicle models filtered by vehicle make and filter string.
GET/GetFilteredVehicleModels/{VehicleMakeName}/{VehicleModelFilterString}RESTFUL call to get a list of all the vehicle models filtered by vehicle make and filter string.
Parameters:
NameParameterData TypeRequiredDescription
VehicleMakeNamepathstringYes
VehicleModelFilterStringpathstringNo

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/GetFilteredVehicleModels HTTP/1.1 
Host: api-preprod.merseyflow.co.uk 
Content-Type: text/csv
Content-Length: length

VehicleMakeName,VehicleModelFilterString
String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

VehicleModelId,VehicleModelCode,VehicleMakeCode,VehicleModelDescription,VehicleMakeId
0,String,String,String,0