Vehicle FPA
Vehicles
Create a Vehicle.
1min
POST
HEADER PARAMETERS
X-Solutions-Callback-Secret
string
base64 encoded hmac secret
BODY PARAMETERS
body
CreateVehicleRequest
Create Vehicle Request
referenceNumber
string
*ownerName
string
vehicleCategory
string
vehicleSubCategory
string
modelName
string
*vehicleMode
string<Land | Air | Sea>
Mode of the vehicle
vehicleStructure
string
Structure of the vehicle
fuelType
string<Petrol | Diesel | CNG | EV | NA | Gasoline>
fuel types allowed for the vehicle
modelYear
number
year of the vehicle model
registrationYear
number
the registration year of the vehicle
reportingCenter
string
reporting facility of the vehicle
operator
string
operator user of the vehicle
numberOfJobs
number
number of jobs a vehicle can handle
totalDistance
number
total distance a vehicle can cover
totalTravelTime
number
total travel time of a vehicle
totalLateTime
number
total late time of a vehicle
payload
number
Max weight allowed in a vehicle
payloadVolumetric
number
max payload in litres for a vehicle
teams
string[]
Example:
team ids for which a vehicle belongs
vehicleType
string
The category of vehicle
containerDimensions
string
The dimensions of the container
costPerMonth
number
Fixed cost per month
numberOfDays
number
Operating Days
ratePerHr
number
Extra Rate per Hour
ratePerKm
number
Extra Rate per km
registrationNumber
string
*the registration number of the vehicle
ownershipType
string<Tenant | Individual | 3P/Leased>
*type of owner of the vehicle
callback
object
Example: [object Object]
RESPONSES
200
Default Error Response
CreatedResponse
error
Error
Error Information
request
Request
data
Data
default
Default Error Response
DefaultResponse
error
Error
Error Information
request
Request
data
object
Example: [object Object]


Updated 03 Aug 2023
Did this page help you?