WebAPI

<back to all web services

GetVehicleMakes

A list of the vehicle make and their corresponding ID in the system. Without the vehicle make id you will get all vehicles in the system with their corresponding ids.

The following routes are available for this service:
GET/GetVehicleMakesRESTFUL call to get a list of all the vehicle makes.
GET/GetVehicleMakes/{VehicleMakeId}RESTFUL call with the vehicle make id in the URI to get a specific make.size of one.
Parameters:
NameParameterData TypeRequiredDescription
VehicleMakeIdpathintegerNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/GetVehicleMakes HTTP/1.1 
Host: api-preprod.merseyflow.co.uk 
Content-Type: application/json
Content-Length: length

{"VehicleMakeId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"VehicleMakes":[{"VehicleMakeId":0,"VehicleMakeCode":"String","VehicleMakeName":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]}}