{"info":{"_postman_id":"1bcea66f-6b0c-4c83-d105-6fda4b74839a","name":"Waypoint Sequence Extension API","description":"<html><head></head><body><p>The <strong>HERE Waypoints Sequence Extension API</strong> calculates the optimal sequence of any given waypoints along a route, while minimizing the time or distance traveled. Often referred as the “Travelling Salesman Problem”, the service takes into account the HERE road network restrictions as well as traffic pattern data to provide accurate travel times and distances between subsequent waypoints. Mode of travel, by car or truck, as well as route preference like fastest or shortest, can also be considered when applying for specific use cases.</p>\n<p>This example set works with version <strong>2.0</strong> or higher</p>\n<p>Additional information can be found on <a href=\"https://developer.here.com/platform-extensions/documentation/routing-waypoints\">developer.here.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"3967924","collectionId":"1bcea66f-6b0c-4c83-d105-6fda4b74839a","publishedId":"RW1Yq1RS","public":true,"customColor":null,"publishDate":"2018-04-25T12:21:02.000Z"},"item":[{"name":"Waypoint Sequence for a Car","id":"39ee5fcb-88f0-1343-4b39-6220b7d3f7c1","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"start","type":"text","value":"50.0715,8.2434"},{"key":"destination1","type":"text","value":"50.1073,8.6647"},{"key":"destination2","type":"text","value":"49.8728,8.6326"},{"key":"destination3","type":"text","value":"50.0505,8.5698"},{"key":"destination4","type":"text","value":"50.1218,8.9298"},{"key":"end","type":"text","value":"50.0021,8.259"},{"key":"improveFor","type":"text","value":"time"},{"key":"mode","type":"text","value":"fastest;car"},{"key":"app_id","type":"text","value":"{{YOUR_APP_ID}}"},{"key":"app_code","type":"text","value":"{{YOUR_APP_CODE}}"}]},"url":"https://wse.cit.api.here.com/2/findsequence.json?start=50.0715,8.2434&destination1=50.1073,8.6647&destination2=49.8728,8.6326&destination3=50.0505,8.5698&destination4=50.1218,8.9298&end=50.0021,8.259&improveFor=time&mode=fastest;car&app_id={{YOUR_APP_ID}}&app_code={{YOUR_APP_CODE}}","description":"<p><em>Request an ordered list of destinations for the quickest car journey</em></p>\n<p>Waypoint sequence calcuations are made using the <code>findsequence</code> endpoint and appending  <code>start</code> and <code>end</code> parameters and consecutively numbered <code>destination</code> parameters are used to add intermediate points  to the request. The route <code>mode</code> is defined in the Enterprise Routing API</p>\n<ul>\n<li><p><strong>start</strong>  <code>latlng</code>\n - Start point for the route calculations.    e.g. <code>52.515,13.377</code></p>\n</li>\n<li><p><strong>destination1</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>destination2</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>destination3</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>destination4</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>end</strong>  <code>latlng</code>\n - End point for the route calculations.    e.g. <code>50.121,8.925</code></p>\n</li>\n<li><p><strong>improveFor</strong>  <code>enum</code>\n - Whether to improve for time or distance</p>\n</li>\n</ul>\n<p> Valid values are : <code>time</code>, <code>distance</code></p>\n<ul>\n<li><p><strong>mode</strong>  <code>text</code>\n - Routing mode determines how the route is calculated.    e.g. <code>fastest;car;traffic:disabled</code></p>\n</li>\n<li><p><strong>app_id</strong>  <code>text</code>\n - A 20 byte Base64 URL-safe encoded string used for the authentication of the client application.    You must include an <code>app_id</code> with every request.</p>\n</li>\n<li><p><strong>app_code</strong>  <code>text</code>\n - A 20 byte Base64 URL-safe encoded string used for the authentication of the client application.    You must include an <code>app_code</code> with every request.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["2","findsequence.json"],"host":["wse","cit","api","here","com"],"query":[{"key":"start","value":"50.0715,8.2434"},{"key":"destination1","value":"50.1073,8.6647"},{"key":"destination2","value":"49.8728,8.6326"},{"key":"destination3","value":"50.0505,8.5698"},{"key":"destination4","value":"50.1218,8.9298"},{"key":"end","value":"50.0021,8.259"},{"key":"improveFor","value":"time"},{"key":"mode","value":"fastest;car"},{"key":"app_id","value":"{{YOUR_APP_ID}}"},{"key":"app_code","value":"{{YOUR_APP_CODE}}"}],"variable":[]}},"response":[],"_postman_id":"39ee5fcb-88f0-1343-4b39-6220b7d3f7c1"},{"name":" Waypoint Sequence for a Truck","id":"8ad933b3-fc5b-1adc-7977-0af7c2e657a8","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"start","type":"text","value":"40.7790,-73.9622"},{"key":"destination1","type":"text","value":"40.7482,-73.9860"},{"key":"destination2","type":"text","value":"40.7558,-73.9870"},{"key":"destination3","type":"text","value":"40.7054,-73.9961"},{"key":"destination4","type":"text","value":"40.8562,-73.8730"},{"key":"end","type":"text","value":"40.7790,-73.9622"},{"key":"improveFor","type":"text","value":"distance"},{"key":"mode","type":"text","value":"fastest;truck"},{"key":"app_id","type":"text","value":"{{YOUR_APP_ID}}"},{"key":"app_code","type":"text","value":"{{YOUR_APP_CODE}}"}]},"url":"https://wse.cit.api.here.com/2/findsequence.json?start=40.7790,-73.9622&destination1=40.7482,-73.9860&destination2=40.7558,-73.9870&destination3=40.7054,-73.9961&destination4=40.8562,-73.8730&end=40.7790,-73.9622&improveFor=distance&mode=fastest;truck&app_id={{YOUR_APP_ID}}&app_code={{YOUR_APP_CODE}}","description":"<p><em>Request an ordered list of destinations for the shortest truck journey</em></p>\n<p>Waypoint sequence calcuations are made using the <code>findsequence</code> endpoint and appending  <code>start</code> and <code>end</code> parameters and consecutively numbered <code>destination</code> parameters are used to add intermediate points  to the request. The route <code>mode</code> is defined in the Enterprise Routing API</p>\n<ul>\n<li><p><strong>start</strong>  <code>latlng</code>\n - Start point for the route calculations.    e.g. <code>52.515,13.377</code></p>\n</li>\n<li><p><strong>destination1</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>destination2</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>destination3</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>destination4</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>end</strong>  <code>latlng</code>\n - End point for the route calculations.    e.g. <code>50.121,8.925</code></p>\n</li>\n<li><p><strong>improveFor</strong>  <code>enum</code>\n - Whether to improve for time or distance</p>\n</li>\n</ul>\n<p> Valid values are : <code>time</code>, <code>distance</code></p>\n<ul>\n<li><p><strong>mode</strong>  <code>text</code>\n - Routing mode determines how the route is calculated.    e.g. <code>fastest;car;traffic:disabled</code></p>\n</li>\n<li><p><strong>app_id</strong>  <code>text</code>\n - A 20 byte Base64 URL-safe encoded string used for the authentication of the client application.    You must include an <code>app_id</code> with every request.</p>\n</li>\n<li><p><strong>app_code</strong>  <code>text</code>\n - A 20 byte Base64 URL-safe encoded string used for the authentication of the client application.    You must include an <code>app_code</code> with every request.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["2","findsequence.json"],"host":["wse","cit","api","here","com"],"query":[{"key":"start","value":"40.7790,-73.9622"},{"key":"destination1","value":"40.7482,-73.9860"},{"key":"destination2","value":"40.7558,-73.9870"},{"key":"destination3","value":"40.7054,-73.9961"},{"key":"destination4","value":"40.8562,-73.8730"},{"key":"end","value":"40.7790,-73.9622"},{"key":"improveFor","value":"distance"},{"key":"mode","value":"fastest;truck"},{"key":"app_id","value":"{{YOUR_APP_ID}}"},{"key":"app_code","value":"{{YOUR_APP_CODE}}"}],"variable":[]}},"response":[],"_postman_id":"8ad933b3-fc5b-1adc-7977-0af7c2e657a8"},{"name":"Waypoint Sequence for a Truck with Trailer","id":"919b7ebe-cfae-c7ff-1046-7909480dee7b","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"start","type":"text","value":"46.4787,11.3083"},{"key":"destination1","type":"text","value":"47.1349,9.4954"},{"key":"destination2","type":"text","value":"46.4911,11.3033"},{"key":"destination3","type":"text","value":"46.6625,9.5703"},{"key":"destination4","type":"text","value":"46.0330,9.2031"},{"key":"end","type":"text","value":"46.4787,11.3083"},{"key":"improveFor","type":"text","value":"time"},{"key":"mode","type":"text","value":"fastest;truck"},{"key":"hasTrailer","type":"text","value":"true"},{"key":"app_id","type":"text","value":"{{YOUR_APP_ID}}"},{"key":"app_code","type":"text","value":"{{YOUR_APP_CODE}}"}]},"url":"https://wse.cit.api.here.com/2/findsequence.json?start=46.4787,11.3083&destination1=47.1349,9.4954&destination2=46.4911,11.3033&destination3=46.6625,9.5703&destination4=46.0330,9.2031&end=46.4787,11.3083&improveFor=time&mode=fastest;truck&hasTrailer=true&app_id={{YOUR_APP_ID}}&app_code={{YOUR_APP_CODE}}","description":"<p><em>Request an ordered list of destinations for a truck with trailer</em></p>\n<p>Waypoint sequence calcuations are made using the <code>findsequence</code> endpoint and appending  <code>start</code> and <code>end</code> parameters and consecutively numbered <code>destination</code> parameters are used to add intermediate points  to the request. The route <code>mode</code> is defined in the Enterprise Routing API. Trailer restrictions can be added to a routing request, through adding the <code>hastrailer</code> parameter to the request URL.</p>\n<ul>\n<li><p><strong>start</strong>  <code>latlng</code>\n - Start point for the route calculations.    e.g. <code>52.515,13.377</code></p>\n</li>\n<li><p><strong>destination1</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>destination2</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>destination3</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>destination4</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>end</strong>  <code>latlng</code>\n - End point for the route calculations.    e.g. <code>50.121,8.925</code></p>\n</li>\n<li><p><strong>improveFor</strong>  <code>enum</code>\n - Whether to improve for time or distance</p>\n</li>\n</ul>\n<p> Valid values are : <code>time</code>, <code>distance</code></p>\n<ul>\n<li><p><strong>mode</strong>  <code>text</code>\n - Routing mode determines how the route is calculated.    e.g. <code>fastest;car;traffic:disabled</code></p>\n</li>\n<li><p><strong>hasTrailer</strong>  <code>enum</code>\n - A 20 byte Base64 URL-safe encoded string used for the authentication of the client application.    You must include an <code>app_id</code> with every request.</p>\n</li>\n</ul>\n<p> Valid values are : <code>true</code>, <code>false</code></p>\n<ul>\n<li><p><strong>app_id</strong>  <code>text</code>\n - A 20 byte Base64 URL-safe encoded string used for the authentication of the client application.    You must include an <code>app_id</code> with every request.</p>\n</li>\n<li><p><strong>app_code</strong>  <code>text</code>\n - A 20 byte Base64 URL-safe encoded string used for the authentication of the client application.    You must include an <code>app_code</code> with every request.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["2","findsequence.json"],"host":["wse","cit","api","here","com"],"query":[{"key":"start","value":"46.4787,11.3083"},{"key":"destination1","value":"47.1349,9.4954"},{"key":"destination2","value":"46.4911,11.3033"},{"key":"destination3","value":"46.6625,9.5703"},{"key":"destination4","value":"46.0330,9.2031"},{"key":"end","value":"46.4787,11.3083"},{"key":"improveFor","value":"time"},{"key":"mode","value":"fastest;truck"},{"key":"hasTrailer","value":"true"},{"key":"app_id","value":"{{YOUR_APP_ID}}"},{"key":"app_code","value":"{{YOUR_APP_CODE}}"}],"variable":[]}},"response":[],"_postman_id":"919b7ebe-cfae-c7ff-1046-7909480dee7b"},{"name":"Waypoint Sequence for Hazardous Materials","id":"ac330780-eb43-d569-0141-e5c44346e672","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"start","type":"text","value":"40.7790,-73.9622"},{"key":"destination1","type":"text","value":"40.7482,-73.9860"},{"key":"destination2","type":"text","value":"40.7558,-73.9870"},{"key":"destination3","type":"text","value":"40.7054,-73.9961"},{"key":"destination4","type":"text","value":"40.8562,-73.8730"},{"key":"end","type":"text","value":"40.7790,-73.9622"},{"key":"improveFor","type":"text","value":"distance"},{"key":"mode","type":"text","value":"fastest;truck"},{"key":"shippedHazardousGoods","type":"text","value":"flammable,harmfulToWater"},{"key":"app_id","type":"text","value":"{{YOUR_APP_ID}}"},{"key":"app_code","type":"text","value":"{{YOUR_APP_CODE}}"}]},"url":"https://wse.cit.api.here.com/2/findsequence.json?start=40.7790,-73.9622&destination1=40.7482,-73.9860&destination2=40.7558,-73.9870&destination3=40.7054,-73.9961&destination4=40.8562,-73.8730&end=40.7790,-73.9622&improveFor=distance&mode=fastest;truck&shippedHazardousGoods=flammable,harmfulToWater&app_id={{YOUR_APP_ID}}&app_code={{YOUR_APP_CODE}}","description":"<p><em>Request an ordered list of destinations for a truck carrying hazardous materials</em></p>\n<p>Waypoint sequence calcuations are made using the <code>findsequence</code> endpoint and appending  <code>start</code> and <code>end</code> parameters and consecutively numbered <code>destination</code> parameters are used to add intermediate points  to the request. Hazardous material types are added as a comma-delimited list to the  <code>shippedHazardousGoods</code> parameter. The list of values is defined in the Enterprise Routing API</p>\n<ul>\n<li><p><strong>start</strong>  <code>latlng</code>\n - Start point for the route calculations.    e.g. <code>52.515,13.377</code></p>\n</li>\n<li><p><strong>destination1</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>destination2</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>destination3</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>destination4</strong>  <code>latlng</code>\n - A point through which the route must pass.    e.g. <code>52.6172,13.3833</code></p>\n</li>\n<li><p><strong>end</strong>  <code>latlng</code>\n - End point for the route calculations.    e.g. <code>50.121,8.925</code></p>\n</li>\n<li><p><strong>improveFor</strong>  <code>enum</code>\n - Whether to improve for time or distance</p>\n</li>\n</ul>\n<p> Valid values are : <code>time</code>, <code>distance</code></p>\n<ul>\n<li><p><strong>mode</strong>  <code>text</code>\n - Routing mode determines how the route is calculated.    e.g. <code>fastest;car;traffic:disabled</code></p>\n</li>\n<li><p><strong>shippedHazardousGoods</strong>  <code>multi-enum</code>\n - Truck routing only, list of hazardous materials in the vehicle.</p>\n</li>\n</ul>\n<p> Valid values are : <code>combustible</code>, <code>corrosive</code>, <code>explosive</code>, <code>flammable</code>, <code>gas</code>, <code>harmfulToWater</code>, <code>organic</code>, <code>other</code>, <code>poison</code>, <code>poisonousInhalation</code>, <code>radioActive</code></p>\n<ul>\n<li><p><strong>app_id</strong>  <code>text</code>\n - A 20 byte Base64 URL-safe encoded string used for the authentication of the client application.    You must include an <code>app_id</code> with every request.</p>\n</li>\n<li><p><strong>app_code</strong>  <code>text</code>\n - A 20 byte Base64 URL-safe encoded string used for the authentication of the client application.    You must include an <code>app_code</code> with every request.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["2","findsequence.json"],"host":["wse","cit","api","here","com"],"query":[{"key":"start","value":"40.7790,-73.9622"},{"key":"destination1","value":"40.7482,-73.9860"},{"key":"destination2","value":"40.7558,-73.9870"},{"key":"destination3","value":"40.7054,-73.9961"},{"key":"destination4","value":"40.8562,-73.8730"},{"key":"end","value":"40.7790,-73.9622"},{"key":"improveFor","value":"distance"},{"key":"mode","value":"fastest;truck"},{"key":"shippedHazardousGoods","value":"flammable,harmfulToWater"},{"key":"app_id","value":"{{YOUR_APP_ID}}"},{"key":"app_code","value":"{{YOUR_APP_CODE}}"}],"variable":[]}},"response":[],"_postman_id":"ac330780-eb43-d569-0141-e5c44346e672"}]}