WebAPI

<back to all web services

CalculateFareForCreateVehicles

Calculate vehicle fee.

The following routes are available for this service:
POST/CalculateFareForCreateVehiclesCalculate vehicle fee.

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

CountryCode,LicPlateNo,VehClassId,VehicleMakeId,VehicleModel,VehicleColour,VehicleYear,SeatCapacity,BodyCode,WheelPlan,TaxClassId,PlatePlan,OrderTag,ProductId,GroupName,IsMonthlyPassAutoRenewal,TradePlate
String,String,0,0,String,String,String,0,String,String,0,0,False,0,String,False,False

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

ExpectedAmount,ResponseStatus
0,"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}"