Migration
OnRoute migration from v1 to v2
In v1
we had a distinction between fleet
and orders
. In v2
we have resources
and jobs
. The options
are
also slightly different.
- list of locations: deprecated
fleet
->resources
orders
->jobs
options
Fleet
Now called resources
startlocation
->start
is now a Location objectendlocation
->end
is now a Location objectshiftstart
deprecated forresource.shifts
shiftend
deprecated forresource.shifts
type
deprecated fortags
(array of strings)unavailable
deprecated forresource.shifts
workingTime
->shifts
day
deprecateddate
deprecatedvehicle.shiftstart
deprecated forshift.from
(date-time)vehicle.shiftend
deprecated forshift.to
(date-time)startlocation
->start
Location objectendlocation
->end
Location object
region
is now a Location object instead of string
Orders
Now called jobs
location
->location
is now a Location object instead of stringdeparture_location
deprecatedtype
deprecated in favor oftags
duration_squash
->durationSquash
dateWindows
-> renamed towindows
startTime
(integer) +start
(date) deprecated tostart
(isodatetime)endTime
(integer) +end
(date) deprecated toend
(isodatetime)
allowedVehicles
->allowedResources
disallowedVehicles
->disallowedResources
preferredVehicle
->preferredResource
but also achievable withTags
softTypes
deprecated in favor oftags
Options
overconstrained
->partialPlanning
allow_overtime
-->allowOvertime
minimize_vehicle_use
->minimizeResources
force_type_constraint
-> deprecated in favor ofjob.type
ignore_travel_time_to_first_job
-> deprecated in favor ofresource.workingTime.ignoreTravelTimeFromFirstJob
ignore_travel_time_to_last_job
-> deprecated in favor ofresource.workingTime.ignoreTravelTimeFromLastJob
max_service_time
->maxServiceTime
max_time_for_duration_Squash
->maxTimeForDurationSquash
max_waiting_time_for_linkedOrders
-> deprecatedcapacitySpread
-> deprecated in favor offairWorkload
. we don't allow for fair travel time.minimize_driver_wait_time
-> deprecatedvehicle_setup_cost
deprecatedworkloadSpread
renames tofairWorkload
workloadVehicleSpread
renames tofairWorkloadPerResource
use_snapUnit_for_waitRange
->useSnapUnitForWaitRange
Updated 7 months ago