Generate Delivery Drivers Report
GET/delivery/reports/drivers
This endpoint retrieves reporting data related to delivery drivers.
A driver's route is the set of stops scheduled for delivery on a given day. The distance, travel time and stop duration figures cover the routes whose deliveries fall in the requested range. Note that which drivers appear, and the job and stop counts, are currently selected by when the job record was last modified rather than by delivery date, so a driver may be listed with counts but no distance figures, or may have delivered in the range without appearing.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 500
- 503
Successful operation
Unauthorized access. Authentication is required.
Access is forbidden. The user does not have permission to access this resource. This read also returns the error when the request is authenticated with a subuser api_key: it requires the main account's api_key, unlike most Delivery reads. In that case error.message is Unauthorized and error.data.message is Unauthorized for this role.
The requested resource was not found.
Validation failed for the input parameters.
Internal server error.
Service temporarily unavailable. The request did not complete and can be retried after the number of seconds in the Retry-After header, when one is sent.
Response Headers
Seconds to wait before retrying. Sent with db_busy and db_pool_timeout.