Introduction
The Restriction Zone API is a Restful API capable of managing restriction areas for route detour. With the Restriction Zone API you can:
The Restriction Zone API is a Restful API capable of managing restriction areas for route detour. With the Restriction Zone API you can:
Before you can start using the API, you will need to obtain the authentication token. The following headers will be required, where the word token must be replaced by the token obt [...]
To insert a new restriction zone you will make a POST request to the following endpoint: https://api.maplink.global/restriction/v1/restrictionZones – POST You will need an ar [...]
To query a restriction zone you must make a GET request to the following endpoint: To consult the restriction zone created in the previous example, we will make a GET request to th [...]
To delete a restriction zone you must make a DELETE request to the endpoint below. You will need to enter the name of the restriction zone you wish to delete:
Restricted zones can be used with the Trip, Planning and Distance Matrix APIs. In this example we will make a request to the Trip API considering the restriction zone created in th [...]
The following example is of a restriction zone that covers the entire ZMRC (Maximum Traffic Restriction Zone) in São Paulo. The restriction on truck traffic in the Maximum Traffic [...]
Below is the table with the status codes for each endpoint available in the Restriction Zone API: Code Method Endpoint Description 201 POST https://api.maplink.global/restriction/v [...]