WebAPI

<back to all web services

GetVehicleClasses

A list of all the vehicles classes for transaction categorizing. With out any variables you will receive a list of all the classes.

The following routes are available for this service:
GET/GetVehicleClassesRESTFUL call without the Vehicle class id to get all vehicle classes
POST/GetVehicleClassesRetrieve available vehicle classes by (AccountId and PlatePlan) or (AccountTypeId, PlanCode and PlatePlan

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/GetVehicleClasses HTTP/1.1 
Host: api-preprod.merseyflow.co.uk 
Content-Type: text/csv
Content-Length: length

AccountId,PlatePlanId,AccountTypeId,PlanCode
0,0,0,String

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

CategoryId,AxleId,Description,VehicleDescription
0,0,String,String