Route Api

The Route Flexible API provides customizable routing with features like truck routing, time-based paths, and traffic-aware routes. It supports both GET and POST methods, with differences in waypoint limits.

post/v1/direction/location

Request

  • Base URL: https://api.cloud.precisely.com
  • URL: https://api.cloud.precisely.com/v1/direction/location
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Query parameters

option'flexible' required

Use this option to switch time based routing or if you want to choose between the fastest and shortest route types.

Headers

X-Request-Idstring

The X-Request-Id header is optional but incredibly useful for developers. It serves as a unique identifier for requests within our system. When you encounter any problems with your requests, providing us with the X-Request-Id will enable us to pinpoint the specific request in question without the need for extensive manual searching. This means faster and more efficient troubleshooting.

Request body

object required

Response

OK

statusstring
msgstring
warningstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.