WebAPI

<back to all web services

GetVehicles

Retrieves all vehicles associated to the account id.

The following routes are available for this service:
POST/GetVehiclesRESTFUL call with Account id and page size in the URI.

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

AccountId,PlateNumber,PageSize,PageNumber,Sorting,DisplayDiscountPlateOnly,IsApplyPlanToVehicle,ProgramId
0,String,0,0,String,False,False,0

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

VehicleId,CategoryId,AxleCount,MakeId,MakeCode,Make,VehicleClass,VehicleColorCode,Model,VehicleColor,Year,PlateStateRegion,PlateCountry,PlateNumber,EffectiveDate,ExpiryDate,GroupName,IsTransponderRequested,TagId,TagSerial,TagStatusId,TagStatus,TagTypeId,RegType,StartDateTime,PlatePlanId,PlatePlanName,WheelPlanCode,WheelPlan,SeatingCapacity,BodyCode,Body,TaxClassCode,TaxClassCodeDescription,PlatePlanStatusId,PlatePlanStatusDescription,IsMonthlyPassAutoRenewal,ApprovalDocIsInvalid,MissingDocType,MissingDocTypeDesc,Message,SetupFee,NeedManualRenewal,NeedManualRenewalLUDS,IsLUDSAutoRenewal
0,0,0,0,String,String,0,String,String,String,0,String,String,String,0001-01-01,0001-01-01,String,False,0,String,0,String,0,String,0001-01-01,0,String,String,String,0,String,String,String,String,0,String,False,False,[0],[String],String,0,False,False,False