DispatchOne Solution
Vehicle API
Vehicle Attributes
1min
the attributes are the specifications that determine the tasks a vehicle can perform the following attributes are unique to defining a transportation medium attribute description data type modelname name of the vehicle to be created example semi truck string ownername (optional) id of the vehicle owner example users 1234 5467 4456 string referencenumber unique id of the vehicle example 63419231 string operator user id if the owner of the particular vehicle (user id) example user\ b03369f6 9d60 4f6e bc06 2dd2e74d9ea1 string vehiclecategory category of the vehicle default truck, 2w, car pattern ^\[a za z]\[a za z0 9, ]{0,15}$ example truck string vehiclesubcategory sub category of the vehicle default 2w motorcycle/scooter/e bike, van, truck 19 ft/24 ft/32 ft pattern ^\[a za z]\[a za z0 9, ]{0,15}$ example bike string ownershiptype the owner of the vehicle among self/seller/partner value (any of) tenant, individual example tenant string vehiclemode (optional) the mode of the vehicle value (any of) land, air, sea example land string fueltype (optional) the fuel type of the vehicle value (any of) petrol/gasoline, diesel, electric, cng, manual/hand powered string registrationnumber the registration number of the vehicle as in the records example mh 01 as 0101 string registrationyear (optional) the registration year of the vehicle as in records example 2020 number vehiclestructure (optional) the structure of the vehicle among single unit/multi unit/tractor value single unit, multi unit, tractor example single unit string modelyear (optional) example 2020 number reportingcenter (optional) reporting center of the vehicle (participant id if exists) example oofacilities 4d6e7125 aaa3 4ea1 9fd4 44c4f1cad179 string numberofjobs (optional) example 10 number totaldistance (optional) example 34 number totaltraveltime (optional) example 4 number totallatetime (optional) example 1 number payload (optional) example 100 number payloadvolumetric (optional) example 15 number costpermonth (optional) example 1005 number numberofdays (optional) example 10 number rateperhr (optional) example 16 number rateperkm (optional) example 16 number fueltankcapacity (optional) example 16 number batterycapacity (optional) example 16 number vehicletype (optional) example 4 wheeler string containerdimensions (optional) example 15 20 17 string teams example list \[ "teams 2452 2253 2223 3332", "teams 5437 2273 8972 3345" ] string