Use a valid Bearer token to authenticate.
Unique identifier for the vehicle that generated by system.
Example: 62ce3918d3f3e1681a3a54b2
The name of vehicle. User can define vehicle name with vehicle's license plate, vehicle brand, or something else.
Example: Mini Van 54
Fundamental entity within an organization, serving as the central point for managing various operational components. Use GET /hubs endpoint to get the list of Hub IDs. Example: 634e98498ce07d29474a7e29
Worker's email that assigned to the vehicle. One vehicle can only be assigned by one worker.
Example: leandro@mile.app
Working hours on vehicles containing: startTime, endTime, and multiday.
Example:
{
'startTime':'08:00',
'endTime':'17:00',
'multiday':0
}
Indicates that the data inside represents the break time for the vehicle. containing: startTime, and endTime.
Assume the average speed (in km/h) of the vehicle.Speed cannot be less than 5 km/h.
Example: 30
Default: 25
The Cost Factor value range is set from 0 to 100, with the default value being 0. A lower number signifies a higher priority for routing optimization purposes.
Example: 15
Default: 0
The tag is used for route optimization purposes. Visits that have tags will be assigned to vehicles that have the same tags.
Example: ['Ganjil','Depok','B1124CC']
Capacity is used for route optimization purposes, it's dynamic based on user needs. It has minimum and maximum value as the limit for the shelter that can be accommodated by the vehicle.
Example:
{
'weight':{'min':10,'max':1000},
'volume':{'min':10,'max':1000}
}