Route (id)

Edits the route information. Currently used for updating the status. Soon to be replaced by dedicated endpoints.

Path Params
int32
required

Route ID

Body Params
int32
date-time
date-time

Actual start time

date-time

Target start time span (beginning).

date-time

Target start time span (end).

int32

Complete length of route in metersm.

int32

Duration of the whole route in seconds, including stop times at each location.

int32

Duration of the whole route in seconds, not including stop times and waiting times. Depecated.

int32

Driving time of the whole route in seconds.

int32
deliveries
array of objects
deliveries
string
previous_deliveries
array of int32s

When deliveries are removed or changed, their IDs are saved here.

previous_deliveries
date-time

Deprecated. Planned start time.

int32

Reference IDs to previous versions, when the route is updated.

int32

Reference to address.

int32

Deliveries which are already finished (i.e. delivered or cancelled).

double

Fixed vehicle usage cost of this route.

date-time

Time of first creation of this route.

boolean
Defaults to false

Has this route been locked by the user to avoid automatic updates?

performed_breaks
object

A list of rest break items.

int32

If the route was updated while being on the way, this is the remaining time to be performed.

date-time

Return time to the depot or (if no round trip, end time of the last stop).

boolean
Defaults to false

Does this route return to the depot?

double

Sum of all costs.

int32

Total number of deliveries on this route.

int32

Total driving time of this route in seconds.

int32

Total load volume on this vehicle (first load dimension).

int32

Total load volume on this vehicle (second load dimension).

int32

Total load volume on this vehicle (third load dimension).

total_loads
array of int32s

Total load volume on this vehicle (list of all load dimensions).

total_loads
int32

Sum of all stop times at each delivery location (in minutes).

int32

Sum of all waiting times before each delivery location (in minutes).

int32

Sum of all waiting times before each delivery location (in seconds).

int32

Total delay on this route in minutes.

double

Variable cost per km of this route.

string

Vehicle type which performs this route.

int32

ID of the vehicle that performs this route.

vehicle_territory_names
array of strings

Names of territories that are assigned to the route's vehicle.

vehicle_territory_names
double

Waiting cost on this route.

int32

ID of the vehicle end location that performs this route.

Responses

Language
Credentials
Header
Response
Choose an example:
application/json