post https://example.com/vehicles/upload
Upload vehicles API allows you insert, update or deactivate vehicles.
API expects a CSV file with the following columns: ChgType, VehicleStatus, UnitID, VehicleType, Make, Model, Year, VIN, Domicile, CurrentTerm, EquipType, EquipSpecs, Liftgate, Heat, CDL.
Column description:
- ChgType: 1 = Add 2 = Deactivate, 3 = Update;
- Status: ACTIVE or INACTIVE;
- Domicile: Map to an attribute field;
- CurrentTerm: Map to the domicile field;
- Liftgate: Unit is equipped with a liftgate 1 = Yes, 0 = No;
- Heat: Unit is heated. 1 = Yes, 0 = No;
- CDL: Requires driver with CDL. 1 = Yes, 0 = No;
API supports up to 1000 rows in a CSV file.