{"info":{"_postman_id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","name":"Routing API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"6858158","collectionId":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","publishedId":"T17F9o99","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-07-02T08:37:54.000Z"},"item":[{"name":"Car routing A to B","id":"b3afbcb8-2aa5-4e76-a4ce-3a45e9851e2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/routing/1/calculateRoute/:locations/json?travelMode=car","description":"<p>Routing API - Car routing A to B example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/routing-api/routing-api-documentation-routing/calculate-route\">here</a>.</p>\n<p>API key can be found at <a href=\"https://developer.tomtom.com/user/me/apps\">Dashboard</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{API_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","name":"Routing API","type":"collection"}},"urlObject":{"protocol":"https","path":["routing","1","calculateRoute",":locations","json"],"host":["api","tomtom","com"],"query":[{"key":"travelMode","value":"car"}],"variable":[{"id":"67ccd9b6-02a2-40e6-b06d-ac11b84383e8","description":{"content":"<p>Locations through which the route is calculated.</p>\n","type":"text/plain"},"type":"string","value":"52.50931,13.42936:52.50274,13.43872","key":"locations"}]}},"response":[],"_postman_id":"b3afbcb8-2aa5-4e76-a4ce-3a45e9851e2a"},{"name":"Reachable range","id":"3a2ef584-42a1-4368-ab09-69f723bba1ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/routing/1/calculateReachableRange/:origin/json?fuelBudgetInLiters=10&constantSpeedConsumptionInLitersPerHundredkm=50,6.3:130,11.5","description":"<p>Routing API - Reachable range example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/routing-api/routing-api-documentation-routing/calculate-reachable-range\">here</a>.</p>\n<p>API key can be found at <a href=\"https://developer.tomtom.com/user/me/apps\">Dashboard</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{API_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","name":"Routing API","type":"collection"}},"urlObject":{"protocol":"https","path":["routing","1","calculateReachableRange",":origin","json"],"host":["api","tomtom","com"],"query":[{"description":{"content":"<p>Fuel budget in liters that determines maximal range which can be traveled using the specified Combustion Consumption Model.</p>\n","type":"text/plain"},"key":"fuelBudgetInLiters","value":"10"},{"description":{"content":"<p>Specifies the speed-dependent component of consumption.</p>\n","type":"text/plain"},"key":"constantSpeedConsumptionInLitersPerHundredkm","value":"50,6.3:130,11.5"}],"variable":[{"id":"0e549b5b-fb82-4fdc-aa23-0cd9d3ddb50c","description":{"content":"<p>Point from which the range calculation should start.</p>\n","type":"text/plain"},"type":"string","value":"50.97450,5.86605","key":"origin"}]}},"response":[],"_postman_id":"3a2ef584-42a1-4368-ab09-69f723bba1ef"},{"name":"Truck routing","id":"74330269-2663-43de-b26b-af1a520e41a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/routing/1/calculateRoute/:locations/json?travelMode=truck&vehicleWidth=2.4&vehicleHeight=3&vehicleMaxSpeed=90","description":"<p>Routing API - Truck routing example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/routing-api/routing-api-documentation-routing/calculate-route\">here</a>.</p>\n<p>API key can be found at <a href=\"https://developer.tomtom.com/user/me/apps\">Dashboard</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{API_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","name":"Routing API","type":"collection"}},"urlObject":{"protocol":"https","path":["routing","1","calculateRoute",":locations","json"],"host":["api","tomtom","com"],"query":[{"description":{"content":"<p>The mode of travel for the requested route.</p>\n","type":"text/plain"},"key":"travelMode","value":"truck"},{"description":{"content":"<p>Width of the vehicle in meters.</p>\n","type":"text/plain"},"key":"vehicleWidth","value":"2.4"},{"description":{"content":"<p>Height of the vehicle in meters.</p>\n","type":"text/plain"},"key":"vehicleHeight","value":"3"},{"description":{"content":"<p>Maximum speed of the vehicle in kilometers/hour.</p>\n","type":"text/plain"},"key":"vehicleMaxSpeed","value":"90"}],"variable":[{"id":"89a45e83-bac6-4128-899e-d0d4918511cf","description":{"content":"<p>Locations through which the route is calculated.</p>\n","type":"text/plain"},"type":"string","value":"52.50931,13.42936:52.13167,11.64032","key":"locations"}]}},"response":[],"_postman_id":"74330269-2663-43de-b26b-af1a520e41a3"},{"name":"Scheduled routing / in advance","event":[{"listen":"prerequest","script":{"id":"2cfc0111-0bbb-4324-aaa4-01d8a17d41dd","exec":["var date = new Date();","date.setMinutes(date.getMinutes() + 30);","pm.variables.set(\"date\", date);"],"type":"text/javascript"}}],"id":"7f955f3a-cbc5-470e-80fc-7383457dcbf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/routing/1/calculateRoute/:locations/json?departAt={{date}}","description":"<p>Routing API - Scheduled routing example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/routing-api/routing-api-documentation-routing/calculate-route\">here</a>.</p>\n<p>API key can be found at <a href=\"https://developer.tomtom.com/user/me/apps\">Dashboard</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{API_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","name":"Routing API","type":"collection"}},"urlObject":{"protocol":"https","path":["routing","1","calculateRoute",":locations","json"],"host":["api","tomtom","com"],"query":[{"description":{"content":"<p>The date and time of departure from the origin point.</p>\n","type":"text/plain"},"key":"departAt","value":"{{date}}"}],"variable":[{"id":"aeff6d9b-8526-44f5-9fd8-e562385eec72","description":{"content":"<p>Locations through which the route is calculated.</p>\n","type":"text/plain"},"type":"string","value":"52.50931,13.42936:52.13167,11.64032","key":"locations"}]}},"response":[],"_postman_id":"7f955f3a-cbc5-470e-80fc-7383457dcbf4"},{"name":"Avoid motorways","event":[{"listen":"prerequest","script":{"id":"71831012-f613-4307-a55d-02b5190df535","exec":["var date = new Date();","date.setMinutes(date.getMinutes() + 30);","pm.variables.set(\"date\", date);"],"type":"text/javascript"}}],"id":"31bb23e9-bead-4ec5-a569-2bcddb393fe6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/routing/1/calculateRoute/:locations/json?avoid=motorways&instructionsType=text","description":"<p>Routing API - Avoid motorways example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/routing-api/routing-api-documentation-routing/calculate-route\">here</a>.</p>\n<p>API key can be found at <a href=\"https://developer.tomtom.com/user/me/apps\">Dashboard</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{API_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","name":"Routing API","type":"collection"}},"urlObject":{"protocol":"https","path":["routing","1","calculateRoute",":locations","json"],"host":["api","tomtom","com"],"query":[{"description":{"content":"<p>Specifies something that the route calculation should try to avoid when determining the route.</p>\n","type":"text/plain"},"key":"avoid","value":"motorways"},{"description":{"content":"<p>If specified, guidance instructions will be returned (if available).</p>\n","type":"text/plain"},"key":"instructionsType","value":"text"}],"variable":[{"id":"83ce2208-1923-4628-bc4f-1698478bd808","description":{"content":"<p>Locations through which the route is calculated.</p>\n","type":"text/plain"},"type":"string","value":"52.50931,13.42936:52.13167,11.64032","key":"locations"}]}},"response":[],"_postman_id":"31bb23e9-bead-4ec5-a569-2bcddb393fe6"},{"name":"Return travel times with and without traffic","event":[{"listen":"prerequest","script":{"id":"7be6cfbc-ef1d-44cc-8ef3-07786b15bbf1","exec":["var date = new Date();","date.setMinutes(date.getMinutes() + 30);","pm.variables.set(\"date\", date);"],"type":"text/javascript"}}],"id":"07619938-36f6-4855-9bf7-cfd224a692a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/routing/1/calculateRoute/:locations/json?computeTravelTimeFor=all","description":"<p>Routing API - Return travel times with and without traffic example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/routing-api/routing-api-documentation-routing/calculate-route\">here</a>.</p>\n<p>API key can be found at <a href=\"https://developer.tomtom.com/user/me/apps\">Dashboard</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{API_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","name":"Routing API","type":"collection"}},"urlObject":{"protocol":"https","path":["routing","1","calculateRoute",":locations","json"],"host":["api","tomtom","com"],"query":[{"description":{"content":"<p>Specifies whether to return additional travel times using different types of traffic information (none, historic, live) as well as the default best-estimate travel time.</p>\n","type":"text/plain"},"key":"computeTravelTimeFor","value":"all"}],"variable":[{"id":"a56f57b7-3692-4637-827b-e2c7bc1440b6","description":{"content":"<p>Locations through which the route is calculated.</p>\n","type":"text/plain"},"type":"string","value":"52.50931,13.42936:52.13167,11.64032","key":"locations"}]}},"response":[],"_postman_id":"07619938-36f6-4855-9bf7-cfd224a692a5"},{"name":"Synchronous batch","id":"0e82ff13-17ff-4a64-99ab-ff99166ad4e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"batchItems\": [\n        {\n            \"query\": \"/calculateRoute/52.50931,13.42936:52.50274,13.43872/json?travelMode=car\"\n        },\n        {\n            \"query\": \"/calculateRoute/52.50931,13.42936:52.50274,13.43872/json?travelMode=truck\",\n            \"post\": {\n                \"avoidAreas\": {\n                    \"rectangles\": [\n                        {\n                            \"southWestCorner\": {\n                                \"latitude\": 48.81851,\n                                \"longitude\": 2.26593\n                            },\n                            \"northEastCorner\": {\n                                \"latitude\": 48.90309,\n                                \"longitude\": 2.41115\n                            }\n                        }\n                    ]\n                }\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tomtom.com/routing/1/batch/sync/json","description":"<p>Routing API - Synchronous batch example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/routing-api/routing-api-documentation-batch-routing/synchronous-batch\">here</a>.</p>\n<p>API key can be found at <a href=\"https://developer.tomtom.com/user/me/apps\">Dashboard</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{API_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","name":"Routing API","type":"collection"}},"urlObject":{"protocol":"https","path":["routing","1","batch","sync","json"],"host":["api","tomtom","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e82ff13-17ff-4a64-99ab-ff99166ad4e0"},{"name":"Synchronous matrix","id":"9e9475f9-8c9f-4890-9307-ebe833ba5965","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"origins\": [\n        {\n            \"point\": {\n                \"latitude\": 45.458545,\n                \"longitude\": 9.15049\n            }\n        },\n        {\n            \"point\": {\n                \"latitude\": 45.403337,\n                \"longitude\": 11.050541\n            }\n        }\n    ],\n    \"destinations\": [\n        {\n            \"point\": {\n                \"latitude\": 48.149853,\n                \"longitude\": 11.499931\n            }\n        },\n        {\n            \"point\": {\n                \"latitude\": 50.033688,\n                \"longitude\": 14.538226\n            }\n        }\n    ],\n    \"options\": {\n        \"post\": {\n            \"avoidVignette\": [\n                \"AUS\",\n                \"CHE\"\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tomtom.com/routing/1/matrix/sync/json","description":"<p>Routing API - Synchronous matrix example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/routing-api/routing-api-documentation-matrix-routing/synchronous-matrix\">here</a>.</p>\n<p>API key can be found at <a href=\"https://developer.tomtom.com/user/me/apps\">Dashboard</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{API_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","id":"9d32298c-7c5b-43c7-9179-249cb2cf7edd","name":"Routing API","type":"collection"}},"urlObject":{"protocol":"https","path":["routing","1","matrix","sync","json"],"host":["api","tomtom","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e9475f9-8c9f-4890-9307-ebe833ba5965"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{API_KEY}}"}]}},"event":[{"listen":"prerequest","script":{"id":"31192d89-6d5c-43b4-84f4-fa088d39cab9","type":"text/javascript","exec":["pm.request.headers.add( { key: 'TomTom-User-Agent', value: 'Postman' } );"]}},{"listen":"test","script":{"id":"9c08bcd1-3e3b-4764-ae35-5723a50ea438","type":"text/javascript","exec":[""]}}]}