Skip to content

Rides & planning

A ride is a vehicle/operator’s planned route for a period — the planning-level object that groups a driver’s tasks together, separate from the orders themselves.

SituationCommand
Retrieve planned rides with their tasksRequestRides
Retrieve rides with a lighter task shape (legacy)RequestRidesCompact — legacy, prefer RequestRides
Create or update a ride’s planningStoreRides
Change only a ride’s start/end windowStoreRideTimeWindows — WorldLink Connector-only, see below
Add a non-order task to a ride (break, rest, linking)StoreRideNonOrderTask
Get a ride’s last-known GPS positionRequestLastRidePositions (requires the Live Positions module)
<?xml version="1.0" encoding="windows-1252"?>
<EoCustomLinkRequestRides Type="TEoCustomLinkRequestRides">
<Nested>False</Nested>
<Filter Type="TEoFilterPlannerMaster">
<PeriodBegin>2026-07-22T00:00:00</PeriodBegin>
<PeriodEnd>2026-07-23T00:00:00</PeriodEnd>
</Filter>
</EoCustomLinkRequestRides>
Filter fieldTypeDescription
PeriodBegindateTimeInclusive begin of the period. Optional.
PeriodEnddateTimeInclusive end of the period. Optional.
JobIdsAsCsvstring (CSV)Only rides created for these order-import jobs.
RideNamestringOnly rides with this (manual) name.
KeysExplicitAsCsvstring (CSV)Explicit ride database Ids.
FieldTypeDescription
IdintDatabase Id of the ride.
NameManualstringThe (manual) name for this ride.
MomentStart / MomentEnddateTimeStart and end of the ride.
OperatorIdintId of the operator assigned to the ride.
VehicleIdintId of the vehicle assigned to the ride.
MaterialId / MaterialId2 / MaterialId3intIds of up to three materials/trailers on the ride.
AddressStart / AddressEndaddressStarting and ending address of the ride.
TaskslistThe tasks in this ride. Ignored when storing.
RideTypeIdintRide type. 0 = empty or tenant default.
RideOptimized / RideCalculatedbooleanWhether the route has been optimized/calculated.
DistanceInKms / DurationInHoursdecimalPlanned distance/duration.
DistanceActualInKms / DurationActualInHoursdecimalActual distance/duration driven.
JobIdintId of the order-import job this ride belongs to, if any. Do not use unless instructed otherwise by MendriX — leave 0 as the safe default.
ReferencestringExternal reference for this ride.

Scenario: retrieve today’s rides. Set PeriodBegin/PeriodEnd to today’s date range and omit JobIdsAsCsv/RideName/KeysExplicitAsCsv to get every ride active in that window.

Scenario: retrieve a specific named ride. Set RideName to the manual ride name (e.g. Henk) instead of a period, if you know the name and don’t need to filter by date.

  • Ride Id-not-found is a soft per-item error, not a rejection — for StoreRides/StoreRideTimeWindows only — unlike orders, there is no “must have been requested first” enforcement for rides. A store to an unknown Id returns srError in the result list rather than failing the whole request. StoreRideTimeWindows also has its own unconditional active-job precondition — see the caution above.
  • StoreRideNonOrderTask hard-rejects the whole call on bad input — unlike StoreRides/StoreRideTimeWindows, an unknown RideId, unknown task Id, wrong task type, missing reference task, or invalid material raises an exception and fails the entire call. It does not use the soft per-item error pattern described above.
  • RequestLastRidePositions requires the Live Positions module license — it returns an error for tenants without it.
  • Still recommended (not enforced): retrieve a ride before updating it, same reasoning as orders — a store call replaces fields you don’t include.
  • GdxEoStructures.xsd — TEoCustomLinkRide, TEoFilterPlannerMaster field definitions.
  • Order intake — orders are planned onto rides but are a separate entity.