WebAPI

<back to all web services

CreateVehicles

Create a new vehicle for the given account id.

The following routes are available for this service:
POST/CreateVehiclesSOAP calls use POST HTTP verb with variables embedded in the body

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/CreateVehicles 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

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