Travel Matrix Api

The Travel Matrix Flexible API provides ETAs and distances using truck-specific routes, departure times, traffic, and route preferences by setting the option parameter to flexible. It supports both HTTPS GET and POST, with POST allowing larger origin-destination sets.

post/v1/matrix/location

Request

  • Base URL: https://api.cloud.precisely.com
  • URL: https://api.cloud.precisely.com/v1/matrix/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
warningstring[]

Changes

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