メインコンテンツまでスキップ

Retrieve a route for a vehicle

GET 

/vehicle_route_proxy/:vehicle_id/:wkt_waypoints

Given a set of route points, this endpoint uses the routing profile attached to the specified active vehicle and returns the geometry for the route defined by the WKT points in the request. Every time this request is made, a corresponding event is sent via websockets or webhooks. This event is processed by a separate microservice that requests and generates a vehicle routing path. The path is generated from the vehicle's stored current position to the final assigned node and is stored in the vehicle's path attribute.

Example request: /vehicle_route_proxy/17789914/100.516127,13.69046292;100.518127,13.69246292

Request

Responses

OK