{"info":{"_postman_id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"6858158","collectionId":"b688be98-d611-4326-9b35-6dab1fad878b","publishedId":"Szt8d9Qs","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-07-02T08:30:31.000Z"},"item":[{"name":"Register admin key","event":[{"listen":"test","script":{"id":"7e1d57a4-6ae7-4f1f-983f-e899e6f02147","exec":["let response = pm.response.json();","let geofencingAdminKey = response.adminKey;","pm.environment.set(\"geofencingAdminKey\", geofencingAdminKey);"],"type":"text/javascript"}}],"id":"503c425d-e12f-422f-9cbe-c413b548bd47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"secret\": \"secret_key\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tomtom.com/geofencing/1/register","description":"<p>Geofencing API - Register admin key example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/geofencing-api/geofencing-api-documentation-configuration-service/register-admin-key\">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":"b688be98-d611-4326-9b35-6dab1fad878b","id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","type":"collection"}},"urlObject":{"protocol":"https","path":["geofencing","1","register"],"host":["api","tomtom","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"503c425d-e12f-422f-9cbe-c413b548bd47"},{"name":"Add new project","event":[{"listen":"test","script":{"id":"43635983-cdac-44a7-81f2-a073acaf161a","exec":["let response = pm.response.json();","let geofencingProjectId = response.id;","pm.environment.set(\"geofencingProjectId\", geofencingProjectId);"],"type":"text/javascript"}}],"id":"ea60ccb2-ae76-4553-baf2-d366ddff7fd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"My project\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tomtom.com/geofencing/1/projects/project?adminKey={{geofencingAdminKey}}","description":"<p>Geofencing API - Add new project example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/geofencing-api/geofencing-api-documentation-projects-service/add-new-project\">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":"b688be98-d611-4326-9b35-6dab1fad878b","id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","type":"collection"}},"urlObject":{"protocol":"https","path":["geofencing","1","projects","project"],"host":["api","tomtom","com"],"query":[{"description":{"content":"<p>An Admin Key valid for the provided API key.</p>\n","type":"text/plain"},"key":"adminKey","value":"{{geofencingAdminKey}}"}],"variable":[]}},"response":[],"_postman_id":"ea60ccb2-ae76-4553-baf2-d366ddff7fd3"},{"name":"List projects","id":"f9396314-e2df-4553-998b-cd3a392c3b17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/geofencing/1/projects","description":"<p>Geofencing API - List projects example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/geofencing-api/geofencing-api-documentation-projects-service/list-projects\">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":"b688be98-d611-4326-9b35-6dab1fad878b","id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","type":"collection"}},"urlObject":{"protocol":"https","path":["geofencing","1","projects"],"host":["api","tomtom","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9396314-e2df-4553-998b-cd3a392c3b17"},{"name":"Add new object","event":[{"listen":"test","script":{"id":"9e7d08a0-017e-4b8c-ab9c-e11f7f104d47","exec":["let response = pm.response.json();","let geofencingObjectId = response.id;","pm.environment.set(\"geofencingObjectId\", geofencingObjectId);"],"type":"text/javascript"}}],"id":"4541b415-1bb4-4af7-a29b-2cf0197e05d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Support car 1\",\r\n  \"defaultProject\": \"{{geofencingProjectId}}\",\r\n  \"properties\": {\r\n    \"embeddedId\": \"EL 11111\",\r\n    \"maxSpeedKmh\": 70,\r\n    \"driver\": \"John Doe\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tomtom.com/geofencing/1/objects/object?adminKey={{geofencingAdminKey}}","description":"<p>Geofencing API - Add new object example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/geofencing-api/geofencing-api-documentation-objects-service/add-new-object\">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":"b688be98-d611-4326-9b35-6dab1fad878b","id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","type":"collection"}},"urlObject":{"protocol":"https","path":["geofencing","1","objects","object"],"host":["api","tomtom","com"],"query":[{"description":{"content":"<p>An Admin Key valid for the provided API key.</p>\n","type":"text/plain"},"key":"adminKey","value":"{{geofencingAdminKey}}"}],"variable":[]}},"response":[],"_postman_id":"4541b415-1bb4-4af7-a29b-2cf0197e05d0"},{"name":"List objects","id":"047b2a86-92b1-4ebb-92d3-b8ceeed8001d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/geofencing/1/objects","description":"<p>Geofencing API - List objects example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/geofencing-api/geofencing-api-documentation-objects-service/list-objects\">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":"b688be98-d611-4326-9b35-6dab1fad878b","id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","type":"collection"}},"urlObject":{"protocol":"https","path":["geofencing","1","objects"],"host":["api","tomtom","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"047b2a86-92b1-4ebb-92d3-b8ceeed8001d"},{"name":"Add new fence","event":[{"listen":"test","script":{"id":"8b743b5a-7662-495e-8458-0019e7fea251","exec":["let response = pm.response.json();","let geofencingFenceId = response.id;","pm.environment.set(\"geofencingFenceId\", geofencingFenceId);"],"type":"text/javascript"}}],"id":"2d3fef35-a22c-449b-9a92-fa64fa12522d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"No-fly zone 23\",\r\n  \"type\": \"Feature\",\r\n  \"geometry\": {\r\n    \"radius\": 75,\r\n    \"type\": \"Point\",\r\n    \"shapeType\": \"Circle\",\r\n    \"coordinates\": [-67.137343, 45.137451]\r\n  },\r\n  \"properties\": {\r\n    \"maxSpeedKmh\": 70\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tomtom.com/geofencing/1/projects/{{geofencingProjectId}}/fence?adminKey={{geofencingAdminKey}}","description":"<p>Geofencing API - Add new fence example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/geofencing-api/geofencing-api-documentation-fences-service/add-new-fence-project\">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":"b688be98-d611-4326-9b35-6dab1fad878b","id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","type":"collection"}},"urlObject":{"protocol":"https","path":["geofencing","1","projects","{{geofencingProjectId}}","fence"],"host":["api","tomtom","com"],"query":[{"description":{"content":"<p>An Admin Key valid for the provided API key.</p>\n","type":"text/plain"},"key":"adminKey","value":"{{geofencingAdminKey}}"}],"variable":[]}},"response":[],"_postman_id":"2d3fef35-a22c-449b-9a92-fa64fa12522d"},{"name":"List fences","id":"2f0bcdda-2ee6-41c2-a1de-8fdcf667d150","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/geofencing/1/projects/{{geofencingProjectId}}/fences","description":"<p>Geofencing API - List fences example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/geofencing-api/geofencing-api-documentation-fences-service/list-fences-given-project\">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":"b688be98-d611-4326-9b35-6dab1fad878b","id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","type":"collection"}},"urlObject":{"protocol":"https","path":["geofencing","1","projects","{{geofencingProjectId}}","fences"],"host":["api","tomtom","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f0bcdda-2ee6-41c2-a1de-8fdcf667d150"},{"name":"Report request","id":"b939396b-524f-46b9-aade-5a41cb37df0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/geofencing/1/report/{{geofencingProjectId}}?point=-67.137395,45.137625&object={{geofencingObjectId}}","description":"<p>Geofencing API - Report request example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/geofencing-api/geofencing-api-documentation-report-service/report-request\">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":"b688be98-d611-4326-9b35-6dab1fad878b","id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","type":"collection"}},"urlObject":{"protocol":"https","path":["geofencing","1","report","{{geofencingProjectId}}"],"host":["api","tomtom","com"],"query":[{"description":{"content":"<p>A location (in coordinates) for which the Geofencing Report is requested.</p>\n","type":"text/plain"},"key":"point","value":"-67.137395,45.137625"},{"key":"object","value":"{{geofencingObjectId}}"}],"variable":[]}},"response":[],"_postman_id":"b939396b-524f-46b9-aade-5a41cb37df0f"},{"name":"Get fences transitions","event":[{"listen":"prerequest","script":{"id":"b27615e8-1640-4a6d-a799-c71ff32bee7c","exec":["var date = new Date();\r","date.setHours(date.getHours() - 5);\r","pm.variables.set(\"date\", date.toISOString().slice(0,-5));"],"type":"text/javascript"}}],"id":"0bcf2455-c6ac-47c0-ad7c-96d502542db8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/geofencing/1/transitions/fences/{{geofencingFenceId}}?from={{date}}","description":"<p>Geofencing API - Get fences transitions example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/geofencing-api/geofencing-api-documentation-transitions-service/get-fences-transitions\">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":"b688be98-d611-4326-9b35-6dab1fad878b","id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","type":"collection"}},"urlObject":{"protocol":"https","path":["geofencing","1","transitions","fences","{{geofencingFenceId}}"],"host":["api","tomtom","com"],"query":[{"description":{"content":"<p>The beginning date for a listing.</p>\n","type":"text/plain"},"key":"from","value":"{{date}}"}],"variable":[]}},"response":[],"_postman_id":"0bcf2455-c6ac-47c0-ad7c-96d502542db8"},{"name":"Get objects transitions","event":[{"listen":"prerequest","script":{"id":"eecf966d-d117-4058-b8c6-442a78a1cf37","exec":["var date = new Date();\r","date.setHours(date.getHours() - 5);\r","pm.variables.set(\"date\", date.toISOString().slice(0, -5));"],"type":"text/javascript"}}],"id":"2c092d9b-72ec-4efc-bfb2-c8d10f4075bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/geofencing/1/transitions/objects/{{geofencingObjectId}}?from={{date}}","description":"<p>Geofencing API - Get objects transitions example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/geofencing-api/geofencing-api-documentation-transitions-service/get-objects-transitions\">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":"b688be98-d611-4326-9b35-6dab1fad878b","id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","type":"collection"}},"urlObject":{"protocol":"https","path":["geofencing","1","transitions","objects","{{geofencingObjectId}}"],"host":["api","tomtom","com"],"query":[{"description":{"content":"<p>The beginning date for a listing.</p>\n","type":"text/plain"},"key":"from","value":"{{date}}"}],"variable":[]}},"response":[],"_postman_id":"2c092d9b-72ec-4efc-bfb2-c8d10f4075bb"},{"name":"Get projects transitions","event":[{"listen":"prerequest","script":{"id":"dcd0b661-3949-4389-a348-135e2a87292d","exec":["var date = new Date();\r","date.setHours(date.getHours() - 5);\r","pm.variables.set(\"date\", date.toISOString().slice(0,-5));"],"type":"text/javascript"}}],"id":"2ab5a07e-3e4a-416b-9f1e-0ad5cf2d63d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.tomtom.com/geofencing/1/transitions/projects/{{geofencingProjectId}}?from={{date}}","description":"<p>Geofencing API - Get projects transitions example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/geofencing-api/geofencing-api-documentation-transitions-service/get-projects-transitions\">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":"b688be98-d611-4326-9b35-6dab1fad878b","id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","type":"collection"}},"urlObject":{"protocol":"https","path":["geofencing","1","transitions","projects","{{geofencingProjectId}}"],"host":["api","tomtom","com"],"query":[{"description":{"content":"<p>The beginning date for a listing.</p>\n","type":"text/plain"},"key":"from","value":"{{date}}"}],"variable":[]}},"response":[],"_postman_id":"2ab5a07e-3e4a-416b-9f1e-0ad5cf2d63d5"},{"name":"Regenerate admin key","event":[{"listen":"test","script":{"id":"7ad641d8-db34-4f14-87df-359a41e54111","exec":["let response = pm.response.json();","let geofencingAdminKey = response.adminKey;","pm.environment.set(\"geofencingAdminKey\", geofencingAdminKey);"],"type":"text/javascript"}}],"id":"7cc3f4eb-7543-4ffb-ad50-285d0825e699","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"secret\": \"secret_key\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tomtom.com/geofencing/1/regenerateKey","description":"<p>Geofencing API - Regenerate admin key example.</p>\n<p>Documentation available <a href=\"https://developer.tomtom.com/geofencing-api/geofencing-api-documentation-configuration-service/regenerate-admin-key\">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":"b688be98-d611-4326-9b35-6dab1fad878b","id":"b688be98-d611-4326-9b35-6dab1fad878b","name":"Geofencing API","type":"collection"}},"urlObject":{"protocol":"https","path":["geofencing","1","regenerateKey"],"host":["api","tomtom","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7cc3f4eb-7543-4ffb-ad50-285d0825e699"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{API_KEY}}"}]}}}