{"info":{"_postman_id":"2af2f024-340b-480b-837e-71d272323005","name":"Greater Than API","description":"<html><head></head><body><p>Here you can explore how easy it is to turn your GPS data into valuable driver insights via our API.</p>\n<p>At Greater Than, we believe in using the power of AI technology to help you get the most out of your GPS data. That’s why, via a single API connection, you can uncover game-changing crash probability and climate impact insights from anywhere in the world.</p>\n<p>Our API can be integrated into any system, enabling you to incorporate deeper risk and sustainability insights into your existing customer portal.</p>\n<p>Feel free to book a live demo to explore our API in more detail. <a href=\"https://greaterthan.eu/book-a-meeting/\">Contact us</a> to book.</p>\n<h2 id=\"how-to-get-started\">How to get started</h2>\n<p>To be able to start analyzing your data and gain valuable insights into your fleet or driver portfolio you will need an Enerfy Global account and an associated API key.</p>\n<p>First, login or create an Enerfy Global account: <a href=\"https://onboarding.enerfyglobal.com/#/en/login\">Enerfy Global</a></p>\n<p>Next, request an API key. Following authentication, we will provide your API key which is your unique identifier, serving as your personal credential for you to access our services.</p>\n<p>Looking for version 1 of the API documentation? <a href=\"https://documenter.getpostman.com/view/18998736/2sAYBRHET2\">Greater Than API V1</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"18998736","collectionId":"2af2f024-340b-480b-837e-71d272323005","publishedId":"2s9YC2yYiV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"008070"},"publishDate":"2026-02-04T10:02:22.000Z"},"item":[{"name":"Organization","item":[{"name":"Organization","id":"71c32389-bad1-4ffb-b3b5-570d7d8437cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your API key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/organization","urlObject":{"protocol":"https","path":["v2","organization"],"host":["api","enerfyglobal","com"],"query":[],"variable":[]}},"response":[{"id":"ffe1218b-14e1-4600-9ba2-96786e2ddc7f","name":"200 (OK)","originalRequest":{"method":"GET","header":[{"key":"ApiKey","value":"test_key"}],"url":"https://api.enerfyglobal.com/v2/organization"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Greater Than AB\",\n    \"id\": \"Greater Than AB\",\n    \"phone\": \"+461234567\",\n    \"address\": \"Karlavägen 60\",\n    \"address2\": null,\n    \"city\": \"Stockholm\",\n    \"state\": null,\n    \"zip\": null,\n    \"country\": null,\n    \"email\": \"info@greaterthan.eu\",\n    \"currency\": \"SEK\",\n    \"industry\": 20304040,\n    \"vehicleType\": 1,\n    \"fuelType\": 8,\n    \"deliveryType\": null\n}"}],"_postman_id":"71c32389-bad1-4ffb-b3b5-570d7d8437cf"},{"name":"Organization score","id":"a631188d-242b-445c-9569-410fde876f9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your API key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/organization/score?period={{period}}&groupBy={{groupBy}}&date={{date}}","description":"<p>Your total portfolio score and other metrics, shown either weekly or monthly</p>\n","urlObject":{"protocol":"https","path":["v2","organization","score"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>Group the result on 'vehicles' or 'drivers'</p>\n","type":"text/plain"},"key":"groupBy","value":"{{groupBy}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default todays date - default 'drivers'</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"}],"variable":[]}},"response":[{"id":"ac3c2099-6f97-410f-aca2-47a2319d2e1f","name":"200 (OK)","originalRequest":{"header":[],"url":"https://api.enerfyglobal.com/v2/organization/score"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"score\": 10.63,\n    \"count\": 2,\n    \"distanceKm\": 2119.39,\n    \"trips\": 63,\n    \"from\": \"2024-11-13\",\n    \"to\": \"2024-11-19\",\n    \"groupingBy\": \"Vehicles\"\n}"}],"_postman_id":"a631188d-242b-445c-9569-410fde876f9c"},{"name":"Organization trend","id":"aa353eec-484b-4ac5-93fd-13385477057f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/organization/trend?period={{period}}&groupBy={{groupBy}}&date={{date}}&trendLength={{trendLength}}","description":"<p>See how your portfolio risk is trending by month or week.</p>\n","urlObject":{"protocol":"https","path":["v2","organization","trend"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>Group the result on 'vehicles' or 'drivers'</p>\n","type":"text/plain"},"key":"groupBy","value":"{{groupBy}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"},{"description":{"content":"<p>Amount of trend objects 2-24, default = 12</p>\n","type":"text/plain"},"key":"trendLength","value":"{{trendLength}}"}],"variable":[]}},"response":[{"id":"dfa8f243-7612-4aa0-b235-a32ba53b9f07","name":"200 (OK)","originalRequest":{"header":[],"url":"https://api.enerfyglobal.com/v2/organization/trend"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"score\": 5.82,\n        \"count\": 3,\n        \"distanceKm\": 325.79,\n        \"trips\": 28,\n        \"from\": \"2024-08-28\",\n        \"to\": \"2024-09-03\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 5.77,\n        \"count\": 2,\n        \"distanceKm\": 319.6,\n        \"trips\": 17,\n        \"from\": \"2024-09-04\",\n        \"to\": \"2024-09-10\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 8.04,\n        \"count\": 2,\n        \"distanceKm\": 284.19,\n        \"trips\": 16,\n        \"from\": \"2024-09-11\",\n        \"to\": \"2024-09-17\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 6.55,\n        \"count\": 3,\n        \"distanceKm\": 406.78999999999996,\n        \"trips\": 24,\n        \"from\": \"2024-09-18\",\n        \"to\": \"2024-09-24\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 6.05,\n        \"count\": 4,\n        \"distanceKm\": 478.7,\n        \"trips\": 35,\n        \"from\": \"2024-09-25\",\n        \"to\": \"2024-10-01\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 6.6,\n        \"count\": 3,\n        \"distanceKm\": 2026.1,\n        \"trips\": 38,\n        \"from\": \"2024-10-02\",\n        \"to\": \"2024-10-08\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 5.27,\n        \"count\": 5,\n        \"distanceKm\": 1585.77,\n        \"trips\": 66,\n        \"from\": \"2024-10-09\",\n        \"to\": \"2024-10-15\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 9.49,\n        \"count\": 3,\n        \"distanceKm\": 3078.4,\n        \"trips\": 83,\n        \"from\": \"2024-10-16\",\n        \"to\": \"2024-10-22\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 11.64,\n        \"count\": 2,\n        \"distanceKm\": 1887,\n        \"trips\": 65,\n        \"from\": \"2024-10-23\",\n        \"to\": \"2024-10-29\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 13.24,\n        \"count\": 2,\n        \"distanceKm\": 1199.48,\n        \"trips\": 44,\n        \"from\": \"2024-10-30\",\n        \"to\": \"2024-11-05\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 13.32,\n        \"count\": 2,\n        \"distanceKm\": 1829.39,\n        \"trips\": 61,\n        \"from\": \"2024-11-06\",\n        \"to\": \"2024-11-12\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 10.63,\n        \"count\": 2,\n        \"distanceKm\": 2119.39,\n        \"trips\": 63,\n        \"from\": \"2024-11-13\",\n        \"to\": \"2024-11-19\",\n        \"groupingBy\": \"Drivers\"\n    }\n]"}],"_postman_id":"aa353eec-484b-4ac5-93fd-13385477057f"},{"name":"Organization benchmarking","id":"e3d770ad-7b9b-4912-9e17-c29c011a829c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/organization/benchmarking?period={{period}}&groupBy={{groupBy}}&date={{date}}","description":"<p>See how your portfolio performs compared to world average</p>\n","urlObject":{"protocol":"https","path":["v2","organization","benchmarking"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>Group the result on 'vehicles' or 'drivers'</p>\n","type":"text/plain"},"key":"groupBy","value":"{{groupBy}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"}],"variable":[]}},"response":[{"id":"8e6b800d-73e4-4621-9a4f-dc902d135dca","name":"200 (OK)","originalRequest":{"header":[],"url":"https://api.enerfyglobal.com/v2/organization/benchmarking"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"score\": 10.63,\n    \"count\": 2,\n    \"distanceKm\": 2119.39,\n    \"trips\": 63,\n    \"worldScore\": 9.62,\n    \"from\": \"2024-11-13\",\n    \"to\": \"2024-11-19\",\n    \"groupingBy\": \"Drivers\"\n}"}],"_postman_id":"e3d770ad-7b9b-4912-9e17-c29c011a829c"},{"name":"Organization score distribution","id":"b24949f2-74ff-4331-b075-56040a507874","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/organization/distribution?period={{period}}&groupBy={{groupBy}}&date={{date}}","description":"<p>See how risk is distributed across your portfolio.</p>\n","urlObject":{"protocol":"https","path":["v2","organization","distribution"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>Group the result on 'vehicles' or 'drivers'</p>\n","type":"text/plain"},"key":"groupBy","value":"{{groupBy}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"}],"variable":[]}},"response":[{"id":"8e9ec190-0008-4acf-94e1-a21f113e84f9","name":"200 (OK)","originalRequest":{"header":[],"url":"https://api.enerfyglobal.com/v2/organization/distribution"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"distribution\": [\n        {\n            \"score\": 1,\n            \"count\": 1\n        },\n        {\n            \"score\": 2,\n            \"count\": 3\n        },\n        {\n            \"score\": 3,\n            \"count\": 2\n        },\n        {\n            \"score\": 4,\n            \"count\": 5\n        },\n        {\n            \"score\": 5,\n            \"count\": 5\n        },\n        {\n            \"score\": 6,\n            \"count\": 6\n        },\n        {\n            \"score\": 7,\n            \"count\": 4\n        },\n        {\n            \"score\": 8,\n            \"count\": 5\n        },\n        {\n            \"score\": 9,\n            \"count\": 3\n        },\n        {\n            \"score\": 10,\n            \"count\": 0\n        },\n        {\n            \"score\": 11,\n            \"count\": 0\n        },\n        {\n            \"score\": 12,\n            \"count\": 0\n        },\n        {\n            \"score\": 13,\n            \"count\": 1\n        },\n        {\n            \"score\": 14,\n            \"count\": 0\n        },\n        {\n            \"score\": 15,\n            \"count\": 0\n        }\n    ],\n    \"from\": \"2024-11-13\",\n    \"to\": \"2024-11-19\",\n    \"groupingBy\": \"Drivers\"\n}"}],"_postman_id":"b24949f2-74ff-4331-b075-56040a507874"},{"name":"Organization time risk","id":"cd121914-bed5-4488-b045-041428c4c73b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/organization/timerisk?period={{period}}&groupBy={{groupBy}}&date={{date}}","description":"<p>Understand how your portfolio risk changes during time of day / day of week.</p>\n","urlObject":{"protocol":"https","path":["v2","organization","timerisk"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>Group the result on 'vehicles' or 'drivers'</p>\n","type":"text/plain"},"key":"groupBy","value":"{{groupBy}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"}],"variable":[]}},"response":[{"id":"77a8e27c-a2b6-4b0d-802b-88b8cf6438f8","name":"200 (OK)","originalRequest":{"header":[],"url":"https://api.enerfyglobal.com/v2/organization/timerisk"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": [\n        {\n            \"day\": \"Mon\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                6,\n                5,\n                5,\n                5,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                5,\n                6,\n                5,\n                4,\n                5,\n                4,\n                4,\n                -1,\n                -1\n            ]\n        },\n        {\n            \"day\": \"Tue\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                6,\n                5,\n                7,\n                6,\n                3,\n                -1,\n                5,\n                5,\n                5,\n                5,\n                5,\n                5,\n                4,\n                -1,\n                4,\n                -1,\n                -1\n            ]\n        },\n        {\n            \"day\": \"Wed\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                8,\n                6,\n                6,\n                5,\n                5,\n                6,\n                5,\n                4,\n                6,\n                5,\n                3,\n                5,\n                5,\n                8,\n                -1,\n                -1,\n                -1\n            ]\n        },\n        {\n            \"day\": \"Thu\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                5,\n                -1,\n                5,\n                6,\n                5,\n                3,\n                5,\n                5,\n                4,\n                6,\n                5,\n                6,\n                6,\n                4,\n                5,\n                -1,\n                -1,\n                -1,\n                -1\n            ]\n        },\n        {\n            \"day\": \"Fri\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                5,\n                6,\n                6,\n                5,\n                6,\n                5,\n                -1,\n                6,\n                9,\n                4,\n                7,\n                5,\n                -1,\n                4,\n                5,\n                -1,\n                -1\n            ]\n        },\n        {\n            \"day\": \"Sat\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                7,\n                8,\n                8,\n                -1,\n                5,\n                4,\n                6,\n                -1,\n                6,\n                6,\n                -1,\n                -1,\n                5,\n                -1,\n                -1\n            ]\n        },\n        {\n            \"day\": \"Sun\",\n            \"score\": [\n                -1,\n                5,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                7,\n                4,\n                4,\n                5,\n                6,\n                6,\n                6,\n                6,\n                8,\n                -1,\n                -1,\n                15,\n                -1,\n                15,\n                -1\n            ]\n        }\n    ],\n    \"from\": \"2024-10-01\",\n    \"to\": \"2024-10-31\",\n    \"groupingBy\": \"Drivers\"\n}"}],"_postman_id":"cd121914-bed5-4488-b045-041428c4c73b"},{"name":"Organization","id":"deaad501-dea2-4dd2-9f79-cb33e0bac3ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.enerfyglobal.com/v2/organization","description":"<p>Update organization</p>\n","urlObject":{"protocol":"https","path":["v2","organization"],"host":["api","enerfyglobal","com"],"query":[],"variable":[]}},"response":[{"id":"51d92081-a0c4-4d97-a966-fb5e7f285421","name":"200 (OK)","originalRequest":{"method":"PUT","header":[{"key":"ApiKey","value":""}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Greater Than AB\",\n    \"phone\": \"+461234567\",\n    \"address\": \"Karlavägen 60\",\n    \"address2\": null,\n    \"city\": \"Stockholm\",\n    \"state\": null,\n    \"zip\": null,\n    \"country\": \"SE\",\n    \"email\": \"info@greaterthan.eu\",\n    \"currency\": \"SEK\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.enerfyglobal.com/v2/organization"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Greater Than AB\",\n    \"phone\": \"+461234567\",\n    \"address\": \"Karlavägen 60\",\n    \"address2\": null,\n    \"city\": \"Stockholm\",\n    \"state\": null,\n    \"zip\": null,\n    \"country\": \"SE\",\n    \"email\": \"info@greaterthan.eu\",\n    \"currency\": \"SEK\"\n}"}],"_postman_id":"deaad501-dea2-4dd2-9f79-cb33e0bac3ac"}],"id":"0533713f-fedf-4499-b027-7da4722897c1","description":"<p>Get your organization</p>\n","_postman_id":"0533713f-fedf-4499-b027-7da4722897c1"},{"name":"Fleets","item":[{"name":"Fleet","id":"2a8fa119-760e-4aca-9a6e-7a21e9cc5224","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName","description":"<p>Get fleet</p>\n","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName"],"host":["api","enerfyglobal","com"],"query":[],"variable":[{"id":"87699454-3e32-4e90-b065-88bf2e8f75ad","description":{"content":"<p>Name of the fleet</p>\n","type":"text/plain"},"type":"any","value":"{{fleetName}}","key":"fleetName"}]}},"response":[{"id":"79d29b24-1499-4635-a350-7a41d6b940a2","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetName","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetName"],"variable":[{"key":"fleetName","value":"{{fleetName}}","description":"Name of the fleet"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Tech\",\n    \"id\": \"Tech\",\n    \"phone\": \"+4612345678\",\n    \"address\": \"Karlavägen 60\",\n    \"address2\": null,\n    \"city\": \"Stockholm\",\n    \"state\": \"Sweden\",\n    \"zip\": \"12345\",\n    \"country\": null,\n    \"email\": \"tech@enerfy.eu\",\n    \"currency\": \"SEK\",\n    \"industry\": 20304040,\n    \"vehicleType\": 1,\n    \"fuelType\": 8,\n    \"deliveryType\": null\n}"}],"_postman_id":"2a8fa119-760e-4aca-9a6e-7a21e9cc5224"},{"name":"Fleets","id":"e051c5d1-e2d5-4b30-89a2-4ec8f31594cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/fleets?format={{format}}","description":"<p>Get all fleets in Array or Tree format</p>\n","urlObject":{"protocol":"https","path":["v2","fleets"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>Format of response body, supported values: { Tree, Array }.\"</p>\n","type":"text/plain"},"key":"format","value":"{{format}}"}],"variable":[]}},"response":[{"id":"13512f74-10f4-406d-b932-8757a8895c9b","name":"200 (OK) Array","originalRequest":{"method":"GET","header":[],"url":""},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"isLeaf\": false,\n        \"id\": \"Greater Than AB\",\n        \"name\": \"Greater Than AB\"\n    },\n    {\n        \"isLeaf\": false,\n        \"id\": \"Challenge Group\",\n        \"name\": \"Challenge Group\"\n    },\n    {\n        \"isLeaf\": true,\n        \"id\": \"Tech\",\n        \"name\": \"Tech\"\n    },\n    {\n        \"isLeaf\": true,\n        \"id\": \"Test\",\n        \"name\": \"Test\"\n    },\n    {\n        \"isLeaf\": true,\n        \"id\": \"stockholm\",\n        \"name\": \"stockholm\"\n    },\n    {\n        \"isLeaf\": true,\n        \"id\": \"Challenge Sub Group\",\n        \"name\": \"Challenge Sub Group\"\n    }\n]"},{"id":"26ed8c2a-9134-4d02-8af8-557ce59c8934","name":"200 (OK) Tree","originalRequest":{"header":[],"url":""},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"children\": [\n        {\n            \"children\": [\n                {\n                    \"children\": null,\n                    \"id\": \"Challenge Sub Group\",\n                    \"name\": \"Challenge Sub Group\"\n                }\n            ],\n            \"id\": \"Challenge Group\",\n            \"name\": \"Challenge Group\"\n        },\n        {\n            \"children\": null,\n            \"id\": \"Tech\",\n            \"name\": \"Tech\"\n        },\n        {\n            \"children\": null,\n            \"id\": \"Test\",\n            \"name\": \"Test\"\n        },\n        {\n            \"children\": null,\n            \"id\": \"stockholm\",\n            \"name\": \"stockholm\"\n        },\n        {\n            \"children\": null,\n            \"id\": \"Årsta\",\n            \"name\": \"Årsta\"\n        },\n        {\n            \"children\": null,\n            \"id\": \"Årstaberg\",\n            \"name\": \"Årstaberg\"\n        }\n    ],\n    \"id\": \"Greater Than AB\",\n    \"name\": \"Greater Than AB\"\n}"}],"_postman_id":"e051c5d1-e2d5-4b30-89a2-4ec8f31594cf"},{"name":"Fleet","id":"1399fa54-7bff-4b57-801c-f995bf7e9c2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"id\": \"<string>\",\n    \"phone\": \"<string>\",\n    \"address\": \"<string>\",\n    \"address2\": \"<string>\",\n    \"city\": \"<string>\",\n    \"state\": \"<string>\",\n    \"zip\": \"<string>\",\n    \"country\": \"<string>\",\n    \"email\": \"<string>\",\n    \"currency\": \"<string>\",\n    \"industry\": \"<int>\",\n    \"vehicleType\": \"<int>\",\n    \"fuelType\": \"<int>\",\n    \"deliveryType\": \"<int>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.enerfyglobal.com/v2/fleets/:fleetId","urlObject":{"protocol":"https","path":["v2","fleets",":fleetId"],"host":["api","enerfyglobal","com"],"query":[],"variable":[{"type":"any","value":"","key":"fleetId"}]}},"response":[{"id":"de6da383-2690-4aac-a9df-3533e34f90c3","name":"200 (OK)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tech\",\n    \"id\": \"Tech\",\n    \"phone\": \"+4612345678\",\n    \"address\": \"Karlavägen 60\",\n    \"address2\": null,\n    \"city\": \"Stockholm\",\n    \"state\": null,\n    \"zip\": \"12345\",\n    \"country\": \"SE\",\n    \"email\": \"tech@greaterthan.eu\",\n    \"currency\": \"EUR\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetId","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetId"],"variable":[{"key":"fleetId","value":""}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Tech\",\n    \"id\": \"Tech\",\n    \"phone\": \"+4612345678\",\n    \"address\": \"Karlavägen 60\",\n    \"address2\": null,\n    \"city\": \"Stockholm\",\n    \"state\": null,\n    \"zip\": \"12345\",\n    \"country\": \"SE\",\n    \"email\": \"tech@greaterthan.eu\",\n    \"currency\": \"EUR\",\n    \"industry\": 20304040,\n    \"vehicleType\": 1,\n    \"fuelType\": 8,\n    \"deliveryType\": null\n}"}],"_postman_id":"1399fa54-7bff-4b57-801c-f995bf7e9c2b"},{"name":"Fleet","id":"d3909371-c049-4cc0-aa87-319391426624","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"agent\": {\n        \"name\": \"<string> - required\",\n        \"parentId\": \"<string>\",\n        \"country\": \"<string> Country ISO Code (ex 'SE' for Sweden) - required\",\n        \"contactPhone\": \"<string>\",\n        \"companyAddress\": \"<string>\",\n        \"contactName\": \"<string>\",\n        \"contactEmail\": \"<string>\",\n        \"industry\": \"<int>\",\n        \"vehicleType\": \"<int>\",\n        \"fuelType\": \"<int>\",\n        \"deliveryType\": \"<int>\"        \n    },\n    \"metadata\": [\n        {\n            \"key\": \"<string>\",\n            \"value\": \"<string>\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.enerfyglobal.com/v2/fleets","urlObject":{"protocol":"https","path":["v2","fleets"],"host":["api","enerfyglobal","com"],"query":[],"variable":[]}},"response":[{"id":"7397a387-c86e-4842-9b1d-e21378ebe310","name":"Fleet","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"agent\": {\n        \"name\": \"Test Group\",\n        \"parentId\": \"ParentGroup\",\n        \"country\": \"se\",\n        \"contactPhone\": \"+467632017192\",\n        \"companyAddress\": \"Svärdlångsvägen 19\",\n        \"contactName\": \"Peter\",\n        \"contactEmail\": \"info@greaterthan.eu\"\n    },\n    \"metadata\": [\n        {\n            \"key\": \"creation_type\",\n            \"value\": \"API\"\n        },\n        {\n            \"key\": \"fleet_size\",\n            \"value\": \"200\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.enerfyglobal.com/v2/fleets"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d3909371-c049-4cc0-aa87-319391426624"},{"name":"Metadata","id":"ffb59914-4ea5-431d-a997-229306980499","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"ApiKey","value":"","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"key\": \"key\",\n        \"value\": \"value\"\n    },\n    {\n        \"key\": \"key1\",\n        \"value\": \"value2\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/metadata","description":"<p><strong>Add or Update Fleet Metadata</strong></p>\n<p>Add new metadata or modify existing metadata for a fleet.<br />- When a key already exists, its value will be overwritten with the new value.</p>\n<p><strong>Response:</strong><br />An updated array containing the fleet's metadata.</p>\n","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","metadata"],"host":["api","enerfyglobal","com"],"query":[],"variable":[{"type":"any","value":"","key":"fleetName"}]}},"response":[{"id":"9f5c238d-d618-4b4d-ae59-60788c4879f2","name":"200","originalRequest":{"method":"GET","header":[{"key":"ApiKey","value":"","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"key\": \"fleet_size\",\n        \"value\": \"20\"\n    },\n    {\n        \"key\": \"kam\",\n        \"value\": \"Johan\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetName/metadata","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetName","metadata"],"variable":[{"key":"fleetName","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"key\": \"fleet_size\",\n        \"value\": \"20\"\n    },\n    {\n        \"key\": \"owner\",\n        \"value\": \"Johan\"\n    }\n]"}],"_postman_id":"ffb59914-4ea5-431d-a997-229306980499"},{"name":"Metadata","id":"d2ae5047-7574-41b5-bba0-3da1133203bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"ApiKey","value":"","type":"text"}],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/metadata/:key","description":"<p><strong>Remove Fleet Metadata</strong></p>\n<p>Delete a specific metadata key and its associated value from a fleet.</p>\n<p><strong>Response:</strong></p>\n<p>An updated array containing the fleet's metadata.</p>\n","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","metadata",":key"],"host":["api","enerfyglobal","com"],"query":[],"variable":[{"description":{"content":"<p>Fleet id/name</p>\n","type":"text/plain"},"type":"any","value":"","key":"fleetName"},{"description":{"content":"<p>Key of metadata to remove</p>\n","type":"text/plain"},"type":"any","value":"","key":"key"}]}},"response":[{"id":"ea6ad469-69e1-4268-bce3-e0e6bcc2ae69","name":"200","originalRequest":{"method":"DELETE","header":[{"key":"ApiKey","value":"","type":"text"}],"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetName/metadata/:key","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetName","metadata",":key"],"variable":[{"key":"fleetName","value":""},{"key":"key","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"key\": \"fleet_size\",\n        \"value\": \"20\"\n    }\n]"}],"_postman_id":"d2ae5047-7574-41b5-bba0-3da1133203bc"},{"name":"Fleet score","id":"5411c7ba-570f-4881-affb-417b4aa06fb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetId/score?period={{period}}&groupBy={{groupBy}}&date={{date}}","description":"<p>The total fleet score, shown either weekly or monthly</p>\n","urlObject":{"protocol":"https","path":["v2","fleets",":fleetId","score"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>Group the result on 'vehicles' or 'drivers'</p>\n","type":"text/plain"},"key":"groupBy","value":"{{groupBy}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"}],"variable":[{"id":"fd86ad48-b690-42d1-8967-330ed73a3320","description":{"content":"<p>Name of the fleet</p>\n","type":"text/plain"},"type":"any","value":"{{fleetName}}","key":"fleetId"}]}},"response":[{"id":"1a776a50-36ad-4be5-9695-24de035bdf90","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetId/score","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetId","score"],"variable":[{"key":"fleetId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"from\": \"2024-09-01\",\n    \"to\": \"2024-09-30\",\n    \"score\": 8.2,\n    \"drivers\": 3,\n    \"vehicles\": 4,\n    \"distanceKm\": 932.3,\n    \"trips\": 59\n}"}],"_postman_id":"5411c7ba-570f-4881-affb-417b4aa06fb4"},{"name":"Fleet trend","id":"86a9f03b-8044-472a-92f0-2a42ee93508e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/trend?period={{period}}&groupBy={{groupBy}}&date={{date}}&trendLength={{trendLength}}","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","trend"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>Group the result on 'vehicles' or 'drivers'</p>\n","type":"text/plain"},"key":"groupBy","value":"{{groupBy}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"},{"description":{"content":"<p>Amount of trend objects 2-24, default = 12</p>\n","type":"text/plain"},"key":"trendLength","value":"{{trendLength}}"}],"variable":[{"id":"1f16dd1a-7cd3-4ae6-8923-46fd65a70b2a","description":{"content":"<p>Name of the fleet</p>\n","type":"text/plain"},"type":"any","value":"{{fleetName}}","key":"fleetName"}]}},"response":[{"id":"8e7fd2f4-1152-4060-8d10-5492510dff20","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetName/trend","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetName","trend"],"variable":[{"key":"fleetName","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"score\": 5.68,\n        \"count\": 1,\n        \"distanceKm\": 69.2,\n        \"trips\": 5,\n        \"from\": \"2024-08-28\",\n        \"to\": \"2024-09-03\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 6.36,\n        \"count\": 1,\n        \"distanceKm\": 109.8,\n        \"trips\": 10,\n        \"from\": \"2024-09-04\",\n        \"to\": \"2024-09-10\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 8.08,\n        \"count\": 3,\n        \"distanceKm\": 277.5,\n        \"trips\": 14,\n        \"from\": \"2024-09-11\",\n        \"to\": \"2024-09-17\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 6.97,\n        \"count\": 2,\n        \"distanceKm\": 252.10000000000002,\n        \"trips\": 15,\n        \"from\": \"2024-09-18\",\n        \"to\": \"2024-09-24\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 7.36,\n        \"count\": 2,\n        \"distanceKm\": 94.6,\n        \"trips\": 14,\n        \"from\": \"2024-09-25\",\n        \"to\": \"2024-10-01\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 7.59,\n        \"count\": 5,\n        \"distanceKm\": 411.40000000000003,\n        \"trips\": 11,\n        \"from\": \"2024-10-02\",\n        \"to\": \"2024-10-08\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 5.35,\n        \"count\": 6,\n        \"distanceKm\": 852.4799999999999,\n        \"trips\": 39,\n        \"from\": \"2024-10-09\",\n        \"to\": \"2024-10-15\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 10.68,\n        \"count\": 7,\n        \"distanceKm\": 1775.5,\n        \"trips\": 51,\n        \"from\": \"2024-10-16\",\n        \"to\": \"2024-10-22\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 12.34,\n        \"count\": 8,\n        \"distanceKm\": 1272.38,\n        \"trips\": 43,\n        \"from\": \"2024-10-23\",\n        \"to\": \"2024-10-29\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 13.44,\n        \"count\": 6,\n        \"distanceKm\": 933.89,\n        \"trips\": 33,\n        \"from\": \"2024-10-30\",\n        \"to\": \"2024-11-05\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 13.57,\n        \"count\": 7,\n        \"distanceKm\": 1394.68,\n        \"trips\": 42,\n        \"from\": \"2024-11-06\",\n        \"to\": \"2024-11-12\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"score\": 11.5,\n        \"count\": 5,\n        \"distanceKm\": 1383.8,\n        \"trips\": 42,\n        \"from\": \"2024-11-13\",\n        \"to\": \"2024-11-19\",\n        \"groupingBy\": \"Drivers\"\n    }\n]"}],"_postman_id":"86a9f03b-8044-472a-92f0-2a42ee93508e"},{"name":"Fleet benchmarking","id":"b4f4d251-66f6-435b-a1d7-8c1b06f8e338","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/benchmarking?period={{period}}&groupBy={{groupBy}}&date={{date}}","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","benchmarking"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>Group the result on 'vehicles' or 'drivers'</p>\n","type":"text/plain"},"key":"groupBy","value":"{{groupBy}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"}],"variable":[{"id":"5277525c-46f6-40e9-94a7-f84899ff0780","description":{"content":"<p>Name of the fleet</p>\n","type":"text/plain"},"type":"any","value":"{{fleetName}}","key":"fleetName"}]}},"response":[{"id":"23acdeff-29b0-464e-b00d-524a6f655956","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetName/benchmarking","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetName","benchmarking"],"variable":[{"key":"fleetName","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"organizationScore\": 6.28,\n    \"worldScore\": 9.62,\n    \"fleetScore\": 7.09,\n    \"from\": \"2024-09-24\",\n    \"to\": \"2024-09-30\",\n    \"groupingBy\": \"Vehicles\"\n}"}],"_postman_id":"b4f4d251-66f6-435b-a1d7-8c1b06f8e338"},{"name":"Fleet score distribution","id":"97afcc60-98c8-4abe-848f-8c3de7c68982","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/distribution?period={{period}}&groupBy={{groupBy}}&date={{date}}","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","distribution"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>Group the result on 'vehicles' or 'drivers'</p>\n","type":"text/plain"},"key":"groupBy","value":"{{groupBy}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"}],"variable":[{"id":"51f36325-d798-4e82-99ba-0c05de97a8f0","description":{"content":"<p>Name of the fleet</p>\n","type":"text/plain"},"type":"any","value":"{{fleetName}}","key":"fleetName"}]}},"response":[{"id":"ecc05f47-13f0-43e3-add0-3677fdf4f95f","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetName/distribution","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetName","distribution"],"variable":[{"key":"fleetName","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"distribution\": [\n        {\n            \"score\": 1,\n            \"count\": 0\n        },\n        {\n            \"score\": 2,\n            \"count\": 0\n        },\n        {\n            \"score\": 3,\n            \"count\": 0\n        },\n        {\n            \"score\": 4,\n            \"count\": 5\n        },\n        {\n            \"score\": 5,\n            \"count\": 2\n        },\n        {\n            \"score\": 6,\n            \"count\": 0\n        },\n        {\n            \"score\": 7,\n            \"count\": 2\n        },\n        {\n            \"score\": 8,\n            \"count\": 0\n        },\n        {\n            \"score\": 9,\n            \"count\": 0\n        },\n        {\n            \"score\": 10,\n            \"count\": 0\n        },\n        {\n            \"score\": 11,\n            \"count\": 0\n        },\n        {\n            \"score\": 12,\n            \"count\": 0\n        },\n        {\n            \"score\": 13,\n            \"count\": 0\n        },\n        {\n            \"score\": 14,\n            \"count\": 1\n        },\n        {\n            \"score\": 15,\n            \"count\": 0\n        }\n    ],\n    \"from\": \"2024-10-01\",\n    \"to\": \"2024-10-31\",\n    \"groupingBy\": \"Drivers\"\n}"}],"_postman_id":"97afcc60-98c8-4abe-848f-8c3de7c68982"},{"name":"Fleet time risk","id":"4ffb05d2-c301-48f2-9a90-ae50766fbbf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/timerisk?period={{period}}&groupBy={{groupBy}}&date={{date}}","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","timerisk"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>Group the result on 'vehicles' or 'drivers'</p>\n","type":"text/plain"},"key":"groupBy","value":"{{groupBy}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"}],"variable":[{"id":"adda899e-1d38-4b18-8385-75a74af0645c","description":{"content":"<p>Name of the fleet</p>\n","type":"text/plain"},"type":"any","value":"{{fleetName}}","key":"fleetName"}]}},"response":[{"id":"e6e25acb-0189-415a-8081-16fb561e1ccb","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetId/timerisk","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetId","timerisk"],"variable":[{"key":"fleetId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": [\n        {\n            \"day\": \"Mon\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                14,\n                4,\n                4,\n                5,\n                5,\n                -1,\n                4,\n                3,\n                4,\n                5,\n                3,\n                5,\n                5,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1\n            ]\n        },\n        {\n            \"day\": \"Tue\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                6,\n                5,\n                6,\n                4,\n                5,\n                -1,\n                5,\n                -1,\n                -1,\n                4,\n                -1,\n                4,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1\n            ]\n        },\n        {\n            \"day\": \"Wed\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                4,\n                5,\n                6,\n                5,\n                5,\n                -1,\n                6,\n                6,\n                -1,\n                -1,\n                7,\n                15,\n                -1,\n                -1,\n                -1,\n                -1\n            ]\n        },\n        {\n            \"day\": \"Thu\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                6,\n                -1,\n                5,\n                7,\n                6,\n                9,\n                -1,\n                7,\n                8,\n                4,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1\n            ]\n        },\n        {\n            \"day\": \"Fri\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                15,\n                -1,\n                -1,\n                6,\n                5,\n                3,\n                -1,\n                5,\n                -1,\n                5,\n                5,\n                13,\n                -1,\n                -1,\n                -1,\n                5,\n                -1,\n                -1\n            ]\n        },\n        {\n            \"day\": \"Sat\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                5,\n                -1,\n                8,\n                6,\n                6,\n                5,\n                7,\n                3,\n                6,\n                4,\n                6,\n                5,\n                -1,\n                -1,\n                -1,\n                5,\n                -1\n            ]\n        },\n        {\n            \"day\": \"Sun\",\n            \"score\": [\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                7,\n                6,\n                6,\n                4,\n                5,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1,\n                -1\n            ]\n        }\n    ],\n    \"from\": \"2024-11-01\",\n    \"to\": \"2024-11-30\",\n    \"groupingBy\": \"Drivers\"\n}"}],"_postman_id":"4ffb05d2-c301-48f2-9a90-ae50766fbbf5"}],"id":"27dadb46-4d67-4b26-b9a4-f7cbd1bf0c8b","description":"<p>Manage your fleets and get Crash Probability insights.</p>\n<p>For fields named \"fuelType\" the following values are allowed as integer:</p>\n<p>Petrol = 1, Diesel = 2, Ethanol = 4, Electric = 8, Hybrid = 16</p>\n<p>For fields named \"vehicleType\" the following values are allowed as integer:</p>\n<p>Car = 1, Truck = 2, Van = 4, Motorcycle = 8, Bus = 16, Suv = 32, Pickup = 64</p>\n<p>For fields named \"industry\" the values should be specified using the Global Industry Classification Standard, for example 20304040 for Passenger Ground Transportation. The specification uses an hierarchy of industry classification, therefore using 2030 for Transportation is fine.</p>\n<p>For fields named \"deliveryType\" the following values are allowed as integer:</p>\n<p>FirstMile = 1, MiddleMile = 2, LastMile = 3, LongHaul = 4</p>\n","_postman_id":"27dadb46-4d67-4b26-b9a4-f7cbd1bf0c8b"},{"name":"Drivers","item":[{"name":"Driver","id":"ed61d6c2-2e91-4513-b729-f3b808182908","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/drivers/:driverId?period={{period}}&date={{date}}","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","drivers",":driverId"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"}],"variable":[{"id":"7d9e6a67-4681-4ae1-a622-4b5388295103","description":{"content":"<p>Name of the fleet</p>\n","type":"text/plain"},"type":"any","value":"{{fleetName}}","key":"fleetName"},{"id":"b2264bc3-3896-4b96-8727-03a120544775","type":"any","value":"","key":"driverId"}]}},"response":[{"id":"5f36fe92-5371-48e6-b8b3-9df8a3fc3525","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetId/drivers/:driverId","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetId","drivers",":driverId"],"variable":[{"key":"fleetId","value":""},{"key":"driverId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"distanceKm\": 91,\n    \"numTrips\": 7,\n    \"avgSpeedKmh\": 36,\n    \"riskBucket\": 3,\n    \"score\": 7.47,\n    \"focus\": 68.73,\n    \"anticipation\": 81.4,\n    \"speedControl\": 76.66,\n    \"driver\": {\n        \"driverId\": \"12345\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Simon\",\n        \"nickname\": \"Johnny\",\n        \"phone\": \"+461234567\",\n        \"email\": \"john@company.com\"\n    },\n    \"from\": \"2024-11-15\",\n    \"to\": \"2024-11-21\",\n    \"groupingBy\": \"Drivers\"\n}"}],"_postman_id":"ed61d6c2-2e91-4513-b729-f3b808182908"},{"name":"Drivers","id":"3a0810e8-7169-4c24-9901-e8bca9348a57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/drivers?period={{period}}&date={{date}}","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","drivers"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"}],"variable":[{"id":"396a7fae-f780-449d-805a-61ca177dffe3","description":{"content":"<p>Name of the fleet</p>\n","type":"text/plain"},"type":"any","value":"{{fleetName}}","key":"fleetName"}]}},"response":[{"id":"0e94ccf3-3032-4009-bc67-6ba95a2df39e","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetId/drivers","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetId","drivers"],"variable":[{"key":"fleetId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"distanceKm\": 91,\n        \"numTrips\": 7,\n        \"avgSpeedKmh\": 36,\n        \"riskBucket\": 3,\n        \"score\": 7.47,\n        \"focus\": 68.73,\n        \"anticipation\": 81.4,\n        \"speedControl\": 76.66,\n        \"driver\": {\n            \"driverId\": \"12345\",\n            \"firstName\": \"John\",\n            \"lastName\": \"Simon\",\n            \"nickname\": \"Johnny\",\n            \"phone\": \"+461234567\",\n            \"email\": \"john@company.com\"\n        },\n        \"from\": \"2024-11-15\",\n        \"to\": \"2024-11-21\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"distanceKm\": 431,\n        \"numTrips\": 14,\n        \"avgSpeedKmh\": 59,\n        \"riskBucket\": 4,\n        \"score\": 8.17,\n        \"focus\": 58.13,\n        \"anticipation\": 71.3,\n        \"speedControl\": 46.16,\n        \"driver\": {\n            \"driverId\": \"12345\",\n            \"firstName\": \"Carl\",\n            \"lastName\": \"Simon\",\n            \"nickname\": \"Carl\",\n            \"phone\": \"+4612345671\",\n            \"email\": \"carl@company.com\"\n        },\n        \"from\": \"2024-11-15\",\n        \"to\": \"2024-11-21\",\n        \"groupingBy\": \"Drivers\"\n    }\n]"}],"_postman_id":"3a0810e8-7169-4c24-9901-e8bca9348a57"},{"name":"Driver","id":"718a5209-e56c-49b2-a7ef-2ba434a303ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetId/drivers/:driverId","urlObject":{"protocol":"https","path":["v2","fleets",":fleetId","drivers",":driverId"],"host":["api","enerfyglobal","com"],"query":[],"variable":[{"id":"ddce9026-bac0-4376-b207-1c16da98690c","type":"any","value":"","key":"fleetId"},{"id":"1e230fff-7084-4acd-ab84-ff2ca978fddd","type":"any","value":"","key":"driverId"}]}},"response":[{"id":"57beacbb-d329-4c11-a69c-b14ead5b9d43","name":"Driver","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"firstName\": \"CF\",\n  \"lastName\": \"Andersson\",\n  \"phone\": \"123456789\",\n  \"email\": \"cfandersson@greaterthan.eu\",\n  \"nickname\": \"CEFA\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetId/drivers/:driverId","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetId","drivers",":driverId"],"variable":[{"key":"fleetId","value":""},{"key":"driverId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"718a5209-e56c-49b2-a7ef-2ba434a303ff"},{"name":"Driver trend","id":"67ed65fb-a581-4d66-bd97-59932b3251c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/drivers/:driverId/trend?period={{period}}&date={{date}}&trendLength={{trendLength}}","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","drivers",":driverId","trend"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"},{"description":{"content":"<p>Amount of trend objects 2-24, default = 12</p>\n","type":"text/plain"},"key":"trendLength","value":"{{trendLength}}"}],"variable":[{"id":"e02e78c4-36dc-46d1-9ad7-0dd9df31ca25","description":{"content":"<p>Name of the fleet</p>\n","type":"text/plain"},"type":"any","value":"{{fleetName}}","key":"fleetName"},{"id":"cfd4dc6e-3df6-4716-9f05-d2c893290820","description":{"content":"<p>Id of the driver</p>\n","type":"text/plain"},"type":"any","value":"{{driverId}}","key":"driverId"}]}},"response":[{"id":"ee5e989b-9b5b-440d-9246-dc499fb5e1a5","name":"200 (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetId/drivers/:driverId/trend","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetId","drivers",":driverId","trend"],"query":[{"key":"date","value":"2024-10-08","disabled":true},{"key":"period","value":"week","disabled":true}],"variable":[{"key":"fleetId","value":""},{"key":"driverId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 123,\n        \"distanceKm\": 87,\n        \"numTrips\": 7,\n        \"avgSpeedKmh\": 29,\n        \"riskBucket\": 3,\n        \"score\": 8.5,\n        \"focus\": 74,\n        \"anticipation\": 85,\n        \"speedControl\": 70,\n        \"from\": \"2024-08-30\",\n        \"to\": \"2024-09-05\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 91,\n        \"numTrips\": 8,\n        \"avgSpeedKmh\": 19,\n        \"riskBucket\": 3,\n        \"score\": 8.5,\n        \"focus\": 77,\n        \"anticipation\": 83,\n        \"speedControl\": 62,\n        \"from\": \"2024-09-06\",\n        \"to\": \"2024-09-12\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 92,\n        \"numTrips\": 8,\n        \"avgSpeedKmh\": 34,\n        \"riskBucket\": 3,\n        \"score\": 7.92,\n        \"focus\": 70,\n        \"anticipation\": 83,\n        \"speedControl\": 76,\n        \"from\": \"2024-09-13\",\n        \"to\": \"2024-09-19\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 145,\n        \"numTrips\": 11,\n        \"avgSpeedKmh\": 36,\n        \"riskBucket\": 3,\n        \"score\": 8.12,\n        \"focus\": 74,\n        \"anticipation\": 84,\n        \"speedControl\": 71,\n        \"from\": \"2024-09-20\",\n        \"to\": \"2024-09-26\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 116,\n        \"numTrips\": 12,\n        \"avgSpeedKmh\": 33,\n        \"riskBucket\": 2,\n        \"score\": 11.07,\n        \"focus\": 66,\n        \"anticipation\": 78,\n        \"speedControl\": 71,\n        \"from\": \"2024-09-27\",\n        \"to\": \"2024-10-03\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": null,\n        \"numTrips\": null,\n        \"avgSpeedKmh\": null,\n        \"riskBucket\": null,\n        \"score\": null,\n        \"focus\": null,\n        \"anticipation\": null,\n        \"speedControl\": null,\n        \"from\": \"2024-10-04\",\n        \"to\": \"2024-10-10\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 71,\n        \"numTrips\": 10,\n        \"avgSpeedKmh\": 26,\n        \"riskBucket\": 3,\n        \"score\": 7.51,\n        \"focus\": 76,\n        \"anticipation\": 85,\n        \"speedControl\": 76,\n        \"from\": \"2024-10-11\",\n        \"to\": \"2024-10-17\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 37,\n        \"numTrips\": 6,\n        \"avgSpeedKmh\": 20,\n        \"riskBucket\": 4,\n        \"score\": 4.99,\n        \"focus\": 77,\n        \"anticipation\": 82,\n        \"speedControl\": 75,\n        \"from\": \"2024-10-18\",\n        \"to\": \"2024-10-24\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 63,\n        \"numTrips\": 3,\n        \"avgSpeedKmh\": 36,\n        \"riskBucket\": 3,\n        \"score\": 7.34,\n        \"focus\": 71,\n        \"anticipation\": 83,\n        \"speedControl\": 74,\n        \"from\": \"2024-10-25\",\n        \"to\": \"2024-10-31\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 13,\n        \"numTrips\": 3,\n        \"avgSpeedKmh\": 19,\n        \"riskBucket\": 5,\n        \"score\": 3.25,\n        \"focus\": 73,\n        \"anticipation\": 81,\n        \"speedControl\": 71,\n        \"from\": \"2024-11-01\",\n        \"to\": \"2024-11-07\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 24,\n        \"numTrips\": 3,\n        \"avgSpeedKmh\": 23,\n        \"riskBucket\": 4,\n        \"score\": 5.23,\n        \"focus\": 77,\n        \"anticipation\": 84,\n        \"speedControl\": 72,\n        \"from\": \"2024-11-08\",\n        \"to\": \"2024-11-14\",\n        \"groupingBy\": \"Drivers\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 91,\n        \"numTrips\": 7,\n        \"avgSpeedKmh\": 36,\n        \"riskBucket\": 3,\n        \"score\": 7.47,\n        \"focus\": 68,\n        \"anticipation\": 81,\n        \"speedControl\": 76,\n        \"from\": \"2024-11-15\",\n        \"to\": \"2024-11-21\",\n        \"groupingBy\": \"Drivers\"\n    }\n]"}],"_postman_id":"67ed65fb-a581-4d66-bd97-59932b3251c3"}],"id":"0cb36582-7af5-46e2-9fe5-92faba6f232e","_postman_id":"0cb36582-7af5-46e2-9fe5-92faba6f232e","description":""},{"name":"Vehicles","item":[{"name":"Vehicle","id":"7702651d-d667-4899-a868-6f3c757ab447","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/vehicles/:vehicleId?period={{period}}&date={{date}}","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","vehicles",":vehicleId"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"}],"variable":[{"id":"dea264b4-85dd-47bd-98b3-11a2353caf60","type":"any","value":"","key":"fleetName"},{"id":"e7a63273-bb9c-47db-a360-93906fc48bd3","description":{"content":"<p>VehicleId as been sent in with the trips</p>\n","type":"text/plain"},"type":"any","value":"","key":"vehicleId"}]}},"response":[{"id":"a634ded4-8630-44bc-a59d-3f8479d45df1","name":"200 (OK)","originalRequest":{"method":"GET","header":[{"key":"ApiKey","value":"123ApiKey"}],"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetName/vehicles/:vehicleId","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetName","vehicles",":vehicleId"],"variable":[{"key":"fleetName","value":""},{"key":"vehicleId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"    {\n        \"id\": 1234,\n        \"distanceKm\": 59,\n        \"numTrips\": 4,\n        \"avgSpeedKmh\": 30,\n        \"riskBucket\": 3,\n        \"score\": 9.05,\n        \"focus\": 58.81,\n        \"anticipation\": 82.21,\n        \"speedControl\": 90.36,\n        \"vehicles\": [\n            {\n                \"make\": \"Land Rover\",\n                \"model\": \"Range Rover Sport\",\n                \"year\": \"2019\",\n                \"identifier\": \"ABC123\",\n                \"fuelType\": \"Diesel\"\n            }\n        ],\n        \"from\": \"2024-11-15\",\n        \"to\": \"2024-11-21\",\n        \"groupingBy\": \"Vehicles\"\n    }"}],"_postman_id":"7702651d-d667-4899-a868-6f3c757ab447"},{"name":"Vehicles","id":"9fd7c557-1d12-454a-90ab-8a4c29e85fd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/vehicles?period={{period}}&date={{date}}","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","vehicles"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"}],"variable":[{"id":"8d6d0e9e-a668-4cfb-91ce-ce10d34e1f16","type":"any","value":"","key":"fleetName"}]}},"response":[{"id":"a7cda41a-bae6-4366-abaa-26053a9e3338","name":"200 (OK)","originalRequest":{"method":"GET","header":[{"key":"ApiKey","value":"123ApiKey"}],"url":{"raw":"https://api.enerfyglobal.com/v2/vehicles?organizationId=stockholm","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","vehicles"],"query":[{"key":"organizationId","value":"stockholm"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:81a339b2-6037-4095-96f8-421697a4f88f"},{"key":"Date","value":"Thu, 22 Aug 2024 15:01:20 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 123,\n        \"distanceKm\": 450,\n        \"numTrips\": 8,\n        \"avgSpeedKmh\": 43,\n        \"riskBucket\": 2,\n        \"score\": 12.42,\n        \"focus\": 28.81,\n        \"anticipation\": 47.45,\n        \"speedControl\": 82.08,\n        \"vehicles\": [\n            {\n                \"make\": null,\n                \"model\": null,\n                \"year\": null,\n                \"identifier\": \"Avg\",\n                \"fuelType\": \"petrol\"\n            }\n        ],\n        \"from\": \"2024-11-15\",\n        \"to\": \"2024-11-21\",\n        \"groupingBy\": \"Vehicles\"\n    },\n    {\n        \"id\": 1234,\n        \"distanceKm\": 59,\n        \"numTrips\": 4,\n        \"avgSpeedKmh\": 30,\n        \"riskBucket\": 3,\n        \"score\": 9.05,\n        \"focus\": 58.81,\n        \"anticipation\": 82.21,\n        \"speedControl\": 90.36,\n        \"vehicles\": [\n            {\n                \"make\": \"Land Rover\",\n                \"model\": \"Range Rover Sport\",\n                \"year\": \"2019\",\n                \"identifier\": \"ABC123\",\n                \"fuelType\": \"Diesel\"\n            }\n        ],\n        \"from\": \"2024-11-15\",\n        \"to\": \"2024-11-21\",\n        \"groupingBy\": \"Vehicles\"\n    }\n]"}],"_postman_id":"9fd7c557-1d12-454a-90ab-8a4c29e85fd3"},{"name":"Vehicle","id":"609744e2-ea72-4037-92b9-913af7e27d9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"body":{"mode":"raw","raw":"    {\n        \"vehicleId\": \"<string>\",\n        \"name\": \"<string>\",\n        \"make\": \"<string>\",\n        \"model\": \"<string>\",\n        \"year\": \"<int>\",\n        \"regNo\": \"<string>\",\n        \"vin\": \"<string>\",\n        \"color\": \"<string>\",\n        \"industry\": \"<int>\",\n        \"vehicleType\": \"<int>\",\n        \"fuelType\": \"<int>\",\n        \"deliveryType\": \"<int>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.enerfyglobal.com/v2/fleets/:fleetId/vehicles/:vehicleId","urlObject":{"protocol":"https","path":["v2","fleets",":fleetId","vehicles",":vehicleId"],"host":["api","enerfyglobal","com"],"query":[],"variable":[{"description":{"content":"<p>OrganizationId/FleetId as been sent in with the trips</p>\n","type":"text/plain"},"type":"any","value":"","key":"fleetId"},{"description":{"content":"<p>VehicleId as been sent in with the trips</p>\n","type":"text/plain"},"type":"any","value":"","key":"vehicleId"}]}},"response":[{"id":"366bea65-ebaf-4e00-9744-b8a46b897275","name":"200 (OK)","originalRequest":{"method":"PUT","header":[{"key":"ApiKey","value":"123ApiKey"}],"body":{"mode":"raw","raw":"    {\n        \"vehicleId\": \"testVehicle1\",\n        \"name\": \"Johns vehicle\",\n        \"make\": \"Volvo\",\n        \"model\": \"XC60\",\n        \"year\": 2023,\n        \"regNo\": \"ABC123\",\n        \"fuelType\": 1,\n        \"vin\": \"YV1AA8843P1XXXXXX\",\n        \"color\": \"White\"\n    }","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetId/vehicles/:vehicleId","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetId","vehicles",":vehicleId"],"variable":[{"key":"fleetId","value":""},{"key":"vehicleId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Request-Context","value":"appId=cid-v1:81a339b2-6037-4095-96f8-421697a4f88f"},{"key":"Date","value":"Thu, 22 Aug 2024 15:10:45 GMT"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"609744e2-ea72-4037-92b9-913af7e27d9a"},{"name":"Vehicle trend","id":"2d458dac-b8c3-4fe0-bb11-85e9c241c48c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your Api key</p>\n"}],"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/vehicles/:vehicleId/trend?period={{period}}&date={{date}}&trendLength={{trendLength}}","description":"<h3 id=\"see-how-the-vehicle-risk-is-trending-by-month-or-week\">See how the vehicle risk is trending by month or week.</h3>\n<p>Set the period to 'month' to get full months. 12 months prior the 'date' property.<br />Set the period to 'week' to get selected date and 12 seven day periods.</p>\n","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","vehicles",":vehicleId","trend"],"host":["api","enerfyglobal","com"],"query":[{"description":{"content":"<p>'week', or 'calendarMonth' - default 'week'</p>\n","type":"text/plain"},"key":"period","value":"{{period}}"},{"description":{"content":"<p>'yyyy-MM-dd' - end date for the period - default today's date</p>\n","type":"text/plain"},"key":"date","value":"{{date}}"},{"description":{"content":"<p>Amount of trend objects 2-24, default = 12</p>\n","type":"text/plain"},"key":"trendLength","value":"{{trendLength}}"}],"variable":[{"id":"77687195-8b7d-4250-a946-9ec0a78d6d95","description":{"content":"<p>Name of the fleet</p>\n","type":"text/plain"},"type":"any","value":"{{fleetName}}","key":"fleetName"},{"id":"e156e3f1-1f9d-45e3-b66c-a5c0b47005ef","description":{"content":"<p>Id of the vehicle</p>\n","type":"text/plain"},"type":"any","value":"{{vehicleId}}","key":"vehicleId"}]}},"response":[{"id":"78611307-0160-4636-9028-909d972fb893","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"ApiKey","value":"<ApiKey>"}],"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetId/vehicles/:vehicleId/trend","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetId","vehicles",":vehicleId","trend"],"query":[{"key":"date","value":"2024-08-15","description":"Analyze date","disabled":true},{"key":"period","value":"week","description":"week or month","disabled":true}],"variable":[{"key":"fleetId","value":""},{"key":"vehicleId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 123,\n        \"distanceKm\": 105,\n        \"numTrips\": 3,\n        \"avgSpeedKmh\": 70,\n        \"riskBucket\": 2,\n        \"score\": 12.37,\n        \"focus\": 48,\n        \"anticipation\": 74,\n        \"speedControl\": 84,\n        \"from\": \"2024-10-18\",\n        \"to\": \"2024-10-24\",\n        \"groupingBy\": \"Vehicles\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 245,\n        \"numTrips\": 3,\n        \"avgSpeedKmh\": 75,\n        \"riskBucket\": 1,\n        \"score\": 15.1,\n        \"focus\": 31,\n        \"anticipation\": 54,\n        \"speedControl\": 81,\n        \"from\": \"2024-10-25\",\n        \"to\": \"2024-10-31\",\n        \"groupingBy\": \"Vehicles\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 312,\n        \"numTrips\": 7,\n        \"avgSpeedKmh\": 46,\n        \"riskBucket\": 1,\n        \"score\": 15.9,\n        \"focus\": 23,\n        \"anticipation\": 51,\n        \"speedControl\": 80,\n        \"from\": \"2024-11-01\",\n        \"to\": \"2024-11-07\",\n        \"groupingBy\": \"Vehicles\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 526,\n        \"numTrips\": 6,\n        \"avgSpeedKmh\": 74,\n        \"riskBucket\": 1,\n        \"score\": 15.1,\n        \"focus\": 29,\n        \"anticipation\": 56,\n        \"speedControl\": 82,\n        \"from\": \"2024-11-08\",\n        \"to\": \"2024-11-14\",\n        \"groupingBy\": \"Vehicles\"\n    },\n    {\n        \"id\": 123,\n        \"distanceKm\": 184,\n        \"numTrips\": 3,\n        \"avgSpeedKmh\": 76,\n        \"riskBucket\": 2,\n        \"score\": 12.42,\n        \"focus\": 28,\n        \"anticipation\": 47,\n        \"speedControl\": 82,\n        \"from\": \"2024-11-15\",\n        \"to\": \"2024-11-21\",\n        \"groupingBy\": \"Vehicles\"\n    }\n]"}],"_postman_id":"2d458dac-b8c3-4fe0-bb11-85e9c241c48c"}],"id":"3f7ca958-f023-4087-92e8-dc0af137a62d","description":"<p>Handle vehicles within a fleet.</p>\n<p>For fields named \"fuelType\" the following values are allowed as integer:</p>\n<p>Petrol = 1, Diesel = 2, Ethanol = 4, Electric = 8, Hybrid = 16</p>\n<p>For fields named \"vehicleType\" the following values are allowed as integer:</p>\n<p>Car = 1, Truck = 2, Van = 4, Motorcycle = 8, Bus = 16, Suv = 32, Pickup = 64</p>\n<p>For fields named \"industry\" the values should be specified using the Global Industry Classification Standard, for example 20304040 for Passenger Ground Transportation. The specification uses an hierarchy of industry classification, so using 2030 for Transportation is fine.</p>\n<p>For fields named \"deliveryType\" the following values are allowed as integer:</p>\n<p>FirstMile = 1, MiddleMile = 2, LastMile = 3, LongHaul = 4</p>\n","_postman_id":"3f7ca958-f023-4087-92e8-dc0af137a62d"},{"name":"Claims","item":[{"name":"Claim","id":"27193f52-e2c0-4858-89e9-ba2ca101636b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"ApiKey","value":"{{ApiKey}}","description":"<p>Your ApiKey</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"issueNumber\": \"<string> Required - Your internal claims reference/issue number\",\n  \"description\": \"<string> - A general description of the accident\",\n  \"label\": \"<string> Required - Your internal accident label \",\n  \"reportedDate\": \"<string> format: yyyyMMddHHmmssfff Required - Date when the accident was reported\",\n  \"vehicleId\": \"<string> Required if driverId is omitted - Name or internal vehicle identification\",\n  \"driverId\": \"<string> Required if vehicleId is omitted - Name or internal driver identification\",\n  \"dateOfLoss\": \"<string> format: yyyyMMddHHmmssfff Required - Date when the accident occured\",\n  \"locationOfAccident\": \"<string> - Street name of where the accident occured\",\n  \"accidentState\": \"<string> - State of where the accident occured\",\n  \"accidentTime\": \"<string> - 'HH:mm' - Time when the accident happened\",\n  \"accidentType\": \"<string> - Type of accident\",\n  \"areaOfDamage\": \"<string> - Where the damage on insured vehicle happened\",\n  \"noOfVehicles\": \"<int> - Number of vehicles involved in the accident\",\n  \"repairCost\": \"<double> - Cost of repairing the insured vehicle\",\n  \"totalCost\": \"<double> - Total cost of accident\",\n  \"severity\": \"<string> - The severity of the accident\",\n  \"make\": \"<string> - Make of the vehicle involved in the accident\",\n  \"model\": \"<string> - Model of the vehicle involved in the accident\",\n  \"type\": \"<string> - Type of vehicle\",\n  \"vin\": \"<string> Required - VIN number of insured vehicle\",\n  \"licensePlate\": \"<string> - License plate of the insured vehicle\",\n  \"buildMonth\": \"<string> - Which month the vehicle is from\",\n  \"buildYear\": \"<int> - Which year the vehicle is from\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.enerfyglobal.com/v2/fleets/:fleetName/claim","urlObject":{"protocol":"https","path":["v2","fleets",":fleetName","claim"],"host":["api","enerfyglobal","com"],"query":[],"variable":[{"id":"7d3f9d46-7a19-41a8-8ddc-4335dd5cb8f2","description":{"content":"<p>Name of the fleet</p>\n","type":"text/plain"},"type":"any","value":"{{fleetName}}","key":"fleetName"}]}},"response":[{"id":"17f7947f-419c-48e4-9f04-86ab21d504c1","name":"Claim","originalRequest":{"method":"POST","header":[{"key":"ApiKey","value":"test_key"}],"body":{"mode":"raw","raw":"{\n  \"issueNumber\": \"1223\",\n  \"description\": \"Collision\",\n  \"label\": \"At-Fault Accident\",\n  \"reportedDate\": \"2024-05-21T09:00:00\",\n  \"driverId\": \"1234\",\n  \"dateOfLoss\": \"2024-05-20T09:34:00\",\n  \"locationOfAccident\": \"Karlavägen\",\n  \"accidentState\": \"Stockholm\",\n  \"accidentTime\": \"08:40:00\",\n  \"accidentType\": \"At fault\",\n  \"areaOfDamage\": \"Side\",\n  \"noOfVehicles\": 2,\n  \"repairCost\": 540.0,\n  \"totalCost\": 700.0,\n  \"severity\": \"Standard\",\n  \"make\": \"Lynk&Co\",\n  \"model\": \"01\",\n  \"type\": \"private\",\n  \"vin\": \"3GNEC12ZX5G196828\",\n  \"licensePlate\": \"ABC123\",\n  \"buildMonth\": \"September\",\n  \"buildYear\": 2023\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.enerfyglobal.com/v2/fleets/:fleetName/claim","protocol":"https","host":["api","enerfyglobal","com"],"path":["v2","fleets",":fleetName","claim"],"variable":[{"key":"fleetName","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"27193f52-e2c0-4858-89e9-ba2ca101636b"}],"id":"54e8b97f-4991-46a5-9d7a-69590d52b5a7","_postman_id":"54e8b97f-4991-46a5-9d7a-69590d52b5a7","description":""},{"name":"Trips","item":[{"name":"Trip data","id":"753d7a16-6009-41f2-a347-9d82a036052a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"ApiKey","value":"","description":"<p>API-key used for authorization.</p>\n","type":"text"},{"key":"Test","value":"0","description":"<p>1: Test data, 0: Production data (optional)</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nodeId\": \"<specifies where vehicle should be placed>\",\n    \"driverId\": \"<unique driver identifier>\",\n    \"vehicleId\": \"<identifier unique for vehicle>\",\n    \"vehicle\": {\n        \"make\": \"<Vehicle make/manafacturer>\",\n        \"model\": \"<Vehicle model>\",\n        \"modelYear\": <Vehicle year>,\n        \"VIN\": \"<Vehicle VIN>\",\n        \"color\": \"<Vehicle color>\",\n        \"name\": \"<Vehicle name/nickName>\",\n        \"regNo\": \"<Vehicle registration number>\",\n        \"vehicleId\": \"<Vehicle identifier (your internal id for the vehicle)>\"\n    },\n    \"tripId\": \"<unique identifier of trip>\",\n    \"startTime\": \"<start of trip>\",\n    \"endTime\": \"<end of trip>\",\n    \"startAddr\": \"<address of starting point >\",\n    \"endAddr\": \"<address of destination>\",\n    \"samples\":[\n        {\n            \"t\":\"<time of sample>\",\n            \"s\":<road speed at sample in km/h>,\t\n            \"rpm\":<Engine speed in RPM>,\n            \"ec\":<energy consumption>,\n            \"et\":<energy type>,\n            \"lt\":<latitude>,\n            \"ln\":<longitude>,\n            \"a\":<altitude in meters>,\n            \"c\":<heading in degrees>,\n            \"d\": <Accumulated distance in meters on the trip so far>\n        }\n    ]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.enerfyglobal.com/v1/trip-data","description":"<p>We can retrieve data for a single trip or multiple completed trips in a single request using either the standard or the batch-endpoint. However we recommend not to send requests with data exceeding 25MB.</p>\n<p>Single trip: <a href=\"https://api.enerfyglobal.com/v1/trip-data\">https://api.enerfyglobal.com/v1/trip-data</a></p>\n<p>Multiple trips: <a href=\"https://api.enerfyglobal.com/v1/trip-data/batch\">https://api.enerfyglobal.com/v1/trip-data/batch</a></p>\n<h4 id=\"request-body\">Request body</h4>\n<p>When using the /batch endpoint simply send the body as an array.</p>\n<h5 id=\"json\"><a href=\"https://docs.greaterthan.eu/#3b14c7e8-e440-4f68-b44a-270e9692ca94\"></a>JSON</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th><strong>Required</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nodeId</td>\n<td>Specifies where the user/vehicle should be placed, using a slash-delimited path (e.g., [country]/[company]/[division]).</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>vehicleId</td>\n<td>Unique identifier for vehicle. At least one of vehicleId and/or driverId is required</td>\n<td>Yes - or the vehicle object</td>\n<td>string</td>\n</tr>\n<tr>\n<td>vehicle</td>\n<td>Vehicle metadata - see Vehicle object</td>\n<td>No</td>\n<td>Vehicle</td>\n</tr>\n<tr>\n<td>driverId</td>\n<td>Unique identifier of user. At least one of vehicleId and/or driverId is required</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>tripId</td>\n<td>Unique identifier of trip. Can be omitted if starttime and endtime of trip is specified</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>startTime</td>\n<td>Start time of trip. Needed if trip id is omitted.</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>endTime</td>\n<td>End time of trip. Needed if trip id is omitted.</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>startAddr</td>\n<td>Address of start of trip.</td>\n<td>No</td>\n<td>string</td>\n</tr>\n<tr>\n<td>endAddr</td>\n<td>Address of trip destination.</td>\n<td>No</td>\n<td>string</td>\n</tr>\n<tr>\n<td>samples</td>\n<td>Array of tripdata samples. Data must be sampled at a frequency of every second in order to get the highest quality of analysis. (Maximum interval of samples is 5s but not applicable for specific vehicle risk analysis.)</td>\n<td>Yes</td>\n<td>Sample[]</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Vehicle</strong></p>\n<p>Optional vehicle object (see example request)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>vehicleId</td>\n<td>Vehicle identifier (your internal id for the vehicle)</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>make</td>\n<td>Vehicle make/manafacturer</td>\n<td>No</td>\n<td>string</td>\n</tr>\n<tr>\n<td>model</td>\n<td>Vehicle model</td>\n<td>No</td>\n<td>string</td>\n</tr>\n<tr>\n<td>modelYear</td>\n<td>Vehicle year</td>\n<td>No</td>\n<td>int</td>\n</tr>\n<tr>\n<td>VIN</td>\n<td>Vehicle VIN</td>\n<td>No</td>\n<td>string</td>\n</tr>\n<tr>\n<td>color</td>\n<td>Vehicle color</td>\n<td>No</td>\n<td>string</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Vehicle name/nick name</td>\n<td>No</td>\n<td>string</td>\n</tr>\n<tr>\n<td>regNo</td>\n<td>Vehicle registration number</td>\n<td>No</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Sample</strong></p>\n<p>Note: all attributes must be sampled simultaneously.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th><strong>Required</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>t</td>\n<td>Time of sample. Format: yyyyMMddHHmmssfff</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>s</td>\n<td>Road speed at sample in km/h</td>\n<td>Yes</td>\n<td>float</td>\n</tr>\n<tr>\n<td>rpm</td>\n<td>Engine speed in RPM</td>\n<td>No</td>\n<td>int</td>\n</tr>\n<tr>\n<td>ec</td>\n<td>Energy consumption</td>\n<td>No</td>\n<td>float</td>\n</tr>\n<tr>\n<td>lt</td>\n<td>Latitude, format xxx.xxxxxx</td>\n<td>Yes</td>\n<td>float</td>\n</tr>\n<tr>\n<td>ln</td>\n<td>Longitude, format xxx.xxxxxx</td>\n<td>Yes</td>\n<td>float</td>\n</tr>\n<tr>\n<td>a</td>\n<td>Altitude in meters</td>\n<td>No</td>\n<td>float</td>\n</tr>\n<tr>\n<td>c</td>\n<td>Course/heading in degrees</td>\n<td>No</td>\n<td>float</td>\n</tr>\n<tr>\n<td>d</td>\n<td>Accumulated distance in meters on the trip so far</td>\n<td>No</td>\n<td>int</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"csv-and-protobuf\">CSV and Protobuf</h5>\n<p>For a more memory-efficient way of sending data please contact us to get more information regarding this: <a href=\"https://greaterthan.eu/\">https://greaterthan.eu/</a></p>\n","urlObject":{"protocol":"https","path":["v1","trip-data"],"host":["api","enerfyglobal","com"],"query":[],"variable":[]}},"response":[{"id":"882d35f7-6795-480f-b7bd-1e8020dd1eae","name":"JSON example","originalRequest":{"method":"POST","header":[{"key":"ApiKey","value":"apikey_124432","description":"API-key used for authorization.","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nodeId\": \"stockholm\",\n    \"vehicle\": {\n        \"make\": \"SAAB\",\n        \"model\": \"9-3\",\n        \"modelYear\": 2007,\n        \"VIN\": \"D123XX121TEST\",\n        \"color\": \"Blue\",\n        \"name\": \"Blue Saab\",\n        \"regNo\": \"XDF991\",\n        \"vehicleId\": \"testvehicle123\"\n    },\n    \"driverId\": \"testdriver123\",\n    \"tripId\": \"testtrip123\",\n    \"samples\":[\n  {\n    \"lt\": 59.338972,\n    \"ln\": 18.083191,\n    \"a\": 94.8,\n    \"c\": 197.03,\n    \"s\": 4,\n    \"rpm\": 0,\n    \"t\": \"20230601070202000\"\n  },\n  {\n    \"lt\": 59.338972,\n    \"ln\": 18.083191,\n    \"a\": 94.3,\n    \"c\": 218.56,\n    \"s\": 5,\n    \"rpm\": 0,\n    \"t\": \"20230601070202000\"\n  }\n]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.enerfyglobal.com/v1/trip-data"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 11 Sep 2023 11:45:50 GMT"},{"key":"Request-Context","value":"appId=cid-v1:xx"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"753d7a16-6009-41f2-a347-9d82a036052a"},{"name":"Trip Data (CSV)","id":"70d071fa-a729-4884-9024-76063c8819d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.enerfyglobal.com/v1/trip-data","description":"<p>The trip data can be retrieved in csv-format which is a more memory-efficient way of sending JSON data.</p>\n<p>For this case we recommend to use multipart/form-data with one part containing the metadata and one part with csv-formatted sample data. This way unnecessary redundancy can be avoided.</p>\n<p>The metadata can be sent using the csv-format with some or all of the attributes shown in the table below in any order (mandatory attributes cannot be omitted). If the request contains multiple trips in multiple files, the attribute TripDataKey is required and the endpoint including the batch route is required. If the request contains multiple trips in a single csv-file (see example below) TripId must be specified for each sample. For the csv content, the order of the headers must be specified on the first row of each file</p>\n<h3 id=\"metadata\">Metadata</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>NodeId</td>\n<td>Specifies where the user/vehicle should be placed, using a slash-delimited path (e.g., [country]/[company]/[division]).</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>VehicleId</td>\n<td>Unique identifier for vehicle. At least one of vehicleId and/or driverId is required</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>DriverId</td>\n<td>Unique identifier of user. At least one of vehicleId and/or driverId is required</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>UnitType</td>\n<td>Type of device used to collect the GPS-data</td>\n<td>No</td>\n<td>string</td>\n</tr>\n<tr>\n<td>TripId</td>\n<td>Unique identifier of trip. Can be omitted if TripStartTime and TripEndTime of trip is specified.</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>TripStartTime</td>\n<td>Start time of trip. *Needed if TripId is omitted.</td>\n<td>No*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>TripEndTime</td>\n<td>End time of trip. *Needed if TripId is omitted</td>\n<td>No*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>TripStartAddr</td>\n<td>Address where the trip started</td>\n<td>No</td>\n<td>string</td>\n</tr>\n<tr>\n<td>TripEndAddr</td>\n<td>Address where the trip ended</td>\n<td>No</td>\n<td>string</td>\n</tr>\n<tr>\n<td>TripDataKey</td>\n<td>Specifies which csv file trip data is located in. Required for requests with multiple trips</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"sample-data\">Sample data</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Time</td>\n<td>Time of sample. Format: yyyyMMddHHmmssfff</td>\n<td>Yes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>Speed</td>\n<td>Road speed at sample in km/h</td>\n<td>Yes</td>\n<td>float</td>\n</tr>\n<tr>\n<td>Rpm</td>\n<td>Engine speed in RPM</td>\n<td>No</td>\n<td>int</td>\n</tr>\n<tr>\n<td>EnergyConsumption</td>\n<td>Energy consumption, liter/hour</td>\n<td>No</td>\n<td>float</td>\n</tr>\n<tr>\n<td>Latitude</td>\n<td>Format xxx.xxxxxx</td>\n<td>Yes</td>\n<td>float</td>\n</tr>\n<tr>\n<td>Longitude</td>\n<td>Format xxx.xxxxxx</td>\n<td>Yes</td>\n<td>float</td>\n</tr>\n<tr>\n<td>Altitude</td>\n<td>Altitude in meters</td>\n<td>No</td>\n<td>float</td>\n</tr>\n<tr>\n<td>Course</td>\n<td>Course/heading in degrees</td>\n<td>No</td>\n<td>float</td>\n</tr>\n<tr>\n<td>DistanceInMeters</td>\n<td>Accumulated distance in meters on the trip so far</td>\n<td>No</td>\n<td>int</td>\n</tr>\n<tr>\n<td>TripId</td>\n<td>TripId to the trip that the sample belongs to</td>\n<td>Yes - <strong>If multiple trips in single csv-file</strong></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"examples\">Examples</h3>\n<p><strong>Request body CSV example (multiple trips, multiple files)</strong></p>\n<img src=\"https://lh7-us.googleusercontent.com/fGqABWaQkjUell4UAWxq7NJ7CrcYm6j3lnDBE_Z9G2RXtr-ZZbn7IuPbki3am86epFkpobIbMw2cLEzwcHIZMFc3zKFMpls_ZtQM7SiYeMo3LFq_4lRQXhmq7pW1NGQvf0u1BhN0w094\" />\n\n<p><strong>Request body CSV example (multiple trips, single trips-file)</strong></p>\n<img src=\"https://lh7-us.googleusercontent.com/YM-DBYx8kcbbQXebM_C9YDVr53Y5pdVdO15BL8Hpqvm8nWall_kacwULK8cxKzE1guBN_G8AO6kaarvZVrJ-24-BY8LMXGX8AMCRXHQP5xVjPSLBTTjESZFr4V3sFqhuH3-g6wdaQWnp\" />","urlObject":{"protocol":"https","path":["v1","trip-data"],"host":["api","enerfyglobal","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"70d071fa-a729-4884-9024-76063c8819d5"}],"id":"0b6221c3-c2c1-43d5-81d2-36c47753c22c","_postman_id":"0b6221c3-c2c1-43d5-81d2-36c47753c22c","description":""}],"event":[{"listen":"prerequest","script":{"id":"90520477-c58c-47ad-99be-1a2635946532","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b2e887d4-5194-4432-8bc0-f10553f2e68d","type":"text/javascript","exec":[""]}}],"variable":[{"id":"c9ed463f-c43d-48cb-84b0-2a9ad81db770","key":"demolicensekey","value":"e05be51c-5266-4bca-a14f-693283d060b9","disabled":true},{"id":"0721d1b2-d386-4e62-988e-f2717c3cc940","key":"demoorgname","value":"stockholm","disabled":true}]}