{"info":{"_postman_id":"43700fa7-9260-410a-8388-1c41a0a3fa36","name":"Route Planner","description":"<html><head></head><body><p>این ابزار به شما کمک می‌کند تا بین یک مبدا و مقصد و یک یا چند نقطه بین آنها کوتاه‌ترین مسیر را پیدا کنید. همچنین شروطی را برای رسیدن به هر یک از این نقاط داشته باشید. به عنوان مثال شما شاید بخواهید حتما یک ایستگاه خاص قبل یا بعد از یک ایستگاه دیگر بازدید شود و یا آن ایستگاه خاص حتما بین ساعت 4 تا 6 بعدظهر بازدید شود چون به دلایلی در ساعاتی غیر از آن ساعات کسی برای تحویل گرفتن بسته شما وجود ندارد. </p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5871005","collectionId":"43700fa7-9260-410a-8388-1c41a0a3fa36","publishedId":"RznHJcho","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-01-12T13:45:18.000Z"},"item":[{"name":"Plan a route","id":"bd04154c-ca00-4601-b03e-6f4611f4b293","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"webhook_url\": \"http://e438c29d.ngrok.io\",\n  \"origin\": {\n    \"geo\": {\n      \"lat\": 35.734686,\n      \"lng\": 51.370495\n    }\n  },\n  \"destination\": {\n    \"geo\": {\n      \"lat\": 35.735601,\n      \"lng\": 51.333876\n    }\n  },\n  \"waypoints\": [\n    {\n      \"service_time\": 12,\n      \"id\": \"stop-1\",\n      \"restrictions\": {\n        \"after\": \"stop-2\"\n      },\n      \"geo\": {\n        \"lat\": 35.735601,\n        \"lng\": 51.333876\n      }\n    },\n    {\n      \"id\": \"stop-2\",\n      \"geo\": {\n        \"lat\": 35.733198,\n        \"lng\": 51.359832\n      }\n    },\n    {\n      \"id\": \"stop-3\",\n      \"geo\": {\n        \"lat\": 35.731386,\n        \"lng\": 51.351174\n      }\n    }\n  ]\n}"},"url":"https://planner.monhani.ir/api/v1/plan","description":"<p>در بدنه درخواست، مختصات جغرافیایی یک مبدا، یک مقصد و توقفگاه‌های بین آن‌ها را مشخص کنید. \nسیستم می‌تواند جواب درخواست شما را به دو صورت اعلام کند.<br />شیوه اول به این صورت است که در جواب درخواست، برای شما یک شناسه وظیفه برمی‌گردد که می‌توانید با رابط برنامه نویسی دیگری در هر زمان از وضعیت پردازش آن با خبر شوید، و روش دوم به این صورت است که با ست کردن آدرس یک وب هوک ما جواب را به محض آماده شدن برای شما ارسال کنیم. </p>\n<p>Providing an origin, a destination and 1+ waypoints in request's body you'll get the results by either <strong>a)</strong> Calling \"Get route by job ID\" API or, <strong>b)</strong> have the route posted to you, on your provided Webhook URL whenever completed.</p>\n<p>location can have a servicetime, expressed in minutes. This is the waiting or processing time at the location, the time delay between arrival and departure.\nNote: if no servicetime is given, the system default of 5 minutes is used.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>origin.geo</code></td>\n<td>Object</td>\n<td>Location of origin in format : <code>{lat, lng}</code></td>\n</tr>\n<tr>\n<td><code>origin.service_time</code> <strong>Optional</strong></td>\n<td>Number</td>\n<td>Waiting or processing time at the location, the time delay between arrival and departure (minutes)</td>\n</tr>\n<tr>\n<td><code>destination.geo</code></td>\n<td>Object</td>\n<td>Location of destination in format : <code>{lat, lng}</code></td>\n</tr>\n<tr>\n<td><code>destination.service_time</code> <strong>Optional</strong></td>\n<td>Number</td>\n<td>Waiting or processing time at the location, the time delay between arrival and departure (minutes)</td>\n</tr>\n<tr>\n<td><code>waypoints</code></td>\n<td>Array</td>\n<td>An array of objects representing waypoints of your route, in format: <code>{id: 'string', geo:{lat, lng}, restrictions:{}}</code>. For more details please refer to \"Waypoint Object Definition\" in below.</td>\n</tr>\n<tr>\n<td><code>webhook_url</code> <strong>Optional</strong></td>\n<td>String</td>\n<td>A URL you want your results to be posted to, whenever completed</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"waypoint-object-definition\">Waypoint Object Definition</h2>\n<p>Each waypoint in <code>waypoints</code> object described above is consisted of following key/values:  </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>String</td>\n<td>An arbitrary string representing the waypoint</td>\n</tr>\n<tr>\n<td><code>geo</code></td>\n<td>Object</td>\n<td>Location of waypoint in format: <code>{lat, lng}</code></td>\n</tr>\n<tr>\n<td><code>service_time </code> <strong>Optional</strong></td>\n<td>Number</td>\n<td>Waiting or processing time at the location, the time delay between arrival and departure (minutes)</td>\n</tr>\n<tr>\n<td><code>restrictions.after</code> <strong>Optional</strong></td>\n<td>String</td>\n<td>ID of another waypoint which <strong>this</strong> waypoint <strong>can</strong> be visited after.</td>\n</tr>\n<tr>\n<td><code>restrictions.before</code> <strong>Optional</strong></td>\n<td>String</td>\n<td>ID of another waypoint which <strong>this</strong> waypoint <strong>should</strong> be visited before.</td>\n</tr>\n<tr>\n<td><code>restrictions.ready</code> <strong>Optional</strong></td>\n<td>Number</td>\n<td>Earliest time the waypoint may be visited (minutes, greater than 0). This time is relative to plan's start time. A route starts at <code>0</code> minutes. e.g. if you start driving at 8:00AM and a location needs to be visited after 9:00AM, use ready: <code>60</code>.</td>\n</tr>\n<tr>\n<td><code>restrictions.due</code> <strong>Optional</strong></td>\n<td>Number</td>\n<td>Latest time the waypoint may be visited (minutes, greater than 0). This time is relative to plan's start time. A route starts at <code>0</code> minutes. e.g. if you start driving at 8:00AM and a location needs to be visited before 10:00AM, use ready: <code>120</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-types\">Response Types</h2>\n<p>If nothing's wrong with your request, you'll get a response with <code>201</code> HTTP status showing your job is created and provides you with a <code>job_id</code> which you can later get the status of.</p>\n<p>If something goes wrong with your request you may get one of these error messages:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Status Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>VALIDATION_ERROR</code></td>\n<td>422</td>\n<td>One or more properties of your request body is invalid</td>\n</tr>\n<tr>\n<td><code>RATE_LIMITED_ERROR</code></td>\n<td>429</td>\n<td>Too many requests</td>\n</tr>\n<tr>\n<td><code>AUTHENTICATION_ERROR</code></td>\n<td>401</td>\n<td>Your access token is not valid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","plan"],"host":["planner","monhani","ir"],"query":[],"variable":[]}},"response":[{"id":"2ae545b8-1b58-47e9-8b42-8884801ecf15","name":"Authentication Error","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"webhook_url\": \"http://e438c29d.ngrok.io\",\n  \"origin\": {\n    \"geo\": {\n      \"lat\": 35.734686,\n      \"lng\": 51.370495\n    }\n  },\n  \"destination\": {\n    \"geo\": {\n      \"lat\": 35.735601,\n      \"lng\": 51.333876\n    }\n  },\n  \"waypoints\": [\n    {\n      \"id\": \"stop-1\",\n      \"restrictions\": {\n        \"after\": \"stop-2\"\n      },\n      \"geo\": {\n        \"lat\": 35.735601,\n        \"lng\": 51.333876\n      }\n    },\n    {\n      \"id\": \"stop-2\",\n      \"geo\": {\n        \"lat\": 35.733198,\n        \"lng\": 51.359832\n      }\n    },\n    {\n      \"id\": \"stop-3\",\n      \"geo\": {\n        \"lat\": 35.731386,\n        \"lng\": 51.351174\n      }\n    }\n  ]\n}"},"url":"https://planner.monhani.ir/api/v1/plan"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Feb 2019 08:06:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"118"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"X-RateLimit-Limit","value":"1"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1549181167"},{"key":"ETag","value":"W/\"76-V8xAIpapD1C7Fqy+rpL42VXnwMY\""}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"status\": 401,\n        \"message\": \"توکن معتبر نمی\\u200cباشد\",\n        \"type\": \"AUTHENTICATION_ERROR\"\n    },\n    \"payload\": null\n}"},{"id":"80fe0d12-6fd1-48b8-8156-1ab70af65af8","name":"Plan a route","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"webhook_url\": \"http://e438c29d.ngrok.io\",\n  \"origin\": {\n    \"geo\": {\n      \"lat\": 35.734686,\n      \"lng\": 51.370495\n    }\n  },\n  \"destination\": {\n    \"geo\": {\n      \"lat\": 35.735601,\n      \"lng\": 51.333876\n    }\n  },\n  \"waypoints\": [\n    {\n      \"id\": \"stop-1\",\n      \"restrictions\": {\n        \"after\": \"stop-2\"\n      },\n      \"geo\": {\n        \"lat\": 35.735601,\n        \"lng\": 51.333876\n      }\n    },\n    {\n      \"id\": \"stop-2\",\n      \"geo\": {\n        \"lat\": 35.733198,\n        \"lng\": 51.359832\n      }\n    },\n    {\n      \"id\": \"stop-3\",\n      \"geo\": {\n        \"lat\": 35.731386,\n        \"lng\": 51.351174\n      }\n    }\n  ]\n}"},"url":"https://planner.monhani.ir/api/v1/plan"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sat, 02 Feb 2019 13:07:14 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"132"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"X-RateLimit-Limit","value":"1"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1549112835"},{"key":"ETag","value":"W/\"84-PUXrtyyG0+wxtkGDEVBXsyYIBdA\""}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"status\": 201,\n        \"message\": \"درخواست با موفقیت ایجاد شد\"\n    },\n    \"payload\": {\n        \"job_id\": \"5c559602d039aa0022f97816\"\n    }\n}"},{"id":"cc31028d-8d4d-4efd-8739-4b1daa91e2dd","name":"Rate Limited","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"webhook_url\": \"http://e438c29d.ngrok.io\",\n  \"origin\": {\n    \"geo\": {\n      \"lat\": 35.734686,\n      \"lng\": 51.370495\n    }\n  },\n  \"destination\": {\n    \"geo\": {\n      \"lat\": 35.735601,\n      \"lng\": 51.333876\n    }\n  },\n  \"waypoints\": [\n    {\n      \"id\": \"stop-1\",\n      \"restrictions\": {\n        \"after\": \"stop-2\"\n      },\n      \"geo\": {\n        \"lat\": 35.735601,\n        \"lng\": 51.333876\n      }\n    },\n    {\n      \"id\": \"stop-2\",\n      \"geo\": {\n        \"lat\": 35.733198,\n        \"lng\": 51.359832\n      }\n    },\n    {\n      \"id\": \"stop-3\",\n      \"geo\": {\n        \"lat\": 35.731386,\n        \"lng\": 51.351174\n      }\n    }\n  ]\n}"},"url":"https://planner.monhani.ir/api/v1/plan"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Feb 2019 08:05:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"153"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"X-RateLimit-Limit","value":"1"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1549181148"},{"key":"Retry-After","value":"1"},{"key":"ETag","value":"W/\"99-QG4iEeiEiseHoVWdmUWnB/ZpgVk\""}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"status\": 429,\n        \"message\": \"تعداد درخواست\\u200cهای شما بیش از حد مجاز است\",\n        \"type\": \"RATE_LIMITED_ERROR\"\n    },\n    \"payload\": null\n}"},{"id":"cc53a532-05cd-4e55-b8ff-f19bf4b9c903","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{access_token}}q"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"webhook_url\": \"http://e438c29d.ngrok.io\",\n  \"origin\": {\n    \"geo\": {\n      \"lat\": 35.734686,\n      \"lng\": 51.370495\n    }\n  },\n  \"destination\": {\n    \"geo\": {\n      \"lat\": \"35.735601s\",\n      \"lng\": 51.333876\n    }\n  },\n  \"waypoints\": [\n    {\n      \"id\": \"stop-1\",\n      \"restrictions\": {\n        \"after\": \"stop-2\"\n      },\n      \"geo\": {\n        \"lat\": 35.735601,\n        \"lng\": 51.333876\n      }\n    },\n    {\n      \"id\": \"stop-2\",\n      \"geo\": {\n        \"lat\": 35.733198,\n        \"lng\": 51.359832\n      }\n    },\n    {\n      \"id\": \"stop-3\",\n      \"geo\": {\n        \"lat\": 35.731386,\n        \"lng\": 51.351174\n      }\n    }\n  ]\n}"},"url":"https://planner.monhani.ir/api/v1/plan"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Feb 2019 09:33:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"177"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"X-RateLimit-Limit","value":"1"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1549186392"},{"key":"ETag","value":"W/\"b1-M4NCzvydPDjEEHWCI7zc070E82Q\""}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"status\": 422,\n        \"message\": null,\n        \"type\": \"VALIDATION_ERROR\"\n    },\n    \"payload\": {\n        \"validation_errors\": {\n            \"destination.geo.lat\": \"عرض جغرافیایی معتبر نمی\\u200cباشد\"\n        }\n    }\n}"}],"_postman_id":"bd04154c-ca00-4601-b03e-6f4611f4b293"},{"name":"Get route details by job ID","id":"37c8d19a-86d2-4b4c-9352-6eecc6b9c411","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://planner.monhani.ir/api/v1/plan/{{job_id}}","description":"<p>با داشتن شناسه وظیفه که از رابط برنامه نویسی بالا بدست آورده‌اید، می‌توانید از وضعیت پردازش یا جواب آن در هر لحظه باخبر شوید. </p>\n<p>Having your <code>job_id</code> returned from \"Plan a route\" API, you can get the actual route or the processing status.</p>\n<h2 id=\"reponse-object\">Reponse Object</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>request</code></td>\n<td>Object</td>\n<td>A duplicate of your request object</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>String</td>\n<td><strong><code>resolved</code></strong> means your request is processed successfully, <strong><code>rejected</code></strong> means We could not find a route between your provided points. e.g. points are outside the country of Iran, Points are in locations where there's no roads, etc. and <strong><code>pending</code></strong> means your request is still on process.</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>Object</td>\n<td>Your trip's stops along with their calculated priorities</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"result-object-definition\">Result Object Definition</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>feasible</code></td>\n<td>Boolean</td>\n<td>Indicates if the restrictions are met. If the route meets all requirements from the input, the route is feasible (true). If one or more restrictions do not hold, the route is not feasible (false). Infeasible routes are unreliable and should not be used.</td>\n</tr>\n<tr>\n<td><code>routes</code></td>\n<td>Array</td>\n<td>The optimized route with priority holding the fastest route</td>\n</tr>\n<tr>\n<td><code>routes.priority</code></td>\n<td>Number</td>\n<td>Priority of the route</td>\n</tr>\n<tr>\n<td><code>routes.name</code></td>\n<td>String</td>\n<td>Either <code>origin</code>, <code>destination</code> or ID of the stop</td>\n</tr>\n<tr>\n<td><code>routes.arrival</code></td>\n<td>Number</td>\n<td>Arival time relative to trip's start, in minutes</td>\n</tr>\n<tr>\n<td><code>routes.distance</code></td>\n<td>Number</td>\n<td>Cumulative distance up to this point in kilometers</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-types\">Response Types</h2>\n<p>You may get a response with <code>200</code> HTTP status if everything goes perfectly or one of these error types if there was something wrong with your request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Status Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>RATE_LIMITED_ERROR</code></td>\n<td>429</td>\n<td>Too many requests. You can only send requests every <code>1</code> second</td>\n</tr>\n<tr>\n<td><code>AUTHENTICATION_ERROR</code></td>\n<td>401</td>\n<td>Your access token is not valid or has been expired</td>\n</tr>\n<tr>\n<td><code>ROUTE_PLANNER_ERROR</code></td>\n<td>400</td>\n<td>We could not find a route between your provided points. Possible reasons: Points are outside the country of Iran, Points are in locations where there's no roads/ways, etc.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","plan","{{job_id}}"],"host":["planner","monhani","ir"],"query":[],"variable":[]}},"response":[{"id":"400c376d-c391-4c19-9a21-7c9ce504d82c","name":"Get route by job ID","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://planner.monhani.ir/api/v1/plan/{{job_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Feb 2019 07:41:13 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"761"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"1549179713"},{"key":"ETag","value":"W/\"2f9-2wxzxV9CNRCoJVMqkXAC4fnwmcY\""}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"status\": 200,\n        \"message\": null\n    },\n    \"payload\": {\n        \"request\": {\n            \"id\": \"5c569ae85db9d200224668f3\",\n            \"origin\": {\n                \"geo\": {\n                    \"lat\": 35.734686,\n                    \"lng\": 51.370495\n                }\n            },\n            \"destination\": {\n                \"geo\": {\n                    \"lat\": 35.735601,\n                    \"lng\": 51.333876\n                }\n            },\n            \"waypoints\": [\n                {\n                    \"id\": \"stop-1\",\n                    \"restrictions\": {\n                        \"after\": 2\n                    },\n                    \"geo\": {\n                        \"lat\": 35.735601,\n                        \"lng\": 51.333876\n                    }\n                },\n                {\n                    \"id\": \"stop-2\",\n                    \"geo\": {\n                        \"lat\": 35.733198,\n                        \"lng\": 51.359832\n                    }\n                },\n                {\n                    \"id\": \"stop-3\",\n                    \"geo\": {\n                        \"lat\": 35.731386,\n                        \"lng\": 51.351174\n                    }\n                }\n            ],\n            \"status\": \"resolved\",\n            \"result\": {\n                \"feasible\": true,\n                \"routes\": [\n                    {\n                        \"priority\": 0,\n                        \"name\": \"origin\",\n                        \"arrival\": 0,\n                        \"distance\": 0\n                    },\n                    {\n                        \"priority\": 1,\n                        \"name\": \"stop-2\",\n                        \"arrival\": 3,\n                        \"distance\": 1.8\n                    },\n                    {\n                        \"priority\": 2,\n                        \"name\": \"stop-3\",\n                        \"arrival\": 5,\n                        \"distance\": 2.7\n                    },\n                    {\n                        \"priority\": 3,\n                        \"name\": \"stop-1\",\n                        \"arrival\": 8,\n                        \"distance\": 5.4\n                    },\n                    {\n                        \"priority\": 4,\n                        \"name\": \"destination\",\n                        \"arrival\": 8,\n                        \"distance\": 5.4\n                    }\n                ]\n            }\n        }\n    }\n}"}],"_postman_id":"37c8d19a-86d2-4b4c-9352-6eecc6b9c411"}],"event":[{"listen":"prerequest","script":{"id":"7985083c-728d-4bf3-981a-e0b58c5fb91e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1bb32859-8dbd-4278-a5f1-3d5bdd1941f8","type":"text/javascript","exec":[""]}}]}