OrderDrivenRoute
Details of the order execution by a driver. If the executionis still in progress the data is updated regularly.
type OrderDrivenRoute {
_id: ObjectId!
startTime: DateTime!
endTime: DateTime
orderTime: Float!
idleTime: Float!
timeAtStop: Float!
drivenDistance: Float!
tollCost: Float
drivenTime: Float!
averageDrivingSpeed: Float!
warnings: [DrivenRouteWarnings!]
eventIcons: [DrivenRouteEventIcon!]
segments: [DrivenRouteSegment!]
createdAt: DateTime!
updatedAt: DateTime!
}
Fields
OrderDrivenRoute._id ● ObjectId! non-null scalar
OrderDrivenRoute.startTime ● DateTime! non-null scalar
Start when the order status was changed to
IN_PROGRESS.
OrderDrivenRoute.endTime ● DateTime scalar
End when the order status was changed out of
IN_PROGRESS. If null then the order is still in progress.
OrderDrivenRoute.orderTime ● Float! non-null scalar
Total time in seconds the order was executed (time between startTime and endTime). Measured with the reported stop / order events.
OrderDrivenRoute.idleTime ● Float! non-null scalar
Total time in seconds the driver was idle (driver not moving according to geofence service). This may include time at stop. Measured with driver movement order events.
OrderDrivenRoute.timeAtStop ● Float! non-null scalar
Total time in seconds the driver has spent at all the stops of the order. Measured with the reported stop events.
OrderDrivenRoute.drivenDistance ● Float! non-null scalar
Total distance in meters that was driven during the route. Estimated from the position / gps data.
OrderDrivenRoute.tollCost ● Float scalar
Total toll cost for the driven route in EUR. Estimated from the position / gps data.
OrderDrivenRoute.drivenTime ● Float! non-null scalar
Total time in seconds the driver was in movement while driving (excluded time at stop). Estimated from the position / gps data.
OrderDrivenRoute.averageDrivingSpeed ● Float! non-null scalar
Average speed in km/h of the route only taking into consideration the actual driven distance and driven time. Estimated from the position / gps data.
OrderDrivenRoute.warnings ● [DrivenRouteWarnings!] list enum
OrderDrivenRoute.eventIcons ● [DrivenRouteEventIcon!] list object
OrderDrivenRoute.segments ● [DrivenRouteSegment!] list object
Segments tracked of the route (e.g. between two stops, before / after enabling tracking, ...).