Get detailed route information with waypoints
GET/company/minimal/route
Retrieves detailed geographical and temporal information for a freight transport route, including intermediate points for map visualization and journey planning.
Objective
To provide complete route data for GPS navigation, map rendering, and logistics planning systems.
Use Cases
- Display routes on map interfaces for drivers and managers
- Calculate accurate ETA (Estimated Time of Arrival)
- Plan rest stops and refueling points along the route
- Visualize alternative routes in logistics planning tools
- Generate turn-by-turn navigation instructions
- Track driver progress against the planned route
Response Information
- distance: Total route distance in meters
- duration: Estimated travel time in seconds
- points: Array of GPS coordinates defining the route path
- tolls: Toll information when
with_tolls=true - departure/arrival: Estimated departure and arrival timestamps
Parameter Priority
Location identifier priority (same as in /co2):
- id (auction_id): Use the auction's addresses
- idEtl/idEtd: Address IDs from the database
- zipcodeStart/zipcodeEnd: Search by postal code
- coordsStart/coordsEnd: GPS coordinates
- countryOrigin/countryDestiny: Country codes
Error Responses
- 400: Invalid parameters or missing location identifiers
- 404: Addresses or auction not found
- 500: External routing service error
Request
Responses
- 200
- 400
- 404
- 500
Route information obtained successfully.
Invalid route parameters
Addresses or auction not found
External routing service error