Get last updated transports (Poll vs. webhooks)
There are two ways to get last updated transports:
You create a webservice we can use to send transport data in real-time when they are updated. With this solution, every time a transport is updated, we send a POST request to your webservice, and the body contains the whole transport JSON. The JSON includes everything you need (documents/photos url, status updates, loads etc.)
This is the best solution to have the minimal amount of requests, and the most up-to-date transports data.
To configure webhooks, please refer to the following page :
You can make an authenticated GET request every X minutes to the following URL:
yyyy-mm-ddThh:mm:ssZby the last time you made the request (UTC time), you will get all the transports that have been updated since your last request. Be careful, this request is paginated, and only 20 transports will be returned by request. See this page for more information about it: