{"info":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","description":"<html><head></head><body><p>This collection includes all the standard HTTP API requests available for the Destiny API.</p>\n<p>Please see our Destiny API Quick Start Guide if you haven't yet.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"217817","collectionId":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","publishedId":"TzRLnWp3","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-05-07T17:51:05.000Z"},"item":[{"name":"Admin","item":[{"name":"Send Support Notice Email","id":"1da3bdfe-3429-49e3-a60c-b03468891448","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"email@email.co.za\",\n\t\"subject\": \"This is a test email\",\n\t\"body\": \"I need help with this and that.\",\n\t\"priority\": \"low\"\n}"},"url":"{{http}}://{{domain}}/api/v1/admin/email/support/notice","description":"<p>Sends a notice email to support personel.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","admin","email","support","notice"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"2bb3a822-bbe8-4e9b-8289-01651c17ce0a","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"email@email.co.za\",\n\t\"subject\": \"This is a test email\",\n\t\"body\": \"I need help with this and that.\",\n\t\"priority\": \"low\"\n}"},"url":"{{http}}://{{domain}}/api/v1/admin/email/support/notice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 07:23:24 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"A support email was successfully submitted to us, we will get back to you shortly.\"\n    ]\n}"}],"_postman_id":"1da3bdfe-3429-49e3-a60c-b03468891448"},{"name":"Send Support Warning Email","id":"93999ada-11e1-4f99-8ec5-12dceaf183db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"email@email.co.za\",\n\t\"subject\": \"This is a warning email\",\n\t\"body\": \"This is an email about warnings.\",\n\t\"priority\": \"medium\"\n}"},"url":"{{http}}://{{domain}}/api/v1/admin/email/support/warning","description":"<p>Sends a warning email to support.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","admin","email","support","warning"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"d1822d8d-4cc2-4dac-a036-4e443509b66a","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"email@email.co.za\",\n\t\"subject\": \"This is a warning email\",\n\t\"body\": \"This is an email about warnings.\",\n\t\"priority\": \"medium\"\n}"},"url":"{{http}}://{{domain}}/api/v1/admin/email/support/warning"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 07:24:25 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"warnings\": [\n        \"A support email was successfully submitted to us, we will get back to you shortly.\"\n    ]\n}"}],"_postman_id":"93999ada-11e1-4f99-8ec5-12dceaf183db"},{"name":"Send Support Error Email","id":"410ca551-b3dc-4672-991d-401a2eca5ca5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"email@email.co.za\",\n\t\"subject\": \"This is an error email\",\n\t\"body\": \"This is an email about some error that happened.\",\n\t\"priority\": \"high\"\n}"},"url":"{{http}}://{{domain}}/api/v1/admin/email/support/error","description":"<p>Sends an email about an error to support.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","admin","email","support","error"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"410ca551-b3dc-4672-991d-401a2eca5ca5"},{"name":"Unsubscribe From Email Notifications","id":"a4698abe-5824-41b2-a3b1-adb2353eb1e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{http}}://{{domain}}/api/v1/admin/email/unsubscribe","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","admin","email","unsubscribe"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4698abe-5824-41b2-a3b1-adb2353eb1e3"}],"id":"f9495aea-10b7-43a4-a52e-485e3518952f","description":"<p>Administratiion related requests.</p>\n","_postman_id":"f9495aea-10b7-43a4-a52e-485e3518952f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"API Bridges - Webfleet","item":[{"name":"Find API Bridge","id":"1175df2c-3436-484c-ab41-19a3e483773b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/api-bridges/webfleet","description":"<p>Creates a new unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","api-bridges","webfleet"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"9f2c55e2-cddc-420b-a03d-3e508fc58caf","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/api-bridges"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 16 May 2025 15:26:18 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzQ3NDA5MTc4LCJuYmYiOjE3NDc0MDkxNzgsImV4cCI6MTc0NzQwOTc3OCwic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTc0NzQwOTE3OH0.w61kHTmX5YjSkUvmLtsAPGPMRVKzXWCjL5a6_6BDI68"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Test Bridge\",\n            \"type\": \"webfleet\",\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Demo Partner\"\n            },\n            \"agency\": {\n                \"id\": null,\n                \"name\": null\n            },\n            \"client\": {\n                \"id\": 278,\n                \"name\": \"Demo Client\"\n            },\n            \"settings\": \"[]\",\n            \"created_at\": \"2025-05-16T17:25:13+02:00\",\n            \"updated_at\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"1175df2c-3436-484c-ab41-19a3e483773b"},{"name":"API Bridge Listing","id":"4fc0a93f-1e9b-4758-bb99-57fb3937b669","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/api-bridges/webfleet/listing","description":"<p>Creates a new unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","api-bridges","webfleet","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"42742dc3-5337-489d-be0d-b94bccf44bd2","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/api-bridges/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 16 May 2025 15:28:28 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzQ3NDA5MzA4LCJuYmYiOjE3NDc0MDkzMDgsImV4cCI6MTc0NzQwOTkwOCwic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTc0NzQwOTMwOH0.c8ch8l_vUEYLYdchWYpZqAAN9Mar3FKL10qP8O8S5vE"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Test Bridge\"\n        }\n    ]\n}"}],"_postman_id":"4fc0a93f-1e9b-4758-bb99-57fb3937b669"},{"name":"Get an API Bridge","id":"c4f77955-b8be-4564-ba74-430232a0a836","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/api-bridges/webfleet/1","description":"<p>Creates a new unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","api-bridges","webfleet","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"b4056b8f-83b4-47da-ad65-433e52340c2d","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/api-bridges/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 16 May 2025 15:30:10 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzQ3NDA5NDEwLCJuYmYiOjE3NDc0MDk0MTAsImV4cCI6MTc0NzQxMDAxMCwic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTc0NzQwOTQxMH0.MNangpAyJ3Gy63eCM0RXukMPfJS4SnZZe6tp0RZ068I"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Test Bridge\",\n        \"type\": \"webfleet\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Demo Partner\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client\": {\n            \"id\": 278,\n            \"name\": \"Demo Partner\"\n        },\n        \"settings\": \"[]\",\n        \"created_at\": \"2025-05-16T17:25:13+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"c4f77955-b8be-4564-ba74-430232a0a836"},{"name":"Get API Bridge Create Form","id":"d01087fe-028a-44a1-9581-458e207f6a8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/api-bridges/webfleet/create","description":"<p>Creates a new unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","api-bridges","webfleet","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"81185e4d-31e4-4617-aba3-18ef55aba412","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/api-bridges/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 16 May 2025 15:31:39 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzQ3NDA5NDk5LCJuYmYiOjE3NDc0MDk0OTksImV4cCI6MTc0NzQxMDA5OSwic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTc0NzQwOTQ5OX0.JB5PQL5Qhw3u4FFPtr_eqnaIZKbp0v36V4iZJ3gGQEM"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Demo Partner\"\n            }        \n        ]\n    }\n}"}],"_postman_id":"d01087fe-028a-44a1-9581-458e207f6a8d"},{"name":"Get API Bridge Edit Form","id":"072cb9bd-6257-4f4f-85d7-4dca68a0e250","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/api-bridges/webfleet/1/edit","description":"<p>Creates a new unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","api-bridges","webfleet","1","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"03c2f0f2-bd0a-4e0b-8e2a-ffd089ac527b","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/api-bridges/1/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 16 May 2025 15:33:54 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzQ3NDA5NjM0LCJuYmYiOjE3NDc0MDk2MzQsImV4cCI6MTc0NzQxMDIzNCwic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTc0NzQwOTYzNH0.DrUlisQU1FsMF2-uksLR28JGknZ9G-UBsCR_5hPySq4"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Test Bridge\",\n        \"type\": \"webfleet\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Demo Partner\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client\": {\n            \"id\": 278,\n            \"name\": \"Demo Client\"\n        },\n        \"settings\": \"[]\",\n        \"created_at\": \"2025-05-16T17:25:13+02:00\",\n        \"updated_at\": null,\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Demo Partner\"\n            }\n        ]\n    }\n}"}],"_postman_id":"072cb9bd-6257-4f4f-85d7-4dca68a0e250"},{"name":"Create API Bridge","id":"ef747187-7553-43d1-8c03-42378772b327","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Demo Bridge\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_ids\": [3],\n    \"enabled\": true,\n    \"account_name\": \"demo.account\",\n    \"username\": \"demo\",\n    \"password\": \"demo\",\n    \"id_vehicles_by\": \"reg_no\",\n    \"selection_mode\": \"selected\",\n    \"vehicle_ids\": [1]\n}"},"url":"{{http}}://{{domain}}/api/v1/api-bridges/webfleet","description":"<p>Creates a new unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","api-bridges","webfleet"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"26eb187c-069b-4cba-8017-3ea194fd40a8","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Test Bridge\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"type\": \"webfleet\",\n    \"client_id\": 278,\n    \"settings\": {}\n}"},"url":"{{http}}://{{domain}}/api/v1/api-bridges"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 16 May 2025 15:17:46 GMT"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created API Bridge: Demo Bridge\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Demo Bridge\",\n        \"type\": \"webfleet\",\n        \"enabled\": 1,\n        \"account_name\": \"demo.account\",\n        \"id_vehicles_by\": \"reg_no\",\n        \"created_at\": \"2025-06-04T10:19:44+02:00\",\n        \"updated_at\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Demo Partner\"\n        },\n        \"agency\": {\n            \"id\": 1,\n            \"name\": \"Demo Agency\"\n        },\n        \"clients\": [\n            {\n                \"id\": 1,\n                \"name\": \"Demo Client A\",\n                \"reference_no\": null,\n                \"fin_account_no\": null,\n                \"description\": \"This is a demo client\",\n                \"partner\": {\n                    \"id\": 1,\n                    \"name\": \"Demo Partner\"\n                },\n                \"agency\": {\n                    \"id\": 1,\n                    \"name\": \"Demo Agency\"\n                },\n                \"created_at\": \"2020-02-12T19:44:56+02:00\",\n                \"updated_at\": \"2025-01-30T10:14:37+02:00\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Demo Client B\",\n                \"reference_no\": null,\n                \"fin_account_no\": null,\n                \"description\": \"This is a demo client\",\n                \"partner\": {\n                    \"id\": 1,\n                    \"name\": \"Demo Partner\"\n                },\n                \"agency\": {\n                    \"id\": 1,\n                    \"name\": \"Demo Agency\"\n                },\n                \"created_at\": \"2020-02-17T16:34:13+02:00\",\n                \"updated_at\": \"2025-02-06T14:57:58+02:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"ef747187-7553-43d1-8c03-42378772b327"},{"name":"Update Existing API Bridge Copy","id":"99028710-4329-4227-bd2e-1a78ded3148f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Demo Bridge\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_ids\": [1, 2],\n    \"enabled\": true,\n    \"account_name\": \"demo.account\",\n    \"id_vehicles_by\": \"reg_no\"\n}"},"url":"{{http}}://{{domain}}/api/v1/api-bridges/webfleet/1","description":"<p>Creates a new unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","api-bridges","webfleet","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"cb5a356a-fcd6-4418-ab00-957431a6bb82","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Test Bridge 2\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"type\": \"webfleet\",\n    \"client_id\": 278,\n    \"settings\": {}\n}"},"url":"{{http}}://{{domain}}/api/v1/api-bridges/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 16 May 2025 15:20:55 GMT"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated API Bridge: Demo Bridge\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Demo Bridge\",\n        \"type\": \"webfleet\",\n        \"enabled\": 1,\n        \"account_name\": \"demo.account\",\n        \"id_vehicles_by\": \"reg_no\",\n        \"created_at\": \"2025-06-04T10:19:44+02:00\",\n        \"updated_at\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Demo Partner\"\n        },\n        \"agency\": {\n            \"id\": 1,\n            \"name\": \"Demo Agency\"\n        },\n        \"clients\": [\n            {\n                \"id\": 1,\n                \"name\": \"Demo Client A\",\n                \"reference_no\": null,\n                \"fin_account_no\": null,\n                \"description\": \"This is a demo client\",\n                \"partner\": {\n                    \"id\": 1,\n                    \"name\": \"Demo Partner\"\n                },\n                \"agency\": {\n                    \"id\": 1,\n                    \"name\": \"Demo Agency\"\n                },\n                \"created_at\": \"2020-02-12T19:44:56+02:00\",\n                \"updated_at\": \"2025-01-30T10:14:37+02:00\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Demo Client B\",\n                \"reference_no\": null,\n                \"fin_account_no\": null,\n                \"description\": \"This is a demo client\",\n                \"partner\": {\n                    \"id\": 1,\n                    \"name\": \"Demo Partner\"\n                },\n                \"agency\": {\n                    \"id\": 1,\n                    \"name\": \"Demo Agency\"\n                },\n                \"created_at\": \"2020-02-17T16:34:13+02:00\",\n                \"updated_at\": \"2025-02-06T14:57:58+02:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"99028710-4329-4227-bd2e-1a78ded3148f"},{"name":"Delete an API Bridge","id":"fd6b0a6f-b160-46ab-ab8a-cf33e7d39cdc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/api-bridges/webfleet/1","description":"<p>Creates a new unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","api-bridges","webfleet","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"1750b558-3dc5-4333-b31d-42c05b4f5590","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/api-bridges/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 16 May 2025 15:22:37 GMT"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted API Bridge: Demo Bridge\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Demo Bridge\",\n        \"type\": \"webfleet\",\n        \"enabled\": 1,\n        \"account_name\": \"demo.account\",\n        \"id_vehicles_by\": \"reg_no\",\n        \"created_at\": \"2025-06-04T10:19:44+02:00\",\n        \"updated_at\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Demo Partner\"\n        },\n        \"agency\": {\n            \"id\": 1,\n            \"name\": \"Demo Agency\"\n        },\n        \"clients\": [\n            {\n                \"id\": 1,\n                \"name\": \"Demo Client A\",\n                \"reference_no\": null,\n                \"fin_account_no\": null,\n                \"description\": \"This is a demo client\",\n                \"partner\": {\n                    \"id\": 1,\n                    \"name\": \"Demo Partner\"\n                },\n                \"agency\": {\n                    \"id\": 1,\n                    \"name\": \"Demo Agency\"\n                },\n                \"created_at\": \"2020-02-12T19:44:56+02:00\",\n                \"updated_at\": \"2025-01-30T10:14:37+02:00\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Demo Client B\",\n                \"reference_no\": null,\n                \"fin_account_no\": null,\n                \"description\": \"This is a demo client\",\n                \"partner\": {\n                    \"id\": 1,\n                    \"name\": \"Demo Partner\"\n                },\n                \"agency\": {\n                    \"id\": 1,\n                    \"name\": \"Demo Agency\"\n                },\n                \"created_at\": \"2020-02-17T16:34:13+02:00\",\n                \"updated_at\": \"2025-02-06T14:57:58+02:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"fd6b0a6f-b160-46ab-ab8a-cf33e7d39cdc"}],"id":"3393e9b1-9e36-421e-aca8-aa406932437e","_postman_id":"3393e9b1-9e36-421e-aca8-aa406932437e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Authentication","item":[{"name":"Get Authentication Token","id":"947b4c63-b99b-429a-999b-0ab9777d01ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/auth/token","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","auth","token"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8d0dafd5-4035-4cb8-859c-de998c403c8d","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 11:50:28 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"token\": \"bearer token_key\"\n    }\n}"}],"_postman_id":"947b4c63-b99b-429a-999b-0ab9777d01ec"},{"name":"Request Submitted Registration","id":"74a399bb-92f7-4c65-be4c-4ddeb7ce1370","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/auth/registration/some_token","description":"<p>Requests the data for a previously submitted user registration.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","auth","registration","some_token"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"74a399bb-92f7-4c65-be4c-4ddeb7ce1370"},{"name":"User Login","event":[{"listen":"test","script":{"id":"1adc1f6c-5dcd-4b8b-badd-06584ebc2ed5","exec":["const authorizationHeader = pm.response.headers.find((el) => {","    return el.key === 'Authorization'","})","","// console.log(`DEBUG: authorizationHeader`, authorizationHeader)","","if (authorizationHeader && authorizationHeader.value) {","    // console.log(`DEBUG: Current bearer`, pm.environment.get(\"bearer\"))","","    const newBearer = authorizationHeader.value.replace(new RegExp('bearer ', 'gi'), '')","    // console.log(`DEBUG: New bearer`, newBearer)","","    pm.environment.set(\"bearer\", newBearer)","}",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"464cf9db-0de9-4937-970d-8cb88da794d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/auth/login","description":"<p>Performs a user login request. If successful an HTTP code <code>200 OK</code> will be returned together with a new authorization token. Look at the <code>Authorization</code> header in the response, it will contain something like <code>bearer eyJ0eXAiOiJKV1...</code>. </p>\n<blockquote>\n<p><strong>Important:</strong> This token must be cached by you and supplied with each subsequent requests to the API through the <code>Authorization</code> HTTP header.</p>\n</blockquote>\n<blockquote>\n<p><strong>Important:</strong> The token is refreshed every few minutes by the API server. When any request is made by you and you receive the <code>Authorization</code> header, update your cache with the new token and then send the new token with each subsequent request. The old token does not immediately expire and is valid for 7 days.</p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","auth","login"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"048d4f87-e061-4a3a-b00e-b9e0a5fb9fff","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Authorization","value":"bearer "},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 08:57:10 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"X-Debug-Php","value":"yes"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 810,\n        \"account_type\": {\n            \"id\": 10,\n            \"name\": \"Client: Full Package\",\n            \"description\": null,\n            \"access_level\": {\n                \"level\": 7,\n                \"name\": \"Client\"\n            },\n            \"product_code\": \"PROD/TRACK/001\",\n            \"created_at\": \"2020-02-12T15:54:26+02:00\",\n            \"updated_at\": \"2025-10-01T16:09:18+02:00\"\n        },\n        \"username\": \"jonathan.multi.client\",\n        \"email\": \"jonathan.multi.client@acmdestiny.net\",\n        \"title\": null,\n        \"first_name\": \"Jonathan Dev\",\n        \"last_name\": \"Multi Client\",\n        \"full_name\": \"Jonathan Dev Multi Client\",\n        \"position\": null,\n        \"employee_no\": null,\n        \"cellphone\": null,\n        \"national_id\": null,\n        \"timezone\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n        },\n        \"country\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"language\": {\n            \"EN\": \"English\"\n        },\n        \"logged_in\": true,\n        \"ip\": \"169.1.140.147\",\n        \"created_at\": \"2025-10-30T11:21:04+00:00\",\n        \"updated_at\": \"2025-10-30T11:22:23+00:00\",\n        \"accessed_at\": \"2025-11-11T09:16:20+00:00\",\n        \"accessed_route\": \"api/v1/auth/logout\",\n        \"pubsub\": {\n            \"enabled\": true,\n            \"uuid\": \"3477b683-09bd-4ecf-80ef-563612ace208\",\n            \"publish_key\": \"pub-c-967e4919-7f68-4894-9ae0-cd40ad997c01\",\n            \"subscribe_key\": \"sub-c-b7e98078-37fd-11e8-a218-f214888d2de6\",\n            \"sub_channels\": [\n                \"3477b683-09bd-4ecf-80ef-563612ace208\",\n                \"aa87fbbf-c371-49ea-b7dc-e955d4b94462\"\n            ]\n        },\n        \"filestack\": {\n            \"url\": \"https://www.filestackapi.com/api/store/S3\",\n            \"api_key\": \"AMd29LFq4SrCjtN1n5Na4z\"\n        },\n        \"google\": {\n            \"maps\": {\n                \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                \"api_key\": \"AIzaSyDw-OnQah0ou75lBbyTJqwJeGHGblukasM\",\n                \"client_id\": \"\"\n            }\n        },\n        \"sse\": {\n            \"url\": \"https://www.acmdestiny.net/sse/\",\n            \"telemetry_url\": \"https://www.acmdestiny.net/sse/telemetry/\",\n            \"notify_url\": \"https://www.acmdestiny.net/sse/notify/\"\n        },\n        \"user_photo_urls\": {\n            \"photo\": \"https://cdn.filestackcontent.com/GAGFqKhNSYaa49NFiF3P\",\n            \"profile_large\": \"https://cdn.filestackcontent.com/resize=width:400,height:400,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n            \"profile_medium\": \"https://cdn.filestackcontent.com/resize=width:250,height:250,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n            \"profile_small\": \"https://cdn.filestackcontent.com/resize=width:150,height:150,fit:crop/GAGFqKhNSYaa49NFiF3P\"\n        },\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"ACMGroup (Pty) Ltd\"\n        },\n        \"agency\": {\n            \"id\": 1,\n            \"name\": \"ACM Technology\"\n        },\n        \"clients\": [\n            {\n                \"id\": 707,\n                \"name\": \"ACM Track Fleet\"\n            },\n            {\n                \"id\": 12,\n                \"name\": \"Christiaan Pieters\"\n            }\n        ],\n        \"settings\": {\n            \"default\": true\n        },\n        \"permissions\": {\n            \"users\": {\n                \"title\": \"Users\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"partners\": {\n                \"title\": \"Partners\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"agencies\": {\n                \"title\": \"Agencies\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"clients\": {\n                \"title\": \"Clients\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    },\n                    \"asset_transfer\": {\n                        \"title\": \"Asset Transfers\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"user_profile\": {\n                \"title\": \"User Profile\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_groups\": {\n                \"title\": \"Unit Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_commands\": {\n                \"title\": \"Unit Commands\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    },\n                    \"manage_permissions\": {\n                        \"title\": \"Manage Permissions\",\n                        \"allow\": false\n                    },\n                    \"send_commands\": {\n                        \"title\": \"Send Commands\",\n                        \"allow\": false\n                    },\n                    \"view_command_logs\": {\n                        \"title\": \"View Command Logs\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"units\": {\n                \"title\": \"Units\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    },\n                    \"units_basic_edit\": {\n                        \"title\": \"Basic Unit Editing\",\n                        \"allow\": false\n                    },\n                    \"units_technical\": {\n                        \"title\": \"Technical Access\",\n                        \"allow\": false\n                    },\n                    \"unit_swapping\": {\n                        \"title\": \"Unit Swapping\",\n                        \"allow\": false\n                    },\n                    \"assign_sim_cards\": {\n                        \"title\": \"Assign SIM Cards\",\n                        \"allow\": false\n                    },\n                    \"units_transfer\": {\n                        \"title\": \"Unit Transfers\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"unit_cfg_templates\": {\n                \"title\": \"Unit Config Templates\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"maps\": {\n                \"title\": \"Map Features\",\n                \"actions\": {\n                    \"map_safe_zones\": {\n                        \"title\": \"Safe Zones\",\n                        \"allow\": true\n                    },\n                    \"map_location_finding\": {\n                        \"title\": \"Location Finding\",\n                        \"allow\": true\n                    },\n                    \"map_directions\": {\n                        \"title\": \"Directions\",\n                        \"allow\": true\n                    },\n                    \"map_markers\": {\n                        \"title\": \"Markers\",\n                        \"allow\": true\n                    },\n                    \"map_routing\": {\n                        \"title\": \"Routing\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"vehicles\": {\n                \"title\": \"Vehicles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"vehicles_admin_edit\": {\n                        \"title\": \"Vehicle Admin Editing\",\n                        \"allow\": false\n                    },\n                    \"vehicles_technical_edit\": {\n                        \"title\": \"Vehicle Technical Editing\",\n                        \"allow\": false\n                    },\n                    \"vehicles_basic_edit\": {\n                        \"title\": \"Vehicle Basic Editing\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    },\n                    \"assign_units\": {\n                        \"title\": \"Assign Units\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicle_groups\": {\n                \"title\": \"Vehicle Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"vehicle_expenses\": {\n                \"title\": \"Vehicle Expenses\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"drivers\": {\n                \"title\": \"Drivers\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"sim_cards\": {\n                \"title\": \"SIM Cards\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"gdspo\": {\n                \"title\": \"GDSPO Sim Cards\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"api_bridges_webfleet\": {\n                \"title\": \"Webfleet API Bridges\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"api_bridges_rabbitmq\": {\n                \"title\": \"RabbitMQ API Bridges\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"global_zones\": {\n                \"title\": \"Global Zones\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"client_zones\": {\n                \"title\": \"Client Zones\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_history\": {\n                \"title\": \"History & Debrief Reports\",\n                \"actions\": {\n                    \"debrief_detailed\": {\n                        \"title\": \"Debrief Detailed\",\n                        \"allow\": true\n                    },\n                    \"debrief_summary\": {\n                        \"title\": \"Debrief Summary\",\n                        \"allow\": true\n                    },\n                    \"vehicle_analysis\": {\n                        \"title\": \"Vehicle Analysis\",\n                        \"allow\": true\n                    },\n                    \"vehicle_speeding\": {\n                        \"title\": \"Vehicle Speeding\",\n                        \"allow\": true\n                    },\n                    \"position_log\": {\n                        \"title\": \"Position Log\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_status\": {\n                \"title\": \"Status Reports\",\n                \"actions\": {\n                    \"status_units_detailed\": {\n                        \"title\": \"Unit Status Detailed\",\n                        \"allow\": true\n                    },\n                    \"status_units_summary\": {\n                        \"title\": \"Unit Status Summary\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_management\": {\n                \"title\": \"Management Reports\",\n                \"actions\": {\n                    \"vehicle_expenses\": {\n                        \"title\": \"Vehicle Expenditures\",\n                        \"allow\": true\n                    },\n                    \"vehicle_maintenance\": {\n                        \"title\": \"Vehicle Maintenance\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_events\": {\n                \"title\": \"Event Reports\",\n                \"actions\": {\n                    \"events_detailed\": {\n                        \"title\": \"Detailed Events\",\n                        \"allow\": true\n                    },\n                    \"events_summary\": {\n                        \"title\": \"Events Summary\",\n                        \"allow\": true\n                    },\n                    \"event_pool_report\": {\n                        \"title\": \"Event Pool Report\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"event_profiles_monitored\": {\n                \"title\": \"Monitored Event Profiles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"event_profiles_client\": {\n                \"title\": \"Client Event Profiles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"event_pools\": {\n                \"title\": \"Event Pools\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"client_poi\": {\n                \"title\": \"Client Points of Interest\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            }\n        },\n        \"photos\": [\n            {\n                \"id\": 1625,\n                \"type\": \"photo\",\n                \"url\": \"https://cdn.filestackcontent.com/GAGFqKhNSYaa49NFiF3P\",\n                \"filename\": \"generic-user-photo.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2025-10-30T13:22:23+02:00\"\n            },\n            {\n                \"id\": 1626,\n                \"type\": \"profile_large\",\n                \"url\": \"https://cdn.filestackcontent.com/resize=width:400,height:400,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n                \"filename\": \"user-profile-large.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2025-10-30T13:22:23+02:00\"\n            },\n            {\n                \"id\": 1627,\n                \"type\": \"profile_medium\",\n                \"url\": \"https://cdn.filestackcontent.com/resize=width:250,height:250,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n                \"filename\": \"user-profile-medium.png\",\n                \"size_bytes\": 7951,\n                \"created_at\": \"2025-10-30T13:22:23+02:00\"\n            },\n            {\n                \"id\": 1628,\n                \"type\": \"profile_small\",\n                \"url\": \"https://cdn.filestackcontent.com/resize=width:150,height:150,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n                \"filename\": \"user-profile-small.png\",\n                \"size_bytes\": 4432,\n                \"created_at\": \"2025-10-30T13:22:23+02:00\"\n            }\n        ]\n    }\n}"},{"id":"1d03ddfe-4c7a-4985-885f-033f1bfa7b0f","name":"425 User Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"bad username\",\n    \"password\": \"bad password\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/auth/login"},"status":"User Not Found","code":425,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"WWW-Authenticate","value":"FormBased"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 09:40:54 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"X-Debug-Php","value":"yes"}],"cookie":[],"responseTime":null,"body":"{\n    \"warn_fields\": [\n        {\n            \"username\": \"The username or email address could not be found on the system.\"\n        }\n    ]\n}"},{"id":"4ef5e327-4709-4618-9844-2f1b1341ae3a","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"{{username}}\",\n    \"password\": \"bad password\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/auth/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"WWW-Authenticate","value":"FormBased"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 09:44:39 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"X-Debug-Php","value":"yes"}],"cookie":[],"responseTime":null,"body":"{\n    \"warn_fields\": [\n        {\n            \"password\": \"An incorrect password was provided for the username: demo.\"\n        }\n    ]\n}"},{"id":"b56af294-cf5c-40cf-b527-0829bb5eb54c","name":"200 OK (Partners, Agency, Clients)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{http}}://{{domain}}/api/v1/auth/login","protocol":"{{http}}","host":["{{domain}}"],"path":["api","v1","auth","login"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.23.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuYWNtZGVzdGlueS5uZXQiLCJpYXQiOjE3NjI3ODgxNDEsIm5iZiI6MTc2Mjc4ODE0MSwiZXhwIjoxNzYyNzg4NzQxLCJzdWIiOiI5IiwiZW1sIjoiamFzb25Ac2Nob2VtYW4ubWUiLCJvYXQiOjE3NjI3ODgxNDF9.TkGK-SXSU_ZSPI3_gwsH1DgjFuP18hgwzcCK7AOFO9E"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 10 Nov 2025 15:22:21 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 9,\n        \"account_type\": {\n            \"id\": 2,\n            \"name\": \"ACMGroup: Top Management\",\n            \"description\": \"ACMGroup (Pty) Ltd top management.\",\n            \"access_level\": {\n                \"level\": 2,\n                \"name\": \"ACMGroup [Management]\"\n            },\n            \"product_code\": null,\n            \"created_at\": \"2020-02-12T15:54:25+02:00\",\n            \"updated_at\": \"2025-10-21T09:38:34+02:00\"\n        },\n        \"username\": \"jason\",\n        \"email\": \"jason@schoeman.me\",\n        \"title\": \"Mr\",\n        \"first_name\": \"Jason\",\n        \"last_name\": \"Schoeman\",\n        \"full_name\": \"Jason Schoeman\",\n        \"position\": null,\n        \"employee_no\": null,\n        \"cellphone\": null,\n        \"national_id\": null,\n        \"timezone\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n        },\n        \"country\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"language\": {\n            \"EN\": \"English\"\n        },\n        \"logged_in\": true,\n        \"ip\": \"54.86.50.139\",\n        \"created_at\": \"2020-02-12T16:42:27+00:00\",\n        \"updated_at\": \"2023-06-23T09:23:51+00:00\",\n        \"accessed_at\": \"2025-11-10T15:22:21+00:00\",\n        \"accessed_route\": \"api/v1/units/comms-status/summary/totals\",\n        \"pubsub\": {\n            \"enabled\": true,\n            \"uuid\": \"72e81470-14fa-4769-b91f-e0c8737292b7\",\n            \"publish_key\": \"pub-c-967e4919-7f68-4894-9ae0-cd40ad997c01\",\n            \"subscribe_key\": \"sub-c-b7e98078-37fd-11e8-a218-f214888d2de6\",\n            \"sub_channels\": [\n                \"72e81470-14fa-4769-b91f-e0c8737292b7\",\n                \"afd9895f-ec83-434f-9501-4df26cf7d994\"\n            ]\n        },\n        \"filestack\": {\n            \"url\": \"https://www.filestackapi.com/api/store/S3\",\n            \"api_key\": \"AMd29LFq4SrCjtN1n5Na4z\"\n        },\n        \"google\": {\n            \"maps\": {\n                \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                \"api_key\": \"AIzaSyDw-OnQah0ou75lBbyTJqwJeGHGblukasM\",\n                \"client_id\": \"\"\n            }\n        },\n        \"sse\": {\n            \"url\": \"https://www.acmdestiny.net/sse/\",\n            \"telemetry_url\": \"https://www.acmdestiny.net/sse/telemetry/\",\n            \"notify_url\": \"https://www.acmdestiny.net/sse/notify/\"\n        },\n        \"user_photo_urls\": {\n            \"photo\": \"https://cdn.filestackcontent.com/GAGFqKhNSYaa49NFiF3P\",\n            \"profile_large\": \"https://cdn.filestackcontent.com/resize=width:400,height:400,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n            \"profile_medium\": \"https://cdn.filestackcontent.com/resize=width:250,height:250,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n            \"profile_small\": \"https://cdn.filestackcontent.com/resize=width:150,height:150,fit:crop/GAGFqKhNSYaa49NFiF3P\"\n        },\n        \"partner\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"clients\": [],\n        \"settings\": {\n            \"default\": false,\n            \"fleet_track_open\": false,\n            \"google_map_type_id\": \"roadmap\",\n            \"fleet_track_client_id\": 849,\n            \"fleet_track_client_name\": \"First Help - Help Secure - Area A\"\n        },\n        \"permissions\": {\n            \"users\": {\n                \"title\": \"Users\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"partners\": {\n                \"title\": \"Partners\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"agencies\": {\n                \"title\": \"Agencies\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"clients\": {\n                \"title\": \"Clients\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"asset_transfer\": {\n                        \"title\": \"Asset Transfers\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"user_profile\": {\n                \"title\": \"User Profile\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_groups\": {\n                \"title\": \"Unit Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_commands\": {\n                \"title\": \"Unit Commands\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"manage_permissions\": {\n                        \"title\": \"Manage Permissions\",\n                        \"allow\": true\n                    },\n                    \"send_commands\": {\n                        \"title\": \"Send Commands\",\n                        \"allow\": true\n                    },\n                    \"view_command_logs\": {\n                        \"title\": \"View Command Logs\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"units\": {\n                \"title\": \"Units\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"units_basic_edit\": {\n                        \"title\": \"Basic Unit Editing\",\n                        \"allow\": false\n                    },\n                    \"units_technical\": {\n                        \"title\": \"Technical Access\",\n                        \"allow\": true\n                    },\n                    \"unit_swapping\": {\n                        \"title\": \"Unit Swapping\",\n                        \"allow\": true\n                    },\n                    \"assign_sim_cards\": {\n                        \"title\": \"Assign SIM Cards\",\n                        \"allow\": true\n                    },\n                    \"units_transfer\": {\n                        \"title\": \"Unit Transfers\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"unit_cfg_templates\": {\n                \"title\": \"Unit Config Templates\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"maps\": {\n                \"title\": \"Map Features\",\n                \"actions\": {\n                    \"map_safe_zones\": {\n                        \"title\": \"Safe Zones\",\n                        \"allow\": false\n                    },\n                    \"map_location_finding\": {\n                        \"title\": \"Location Finding\",\n                        \"allow\": false\n                    },\n                    \"map_directions\": {\n                        \"title\": \"Directions\",\n                        \"allow\": false\n                    },\n                    \"map_markers\": {\n                        \"title\": \"Markers\",\n                        \"allow\": false\n                    },\n                    \"map_routing\": {\n                        \"title\": \"Routing\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicles\": {\n                \"title\": \"Vehicles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"vehicles_admin_edit\": {\n                        \"title\": \"Vehicle Admin Editing\",\n                        \"allow\": true\n                    },\n                    \"vehicles_technical_edit\": {\n                        \"title\": \"Vehicle Technical Editing\",\n                        \"allow\": false\n                    },\n                    \"vehicles_basic_edit\": {\n                        \"title\": \"Vehicle Basic Editing\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"assign_units\": {\n                        \"title\": \"Assign Units\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"vehicle_groups\": {\n                \"title\": \"Vehicle Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"vehicle_expenses\": {\n                \"title\": \"Vehicle Expenses\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"drivers\": {\n                \"title\": \"Drivers\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"sim_cards\": {\n                \"title\": \"SIM Cards\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"gdspo\": {\n                \"title\": \"GDSPO Sim Cards\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"api_bridges_webfleet\": {\n                \"title\": \"Webfleet API Bridges\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"api_bridges_rabbitmq\": {\n                \"title\": \"RabbitMQ API Bridges\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"global_zones\": {\n                \"title\": \"Global Zones\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"client_zones\": {\n                \"title\": \"Client Zones\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_history\": {\n                \"title\": \"History & Debrief Reports\",\n                \"actions\": {\n                    \"debrief_detailed\": {\n                        \"title\": \"Debrief Detailed\",\n                        \"allow\": true\n                    },\n                    \"debrief_summary\": {\n                        \"title\": \"Debrief Summary\",\n                        \"allow\": true\n                    },\n                    \"vehicle_analysis\": {\n                        \"title\": \"Vehicle Analysis\",\n                        \"allow\": true\n                    },\n                    \"vehicle_speeding\": {\n                        \"title\": \"Vehicle Speeding\",\n                        \"allow\": true\n                    },\n                    \"position_log\": {\n                        \"title\": \"Position Log\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_status\": {\n                \"title\": \"Status Reports\",\n                \"actions\": {\n                    \"status_units_detailed\": {\n                        \"title\": \"Unit Status Detailed\",\n                        \"allow\": true\n                    },\n                    \"status_units_summary\": {\n                        \"title\": \"Unit Status Summary\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_management\": {\n                \"title\": \"Management Reports\",\n                \"actions\": {\n                    \"vehicle_expenses\": {\n                        \"title\": \"Vehicle Expenditures\",\n                        \"allow\": true\n                    },\n                    \"vehicle_maintenance\": {\n                        \"title\": \"Vehicle Maintenance\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"reports_events\": {\n                \"title\": \"Event Reports\",\n                \"actions\": {\n                    \"events_detailed\": {\n                        \"title\": \"Detailed Events\",\n                        \"allow\": true\n                    },\n                    \"events_summary\": {\n                        \"title\": \"Events Summary\",\n                        \"allow\": true\n                    },\n                    \"event_pool_report\": {\n                        \"title\": \"Event Pool Report\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"event_profiles_monitored\": {\n                \"title\": \"Monitored Event Profiles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"event_profiles_client\": {\n                \"title\": \"Client Event Profiles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"event_pools\": {\n                \"title\": \"Event Pools\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"client_poi\": {\n                \"title\": \"Client Points of Interest\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            }\n        },\n        \"photos\": [\n            {\n                \"id\": 621,\n                \"type\": \"photo\",\n                \"url\": \"https://cdn.filestackcontent.com/GAGFqKhNSYaa49NFiF3P\",\n                \"filename\": \"generic-user-photo.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2023-06-23T11:23:51+02:00\"\n            },\n            {\n                \"id\": 622,\n                \"type\": \"profile_large\",\n                \"url\": \"https://cdn.filestackcontent.com/resize=width:400,height:400,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n                \"filename\": \"user-profile-large.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2023-06-23T11:23:51+02:00\"\n            },\n            {\n                \"id\": 623,\n                \"type\": \"profile_medium\",\n                \"url\": \"https://cdn.filestackcontent.com/resize=width:250,height:250,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n                \"filename\": \"user-profile-medium.png\",\n                \"size_bytes\": 7951,\n                \"created_at\": \"2023-06-23T11:23:51+02:00\"\n            },\n            {\n                \"id\": 624,\n                \"type\": \"profile_small\",\n                \"url\": \"https://cdn.filestackcontent.com/resize=width:150,height:150,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n                \"filename\": \"user-profile-small.png\",\n                \"size_bytes\": 4432,\n                \"created_at\": \"2023-06-23T11:23:51+02:00\"\n            }\n        ],\n        \"websentinel_url\": \"https://www.websentinel.app\",\n        \"acms_url\": null,\n        \"fota\": {\n            \"url\": \"https://api.teltonika.lt\",\n            \"api_key\": \"3903|5zJ2dLETTbEXEXSI7zCG4x8rHy7zHN3gpveFkxcM\"\n        }\n    }\n}"},{"id":"c6b5bf26-eecc-44b1-affb-62a1bfd3111c","name":"User Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{http}}://{{domain}}/api/v1/auth/login","protocol":"{{http}}","host":["{{domain}}"],"path":["api","v1","auth","login"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.23.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuYWNtZGVzdGlueS5uZXQiLCJpYXQiOjE3NzgyMzE5ODEsIm5iZiI6MTc3ODIzMTk4MSwiZXhwIjoxNzc4MjMyNTgxLCJzdWIiOiI5IiwiZW1sIjoiamFzb25Ac2Nob2VtYW4ubWUiLCJvYXQiOjE3NzgyMzE5ODF9.QSHdyR7I9h7J4LcQYOlwlUHT6M1FHHa31wjCX9lAUEU"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 08 May 2026 09:19:41 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 9,\n        \"account_type\": {\n            \"id\": 2,\n            \"name\": \"ACMGroup: Top Management\",\n            \"description\": \"ACMGroup (Pty) Ltd top management.\",\n            \"access_level\": {\n                \"level\": 2,\n                \"name\": \"ACMGroup [Management]\"\n            },\n            \"product_code\": null,\n            \"created_at\": \"2020-02-12T15:54:25+02:00\",\n            \"updated_at\": \"2025-11-11T16:54:56+02:00\"\n        },\n        \"username\": \"jason\",\n        \"email\": \"jason@schoeman.me\",\n        \"title\": \"Mr\",\n        \"first_name\": \"Jason\",\n        \"last_name\": \"Schoeman\",\n        \"full_name\": \"Jason Schoeman\",\n        \"position\": \"Indpenendent Consultant\",\n        \"employee_no\": \"00001\",\n        \"cellphone\": \"0760810777\",\n        \"national_id\": \"7905105108081\",\n        \"timezone\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n        },\n        \"country\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"language\": {\n            \"EN\": \"English\"\n        },\n        \"logged_in\": true,\n        \"ip\": \"54.86.50.139\",\n        \"created_at\": \"2020-02-12T16:42:27+00:00\",\n        \"updated_at\": \"2025-12-16T13:19:47+00:00\",\n        \"accessed_at\": \"2026-05-08T09:19:41+00:00\",\n        \"accessed_route\": \"api/v1/clients/292\",\n        \"pubsub\": {\n            \"enabled\": true,\n            \"uuid\": \"72e81470-14fa-4769-b91f-e0c8737292b7\",\n            \"publish_key\": \"pub-c-967e4919-7f68-4894-9ae0-cd40ad997c01\",\n            \"subscribe_key\": \"sub-c-b7e98078-37fd-11e8-a218-f214888d2de6\",\n            \"sub_channels\": [\n                \"72e81470-14fa-4769-b91f-e0c8737292b7\",\n                \"afd9895f-ec83-434f-9501-4df26cf7d994\"\n            ]\n        },\n        \"filestack\": {\n            \"url\": \"https://www.filestackapi.com/api/store/S3\",\n            \"api_key\": \"AMd29LFq4SrCjtN1n5Na4z\"\n        },\n        \"google\": {\n            \"maps\": {\n                \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                \"api_key\": \"AIzaSyDw-OnQah0ou75lBbyTJqwJeGHGblukasM\",\n                \"client_id\": \"\"\n            }\n        },\n        \"sse\": {\n            \"url\": \"https://www.acmdestiny.net/sse/\",\n            \"telemetry_url\": \"https://www.acmdestiny.net/sse/telemetry/\",\n            \"notify_url\": \"https://www.acmdestiny.net/sse/notify/\"\n        },\n        \"user_photo_urls\": {\n            \"photo\": \"https://cdn.filestackcontent.com/GAGFqKhNSYaa49NFiF3P\",\n            \"profile_large\": \"https://cdn.filestackcontent.com/resize=width:400,height:400,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n            \"profile_medium\": \"https://cdn.filestackcontent.com/resize=width:250,height:250,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n            \"profile_small\": \"https://cdn.filestackcontent.com/resize=width:150,height:150,fit:crop/GAGFqKhNSYaa49NFiF3P\"\n        },\n        \"partner\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"clients\": [],\n        \"settings\": {\n            \"test\": \"Testing\",\n            \"theme\": \"fooTheme\",\n            \"default\": false,\n            \"someArray\": [\n                \"foo\",\n                \"bar\"\n            ],\n            \"someObject\": {\n                \"data\": \"someData\"\n            },\n            \"appearance_theme\": \"system\",\n            \"fleet_track_open\": false,\n            \"general_currency\": \"USD\",\n            \"general_language\": \"en\",\n            \"general_timezone\": \"UTC\",\n            \"dashboard_widgets\": [],\n            \"vehicles_mapStyle\": \"streets\",\n            \"appearance_density\": \"comfortable\",\n            \"general_dateFormat\": \"MM/DD/YYYY\",\n            \"general_timeFormat\": \"24h\",\n            \"google_map_type_id\": \"roadmap\",\n            \"vehicles_speedUnit\": \"kmh\",\n            \"appearance_fontSize\": \"medium\",\n            \"notifications_types\": {\n                \"message\": true,\n                \"success\": true,\n                \"warning\": true,\n                \"critical\": true\n            },\n            \"vehicles_showLabels\": true,\n            \"general_numberFormat\": \"en-US\",\n            \"reports_autoGenerate\": false,\n            \"vehicles_defaultZoom\": 19,\n            \"vehicles_mapProvider\": \"mapbox\",\n            \"vehicles_showTraffic\": false,\n            \"dashboard_autoRefresh\": true,\n            \"dashboard_defaultView\": \"grid\",\n            \"fleet_track_client_id\": 849,\n            \"notifications_enabled\": true,\n            \"reports_defaultFormat\": \"pdf\",\n            \"reports_includeCharts\": true,\n            \"vehicles_distanceUnit\": \"km\",\n            \"vehicles_mapStyleDark\": \"dark\",\n            \"dashboard_itemsPerPage\": 25,\n            \"general_firstDayOfWeek\": 0,\n            \"privacy_sessionTimeout\": 0,\n            \"privacy_shareAnalytics\": false,\n            \"privacy_shareUsageData\": false,\n            \"reports_includeDetails\": true,\n            \"vehicles_mapStyleLight\": \"streets\",\n            \"fleet_track_client_name\": \"First Help - Help Secure - Area A\",\n            \"privacy_rememberFilters\": true,\n            \"vehicles_defaultMapType\": \"roadmap\",\n            \"vehicles_showDriverInfo\": true,\n            \"vehicles_showSpeedLimit\": false,\n            \"reports_defaultDateRange\": \"week\",\n            \"vehicles_mapProviderDark\": \"mapbox\",\n            \"dashboard_refreshInterval\": 60,\n            \"dashboard_showActiveTrips\": true,\n            \"vehicles_autoSelectClient\": true,\n            \"vehicles_mapProviderLight\": \"mapbox\",\n            \"notifications_autoMarkRead\": false,\n            \"notifications_criticalOnly\": false,\n            \"notifications_soundEnabled\": true,\n            \"privacy_rememberLastClient\": true,\n            \"appearance_sidebarCollapsed\": false,\n            \"appearance_animationsEnabled\": true,\n            \"dashboard_showParkedVehicles\": true,\n            \"notifications_refreshInterval\": 60,\n            \"notifications_emailNotifications\": false,\n            \"notifications_desktopNotifications\": true\n        },\n        \"permissions\": {\n            \"users\": {\n                \"title\": \"Users\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"partners\": {\n                \"title\": \"Partners\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"agencies\": {\n                \"title\": \"Agencies\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"clients\": {\n                \"title\": \"Clients\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"asset_transfer\": {\n                        \"title\": \"Asset Transfers\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"user_profile\": {\n                \"title\": \"User Profile\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_groups\": {\n                \"title\": \"Unit Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_commands\": {\n                \"title\": \"Unit Commands\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"manage_permissions\": {\n                        \"title\": \"Manage Permissions\",\n                        \"allow\": true\n                    },\n                    \"send_commands\": {\n                        \"title\": \"Send Commands\",\n                        \"allow\": true\n                    },\n                    \"view_command_logs\": {\n                        \"title\": \"View Command Logs\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"units\": {\n                \"title\": \"Units\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"units_basic_edit\": {\n                        \"title\": \"Basic Unit Editing\",\n                        \"allow\": false\n                    },\n                    \"units_technical\": {\n                        \"title\": \"Technical Access\",\n                        \"allow\": true\n                    },\n                    \"unit_swapping\": {\n                        \"title\": \"Unit Swapping\",\n                        \"allow\": true\n                    },\n                    \"assign_sim_cards\": {\n                        \"title\": \"Assign SIM Cards\",\n                        \"allow\": true\n                    },\n                    \"units_transfer\": {\n                        \"title\": \"Unit Transfers\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"unit_cfg_templates\": {\n                \"title\": \"Unit Config Templates\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"maps\": {\n                \"title\": \"Map Features\",\n                \"actions\": {\n                    \"map_safe_zones\": {\n                        \"title\": \"Safe Zones\",\n                        \"allow\": false\n                    },\n                    \"map_location_finding\": {\n                        \"title\": \"Location Finding\",\n                        \"allow\": false\n                    },\n                    \"map_directions\": {\n                        \"title\": \"Directions\",\n                        \"allow\": false\n                    },\n                    \"map_markers\": {\n                        \"title\": \"Markers\",\n                        \"allow\": false\n                    },\n                    \"map_routing\": {\n                        \"title\": \"Routing\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicles\": {\n                \"title\": \"Vehicles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"vehicles_admin_edit\": {\n                        \"title\": \"Vehicle Admin Editing\",\n                        \"allow\": true\n                    },\n                    \"vehicles_technical_edit\": {\n                        \"title\": \"Vehicle Technical Editing\",\n                        \"allow\": false\n                    },\n                    \"vehicles_basic_edit\": {\n                        \"title\": \"Vehicle Basic Editing\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"assign_units\": {\n                        \"title\": \"Assign Units\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"vehicle_groups\": {\n                \"title\": \"Vehicle Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"vehicle_expenses\": {\n                \"title\": \"Vehicle Expenses\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"drivers\": {\n                \"title\": \"Drivers\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"sim_cards\": {\n                \"title\": \"SIM Cards\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"gdspo\": {\n                \"title\": \"GDSPO Sim Cards\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"api_bridges_webfleet\": {\n                \"title\": \"Webfleet API Bridges\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"api_bridges_rabbitmq\": {\n                \"title\": \"RabbitMQ API Bridges\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"global_zones\": {\n                \"title\": \"Global Zones\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"client_zones\": {\n                \"title\": \"Client Zones\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_history\": {\n                \"title\": \"History & Debrief Reports\",\n                \"actions\": {\n                    \"debrief_detailed\": {\n                        \"title\": \"Debrief Detailed\",\n                        \"allow\": true\n                    },\n                    \"debrief_summary\": {\n                        \"title\": \"Debrief Summary\",\n                        \"allow\": true\n                    },\n                    \"vehicle_analysis\": {\n                        \"title\": \"Vehicle Analysis\",\n                        \"allow\": true\n                    },\n                    \"vehicle_speeding\": {\n                        \"title\": \"Vehicle Speeding\",\n                        \"allow\": true\n                    },\n                    \"position_log\": {\n                        \"title\": \"Position Log\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_status\": {\n                \"title\": \"Status Reports\",\n                \"actions\": {\n                    \"status_units_detailed\": {\n                        \"title\": \"Unit Status Detailed\",\n                        \"allow\": true\n                    },\n                    \"status_units_summary\": {\n                        \"title\": \"Unit Status Summary\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_management\": {\n                \"title\": \"Management Reports\",\n                \"actions\": {\n                    \"vehicle_expenses\": {\n                        \"title\": \"Vehicle Expenditures\",\n                        \"allow\": true\n                    },\n                    \"vehicle_maintenance\": {\n                        \"title\": \"Vehicle Maintenance\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"reports_events\": {\n                \"title\": \"Event Reports\",\n                \"actions\": {\n                    \"events_detailed\": {\n                        \"title\": \"Detailed Events\",\n                        \"allow\": true\n                    },\n                    \"events_summary\": {\n                        \"title\": \"Events Summary\",\n                        \"allow\": true\n                    },\n                    \"event_pool_report\": {\n                        \"title\": \"Event Pool Report\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"event_profiles_monitored\": {\n                \"title\": \"Monitored Event Profiles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"event_profiles_client\": {\n                \"title\": \"Client Event Profiles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"event_pools\": {\n                \"title\": \"Event Pools\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"client_poi\": {\n                \"title\": \"Client Points of Interest\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            }\n        },\n        \"photos\": [\n            {\n                \"id\": null,\n                \"type\": \"photo\",\n                \"url\": \"https://cdn.filestackcontent.com/GAGFqKhNSYaa49NFiF3P\",\n                \"filename\": \"generic-user-photo.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_large\",\n                \"url\": \"https://cdn.filestackcontent.com/resize=width:400,height:400,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n                \"filename\": \"user-profile-large.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_medium\",\n                \"url\": \"https://cdn.filestackcontent.com/resize=width:250,height:250,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n                \"filename\": \"user-profile-medium.png\",\n                \"size_bytes\": 7951,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_small\",\n                \"url\": \"https://cdn.filestackcontent.com/resize=width:150,height:150,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n                \"filename\": \"user-profile-small.png\",\n                \"size_bytes\": 4432,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            }\n        ],\n        \"websentinel_url\": \"https://www.websentinel.app\",\n        \"acms_url\": null,\n        \"fota\": {\n            \"url\": \"https://api.teltonika.lt\",\n            \"api_key\": \"3903|5zJ2dLETTbEXEXSI7zCG4x8rHy7zHN3gpveFkxcM\"\n        }\n    }\n}"}],"_postman_id":"464cf9db-0de9-4937-970d-8cb88da794d6"},{"name":"User Logout","id":"349f7d55-cdb5-4d9e-aec6-67279bc2abdc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{http}}://{{domain}}/api/v1/auth/logout","description":"<p>Log the user out.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","auth","logout"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8d12510f-15cb-46eb-9cd4-a272dc968dc2","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{http}}://{{domain}}/api/v1/auth/logout"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Authorization","value":"token"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 11:47:04 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n}"}],"_postman_id":"349f7d55-cdb5-4d9e-aec6-67279bc2abdc"},{"name":"WebSentinel Authentication","id":"aa9a4df2-ab6a-4100-b1a5-dc49c2722b05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{http}}://{{domain}}/api/v1/auth/websentinel/user","description":"<p>Authenticates a logged-in user with the WebSentinel service.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","auth","websentinel","user"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"2b93bd91-b5c8-4559-891a-b975b0a53386","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{http}}://{{domain}}/api/v1/auth/logout"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Authorization","value":"token"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 11:47:04 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n}"}],"_postman_id":"aa9a4df2-ab6a-4100-b1a5-dc49c2722b05"},{"name":"Password Reset Request","id":"52d39915-16d4-47a4-8a5c-a5241fbd3be6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"someone@somedomain.com\"\n}"},"url":"{{http}}://{{domain}}/api/v1/auth/pwd-reset-request","description":"<p>Performs a password reset request for the given email address.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","auth","pwd-reset-request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"52d39915-16d4-47a4-8a5c-a5241fbd3be6"},{"name":"Perform a Password Reset","id":"509de955-f585-42aa-b7ad-b3c5254aba86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"someone@somedomain.com\",\n    \"token\": \"paste_token_here\",\n    \"password\": \"12345678\",\n    \"repeat_password\": \"12345678\"\n}"},"url":"{{http}}://{{domain}}/api/v1/auth/pwd-reset","description":"<p>Performs a password reset based on the provided data.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","auth","pwd-reset"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"509de955-f585-42aa-b7ad-b3c5254aba86"},{"name":"Complete User Registration","id":"b1a8eec9-0cec-4c3c-91dc-ba519e7e5ee8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"some_token\",\n    \"first_name\": \"test.user\",\n\t\"username\": \"test.user\",\n\t\"password\": \"test.user\",\n\t\"repeat_password\": \"test.user\",\n\t\"full_name\": \"Test User\",\n\t\"email\": \"user.user@user.com\",\n\t\"timezone\": \"Africa/Johannesburg\",\n\t\"country\": \"ZA\",\n\t\"language\": \"EN\"\n}"},"url":"{{http}}://{{domain}}/api/v1/auth/registration","description":"<p>Provide a previous registration token and the users data to complete the user's registration process.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","auth","registration"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1a8eec9-0cec-4c3c-91dc-ba519e7e5ee8"},{"name":"User Permission Check","id":"839cdb63-5be7-41cb-9bac-724d86c1958f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/auth/permission/clients/action/view?partner_id={{partner_id}}&agency_id={{agency_id}}&client_id={{client_id}}","description":"<p>Performs an organizational check for the logged in user. This includes a check whether a GET/POST/PUT/DELETE request can be performed on the supplied partner, agency or client. For convenience this request will return the user's primary details along with the user's permissions.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","auth","permission","clients","action","view"],"host":["{{domain}}"],"query":[{"key":"partner_id","value":"{{partner_id}}"},{"key":"agency_id","value":"{{agency_id}}"},{"key":"client_id","value":"{{client_id}}"}],"variable":[]}},"response":[{"id":"98f13e25-9208-4092-8140-2f3a6f634cee","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 11:50:28 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"token\": \"bearer token_key\"\n    }\n}"}],"_postman_id":"839cdb63-5be7-41cb-9bac-724d86c1958f"}],"id":"b964c6f6-2014-4b52-8a77-8190b9d4fc3f","description":"<p>Authentication related requests.</p>\n","_postman_id":"b964c6f6-2014-4b52-8a77-8190b9d4fc3f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Tests","item":[{"name":"Ping Test","id":"321e5107-23b6-4ee0-b275-b9a1090a6f76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/tests/ping","description":"<p>A request to see if the server responds to the requests.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","tests","ping"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"7e06ad88-76f6-47a2-b6ab-96da7a09fba9","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/tests/ping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 06:31:30 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"message\": \"pong\"\n    }\n}"}],"_postman_id":"321e5107-23b6-4ee0-b275-b9a1090a6f76"},{"name":"Server Error Test","id":"77ecf474-2648-48f0-9f47-53aa4da6343f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/tests/exception","description":"<p>A request to see if the server responds to the requests.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","tests","exception"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"d78c4212-9910-49f6-8380-04cdfee1e3d6","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/tests/ping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 06:31:30 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"message\": \"pong\"\n    }\n}"}],"_postman_id":"77ecf474-2648-48f0-9f47-53aa4da6343f"}],"id":"764eb5b4-9b6d-465e-8acd-38c815669385","description":"<p>Various API test requests.</p>\n","_postman_id":"764eb5b4-9b6d-465e-8acd-38c815669385","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Users","item":[{"name":"Get User","id":"215b341f-e2c9-484f-bec3-10b03776f565","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/users/16","description":"<p>Requests the data of a specific user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","16"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"16f44ca6-d32b-4d85-8dc0-426700e88782","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/users/16"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 06:59:13 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 16,\n        \"account_type\": {\n            \"id\": 13,\n            \"name\": \"Client: Free Package\",\n            \"description\": \"\",\n            \"access_level\": {\n                \"level\": 7,\n                \"name\": \"Client\"\n            },\n            \"product_code\": \"PROD/TRACK/004\",\n            \"created_at\": \"2021-01-11T11:51:42+02:00\",\n            \"updated_at\": null\n        },\n        \"username\": \"client\",\n        \"email\": \"client@client.email\",\n        \"title\": \"Mr\",\n        \"first_name\": \"Client\",\n        \"last_name\": null,\n        \"full_name\": \"Client\",\n        \"position\": null,\n        \"employee_no\": null,\n        \"cellphone\": null,\n        \"national_id\": null,\n        \"timezone\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n        },\n        \"country\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"language\": {\n            \"EN\": \"English\"\n        },\n        \"logged_in\": false,\n        \"ip\": null,\n        \"created_at\": \"2021-04-26T08:52:03+02:00\",\n        \"updated_at\": null,\n        \"accessed_at\": null,\n        \"accessed_route\": null,\n        \"pubsub\": {\n            \"enabled\": true,\n            \"publish_key\": \"key\",\n            \"subscribe_key\": \"key\",\n            \"sub_channels\": [\n                \"key\",\n                \"key\"\n            ]\n        },\n        \"filestack\": {\n            \"url\": \"https://www.filestackapi.com/api/store/S3\",\n            \"api_key\": \"key\"\n        },\n        \"google\": {\n            \"maps\": {\n                \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                \"api_key\": \"key\",\n                \"client_id\": \"\"\n            }\n        },\n        \"sse\": {\n            \"url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"telemetry_url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"notify_url\": \"http://www.dummydomain.com/sse/notify/\"\n        },\n        \"user_photo_urls\": {\n            \"photo\": \"url\",\n            \"profile_large\": \"url\",\n            \"profile_medium\": \"url\",\n            \"profile_small\": \"url\"\n        },\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"clients\": [\n            {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            }\n        ],\n        \"settings\": {\n            \"default\": true\n        },\n        \"permissions\": {\n            \"users\": {\n                \"title\": \"Users\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"partners\": {\n                \"title\": \"Partners\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"agencies\": {\n                \"title\": \"Agencies\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"clients\": {\n                \"title\": \"Clients\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"user_profile\": {\n                \"title\": \"User Profile\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_groups\": {\n                \"title\": \"Unit Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"units\": {\n                \"title\": \"Units\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    },\n                    \"units_basic_edit\": {\n                        \"title\": \"Basic Unit Editing\",\n                        \"allow\": true\n                    },\n                    \"units_technical\": {\n                        \"title\": \"Technical Access\",\n                        \"allow\": false\n                    },\n                    \"unit_swapping\": {\n                        \"title\": \"Unit Swapping\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"unit_cfg_templates\": {\n                \"title\": \"Unit Config Templates\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"maps\": {\n                \"title\": \"Map Features\",\n                \"actions\": {\n                    \"map_safe_zones\": {\n                        \"title\": \"Safe Zones\",\n                        \"allow\": false\n                    },\n                    \"map_location_finding\": {\n                        \"title\": \"Location Finding\",\n                        \"allow\": false\n                    },\n                    \"map_directions\": {\n                        \"title\": \"Directions\",\n                        \"allow\": false\n                    },\n                    \"map_markers\": {\n                        \"title\": \"Markers\",\n                        \"allow\": false\n                    },\n                    \"map_routing\": {\n                        \"title\": \"Routing\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicles\": {\n                \"title\": \"Vehicles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"assign_units\": {\n                        \"title\": \"Assign Units\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicle_groups\": {\n                \"title\": \"Vehicle Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"drivers\": {\n                \"title\": \"Drivers\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_history\": {\n                \"title\": \"History & Debrief Reports\",\n                \"actions\": {\n                    \"debrief_detailed\": {\n                        \"title\": \"Debrief Detailed\",\n                        \"allow\": false\n                    },\n                    \"debrief_summary\": {\n                        \"title\": \"Debrief Summary\",\n                        \"allow\": false\n                    },\n                    \"vehicle_analysis\": {\n                        \"title\": \"Vehicle Analysis\",\n                        \"allow\": false\n                    },\n                    \"position_log\": {\n                        \"title\": \"Position Log\",\n                        \"allow\": false\n                    },\n                    \"events_detailed\": {\n                        \"title\": \"Detailed Events\",\n                        \"allow\": false\n                    }\n                }\n            }\n        },\n        \"photos\": [\n            {\n                \"id\": null,\n                \"type\": \"photo\",\n                \"url\": \"url\",\n                \"filename\": \"generic-user-photo.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_large\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-large.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_medium\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-medium.png\",\n                \"size_bytes\": 7951,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_small\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-small.png\",\n                \"size_bytes\": 4432,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"215b341f-e2c9-484f-bec3-10b03776f565"},{"name":"Find User","id":"3f924087-a39a-401d-aaeb-f47b5822bf28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/users","description":"<p>Find and/or list users.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"d99cf71c-e443-48e2-b497-d07e12150300","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 07:12:45 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 16,\n            \"account_type\": {\n                \"id\": 13,\n                \"name\": \"Client: Free Package\",\n                \"access_level\": 7\n            },\n            \"username\": \"client\",\n            \"email\": \"client@client.email\",\n            \"title\": \"Mr\",\n            \"first_name\": \"Client\",\n            \"last_name\": null,\n            \"full_name\": \"Client\",\n            \"position\": null,\n            \"employee_no\": null,\n            \"cellphone\": null,\n            \"national_id\": null,\n            \"timezone\": {\n                \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n            },\n            \"country\": {\n                \"ZA\": \"South Africa\"\n            },\n            \"language\": {\n                \"EN\": \"English\"\n            },\n            \"logged_in\": false,\n            \"ip\": null,\n            \"created_at\": \"2021-04-26T08:52:03+02:00\",\n            \"updated_at\": null,\n            \"accessed_at\": null,\n            \"accessed_route\": null,\n            \"pubsub\": {\n                \"enabled\": true,\n                \"publish_key\": \"key\",\n                \"subscribe_key\": \"key\",\n                \"sub_channels\": [\n                    \"key\",\n                    \"key\"\n                ]\n            },\n            \"filestack\": {\n                \"url\": \"https://www.filestackapi.com/api/store/S3\",\n                \"api_key\": \"key\"\n            },\n            \"google\": {\n                \"maps\": {\n                    \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                    \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                    \"api_key\": \"key\",\n                    \"client_id\": \"\"\n                }\n            },\n            \"sse\": {\n                \"url\": \"http://www.dummydomain.com/sse/telemetry/\",\n                \"telemetry_url\": \"http://www.dummydomain.com/sse/telemetry/\",\n                \"notify_url\": \"http://www.dummydomain.com/sse/notify/\"\n            },\n            \"user_photo_urls\": {\n                \"photo\": \"url\",\n                \"profile_large\": \"url\",\n                \"profile_medium\": \"url\",\n                \"profile_small\": \"url\"\n            },\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency\": {\n                \"id\": null,\n                \"name\": null\n            },\n            \"clients\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Client Name\"\n                }\n            ]\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 16\n    }\n}"}],"_postman_id":"3f924087-a39a-401d-aaeb-f47b5822bf28"},{"name":"Find User Basic Details","id":"bcc1658c-9a29-4a80-b90c-a4c9d2071382","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/users/basic","description":"<p>Finds users and returns with basic details. Searchable fields are the <code>partner_id</code>, <code>agency_id</code>, <code>client_id</code>, <code>username</code>, <code>email</code> and <code>full_name</code>. Returns the username, email and full_name fields only.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","basic"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"269e213e-387f-4a9e-90e2-fc804f5ed023","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/users/basic"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 07:12:45 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"username\": \"johndoe\",\n            \"full_name\": \"John Doe\",\n            \"email\": \"john.doe@mail.com\"\n        },\n        {\n            \"id\": 2,\n            \"username\": \"janedoe\",\n            \"full_name\": \"Jane Doe\",\n            \"email\": \"jane.doe@mail.com\"\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 2\n    }\n}"}],"_postman_id":"bcc1658c-9a29-4a80-b90c-a4c9d2071382"},{"name":"Get User Listing","id":"d9218021-d767-433b-aeba-69050a7bf747","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/users/listing","description":"<p>Requests only the id and full name for all the available users with no pagination.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"624b9e48-3714-45c8-92aa-509b9d38fe98","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/users/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 07:19:40 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 16,\n            \"full_name\": \"Client\"\n        },\n        {\n            \"id\": 11,\n            \"full_name\": \"Demo Client\"\n        }\n    ]\n}"}],"_postman_id":"d9218021-d767-433b-aeba-69050a7bf747"},{"name":"Get User Create Form Data","id":"50e26a58-af4c-406a-9761-8a188fb4fc54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/users/create","description":"<p>Requests the data required for a form when creating a new user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"142ec81c-024a-46e7-a711-20f31ae27f45","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/users/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 07:20:28 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"12"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"account_types\": [\n            {\n                \"id\": 1,\n                \"name\": \"ACMGroup: System Administrator\",\n                \"access_level\": 1\n            },\n            {\n                \"id\": 2,\n                \"name\": \"ACMGroup: Top Management\",\n                \"access_level\": 2\n            },\n            {\n                \"id\": 3,\n                \"name\": \"ACMGroup: Sales\",\n                \"access_level\": 3\n            },\n            {\n                \"id\": 4,\n                \"name\": \"ACMGroup: Technical\",\n                \"access_level\": 3\n            },\n            {\n                \"id\": 5,\n                \"name\": \"Partner: Management\",\n                \"access_level\": 4\n            },\n            {\n                \"id\": 6,\n                \"name\": \"Partner: Sales\",\n                \"access_level\": 5\n            },\n            {\n                \"id\": 7,\n                \"name\": \"Partner: Technical\",\n                \"access_level\": 5\n            },\n            {\n                \"id\": 8,\n                \"name\": \"Distributor: Package A\",\n                \"access_level\": 6\n            },\n            {\n                \"id\": 9,\n                \"name\": \"Distributor: Package B\",\n                \"access_level\": 6\n            },\n            {\n                \"id\": 10,\n                \"name\": \"Client: Full Package\",\n                \"access_level\": 7\n            },\n            {\n                \"id\": 11,\n                \"name\": \"Client: Medium Package\",\n                \"access_level\": 7\n            },\n            {\n                \"id\": 12,\n                \"name\": \"Client: Low Package\",\n                \"access_level\": 7\n            },\n            {\n                \"id\": 13,\n                \"name\": \"Client: Free Package\",\n                \"access_level\": 7\n            }\n        ],\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            }\n        ],\n        \"agencies\": [\n            {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            }\n        ],\n        \"client_selection\": [\n            {\n                \"id\": 2,\n                \"name\": \"Agency Client Name\"\n            },\n            {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            }\n        ],\n        \"timezones\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\",\n            \"UTC\": \"UTC (GMT+00)\"\n        },\n        \"countries\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"languages\": {\n            \"EN\": \"English\"\n        }\n    }\n}"}],"_postman_id":"50e26a58-af4c-406a-9761-8a188fb4fc54"},{"name":"Get User Edit From Data","id":"c19a9ad9-a4f9-420f-a462-a5e07cd25fd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/users/16/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","16","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"a424b750-e6e5-4346-9f29-b6fa3a5317ea","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/users/16/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 06:52:26 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"X-RateLimit-Reset","value":"30"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 16,\n        \"account_type\": {\n            \"id\": 13,\n            \"name\": \"Client: Free Package\",\n            \"description\": \"\",\n            \"access_level\": {\n                \"level\": 7,\n                \"name\": \"Client\"\n            },\n            \"product_code\": \"PROD/TRACK/004\",\n            \"created_at\": \"2021-01-11T11:51:42+02:00\",\n            \"updated_at\": null\n        },\n        \"username\": \"client\",\n        \"email\": \"client@client.email\",\n        \"title\": \"Mr\",\n        \"first_name\": \"Client\",\n        \"last_name\": null,\n        \"full_name\": \"Client\",\n        \"position\": null,\n        \"employee_no\": null,\n        \"cellphone\": null,\n        \"national_id\": null,\n        \"timezone\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n        },\n        \"country\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"language\": {\n            \"EN\": \"English\"\n        },\n        \"logged_in\": false,\n        \"ip\": null,\n        \"created_at\": \"2021-04-26T08:52:03+02:00\",\n        \"updated_at\": null,\n        \"accessed_at\": null,\n        \"accessed_route\": null,\n        \"pubsub\": {\n            \"enabled\": true,\n            \"publish_key\": \"key\",\n            \"subscribe_key\": \"key\",\n            \"sub_channels\": [\n                \"key\",\n                \"key\"\n            ]\n        },\n        \"filestack\": {\n            \"url\": \"\",\n            \"api_key\": \"key\"\n        },\n        \"google\": {\n            \"maps\": {\n                \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                \"api_key\": \"key\",\n                \"client_id\": \"\"\n            }\n        },\n        \"sse\": {\n            \"url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"telemetry_url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"notify_url\": \"http://www.dummydomain.com/sse/notify/\"\n        },\n        \"user_photo_urls\": {\n            \"photo\": \"url\",\n            \"profile_large\": \"url\",\n            \"profile_medium\": \"url\",\n            \"profile_small\": \"url\"\n        },\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"clients\": [\n            {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            }\n        ],\n        \"settings\": {\n            \"default\": true\n        },\n        \"permissions\": {\n            \"users\": {\n                \"title\": \"Users\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"partners\": {\n                \"title\": \"Partners\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"agencies\": {\n                \"title\": \"Agencies\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"clients\": {\n                \"title\": \"Clients\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"user_profile\": {\n                \"title\": \"User Profile\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_groups\": {\n                \"title\": \"Unit Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"units\": {\n                \"title\": \"Units\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    },\n                    \"units_basic_edit\": {\n                        \"title\": \"Basic Unit Editing\",\n                        \"allow\": true\n                    },\n                    \"units_technical\": {\n                        \"title\": \"Technical Access\",\n                        \"allow\": false\n                    },\n                    \"unit_swapping\": {\n                        \"title\": \"Unit Swapping\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"unit_cfg_templates\": {\n                \"title\": \"Unit Config Templates\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"maps\": {\n                \"title\": \"Map Features\",\n                \"actions\": {\n                    \"map_safe_zones\": {\n                        \"title\": \"Safe Zones\",\n                        \"allow\": false\n                    },\n                    \"map_location_finding\": {\n                        \"title\": \"Location Finding\",\n                        \"allow\": false\n                    },\n                    \"map_directions\": {\n                        \"title\": \"Directions\",\n                        \"allow\": false\n                    },\n                    \"map_markers\": {\n                        \"title\": \"Markers\",\n                        \"allow\": false\n                    },\n                    \"map_routing\": {\n                        \"title\": \"Routing\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicles\": {\n                \"title\": \"Vehicles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"assign_units\": {\n                        \"title\": \"Assign Units\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicle_groups\": {\n                \"title\": \"Vehicle Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"drivers\": {\n                \"title\": \"Drivers\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_history\": {\n                \"title\": \"History & Debrief Reports\",\n                \"actions\": {\n                    \"debrief_detailed\": {\n                        \"title\": \"Debrief Detailed\",\n                        \"allow\": false\n                    },\n                    \"debrief_summary\": {\n                        \"title\": \"Debrief Summary\",\n                        \"allow\": false\n                    },\n                    \"vehicle_analysis\": {\n                        \"title\": \"Vehicle Analysis\",\n                        \"allow\": false\n                    },\n                    \"position_log\": {\n                        \"title\": \"Position Log\",\n                        \"allow\": false\n                    },\n                    \"events_detailed\": {\n                        \"title\": \"Detailed Events\",\n                        \"allow\": false\n                    }\n                }\n            }\n        },\n        \"photos\": [\n            {\n                \"id\": null,\n                \"type\": \"photo\",\n                \"url\": \"url\",\n                \"filename\": \"generic-user-photo.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_large\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-large.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_medium\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-medium.png\",\n                \"size_bytes\": 7951,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_small\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-small.png\",\n                \"size_bytes\": 4432,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            }\n        ],\n        \"account_types\": [\n            {\n                \"id\": 1,\n                \"name\": \"ACMGroup: System Administrator\",\n                \"access_level\": 1\n            },\n            {\n                \"id\": 2,\n                \"name\": \"ACMGroup: Top Management\",\n                \"access_level\": 2\n            },\n            {\n                \"id\": 3,\n                \"name\": \"ACMGroup: Sales\",\n                \"access_level\": 3\n            },\n            {\n                \"id\": 4,\n                \"name\": \"ACMGroup: Technical\",\n                \"access_level\": 3\n            },\n            {\n                \"id\": 5,\n                \"name\": \"Partner: Management\",\n                \"access_level\": 4\n            },\n            {\n                \"id\": 6,\n                \"name\": \"Partner: Sales\",\n                \"access_level\": 5\n            },\n            {\n                \"id\": 7,\n                \"name\": \"Partner: Technical\",\n                \"access_level\": 5\n            },\n            {\n                \"id\": 8,\n                \"name\": \"Distributor: Package A\",\n                \"access_level\": 6\n            },\n            {\n                \"id\": 9,\n                \"name\": \"Distributor: Package B\",\n                \"access_level\": 6\n            },\n            {\n                \"id\": 10,\n                \"name\": \"Client: Full Package\",\n                \"access_level\": 7\n            },\n            {\n                \"id\": 11,\n                \"name\": \"Client: Medium Package\",\n                \"access_level\": 7\n            },\n            {\n                \"id\": 12,\n                \"name\": \"Client: Low Package\",\n                \"access_level\": 7\n            },\n            {\n                \"id\": 13,\n                \"name\": \"Client: Free Package\",\n                \"access_level\": 7\n            }\n        ],\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            }\n        ],\n        \"agencies\": [\n            {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            }\n        ],\n        \"client_selection\": [\n            {\n                \"id\": 2,\n                \"name\": \"Agency Client Name\"\n            },\n            {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            }\n        ],\n        \"timezones\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\",\n            \"UTC\": \"UTC (GMT+00)\"\n        },\n        \"countries\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"languages\": {\n            \"EN\": \"English\"\n        }\n    }\n}"}],"_postman_id":"c19a9ad9-a4f9-420f-a462-a5e07cd25fd8"},{"name":"Create User","id":"9b53dc84-6cfd-4128-bd2f-422d42e544f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"title\": \"\",\n    \"first_name\": \"Test\",\n    \"last_name\": \"\",\n    \"username\": \"test\",\n    \"email\": \"test@user.com\",\n    \"password\": \"test.test\",\n    \"repeat_password\": \"test.test\",\n    \"account_type_id\": 13,\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_ids\": [\n        1\n    ],\n    \"position\": \"\",\n    \"employee_no\": \"\",\n    \"cellphone\": \"\",\n    \"national_id\": \"\",\n    \"timezone\": \"Africa/Johannesburg\",\n    \"language\": \"EN\",\n    \"country\": \"ZA\",\n    \"photos\": [],\n    \"token\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"5c451acf-ad16-4f15-8e18-d34fce4f25b8","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"title\": \"\",\n    \"first_name\": \"Test\",\n    \"last_name\": \"\",\n    \"username\": \"test\",\n    \"email\": \"test@user.com\",\n    \"password\": \"test.test\",\n    \"repeat_password\": \"test.test\",\n    \"account_type_id\": 13,\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_ids\": [\n        1\n    ],\n    \"position\": \"\",\n    \"employee_no\": \"\",\n    \"cellphone\": \"\",\n    \"national_id\": \"\",\n    \"timezone\": \"Africa/Johannesburg\",\n    \"language\": \"EN\",\n    \"country\": \"ZA\",\n    \"photos\": [],\n    \"token\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 07:33:48 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created User: User\"\n    ],\n    \"data\": {\n        \"id\": 18,\n        \"account_type\": {\n            \"id\": 13,\n            \"name\": \"Client: Free Package\",\n            \"description\": \"\",\n            \"access_level\": {\n                \"level\": 7,\n                \"name\": \"Client\"\n            },\n            \"product_code\": \"PROD/TRACK/004\",\n            \"created_at\": \"2021-01-11T11:51:42+02:00\",\n            \"updated_at\": null\n        },\n        \"username\": \"user\",\n        \"email\": \"user@user.com\",\n        \"title\": null,\n        \"first_name\": \"Test\",\n        \"last_name\": null,\n        \"full_name\": \"User\",\n        \"position\": null,\n        \"employee_no\": null,\n        \"cellphone\": null,\n        \"national_id\": null,\n        \"timezone\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n        },\n        \"country\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"language\": {\n            \"EN\": \"English\"\n        },\n        \"logged_in\": false,\n        \"ip\": null,\n        \"created_at\": \"2021-04-26T09:33:48+02:00\",\n        \"updated_at\": null,\n        \"accessed_at\": null,\n        \"accessed_route\": null,\n        \"pubsub\": {\n            \"enabled\": true,\n            \"publish_key\": \"key\",\n            \"subscribe_key\": \"key\",\n            \"sub_channels\": [\n                \"key\",\n                \"key\"\n            ]\n        },\n        \"filestack\": {\n            \"url\": \"https://www.filestackapi.com/api/store/S3\",\n            \"api_key\": \"key\"\n        },\n        \"google\": {\n            \"maps\": {\n                \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                \"api_key\": \"key\",\n                \"client_id\": \"\"\n            }\n        },\n        \"sse\": {\n            \"url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"telemetry_url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"notify_url\": \"http://www.dummydomain.com/sse/notify/\"\n        },\n        \"user_photo_urls\": {\n            \"photo\": \"url\",\n            \"profile_large\": \"url\",\n            \"profile_medium\": \"url\",\n            \"profile_small\": \"url\"\n        },\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"clients\": [\n            {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            }\n        ],\n        \"settings\": {\n            \"default\": true\n        },\n        \"permissions\": {\n            \"users\": {\n                \"title\": \"Users\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"partners\": {\n                \"title\": \"Partners\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"agencies\": {\n                \"title\": \"Agencies\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"clients\": {\n                \"title\": \"Clients\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"user_profile\": {\n                \"title\": \"User Profile\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_groups\": {\n                \"title\": \"Unit Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"units\": {\n                \"title\": \"Units\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    },\n                    \"units_basic_edit\": {\n                        \"title\": \"Basic Unit Editing\",\n                        \"allow\": true\n                    },\n                    \"units_technical\": {\n                        \"title\": \"Technical Access\",\n                        \"allow\": false\n                    },\n                    \"unit_swapping\": {\n                        \"title\": \"Unit Swapping\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"unit_cfg_templates\": {\n                \"title\": \"Unit Config Templates\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"maps\": {\n                \"title\": \"Map Features\",\n                \"actions\": {\n                    \"map_safe_zones\": {\n                        \"title\": \"Safe Zones\",\n                        \"allow\": false\n                    },\n                    \"map_location_finding\": {\n                        \"title\": \"Location Finding\",\n                        \"allow\": false\n                    },\n                    \"map_directions\": {\n                        \"title\": \"Directions\",\n                        \"allow\": false\n                    },\n                    \"map_markers\": {\n                        \"title\": \"Markers\",\n                        \"allow\": false\n                    },\n                    \"map_routing\": {\n                        \"title\": \"Routing\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicles\": {\n                \"title\": \"Vehicles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"assign_units\": {\n                        \"title\": \"Assign Units\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicle_groups\": {\n                \"title\": \"Vehicle Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"drivers\": {\n                \"title\": \"Drivers\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_history\": {\n                \"title\": \"History & Debrief Reports\",\n                \"actions\": {\n                    \"debrief_detailed\": {\n                        \"title\": \"Debrief Detailed\",\n                        \"allow\": false\n                    },\n                    \"debrief_summary\": {\n                        \"title\": \"Debrief Summary\",\n                        \"allow\": false\n                    },\n                    \"vehicle_analysis\": {\n                        \"title\": \"Vehicle Analysis\",\n                        \"allow\": false\n                    },\n                    \"position_log\": {\n                        \"title\": \"Position Log\",\n                        \"allow\": false\n                    },\n                    \"events_detailed\": {\n                        \"title\": \"Detailed Events\",\n                        \"allow\": false\n                    }\n                }\n            }\n        },\n        \"photos\": [\n            {\n                \"id\": null,\n                \"type\": \"photo\",\n                \"url\": \"url\",\n                \"filename\": \"generic-user-photo.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_large\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-large.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_medium\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-medium.png\",\n                \"size_bytes\": 7951,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_small\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-small.png\",\n                \"size_bytes\": 4432,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"9b53dc84-6cfd-4128-bd2f-422d42e544f9"},{"name":"Update a User","id":"1fbcbe52-8ad3-4cd1-8dfd-acb95509a986","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 17,\n    \"title\": null,\n    \"first_name\": \"User\",\n    \"last_name\": null,\n    \"username\": \"user\",\n    \"email\": \"user@user.com\",\n    \"account_type_id\": 13,\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_ids\": [\n        1\n    ],\n    \"position\": null,\n    \"employee_no\": null,\n    \"cellphone\": null,\n    \"national_id\": null,\n    \"timezone\": \"Africa/Johannesburg\",\n    \"language\": \"EN\",\n    \"country\": \"ZA\",\n    \"photos\": [\n        {\n            \"id\": null,\n            \"type\": \"photo\",\n            \"url\": \"https://cdn.filestackcontent.com/GAGFqKhNSYaa49NFiF3P\",\n            \"filename\": \"generic-user-photo.png\",\n            \"size_bytes\": 12376,\n            \"created_at\": \"2017-02-02T20:14:42+02:00\"\n        },\n        {\n            \"id\": null,\n            \"type\": \"profile_large\",\n            \"url\": \"https://cdn.filestackcontent.com/resize=width:400,height:400,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n            \"filename\": \"user-profile-large.png\",\n            \"size_bytes\": 12376,\n            \"created_at\": \"2017-02-02T20:14:42+02:00\"\n        },\n        {\n            \"id\": null,\n            \"type\": \"profile_medium\",\n            \"url\": \"https://cdn.filestackcontent.com/resize=width:250,height:250,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n            \"filename\": \"user-profile-medium.png\",\n            \"size_bytes\": 7951,\n            \"created_at\": \"2017-02-02T20:14:42+02:00\"\n        },\n        {\n            \"id\": null,\n            \"type\": \"profile_small\",\n            \"url\": \"https://cdn.filestackcontent.com/resize=width:150,height:150,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n            \"filename\": \"user-profile-small.png\",\n            \"size_bytes\": 4432,\n            \"created_at\": \"2017-02-02T20:14:42+02:00\"\n        }\n    ],\n    \"token\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/users/16","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","16"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8fb3a3a8-a9ff-4797-9e43-9eb65e4210e3","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 17,\n    \"title\": null,\n    \"first_name\": \"User\",\n    \"last_name\": null,\n    \"username\": \"user.1\",\n    \"email\": \"user.1@user.com\",\n    \"account_type_id\": 13,\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_ids\": [\n        1\n    ],\n    \"position\": null,\n    \"employee_no\": null,\n    \"cellphone\": null,\n    \"national_id\": null,\n    \"timezone\": \"Africa/Johannesburg\",\n    \"language\": \"EN\",\n    \"country\": \"ZA\",\n    \"photos\": [\n        {\n            \"id\": null,\n            \"type\": \"photo\",\n            \"url\": \"https://cdn.filestackcontent.com/GAGFqKhNSYaa49NFiF3P\",\n            \"filename\": \"generic-user-photo.png\",\n            \"size_bytes\": 12376,\n            \"created_at\": \"2017-02-02T20:14:42+02:00\"\n        },\n        {\n            \"id\": null,\n            \"type\": \"profile_large\",\n            \"url\": \"https://cdn.filestackcontent.com/resize=width:400,height:400,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n            \"filename\": \"user-profile-large.png\",\n            \"size_bytes\": 12376,\n            \"created_at\": \"2017-02-02T20:14:42+02:00\"\n        },\n        {\n            \"id\": null,\n            \"type\": \"profile_medium\",\n            \"url\": \"https://cdn.filestackcontent.com/resize=width:250,height:250,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n            \"filename\": \"user-profile-medium.png\",\n            \"size_bytes\": 7951,\n            \"created_at\": \"2017-02-02T20:14:42+02:00\"\n        },\n        {\n            \"id\": null,\n            \"type\": \"profile_small\",\n            \"url\": \"https://cdn.filestackcontent.com/resize=width:150,height:150,fit:crop/GAGFqKhNSYaa49NFiF3P\",\n            \"filename\": \"user-profile-small.png\",\n            \"size_bytes\": 4432,\n            \"created_at\": \"2017-02-02T20:14:42+02:00\"\n        }\n    ],\n    \"token\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/users/16"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 07:49:58 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"44"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated User: User\"\n    ],\n    \"data\": {\n        \"id\": 16,\n        \"account_type\": {\n            \"id\": 13,\n            \"name\": \"Client: Free Package\",\n            \"description\": \"\",\n            \"access_level\": {\n                \"level\": 7,\n                \"name\": \"Client\"\n            },\n            \"product_code\": \"PROD/TRACK/004\",\n            \"created_at\": \"2021-01-11T11:51:42+02:00\",\n            \"updated_at\": null\n        },\n        \"username\": \"user\",\n        \"email\": \"user@user.com\",\n        \"title\": null,\n        \"first_name\": \"User\",\n        \"last_name\": null,\n        \"full_name\": \"User\",\n        \"position\": null,\n        \"employee_no\": null,\n        \"cellphone\": null,\n        \"national_id\": null,\n        \"timezone\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n        },\n        \"country\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"language\": {\n            \"EN\": \"English\"\n        },\n        \"logged_in\": false,\n        \"ip\": null,\n        \"created_at\": \"2021-04-26T08:52:03+02:00\",\n        \"updated_at\": \"2021-04-26T09:49:58+02:00\",\n        \"accessed_at\": null,\n        \"accessed_route\": null,\n        \"pubsub\": {\n            \"enabled\": true,\n            \"publish_key\": \"key\",\n            \"subscribe_key\": \"key\",\n            \"sub_channels\": [\n                \"key\",\n                \"key\"\n            ]\n        },\n        \"filestack\": {\n            \"url\": \"https://www.filestackapi.com/api/store/S3\",\n            \"api_key\": \"key\"\n        },\n        \"google\": {\n            \"maps\": {\n                \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                \"api_key\": \"key\",\n                \"client_id\": \"\"\n            }\n        },\n        \"sse\": {\n            \"url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"telemetry_url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"notify_url\": \"http://www.dummydomain.com/sse/notify/\"\n        },\n        \"user_photo_urls\": {\n            \"photo\": \"url\",\n            \"profile_large\": \"url\",\n            \"profile_medium\": \"url\",\n            \"profile_small\": \"url\"\n        },\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"clients\": [\n            {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            }\n        ],\n        \"settings\": {\n            \"default\": true\n        },\n        \"permissions\": {\n            \"users\": {\n                \"title\": \"Users\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"partners\": {\n                \"title\": \"Partners\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"agencies\": {\n                \"title\": \"Agencies\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"clients\": {\n                \"title\": \"Clients\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"user_profile\": {\n                \"title\": \"User Profile\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_groups\": {\n                \"title\": \"Unit Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"units\": {\n                \"title\": \"Units\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    },\n                    \"units_basic_edit\": {\n                        \"title\": \"Basic Unit Editing\",\n                        \"allow\": true\n                    },\n                    \"units_technical\": {\n                        \"title\": \"Technical Access\",\n                        \"allow\": false\n                    },\n                    \"unit_swapping\": {\n                        \"title\": \"Unit Swapping\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"unit_cfg_templates\": {\n                \"title\": \"Unit Config Templates\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"maps\": {\n                \"title\": \"Map Features\",\n                \"actions\": {\n                    \"map_safe_zones\": {\n                        \"title\": \"Safe Zones\",\n                        \"allow\": false\n                    },\n                    \"map_location_finding\": {\n                        \"title\": \"Location Finding\",\n                        \"allow\": false\n                    },\n                    \"map_directions\": {\n                        \"title\": \"Directions\",\n                        \"allow\": false\n                    },\n                    \"map_markers\": {\n                        \"title\": \"Markers\",\n                        \"allow\": false\n                    },\n                    \"map_routing\": {\n                        \"title\": \"Routing\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicles\": {\n                \"title\": \"Vehicles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"assign_units\": {\n                        \"title\": \"Assign Units\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicle_groups\": {\n                \"title\": \"Vehicle Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"drivers\": {\n                \"title\": \"Drivers\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_history\": {\n                \"title\": \"History & Debrief Reports\",\n                \"actions\": {\n                    \"debrief_detailed\": {\n                        \"title\": \"Debrief Detailed\",\n                        \"allow\": false\n                    },\n                    \"debrief_summary\": {\n                        \"title\": \"Debrief Summary\",\n                        \"allow\": false\n                    },\n                    \"vehicle_analysis\": {\n                        \"title\": \"Vehicle Analysis\",\n                        \"allow\": false\n                    },\n                    \"position_log\": {\n                        \"title\": \"Position Log\",\n                        \"allow\": false\n                    },\n                    \"events_detailed\": {\n                        \"title\": \"Detailed Events\",\n                        \"allow\": false\n                    }\n                }\n            }\n        },\n        \"photos\": [\n            {\n                \"id\": 41,\n                \"type\": \"photo\",\n                \"url\": \"url\",\n                \"filename\": \"generic-user-photo.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2021-04-26T09:49:58+02:00\"\n            },\n            {\n                \"id\": 42,\n                \"type\": \"profile_large\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-large.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2021-04-26T09:49:58+02:00\"\n            },\n            {\n                \"id\": 43,\n                \"type\": \"profile_medium\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-medium.png\",\n                \"size_bytes\": 7951,\n                \"created_at\": \"2021-04-26T09:49:58+02:00\"\n            },\n            {\n                \"id\": 44,\n                \"type\": \"profile_small\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-small.png\",\n                \"size_bytes\": 4432,\n                \"created_at\": \"2021-04-26T09:49:58+02:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"1fbcbe52-8ad3-4cd1-8dfd-acb95509a986"},{"name":"Delete User","id":"8b8f6bf9-818c-4c44-a42a-2aaa43d1343d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{http}}://{{domain}}/api/v1/users/17","description":"<p>Deletes an existing user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","17"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0c819ba3-e14f-438a-bbe5-52d33bf05618","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{http}}://{{domain}}/api/v1/users/17"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 07:53:18 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted User: User Update\"\n    ],\n    \"data\": {\n        \"id\": 17,\n        \"account_type\": {\n            \"id\": 13,\n            \"name\": \"Client: Free Package\",\n            \"description\": \"\",\n            \"access_level\": {\n                \"level\": 7,\n                \"name\": \"Client\"\n            },\n            \"product_code\": \"PROD/TRACK/004\",\n            \"created_at\": \"2021-01-11T09:51:42+00:00\",\n            \"updated_at\": null\n        },\n        \"username\": \"user\",\n        \"email\": \"user@user.com\",\n        \"title\": null,\n        \"first_name\": \"User Update\",\n        \"last_name\": null,\n        \"full_name\": \"User Update\",\n        \"position\": null,\n        \"employee_no\": null,\n        \"cellphone\": null,\n        \"national_id\": null,\n        \"timezone\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n        },\n        \"country\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"language\": {\n            \"EN\": \"English\"\n        },\n        \"logged_in\": false,\n        \"ip\": null,\n        \"created_at\": \"2021-04-26T07:31:57+00:00\",\n        \"updated_at\": \"2021-04-26T07:48:06+00:00\",\n        \"accessed_at\": null,\n        \"accessed_route\": null,\n        \"pubsub\": {\n            \"enabled\": true,\n            \"publish_key\": \"key\",\n            \"subscribe_key\": \"key\",\n            \"sub_channels\": [\n                \"key\",\n                \"key\"\n            ]\n        },\n        \"filestack\": {\n            \"url\": \"https://www.filestackapi.com/api/store/S3\",\n            \"api_key\": \"key\"\n        },\n        \"google\": {\n            \"maps\": {\n                \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                \"api_key\": \"keys\",\n                \"client_id\": \"\"\n            }\n        },\n        \"sse\": {\n            \"url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"telemetry_url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"notify_url\": \"http://www.dummydomain.com/sse/notify/\"\n        },\n        \"user_photo_urls\": {\n            \"photo\": \"url\",\n            \"profile_large\": \"url\",\n            \"profile_medium\": \"url\",\n            \"profile_small\": \"url\"\n        },\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"clients\": [\n            {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            }\n        ],\n        \"settings\": {\n            \"default\": true\n        },\n        \"permissions\": {\n            \"users\": {\n                \"title\": \"Users\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"partners\": {\n                \"title\": \"Partners\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"agencies\": {\n                \"title\": \"Agencies\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"clients\": {\n                \"title\": \"Clients\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"user_profile\": {\n                \"title\": \"User Profile\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_groups\": {\n                \"title\": \"Unit Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"units\": {\n                \"title\": \"Units\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    },\n                    \"units_basic_edit\": {\n                        \"title\": \"Basic Unit Editing\",\n                        \"allow\": true\n                    },\n                    \"units_technical\": {\n                        \"title\": \"Technical Access\",\n                        \"allow\": false\n                    },\n                    \"unit_swapping\": {\n                        \"title\": \"Unit Swapping\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"unit_cfg_templates\": {\n                \"title\": \"Unit Config Templates\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"maps\": {\n                \"title\": \"Map Features\",\n                \"actions\": {\n                    \"map_safe_zones\": {\n                        \"title\": \"Safe Zones\",\n                        \"allow\": false\n                    },\n                    \"map_location_finding\": {\n                        \"title\": \"Location Finding\",\n                        \"allow\": false\n                    },\n                    \"map_directions\": {\n                        \"title\": \"Directions\",\n                        \"allow\": false\n                    },\n                    \"map_markers\": {\n                        \"title\": \"Markers\",\n                        \"allow\": false\n                    },\n                    \"map_routing\": {\n                        \"title\": \"Routing\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicles\": {\n                \"title\": \"Vehicles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"assign_units\": {\n                        \"title\": \"Assign Units\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicle_groups\": {\n                \"title\": \"Vehicle Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"drivers\": {\n                \"title\": \"Drivers\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_history\": {\n                \"title\": \"History & Debrief Reports\",\n                \"actions\": {\n                    \"debrief_detailed\": {\n                        \"title\": \"Debrief Detailed\",\n                        \"allow\": false\n                    },\n                    \"debrief_summary\": {\n                        \"title\": \"Debrief Summary\",\n                        \"allow\": false\n                    },\n                    \"vehicle_analysis\": {\n                        \"title\": \"Vehicle Analysis\",\n                        \"allow\": false\n                    },\n                    \"position_log\": {\n                        \"title\": \"Position Log\",\n                        \"allow\": false\n                    },\n                    \"events_detailed\": {\n                        \"title\": \"Detailed Events\",\n                        \"allow\": false\n                    }\n                }\n            }\n        },\n        \"photos\": [\n            {\n                \"id\": 37,\n                \"type\": \"photo\",\n                \"url\": \"url\",\n                \"filename\": \"generic-user-photo.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2021-04-26T07:48:06+00:00\"\n            },\n            {\n                \"id\": 38,\n                \"type\": \"profile_large\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-large.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2021-04-26T07:48:06+00:00\"\n            },\n            {\n                \"id\": 39,\n                \"type\": \"profile_medium\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-medium.png\",\n                \"size_bytes\": 7951,\n                \"created_at\": \"2021-04-26T07:48:06+00:00\"\n            },\n            {\n                \"id\": 40,\n                \"type\": \"profile_small\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-small.png\",\n                \"size_bytes\": 4432,\n                \"created_at\": \"2021-04-26T07:48:06+00:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"8b8f6bf9-818c-4c44-a42a-2aaa43d1343d"},{"name":"Register New User","id":"34fb6d94-22a8-4545-9434-51db5027b8fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"account_type_id\": 13,\n\t\"email\": \"user@user.com\",\n\t\"partner_id\": 1,\n\t\"agency_id\": null,\n\t\"client_ids\": [1]\n}"},"url":"{{http}}://{{domain}}/api/v1/users/registration/submit","description":"<p>Register a new user, the user is sent an email with a link which must be clicked before the registration is complete.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","registration","submit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"098e9f5b-045d-45de-b269-1b919c1695b5","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"body":{"mode":"raw","raw":"{\n\t\"account_type_id\": 13,\n\t\"email\": \"test@test.com\",\n\t\"partner_id\": 1,\n\t\"agency_id\": null,\n\t\"client_ids\": [1]\n}"},"url":"{{http}}://{{domain}}/api/v1/users/registration/submit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 08:04:33 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"We have submitted an email to user@user.com to complete the registration process\"\n    ],\n    \"data\": {\n        \"account_type\": {\n            \"id\": 13,\n            \"name\": \"Client: Free Package\",\n            \"access_level\": 7\n        },\n        \"partner\": {\n            \"id\": 1,\n            \"name\": null\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"username\": null,\n        \"email\": \"user@user.com\",\n        \"full_name\": null,\n        \"timezone\": null,\n        \"country\": null,\n        \"language\": null\n    }\n}"}],"_postman_id":"34fb6d94-22a8-4545-9434-51db5027b8fe"},{"name":"Get User Settings","id":"97df9a47-9427-471f-802e-93f15c75411e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/users/settings","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","settings"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"7e9dbded-2171-4405-b7d5-5a053f3fa373","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/users/settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 13:46:55 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"settings\": {\n            \"setting\": \"Value\",\n            \"default\": true\n        }\n    }\n}"}],"_postman_id":"97df9a47-9427-471f-802e-93f15c75411e"},{"name":"Update User Settings","id":"58f0236e-c0de-4640-8be6-7222a13f56b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"settings\": {\n        \"test\": \"Testing\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/users/settings","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","settings"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0998a839-92e6-49f8-863a-bb4bd43ebd7e","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"settings\": {\n        \"test\": \"Testing\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/users/settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 09:06:11 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"settings\": {\n            \"default\": true,\n            \"some_setting\": \"Value\"\n        }\n    }\n}"}],"_postman_id":"58f0236e-c0de-4640-8be6-7222a13f56b0"},{"name":"Get User Profile","id":"873e40c0-cded-491a-9c9b-002194ea7c16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/users/profile","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","profile"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"cd83661b-fcca-49c5-a780-8b83fbf1a977","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/users/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 09:13:45 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 6,\n        \"account_type\": {\n            \"id\": 1,\n            \"name\": \"User\",\n            \"description\": \"Free Client.\",\n            \"access_level\": {\n                \"level\": 13,\n                \"name\": \"Free Client\"\n            },\n            \"product_code\": null,\n            \"created_at\": \"2021-01-11T11:51:18+02:00\",\n            \"updated_at\": null\n        },\n        \"username\": \"user\",\n        \"email\": \"user@user.com\",\n        \"title\": null,\n        \"first_name\": \"User\",\n        \"last_name\": \"\",\n        \"full_name\": \"\",\n        \"position\": null,\n        \"employee_no\": null,\n        \"cellphone\": null,\n        \"national_id\": null,\n        \"timezone\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n        },\n        \"country\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"language\": {\n            \"EN\": \"English\"\n        },\n        \"logged_in\": true,\n        \"ip\": \"192.168.10.1\",\n        \"created_at\": \"2021-01-11T11:51:43+02:00\",\n        \"updated_at\": null,\n        \"accessed_at\": \"2021-04-26T11:13:45+02:00\",\n        \"accessed_route\": \"api/v1/users/profile\",\n        \"pubsub\": {\n            \"enabled\": true,\n            \"publish_key\": \"key\",\n            \"subscribe_key\": \"key\",\n            \"sub_channels\": [\n                \"key\",\n                \"key\"\n            ]\n        },\n        \"filestack\": {\n            \"url\": \"https://www.filestackapi.com/api/store/S3\",\n            \"api_key\": \"key\"\n        },\n        \"google\": {\n            \"maps\": {\n                \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                \"api_key\": \"key\",\n                \"client_id\": \"\"\n            }\n        },\n        \"sse\": {\n            \"url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"telemetry_url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"notify_url\": \"http://www.dummydomain.com/sse/notify/\"\n        },\n        \"user_photo_urls\": {\n            \"photo\": \"url\",\n            \"profile_large\": \"url\",\n            \"profile_medium\": \"url\",\n            \"profile_small\": \"url\"\n        },\n        \"partner\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"clients\": [],\n        \"settings\": {\n            \"test\": \"Testing\",\n            \"default\": true\n        },\n        \"permissions\": {\n            \"users\": {\n                \"title\": \"Users\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"partners\": {\n                \"title\": \"Partners\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"agencies\": {\n                \"title\": \"Agencies\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"clients\": {\n                \"title\": \"Clients\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"user_profile\": {\n                \"title\": \"User Profile\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_groups\": {\n                \"title\": \"Unit Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"units\": {\n                \"title\": \"Units\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"units_basic_edit\": {\n                        \"title\": \"Basic Unit Editing\",\n                        \"allow\": false\n                    },\n                    \"units_technical\": {\n                        \"title\": \"Technical Access\",\n                        \"allow\": true\n                    },\n                    \"unit_swapping\": {\n                        \"title\": \"Unit Swapping\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_cfg_templates\": {\n                \"title\": \"Unit Config Templates\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"maps\": {\n                \"title\": \"Map Features\",\n                \"actions\": {\n                    \"map_safe_zones\": {\n                        \"title\": \"Safe Zones\",\n                        \"allow\": false\n                    },\n                    \"map_location_finding\": {\n                        \"title\": \"Location Finding\",\n                        \"allow\": false\n                    },\n                    \"map_directions\": {\n                        \"title\": \"Directions\",\n                        \"allow\": false\n                    },\n                    \"map_markers\": {\n                        \"title\": \"Markers\",\n                        \"allow\": false\n                    },\n                    \"map_routing\": {\n                        \"title\": \"Routing\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicles\": {\n                \"title\": \"Vehicles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"assign_units\": {\n                        \"title\": \"Assign Units\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"vehicle_groups\": {\n                \"title\": \"Vehicle Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"drivers\": {\n                \"title\": \"Drivers\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_history\": {\n                \"title\": \"History & Debrief Reports\",\n                \"actions\": {\n                    \"debrief_detailed\": {\n                        \"title\": \"Debrief Detailed\",\n                        \"allow\": true\n                    },\n                    \"debrief_summary\": {\n                        \"title\": \"Debrief Summary\",\n                        \"allow\": true\n                    },\n                    \"vehicle_analysis\": {\n                        \"title\": \"Vehicle Analysis\",\n                        \"allow\": true\n                    },\n                    \"position_log\": {\n                        \"title\": \"Position Log\",\n                        \"allow\": false\n                    },\n                    \"events_detailed\": {\n                        \"title\": \"Detailed Events\",\n                        \"allow\": false\n                    }\n                }\n            }\n        },\n        \"photos\": [\n            {\n                \"id\": null,\n                \"type\": \"photo\",\n                \"url\": \"url\",\n                \"filename\": \"generic-user-photo.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_large\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-large.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_medium\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-medium.png\",\n                \"size_bytes\": 7951,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_small\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-small.png\",\n                \"size_bytes\": 4432,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"873e40c0-cded-491a-9c9b-002194ea7c16"},{"name":"Get User Profile Edit Form Data","id":"7505c6d8-0014-41f3-a1da-9926fcfe7264","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/users/profile/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","profile","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"2e0bd848-528d-4425-a539-d45c2e36ca18","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/users/profile/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 09:16:30 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 6,\n        \"account_type\": {\n            \"id\": 13,\n            \"name\": \"Free Client\",\n            \"description\": \"Free Client.\",\n            \"access_level\": {\n                \"level\": 13,\n                \"name\": \"Free Client\"\n            },\n            \"product_code\": null,\n            \"created_at\": \"2021-01-11T11:51:18+02:00\",\n            \"updated_at\": null\n        },\n        \"username\": \"user\",\n        \"email\": \"user@user.com\",\n        \"title\": null,\n        \"first_name\": \"User\",\n        \"last_name\": null,\n        \"full_name\": \"User\",\n        \"position\": null,\n        \"employee_no\": null,\n        \"cellphone\": null,\n        \"national_id\": null,\n        \"timezone\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n        },\n        \"country\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"language\": {\n            \"EN\": \"English\"\n        },\n        \"logged_in\": true,\n        \"ip\": \"192.168.10.1\",\n        \"created_at\": \"2021-01-11T11:51:43+02:00\",\n        \"updated_at\": null,\n        \"accessed_at\": \"2021-04-26T11:16:30+02:00\",\n        \"accessed_route\": \"api/v1/users/profile/edit\",\n        \"pubsub\": {\n            \"enabled\": true,\n            \"publish_key\": \"key\",\n            \"subscribe_key\": \"key\",\n            \"sub_channels\": [\n                \"key\",\n                \"key\"\n            ]\n        },\n        \"filestack\": {\n            \"url\": \"https://www.filestackapi.com/api/store/S3\",\n            \"api_key\": \"key\"\n        },\n        \"google\": {\n            \"maps\": {\n                \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                \"api_key\": \"key\",\n                \"client_id\": \"\"\n            }\n        },\n        \"sse\": {\n            \"url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"telemetry_url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"notify_url\": \"http://www.dummydomain.com/sse/notify/\"\n        },\n        \"user_photo_urls\": {\n            \"photo\": \"url\",\n            \"profile_large\": \"url\",\n            \"profile_medium\": \"url\",\n            \"profile_small\": \"url\"\n        },\n        \"partner\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"clients\": [],\n        \"settings\": {\n            \"test\": \"Testing\",\n            \"default\": true\n        },\n        \"permissions\": {\n            \"users\": {\n                \"title\": \"Users\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"partners\": {\n                \"title\": \"Partners\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"agencies\": {\n                \"title\": \"Agencies\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"clients\": {\n                \"title\": \"Clients\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"user_profile\": {\n                \"title\": \"User Profile\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_groups\": {\n                \"title\": \"Unit Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"units\": {\n                \"title\": \"Units\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"units_basic_edit\": {\n                        \"title\": \"Basic Unit Editing\",\n                        \"allow\": false\n                    },\n                    \"units_technical\": {\n                        \"title\": \"Technical Access\",\n                        \"allow\": true\n                    },\n                    \"unit_swapping\": {\n                        \"title\": \"Unit Swapping\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_cfg_templates\": {\n                \"title\": \"Unit Config Templates\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"maps\": {\n                \"title\": \"Map Features\",\n                \"actions\": {\n                    \"map_safe_zones\": {\n                        \"title\": \"Safe Zones\",\n                        \"allow\": false\n                    },\n                    \"map_location_finding\": {\n                        \"title\": \"Location Finding\",\n                        \"allow\": false\n                    },\n                    \"map_directions\": {\n                        \"title\": \"Directions\",\n                        \"allow\": false\n                    },\n                    \"map_markers\": {\n                        \"title\": \"Markers\",\n                        \"allow\": false\n                    },\n                    \"map_routing\": {\n                        \"title\": \"Routing\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicles\": {\n                \"title\": \"Vehicles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"assign_units\": {\n                        \"title\": \"Assign Units\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"vehicle_groups\": {\n                \"title\": \"Vehicle Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"drivers\": {\n                \"title\": \"Drivers\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_history\": {\n                \"title\": \"History & Debrief Reports\",\n                \"actions\": {\n                    \"debrief_detailed\": {\n                        \"title\": \"Debrief Detailed\",\n                        \"allow\": true\n                    },\n                    \"debrief_summary\": {\n                        \"title\": \"Debrief Summary\",\n                        \"allow\": true\n                    },\n                    \"vehicle_analysis\": {\n                        \"title\": \"Vehicle Analysis\",\n                        \"allow\": true\n                    },\n                    \"position_log\": {\n                        \"title\": \"Position Log\",\n                        \"allow\": false\n                    },\n                    \"events_detailed\": {\n                        \"title\": \"Detailed Events\",\n                        \"allow\": false\n                    }\n                }\n            }\n        },\n        \"photos\": [\n            {\n                \"id\": null,\n                \"type\": \"photo\",\n                \"url\": \"url\",\n                \"filename\": \"generic-user-photo.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_large\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-large.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_medium\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-medium.png\",\n                \"size_bytes\": 7951,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_small\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-small.png\",\n                \"size_bytes\": 4432,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            }\n        ],\n        \"account_types\": [\n            {\n                \"id\": 1,\n                \"name\": \"ACMGroup: System Administrator\",\n                \"access_level\": 1\n            },\n            {\n                \"id\": 2,\n                \"name\": \"ACMGroup: Top Management\",\n                \"access_level\": 2\n            },\n            {\n                \"id\": 3,\n                \"name\": \"ACMGroup: Sales\",\n                \"access_level\": 3\n            },\n            {\n                \"id\": 4,\n                \"name\": \"ACMGroup: Technical\",\n                \"access_level\": 3\n            },\n            {\n                \"id\": 5,\n                \"name\": \"Partner: Management\",\n                \"access_level\": 4\n            },\n            {\n                \"id\": 6,\n                \"name\": \"Partner: Sales\",\n                \"access_level\": 5\n            },\n            {\n                \"id\": 7,\n                \"name\": \"Partner: Technical\",\n                \"access_level\": 5\n            },\n            {\n                \"id\": 8,\n                \"name\": \"Distributor: Package A\",\n                \"access_level\": 6\n            },\n            {\n                \"id\": 9,\n                \"name\": \"Distributor: Package B\",\n                \"access_level\": 6\n            },\n            {\n                \"id\": 10,\n                \"name\": \"Client: Full Package\",\n                \"access_level\": 7\n            },\n            {\n                \"id\": 11,\n                \"name\": \"Client: Medium Package\",\n                \"access_level\": 7\n            },\n            {\n                \"id\": 12,\n                \"name\": \"Client: Low Package\",\n                \"access_level\": 7\n            },\n            {\n                \"id\": 13,\n                \"name\": \"Client: Free Package\",\n                \"access_level\": 7\n            }\n        ],\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            }\n        ],\n        \"agencies\": [\n            {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            }\n        ],\n        \"client_selection\": [\n            {\n                \"id\": 2,\n                \"name\": \"Agency Client Name\"\n            },\n            {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            }\n        ],\n        \"timezones\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\",\n            \"UTC\": \"UTC (GMT+00)\"\n        },\n        \"countries\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"languages\": {\n            \"EN\": \"English\"\n        }\n    }\n}"}],"_postman_id":"7505c6d8-0014-41f3-a1da-9926fcfe7264"},{"name":"Check User Authorization","id":"7ef8d5b0-f8b7-4120-8f0f-88a5e91720c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/users/auth/org/method/post?partner_id={{partner_id}}&agency_id={{agency_id}}&client_id={{client_id}}","description":"<p>Performs an organizational check for the logged in user. This includes a check whether a GET/POST/PUT/DELETE request can be performed on the supplied partner, agency or client. For convenience this request will return the user's primary details along with the user's permissions.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","auth","org","method","post"],"host":["{{domain}}"],"query":[{"key":"partner_id","value":"{{partner_id}}"},{"key":"agency_id","value":"{{agency_id}}"},{"key":"client_id","value":"{{client_id}}"}],"variable":[]}},"response":[{"id":"c40896a2-dbe6-4cc2-96cb-bf41f8b32931","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 11:50:28 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"token\": \"bearer token_key\"\n    }\n}"}],"_postman_id":"7ef8d5b0-f8b7-4120-8f0f-88a5e91720c0"},{"name":"Update User Profile","id":"4826b7b4-7363-4c12-aaac-c8f73eea6b46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": null,\n    \"first_name\": \"User\",\n    \"last_name\": null,\n    \"username\": \"user\",\n    \"email\": \"user@user.com\",\n    \"account_type_id\": 7,\n    \"position\": null,\n    \"employee_no\": null,\n    \"cellphone\": null,\n    \"national_id\": null,\n    \"timezone\": \"Africa/Johannesburg\",\n    \"language\": \"EN\",\n    \"country\": \"ZA\",\n    \"photos\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/users/profile","description":"<p>Updates the current logged in user profile.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","profile"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"e42581d2-2cdb-4618-b887-b6b869328d31","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": null,\n    \"first_name\": \"User\",\n    \"last_name\": null,\n    \"username\": \"user\",\n    \"email\": \"user@user.com\",\n    \"account_type_id\": 7,\n    \"position\": null,\n    \"employee_no\": null,\n    \"cellphone\": null,\n    \"national_id\": null,\n    \"timezone\": \"Africa/Johannesburg\",\n    \"language\": \"EN\",\n    \"country\": \"ZA\",\n    \"photos\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/users/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 09:46:51 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Your user account was updated successfully.\"\n    ],\n    \"data\": {\n        \"id\": 6,\n        \"account_type\": {\n            \"id\": 7,\n            \"name\": \"Free Client\",\n            \"description\": \"Free Client.\",\n            \"access_level\": {\n                \"level\": 13,\n                \"name\": \"Free Client\"\n            },\n            \"product_code\": null,\n            \"created_at\": \"2021-01-11T11:51:18+02:00\",\n            \"updated_at\": null\n        },\n        \"username\": \"user\",\n        \"email\": \"user@user.com\",\n        \"title\": null,\n        \"first_name\": \"User\",\n        \"last_name\": null,\n        \"full_name\": \"User\",\n        \"position\": null,\n        \"employee_no\": null,\n        \"cellphone\": null,\n        \"national_id\": null,\n        \"timezone\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n        },\n        \"country\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"language\": {\n            \"EN\": \"English\"\n        },\n        \"logged_in\": true,\n        \"ip\": \"192.168.10.1\",\n        \"created_at\": \"2021-01-11T11:51:43+02:00\",\n        \"updated_at\": \"2021-04-26T11:46:51+02:00\",\n        \"accessed_at\": \"2021-04-26T11:46:51+02:00\",\n        \"accessed_route\": \"api/v1/users/profile\",\n        \"pubsub\": {\n            \"enabled\": true,\n            \"publish_key\": \"key\",\n            \"subscribe_key\": \"key\",\n            \"sub_channels\": [\n                \"key\",\n                \"key\"\n            ]\n        },\n        \"filestack\": {\n            \"url\": \"https://www.filestackapi.com/api/store/S3\",\n            \"api_key\": \"key\"\n        },\n        \"google\": {\n            \"maps\": {\n                \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                \"api_key\": \"key\",\n                \"client_id\": \"\"\n            }\n        },\n        \"sse\": {\n            \"url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"telemetry_url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"notify_url\": \"http://www.dummydomain.com/sse/notify/\"\n        },\n        \"user_photo_urls\": {\n            \"photo\": \"url\",\n            \"profile_large\": \"url\",\n            \"profile_medium\": \"url\",\n            \"profile_small\": \"url\"\n        },\n        \"partner\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"clients\": [],\n        \"settings\": {\n            \"test\": \"Testing\",\n            \"default\": true\n        },\n        \"permissions\": {\n            \"users\": {\n                \"title\": \"Users\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"partners\": {\n                \"title\": \"Partners\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"agencies\": {\n                \"title\": \"Agencies\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"clients\": {\n                \"title\": \"Clients\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"user_profile\": {\n                \"title\": \"User Profile\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_groups\": {\n                \"title\": \"Unit Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"units\": {\n                \"title\": \"Units\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"units_basic_edit\": {\n                        \"title\": \"Basic Unit Editing\",\n                        \"allow\": false\n                    },\n                    \"units_technical\": {\n                        \"title\": \"Technical Access\",\n                        \"allow\": true\n                    },\n                    \"unit_swapping\": {\n                        \"title\": \"Unit Swapping\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_cfg_templates\": {\n                \"title\": \"Unit Config Templates\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"maps\": {\n                \"title\": \"Map Features\",\n                \"actions\": {\n                    \"map_safe_zones\": {\n                        \"title\": \"Safe Zones\",\n                        \"allow\": false\n                    },\n                    \"map_location_finding\": {\n                        \"title\": \"Location Finding\",\n                        \"allow\": false\n                    },\n                    \"map_directions\": {\n                        \"title\": \"Directions\",\n                        \"allow\": false\n                    },\n                    \"map_markers\": {\n                        \"title\": \"Markers\",\n                        \"allow\": false\n                    },\n                    \"map_routing\": {\n                        \"title\": \"Routing\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicles\": {\n                \"title\": \"Vehicles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"assign_units\": {\n                        \"title\": \"Assign Units\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"vehicle_groups\": {\n                \"title\": \"Vehicle Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"drivers\": {\n                \"title\": \"Drivers\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_history\": {\n                \"title\": \"History & Debrief Reports\",\n                \"actions\": {\n                    \"debrief_detailed\": {\n                        \"title\": \"Debrief Detailed\",\n                        \"allow\": true\n                    },\n                    \"debrief_summary\": {\n                        \"title\": \"Debrief Summary\",\n                        \"allow\": true\n                    },\n                    \"vehicle_analysis\": {\n                        \"title\": \"Vehicle Analysis\",\n                        \"allow\": true\n                    },\n                    \"position_log\": {\n                        \"title\": \"Position Log\",\n                        \"allow\": false\n                    },\n                    \"events_detailed\": {\n                        \"title\": \"Detailed Events\",\n                        \"allow\": false\n                    }\n                }\n            }\n        },\n        \"photos\": [\n            {\n                \"id\": null,\n                \"type\": \"photo\",\n                \"url\": \"url\",\n                \"filename\": \"generic-user-photo.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_large\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-large.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_medium\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-medium.png\",\n                \"size_bytes\": 7951,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_small\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-small.png\",\n                \"size_bytes\": 4432,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"4826b7b4-7363-4c12-aaac-c8f73eea6b46"},{"name":"Get Recently Accessed Records","id":"3b0dee3e-07fa-46a8-8548-965fe2b0d5b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/users/recent/live-monitoring/vehicles","description":"<p>Requests the data of a specific user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","recent","live-monitoring","vehicles"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"1ef08445-4e7c-4eb9-89a1-d97da2ded30e","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/users/16"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 06:59:13 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 16,\n        \"account_type\": {\n            \"id\": 13,\n            \"name\": \"Client: Free Package\",\n            \"description\": \"\",\n            \"access_level\": {\n                \"level\": 7,\n                \"name\": \"Client\"\n            },\n            \"product_code\": \"PROD/TRACK/004\",\n            \"created_at\": \"2021-01-11T11:51:42+02:00\",\n            \"updated_at\": null\n        },\n        \"username\": \"client\",\n        \"email\": \"client@client.email\",\n        \"title\": \"Mr\",\n        \"first_name\": \"Client\",\n        \"last_name\": null,\n        \"full_name\": \"Client\",\n        \"position\": null,\n        \"employee_no\": null,\n        \"cellphone\": null,\n        \"national_id\": null,\n        \"timezone\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\"\n        },\n        \"country\": {\n            \"ZA\": \"South Africa\"\n        },\n        \"language\": {\n            \"EN\": \"English\"\n        },\n        \"logged_in\": false,\n        \"ip\": null,\n        \"created_at\": \"2021-04-26T08:52:03+02:00\",\n        \"updated_at\": null,\n        \"accessed_at\": null,\n        \"accessed_route\": null,\n        \"pubsub\": {\n            \"enabled\": true,\n            \"publish_key\": \"key\",\n            \"subscribe_key\": \"key\",\n            \"sub_channels\": [\n                \"key\",\n                \"key\"\n            ]\n        },\n        \"filestack\": {\n            \"url\": \"https://www.filestackapi.com/api/store/S3\",\n            \"api_key\": \"key\"\n        },\n        \"google\": {\n            \"maps\": {\n                \"api_url\": \"https://maps.googleapis.com/maps/api/js\",\n                \"geocoding_url\": \"https://maps.googleapis.com/maps/api/geocode/json\",\n                \"api_key\": \"key\",\n                \"client_id\": \"\"\n            }\n        },\n        \"sse\": {\n            \"url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"telemetry_url\": \"http://www.dummydomain.com/sse/telemetry/\",\n            \"notify_url\": \"http://www.dummydomain.com/sse/notify/\"\n        },\n        \"user_photo_urls\": {\n            \"photo\": \"url\",\n            \"profile_large\": \"url\",\n            \"profile_medium\": \"url\",\n            \"profile_small\": \"url\"\n        },\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"clients\": [\n            {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            }\n        ],\n        \"settings\": {\n            \"default\": true\n        },\n        \"permissions\": {\n            \"users\": {\n                \"title\": \"Users\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"partners\": {\n                \"title\": \"Partners\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"agencies\": {\n                \"title\": \"Agencies\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"clients\": {\n                \"title\": \"Clients\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"user_profile\": {\n                \"title\": \"User Profile\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"unit_groups\": {\n                \"title\": \"Unit Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"units\": {\n                \"title\": \"Units\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    },\n                    \"units_basic_edit\": {\n                        \"title\": \"Basic Unit Editing\",\n                        \"allow\": true\n                    },\n                    \"units_technical\": {\n                        \"title\": \"Technical Access\",\n                        \"allow\": false\n                    },\n                    \"unit_swapping\": {\n                        \"title\": \"Unit Swapping\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"unit_cfg_templates\": {\n                \"title\": \"Unit Config Templates\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": false\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": false\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": false\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"maps\": {\n                \"title\": \"Map Features\",\n                \"actions\": {\n                    \"map_safe_zones\": {\n                        \"title\": \"Safe Zones\",\n                        \"allow\": false\n                    },\n                    \"map_location_finding\": {\n                        \"title\": \"Location Finding\",\n                        \"allow\": false\n                    },\n                    \"map_directions\": {\n                        \"title\": \"Directions\",\n                        \"allow\": false\n                    },\n                    \"map_markers\": {\n                        \"title\": \"Markers\",\n                        \"allow\": false\n                    },\n                    \"map_routing\": {\n                        \"title\": \"Routing\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicles\": {\n                \"title\": \"Vehicles\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    },\n                    \"assign_units\": {\n                        \"title\": \"Assign Units\",\n                        \"allow\": false\n                    }\n                }\n            },\n            \"vehicle_groups\": {\n                \"title\": \"Vehicle Groups\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"drivers\": {\n                \"title\": \"Drivers\",\n                \"actions\": {\n                    \"view\": {\n                        \"title\": \"View\",\n                        \"allow\": true\n                    },\n                    \"create\": {\n                        \"title\": \"Create\",\n                        \"allow\": true\n                    },\n                    \"edit\": {\n                        \"title\": \"Edit\",\n                        \"allow\": true\n                    },\n                    \"delete\": {\n                        \"title\": \"Delete\",\n                        \"allow\": true\n                    }\n                }\n            },\n            \"reports_history\": {\n                \"title\": \"History & Debrief Reports\",\n                \"actions\": {\n                    \"debrief_detailed\": {\n                        \"title\": \"Debrief Detailed\",\n                        \"allow\": false\n                    },\n                    \"debrief_summary\": {\n                        \"title\": \"Debrief Summary\",\n                        \"allow\": false\n                    },\n                    \"vehicle_analysis\": {\n                        \"title\": \"Vehicle Analysis\",\n                        \"allow\": false\n                    },\n                    \"position_log\": {\n                        \"title\": \"Position Log\",\n                        \"allow\": false\n                    },\n                    \"events_detailed\": {\n                        \"title\": \"Detailed Events\",\n                        \"allow\": false\n                    }\n                }\n            }\n        },\n        \"photos\": [\n            {\n                \"id\": null,\n                \"type\": \"photo\",\n                \"url\": \"url\",\n                \"filename\": \"generic-user-photo.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_large\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-large.png\",\n                \"size_bytes\": 12376,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_medium\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-medium.png\",\n                \"size_bytes\": 7951,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            },\n            {\n                \"id\": null,\n                \"type\": \"profile_small\",\n                \"url\": \"url\",\n                \"filename\": \"user-profile-small.png\",\n                \"size_bytes\": 4432,\n                \"created_at\": \"2017-02-02T20:14:42+02:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"3b0dee3e-07fa-46a8-8548-965fe2b0d5b9"},{"name":"Get User History","id":"a5d3d47f-d6ee-461e-9f79-2ee99de4203c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"sort_order\": \"asc\", // asc, desc\n    \"date_range_type\": \"date_range\", // day, month, date_range\n    \"date_range_day\": \"2025-10-01\", // YYYY-MM-DD (day)\n    \"date_range_month\": \"2020-10\", // YYYY-MM (day)\n    \"date_range_from\": \"2025-09-01\", // YYYY-MM-DD (date_range)\n    \"date_range_to\": \"2025-10-30\", // YYYY-MM-DD (date_range)\n    \"agency_history\": true,\n    \"api_bridge_history\": true,\n    \"client_history\": true,\n    \"driver_history\": true,\n    \"partner_history\": true,\n    \"sim_card_history\": true,\n    \"unit_command_history\": true,\n    \"unit_group_history\": true,\n    \"unit_history\": true,\n    \"user_history\": true,\n    \"vehicle_history\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/users/6/history","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","users","6","history"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"a67f8f0f-3b77-4ea1-bbac-0d52cc4faf7a","name":"200 OK","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"sort_order\": \"asc\", // asc, desc\n    \"date_range_type\": \"date_range\", // day, month, date_range\n    \"date_range_day\": \"2025-10-01\", // YYYY-MM-DD\n    \"date_range_month\": \"2020-10\", // YYYY-MM\n    \"date_range_from\": \"2025-09-01\", // YYYY-MM-DD\n    \"date_range_to\": \"2025-10-30\", // YYYY-MM-DD\n    \"agency_history\": true,\n    \"api_bridge_history\": true,\n    \"client_history\": true,\n    \"driver_history\": true,\n    \"partner_history\": true,\n    \"sim_card_history\": true,\n    \"unit_command_history\": true,\n    \"unit_group_history\": true,\n    \"unit_history\": true,\n    \"user_history\": true,\n    \"vehicle_history\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/users/6/history"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 13 Oct 2025 10:53:40 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzYwMzUyODIwLCJuYmYiOjE3NjAzNTI4MjAsImV4cCI6MTc2MDM1MzQyMCwic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzYwMzUyODIwfQ.bxMOEzWyR601s8WIhVK2FeBlGPHiqVKG1snbZYng694"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"agency_history\": [\n            {\n                \"id\": 1,\n                \"type\": \"agency.updated\",\n                \"created_at\": \"2025-09-26 09:22:53\",\n                \"identifier\": [\n                    {\n                        \"label\": \"Name\",\n                        \"value\": \"ACM Technology\"\n                    },\n                    {\n                        \"label\": \"Description\",\n                        \"value\": \"ACM Internal fleet\"\n                    }\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"a5d3d47f-d6ee-461e-9f79-2ee99de4203c"}],"id":"d4b3d3c1-7f0c-4e25-8de4-5a02b32b90e4","description":"<p>User management requests</p>\n","_postman_id":"d4b3d3c1-7f0c-4e25-8de4-5a02b32b90e4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Sensors","item":[{"name":"Get Sensors by Unit Type","id":"8581b8b9-59c5-4061-a87d-0c35a2e0b240","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/units/sensors/type/acmtech","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","sensors","type","acmtech"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8581b8b9-59c5-4061-a87d-0c35a2e0b240"},{"name":"Get Sensors by Unit Type and Model","id":"a340ac3f-dacb-4ade-8b63-e25c0658e636","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/units/sensors/model/acmtech/acmtrack_1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","sensors","model","acmtech","acmtrack_1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a340ac3f-dacb-4ade-8b63-e25c0658e636"}],"id":"f0ebbb69-d884-4be3-ba8f-8c86eb0521bd","_postman_id":"f0ebbb69-d884-4be3-ba8f-8c86eb0521bd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Unit Groups","item":[{"name":"Find Unit Group","id":"9b0513d6-f950-4a07-9115-4fde2b308389","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/units/groups","description":"<p>Finds one or more unit groups.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","groups"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"b2f8f2bd-d854-4520-800f-cbe265bd7037","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/units/groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 10:36:11 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Unit Group\",\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency\": null,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"user_id\": 6,\n            \"user_full_name\": \"User Name\",\n            \"created_at\": \"2021-04-22T14:43:31+02:00\",\n            \"updated_at\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"9b0513d6-f950-4a07-9115-4fde2b308389"},{"name":"Unit Group Listing","id":"d6304bae-51e5-4aa7-a5d6-34f8d502f1cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/units/groups/listing","description":"<p>Requests a listing of unit groups which includes the id and name of each unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","groups","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"a9f29abc-9d43-402d-8a50-d895d51a2fc9","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/units/groups/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 10:37:23 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Unit Group\"\n        }\n    ]\n}"}],"_postman_id":"d6304bae-51e5-4aa7-a5d6-34f8d502f1cd"},{"name":"Unit Group Listing By Client","id":"26d54b93-6fe5-4c9d-9479-9c01841ba24f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/groups/listing/by-client/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","groups","listing","by-client","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"26262b99-96a4-47cd-a251-78c1e10ac277","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/groups/listing/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 10:38:54 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Unit Group\"\n        }\n    ]\n}"}],"_postman_id":"26d54b93-6fe5-4c9d-9479-9c01841ba24f"},{"name":"Get a Unit Group","id":"88774ae3-57d9-44a4-b2bc-76009ce86e85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/units/groups/1","description":"<p>Requests the data for a specific unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","groups","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"5223ec15-f48c-4424-b7f1-6871ccfb6225","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/units/groups/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 10:40:00 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Unit Group\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-22T14:43:31+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"88774ae3-57d9-44a4-b2bc-76009ce86e85"},{"name":"Get Unit Group Create Form Data","id":"ae0ec594-8e5c-471b-a32a-19aebc0ff183","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/units/groups/create","description":"<p>Request to retrieve the data required for a form when creating a new unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","groups","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"154e0f7b-b9a5-43b4-b068-5605920a3c28","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/units/groups/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 10:40:43 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"17"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            }\n        ]\n    }\n}"}],"_postman_id":"ae0ec594-8e5c-471b-a32a-19aebc0ff183"},{"name":"Get Unit Group Edit Form Data","id":"b957ac93-3c7b-40d4-bbd8-3559a495ab31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{http}}://{{domain}}/api/v1/units/groups/1/edit","description":"<p>Requests the data required to edit an existing unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","groups","1","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"e3e4069d-274e-4dae-9016-2993580ac551","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/units/groups/1/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 10:41:26 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Unit Group\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-22T14:43:31+02:00\",\n        \"updated_at\": null,\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            }\n        ]\n    }\n}"}],"_postman_id":"b957ac93-3c7b-40d4-bbd8-3559a495ab31"},{"name":"Create Unit Group","id":"b59406c9-4f96-4cc3-bea3-1a6d4d6a5d4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"Unit Group\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1\n}"},"url":"{{http}}://{{domain}}/api/v1/units/groups","description":"<p>Creates a new unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","groups"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"c04c71cc-2efe-4853-93f6-0a4658bdb71b","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"Update Unit Group\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1\n}"},"url":"{{http}}://{{domain}}/api/v1/units/groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 10:48:31 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created Unit Group: Unit Group\"\n    ],\n    \"data\": {\n        \"id\": 3,\n        \"name\": \"Unit Group\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-23T12:48:31+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"b59406c9-4f96-4cc3-bea3-1a6d4d6a5d4d"},{"name":"Update Existing Unit Group","id":"1ebce5a5-d1b1-4320-b406-196d31d30d6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"id\": 1,\n    \"name\": \"Unit Group\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1\n}"},"url":"{{http}}://{{domain}}/api/v1/units/groups/1","description":"<p>Updates an existing unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","groups","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"c26752f3-df8d-4f52-8b16-10f6336578c8","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"body":{"mode":"raw","raw":"{\n\t\"id\": 1,\n    \"name\": \"Unit Group\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1\n}"},"url":"{{http}}://{{domain}}/api/v1/units/groups/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 10:50:24 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated Unit Group: Unit Group\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Unit Group\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-22T14:43:31+02:00\",\n        \"updated_at\": \"2021-04-23T12:50:24+02:00\"\n    }\n}"}],"_postman_id":"1ebce5a5-d1b1-4320-b406-196d31d30d6c"},{"name":"Delete a Unit Group","id":"c4d7c25e-8192-4628-bdbc-fdbac9ffb95a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{http}}://{{domain}}/api/v1/units/groups/1","description":"<p>Deletes an existing unit group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","groups","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"d57cceef-a89a-4f36-a84c-a3cb0a61c68d","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{http}}://{{domain}}/api/v1/units/groups/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 10:51:28 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted Unit Group: Unit Group\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Unit Group\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-23T12:43:42+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"c4d7c25e-8192-4628-bdbc-fdbac9ffb95a"}],"id":"87638ec4-f68c-4dd1-8610-3e9dbe9facc2","description":"<p>Unit related requests.</p>\n","_postman_id":"87638ec4-f68c-4dd1-8610-3e9dbe9facc2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Units","item":[{"name":"Get a Unit","id":"ff7b5dcb-930f-47f0-8a87-f1dc8f378a4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"fcb55dc0-e0cf-445b-a2a0-e25363f1bb83","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{bearer}}"}],"url":"{{http}}://{{domain}}/api/v1/units/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 11:33:26 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"49"},{"key":"X-RateLimit-Reset","value":"5"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"imei\": \"5551234567890\",\n        \"serial_no\": null,\n        \"stock_no\": null,\n        \"name\": null,\n        \"unit_type_code\": \"acmtech\",\n        \"unit_type_name\": \"ACMTech\",\n        \"unit_model_code\": \"acmtrack_1\",\n        \"unit_model_name\": \"ACMTrack v1\",\n        \"unit_status_code\": \"factory\",\n        \"unit_status_name\": \"Factory\",\n        \"unit_group_id\": null,\n        \"unit_group\": null,\n        \"ignition\": \"input_01\",\n        \"fixed_latitude\": null,\n        \"fixed_longitude\": null,\n        \"vehicle_id\": 6,\n        \"assigned_as\": \"primary\",\n        \"vehicle\": {\n            \"id\": 6,\n            \"reg_no\": \"123 ABC GP\",\n            \"fleet_no\": null,\n            \"assigned_as\": \"primary\"\n        },\n        \"timezone\": \"UTC\",\n        \"op_timezone\": \"auto\",\n        \"user_full_name\": \"User Name\",\n        \"user_id\": 6,\n        \"created_at\": \"2021-04-22T13:32:48+02:00\",\n        \"updated_at\": null,\n        \"flags\": {\n            \"ign_connected\": true,\n            \"allow_geo_lookups\": true,\n            \"auto_correct_direction\": true,\n            \"perform_post_processing\": true,\n            \"post_process_trip_stops\": true\n        },\n        \"system\": {\n            \"idling\": {\n                \"enabled\": true,\n                \"event_idle_stop\": \"ENG_IDLE:STOP\",\n                \"speed_less_than\": \"1 kmh\",\n                \"event_idle_start\": \"ENG_IDLE:START\"\n            },\n            \"trip_stop\": {\n                \"time\": \"5 minutes\",\n                \"event\": \"TRIP_STOP\",\n                \"enabled\": true\n            },\n            \"trip_start\": {\n                \"event\": \"TRIP_START\",\n                \"speed\": \"10 kmh\",\n                \"enabled\": true,\n                \"distance\": \"50 meters\"\n            },\n            \"gps_spiking\": {\n                \"event\": \"GPS_SPIKE\",\n                \"speed\": \"250 kmh\",\n                \"enabled\": true\n            },\n            \"gps_drifting\": {\n                \"event\": \"GPS_DRIFTING\",\n                \"speed\": \"10 kmh\",\n                \"radius\": \"50 meters\",\n                \"enabled\": true\n            },\n            \"comms_failure\": {\n                \"after\": \"60 seconds\",\n                \"event\": \"NO_COMMS\",\n                \"enabled\": true,\n                \"report_every\": \"24 hours\",\n                \"restored_event\": \"COMMS_OK\"\n            },\n            \"faulty_ignition\": {\n                \"event\": \"IGN_FAULTY\",\n                \"enabled\": true\n            }\n        },\n        \"sensors\": [],\n        \"standard_inputs\": [],\n        \"auxiliary_inputs\": [],\n        \"event_conversions\": [],\n        \"notes\": [],\n        \"attachments\": [],\n        \"photos\": []\n    }\n}"}],"_postman_id":"ff7b5dcb-930f-47f0-8a87-f1dc8f378a4a"},{"name":"Find Unit(s)","id":"c08b22a8-696d-4bfa-a504-38ee84ccfbe0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units?per_page=100&limit=100&unit_status_code=active","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units"],"host":["{{domain}}"],"query":[{"key":"per_page","value":"100"},{"key":"limit","value":"100"},{"key":"unit_status_code","value":"active"}],"variable":[]}},"response":[{"id":"39dfccfa-8431-4d3a-826d-718a28cedfc4","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{bearer}}","type":"text"}],"url":"{{http}}://{{domain}}/api/v1/units"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 11:35:00 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": null,\n            \"agency\": null,\n            \"client_id\": 1,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"imei\": \"5551234567890\",\n            \"serial_no\": null,\n            \"stock_no\": null,\n            \"name\": null,\n            \"unit_type_code\": \"acmtech\",\n            \"unit_type_name\": \"ACMTech\",\n            \"unit_model_code\": \"acmtrack_1\",\n            \"unit_model_name\": \"ACMTrack v1\",\n            \"unit_status_code\": \"factory\",\n            \"unit_status_name\": \"Factory\",\n            \"unit_group_id\": null,\n            \"unit_group\": null,\n            \"ignition\": \"input_01\",\n            \"fixed_latitude\": null,\n            \"fixed_longitude\": null,\n            \"vehicle_id\": 6,\n            \"assigned_as\": \"primary\",\n            \"vehicle\": {\n                \"id\": 6,\n                \"reg_no\": \"123 ABC GP\",\n                \"fleet_no\": null,\n                \"assigned_as\": \"primary\"\n            },\n            \"timezone\": \"UTC\",\n            \"op_timezone\": \"auto\",\n            \"user_full_name\": \"User Name\",\n            \"user_id\": 6,\n            \"created_at\": \"2021-04-22T13:32:48+02:00\",\n            \"updated_at\": null,\n            \"sensors\": []\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 4\n    }\n}"}],"_postman_id":"c08b22a8-696d-4bfa-a504-38ee84ccfbe0"},{"name":"Find Units By Type","id":"35d687d8-5a77-4393-b58b-4f11586564c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/by-type/sigfox/exclusive","description":"<p>Exclusive is optional.</p>\n<p>Remove /exclusive to find only units where the type matches /by-type/unit_type_code.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","by-type","sigfox","exclusive"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"30be366d-2f76-4ff6-893d-46d066bda663","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{bearer}}","type":"text"}],"url":"{{http}}://{{domain}}/api/v1/units/by-type/sigfox/exclusive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 11:37:39 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": null,\n            \"agency\": null,\n            \"client_id\": 1,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"imei\": \"5551234567890\",\n            \"serial_no\": null,\n            \"stock_no\": null,\n            \"name\": null,\n            \"unit_type_code\": \"acmtech\",\n            \"unit_type_name\": \"ACMTech\",\n            \"unit_model_code\": \"acmtrack_1\",\n            \"unit_model_name\": \"ACMTrack v1\",\n            \"unit_status_code\": \"factory\",\n            \"unit_status_name\": \"Factory\",\n            \"unit_group_id\": null,\n            \"unit_group\": null,\n            \"ignition\": \"input_01\",\n            \"fixed_latitude\": null,\n            \"fixed_longitude\": null,\n            \"vehicle_id\": 6,\n            \"assigned_as\": \"primary\",\n            \"vehicle\": {\n                \"id\": 6,\n                \"reg_no\": \"123 ABC GP\",\n                \"fleet_no\": null,\n                \"assigned_as\": \"primary\"\n            },\n            \"timezone\": \"UTC\",\n            \"op_timezone\": \"auto\",\n            \"user_full_name\": \"User Name\",\n            \"user_id\": 6,\n            \"created_at\": \"2021-04-22T13:32:48+02:00\",\n            \"updated_at\": null,\n            \"sensors\": []\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 4\n    }\n}"}],"_postman_id":"35d687d8-5a77-4393-b58b-4f11586564c4"},{"name":"Unit Listing By Client","id":"abdf15cc-d5dc-4357-a585-4f58edb421a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/by-client/{{client_id}}?per_page=120&limit=120&unit_status_code=active&assigned_as=primary","description":"<p>Optional: Add /assigned or /non_assigned after id to get only units assigned to vehicles or units that was not assigned to vehicles.</p>\n<p>Leave empty to get all units assigned to specific client.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[{"key":"per_page","value":"120"},{"key":"limit","value":"120"},{"key":"unit_status_code","value":"active"},{"key":"assigned_as","value":"primary"}],"variable":[]}},"response":[{"id":"99fe9d54-5965-49b8-9ec0-8f6a38a237f3","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 11:52:34 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": null,\n            \"agency\": null,\n            \"client_id\": 1,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"imei\": \"5551234567890\",\n            \"serial_no\": null,\n            \"stock_no\": null,\n            \"name\": null,\n            \"unit_type_code\": \"acmtech\",\n            \"unit_type_name\": \"ACMTech\",\n            \"unit_model_code\": \"acmtrack_1\",\n            \"unit_model_name\": \"ACMTrack v1\",\n            \"unit_status_code\": \"factory\",\n            \"unit_status_name\": \"Factory\",\n            \"unit_group_id\": null,\n            \"unit_group\": null,\n            \"ignition\": \"input_01\",\n            \"fixed_latitude\": null,\n            \"fixed_longitude\": null,\n            \"vehicle_id\": 6,\n            \"assigned_as\": \"primary\",\n            \"vehicle\": {\n                \"id\": 6,\n                \"reg_no\": \"123 ABC GP\",\n                \"fleet_no\": null,\n                \"assigned_as\": \"primary\"\n            },\n            \"timezone\": \"UTC\",\n            \"op_timezone\": \"auto\",\n            \"user_full_name\": \"User Name\",\n            \"user_id\": 6,\n            \"created_at\": \"2021-04-22T13:32:48+02:00\",\n            \"updated_at\": null,\n            \"sensors\": []\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"abdf15cc-d5dc-4357-a585-4f58edb421a7"},{"name":"Units Listing By Vehicle","id":"f1f83380-f88a-4003-8dc5-95de9f13506d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/by-vehicle/{{vehicle_id}}/assigned","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","by-vehicle","{{vehicle_id}}","assigned"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0cba1dfa-821b-4fa4-b946-bac1696b1f3a","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/by-vehicle/1/assigned-as"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 12:31:59 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"48"},{"key":"X-RateLimit-Reset","value":"29"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": null,\n            \"agency\": null,\n            \"client_id\": 1,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"imei\": \"5551234567890\",\n            \"serial_no\": \"65G4423\",\n            \"stock_no\": null,\n            \"name\": null,\n            \"unit_type_code\": \"acmtech\",\n            \"unit_type_name\": \"ACMTech\",\n            \"unit_model_code\": \"acmtrack_1\",\n            \"unit_model_name\": \"ACMTrack v1\",\n            \"unit_status_code\": \"factory\",\n            \"unit_status_name\": \"Factory\",\n            \"unit_group_id\": null,\n            \"unit_group\": null,\n            \"ignition\": \"input_01\",\n            \"fixed_latitude\": null,\n            \"fixed_longitude\": null,\n            \"vehicle_id\": 1,\n            \"assigned_as\": \"primary\",\n            \"vehicle\": {\n                \"id\": 1,\n                \"reg_no\": \"ABC 123 GP\",\n                \"fleet_no\": \"5551234\",\n                \"assigned_as\": \"primary\"\n            },\n            \"timezone\": \"UTC\",\n            \"op_timezone\": \"auto\",\n            \"user_full_name\": \"User Name\",\n            \"user_id\": 6,\n            \"created_at\": \"2021-04-22T14:18:11+02:00\",\n            \"updated_at\": \"2021-04-22T14:31:55+02:00\",\n            \"sensors\": []\n        }\n    ]\n}"}],"_postman_id":"f1f83380-f88a-4003-8dc5-95de9f13506d"},{"name":"Get Unit By Assigned Slot","id":"c2ae5ef7-d8ff-4877-982e-9e8afb6c1159","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/by-vehicle/{{vehicle_id}}/assigned-as/primary","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","by-vehicle","{{vehicle_id}}","assigned-as","primary"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"1e617183-1625-4cca-ab43-e8bf52c52c62","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/by-vehicle/1/assigned-as"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 12:31:59 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"48"},{"key":"X-RateLimit-Reset","value":"29"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"imei\": \"5551234567890\",\n        \"serial_no\": null,\n        \"stock_no\": null,\n        \"name\": null,\n        \"unit_type_code\": \"acmtech\",\n        \"unit_type_name\": \"ACMTech\",\n        \"unit_model_code\": \"acmtrack_1\",\n        \"unit_model_name\": \"ACMTrack v1\",\n        \"unit_status_code\": \"factory\",\n        \"unit_status_name\": \"Factory\",\n        \"unit_group_id\": null,\n        \"unit_group\": null,\n        \"ignition\": \"input_01\",\n        \"fixed_latitude\": null,\n        \"fixed_longitude\": null,\n        \"vehicle_id\": 6,\n        \"assigned_as\": \"primary\",\n        \"vehicle\": {\n            \"id\": 6,\n            \"reg_no\": \"123 ABC GP\",\n            \"fleet_no\": null,\n            \"assigned_as\": \"primary\"\n        },\n        \"timezone\": \"UTC\",\n        \"op_timezone\": \"auto\",\n        \"user_full_name\": \"User Name\",\n        \"user_id\": 6,\n        \"created_at\": \"2021-04-22T13:32:48+02:00\",\n        \"updated_at\": null,\n        \"flags\": {\n            \"ign_connected\": true,\n            \"allow_geo_lookups\": true,\n            \"auto_correct_direction\": true,\n            \"perform_post_processing\": true,\n            \"post_process_trip_stops\": true\n        },\n        \"system\": {\n            \"idling\": {\n                \"enabled\": true,\n                \"event_idle_stop\": \"ENG_IDLE:STOP\",\n                \"speed_less_than\": \"1 kmh\",\n                \"event_idle_start\": \"ENG_IDLE:START\"\n            },\n            \"trip_stop\": {\n                \"time\": \"5 minutes\",\n                \"event\": \"TRIP_STOP\",\n                \"enabled\": true\n            },\n            \"trip_start\": {\n                \"event\": \"TRIP_START\",\n                \"speed\": \"10 kmh\",\n                \"enabled\": true,\n                \"distance\": \"50 meters\"\n            },\n            \"gps_spiking\": {\n                \"event\": \"GPS_SPIKE\",\n                \"speed\": \"250 kmh\",\n                \"enabled\": true\n            },\n            \"gps_drifting\": {\n                \"event\": \"GPS_DRIFTING\",\n                \"speed\": \"10 kmh\",\n                \"radius\": \"50 meters\",\n                \"enabled\": true\n            },\n            \"comms_failure\": {\n                \"after\": \"60 seconds\",\n                \"event\": \"NO_COMMS\",\n                \"enabled\": true,\n                \"report_every\": \"24 hours\",\n                \"restored_event\": \"COMMS_OK\"\n            },\n            \"faulty_ignition\": {\n                \"event\": \"IGN_FAULTY\",\n                \"enabled\": true\n            }\n        },\n        \"sensors\": [],\n        \"standard_inputs\": [],\n        \"auxiliary_inputs\": [],\n        \"event_conversions\": [],\n        \"notes\": [],\n        \"attachments\": [],\n        \"photos\": []\n    }\n}"}],"_postman_id":"c2ae5ef7-d8ff-4877-982e-9e8afb6c1159"},{"name":"Unit Listing By Group","id":"5b799bf9-f8bf-4cc8-82e8-b1dd93420cc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/by-group/ids?group_ids=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","by-group","ids"],"host":["{{domain}}"],"query":[{"key":"group_ids","value":"1"}],"variable":[]}},"response":[{"id":"17387c54-0ae5-4bbe-8ba4-079cce77391b","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{http}}://{{domain}}/api/v1/units/by-group/ids?group_ids=1","protocol":"{{http}}","host":["{{domain}}"],"path":["api","v1","units","by-group","ids"],"query":[{"key":"group_ids","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 12:45:57 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"53"},{"key":"X-RateLimit-Reset","value":"40"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": null,\n            \"agency\": null,\n            \"client_id\": 1,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"imei\": \"5551234567890\",\n            \"serial_no\": \"65G4423\",\n            \"stock_no\": null,\n            \"name\": null,\n            \"unit_type_code\": \"acmtech\",\n            \"unit_type_name\": \"ACMTech\",\n            \"unit_model_code\": \"acmtrack_1\",\n            \"unit_model_name\": \"ACMTrack v1\",\n            \"unit_status_code\": \"factory\",\n            \"unit_status_name\": \"Factory\",\n            \"unit_group_id\": 1,\n            \"unit_group\": {\n                \"id\": 1,\n                \"name\": \"Unit Group\"\n            },\n            \"ignition\": \"input_01\",\n            \"fixed_latitude\": null,\n            \"fixed_longitude\": null,\n            \"vehicle_id\": 1,\n            \"assigned_as\": \"primary\",\n            \"vehicle\": {\n                \"id\": 1,\n                \"reg_no\": \"ABC 123 GP\",\n                \"fleet_no\": \"5551234\",\n                \"assigned_as\": \"primary\"\n            },\n            \"timezone\": \"UTC\",\n            \"op_timezone\": \"auto\",\n            \"user_full_name\": \"User Name\",\n            \"user_id\": 6,\n            \"created_at\": \"2021-04-22T14:18:11+02:00\",\n            \"updated_at\": \"2021-04-22T14:45:54+02:00\",\n            \"sensors\": []\n        }\n    ]\n}"}],"_postman_id":"5b799bf9-f8bf-4cc8-82e8-b1dd93420cc2"},{"name":"Units Listing By Partner","id":"73679f51-4237-432b-81ae-1c9d0ccfe1cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/non-assigned/by-partner/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","non-assigned","by-partner","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0d65ec9a-000e-4a6c-9048-9a018dfb5a41","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/non-assigned/by-partner/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 13:00:30 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n   \"data\": [\n        {\n            \"id\": 1,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": null,\n            \"agency\": null,\n            \"client_id\": 1,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"imei\": \"5551234567890\",\n            \"serial_no\": \"65G4423\",\n            \"stock_no\": null,\n            \"name\": null,\n            \"unit_type_code\": \"acmtech\",\n            \"unit_type_name\": \"ACMTech\",\n            \"unit_model_code\": \"acmtrack_1\",\n            \"unit_model_name\": \"ACMTrack v1\",\n            \"unit_status_code\": \"factory\",\n            \"unit_status_name\": \"Factory\",\n            \"unit_group_id\": null,\n            \"unit_group\": null,\n            \"ignition\": \"input_01\",\n            \"fixed_latitude\": null,\n            \"fixed_longitude\": null,\n            \"vehicle_id\": null,\n            \"assigned_as\": null,\n            \"vehicle\": null,\n            \"timezone\": \"UTC\",\n            \"op_timezone\": \"auto\",\n            \"user_full_name\": \"User Name\",\n            \"user_id\": 6,\n            \"created_at\": \"2021-04-22T15:02:12+02:00\",\n            \"updated_at\": null,\n            \"sensors\": []\n        }\n    ]\n}"}],"_postman_id":"73679f51-4237-432b-81ae-1c9d0ccfe1cb"},{"name":"Unit Sensors LIsting By Type And Model","id":"0e8d95a4-62f6-4b75-a85e-c75b68dd7993","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/sensors/type/1/model/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","sensors","type","1","model","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e8d95a4-62f6-4b75-a85e-c75b68dd7993"},{"name":"Unit Sensors Listing By Type","id":"f42b9977-a862-41f8-a2fb-d4dfd0772490","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/sensors/type/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","sensors","type","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f42b9977-a862-41f8-a2fb-d4dfd0772490"},{"name":"Find Unit Sensors","id":"9707af8d-ce35-4ba9-99df-47ccc86d1f50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/sensors","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","sensors"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9707af8d-ce35-4ba9-99df-47ccc86d1f50"},{"name":"Units Listing","id":"7d8cd65e-142f-4f92-ba4f-377167cd9d43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"9fb590b6-7d08-4adc-bacf-bb4261614c24","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 13:13:59 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"4"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"imei\": \"5551234567890\",\n            \"serial_no\": \"65G4423\",\n            \"stock_no\": null,\n            \"name\": null\n        }\n    ]\n}"}],"_postman_id":"7d8cd65e-142f-4f92-ba4f-377167cd9d43"},{"name":"Get Unit Telemetry","id":"8acd4b92-aeae-4d6e-9c2c-0c8a2a28380c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/telemetry","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","telemetry"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"4abd0312-bbd3-480d-9d40-4f21888e320f","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/1/telemetry"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 13:15:48 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"telemetry\": {\n            \"gps\": {\n                \"fix\": [\n                    \"fixed\"\n                ],\n                \"gnss\": 1,\n                \"hdop\": 0,\n                \"pdop\": 0,\n                \"tdop\": null,\n                \"vdop\": null,\n                \"speed\": 0,\n                \"heading\": 198,\n                \"activity\": \"unknown\",\n                \"altitude\": 1678,\n                \"latitude\": -26.439923,\n                \"odometer\": null,\n                \"timezone\": \"Africa/Johannesburg\",\n                \"trip_odo\": 0,\n                \"longitude\": 29.475668,\n                \"timestamp\": \"2021-02-09T11:16:53+00:00\",\n                \"local_time\": \"2021-02-09T13:16:53+02:00\",\n                \"satellites\": 14,\n                \"distance_km\": 0\n            },\n            \"gsm\": [\n                {\n                    \"cid\": [],\n                    \"lac\": [],\n                    \"mcc\": [],\n                    \"mnc\": [],\n                    \"lcid\": [],\n                    \"rcpi\": [],\n                    \"rssi\": [],\n                    \"status\": [\n                        \"engine\",\n                        \"network\",\n                        \"data\",\n                        \"connected\"\n                    ],\n                    \"carrier\": null,\n                    \"data_mode\": \"home_stop\",\n                    \"signal_lvl\": 4,\n                    \"signal_str\": 80\n                }\n            ],\n            \"ldps\": {\n                \"name\": \"www.dummydomain.net\",\n                \"error\": null,\n                \"timestamp\": \"2021-02-09T11:17:42+00:00\",\n                \"error_code\": null\n            },\n            \"port\": 5027,\n            \"sims\": [],\n            \"valid\": true,\n            \"device\": {\n                \"id\": 1,\n                \"imei\": \"359633101461387\",\n                \"name\": null,\n                \"type\": \"teltonika\",\n                \"model\": \"acmtrack_1\",\n                \"status\": \"factory\",\n                \"firm_ver\": null,\n                \"stock_no\": null,\n                \"serial_no\": null,\n                \"identifier\": \"imei\",\n                \"assigned_as\": null\n            },\n            \"driver\": null,\n            \"events\": [],\n            \"inputs\": \"000\",\n            \"obd_ii\": {\n                \"mode_01\": []\n            },\n            \"seq_no\": 1,\n            \"source\": \"device\",\n            \"can_bus\": [],\n            \"gateway\": \"gateway.dummydomain.net\",\n            \"network\": {\n                \"mac\": null,\n                \"remote_ipv4\": \"41.206.206.35\",\n                \"remote_ipv6\": null,\n                \"remote_port\": 58303\n            },\n            \"outputs\": \"00\",\n            \"sensors\": [\n                [\n                    \"eco_score\",\n                    10\n                ],\n                [\n                    \"speed\",\n                    0\n                ],\n                [\n                    \"ebat_volts\",\n                    12.254\n                ],\n                [\n                    \"ibat_volts\",\n                    4.029\n                ],\n                [\n                    \"ibat_amps\",\n                    0\n                ],\n                [\n                    \"trip_odo\",\n                    0\n                ],\n                [\n                    \"movement\",\n                    false\n                ],\n                [\n                    \"ignition\",\n                    \"off\"\n                ],\n                [\n                    \"sleep_mode\",\n                    \"no_sleep\"\n                ]\n            ],\n            \"vehicle\": null,\n            \"buffered\": false,\n            \"an_inputs\": [\n                0.131\n            ],\n            \"timestamp\": \"2021-02-09T11:17:42+00:00\",\n            \"aux_inputs\": [],\n            \"message_ver\": 1,\n            \"message_type\": \"gps\",\n            \"transmission\": \"tcp\"\n        }\n    }\n}"}],"_postman_id":"8acd4b92-aeae-4d6e-9c2c-0c8a2a28380c"},{"name":"Get Unit Telemetry by IMEI","id":"b31e2441-7447-4e72-b5d7-03c93513d832","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/by-imei/{{imei}}/telemetry","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","by-imei","{{imei}}","telemetry"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"b8f35ea3-ee6e-4708-8e25-4f417bfcf512","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/1/telemetry"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 13:15:48 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"telemetry\": {\n            \"gps\": {\n                \"fix\": [\n                    \"fixed\"\n                ],\n                \"gnss\": 1,\n                \"hdop\": 0,\n                \"pdop\": 0,\n                \"tdop\": null,\n                \"vdop\": null,\n                \"speed\": 0,\n                \"heading\": 198,\n                \"activity\": \"unknown\",\n                \"altitude\": 1678,\n                \"latitude\": -26.439923,\n                \"odometer\": null,\n                \"timezone\": \"Africa/Johannesburg\",\n                \"trip_odo\": 0,\n                \"longitude\": 29.475668,\n                \"timestamp\": \"2021-02-09T11:16:53+00:00\",\n                \"local_time\": \"2021-02-09T13:16:53+02:00\",\n                \"satellites\": 14,\n                \"distance_km\": 0\n            },\n            \"gsm\": [\n                {\n                    \"cid\": [],\n                    \"lac\": [],\n                    \"mcc\": [],\n                    \"mnc\": [],\n                    \"lcid\": [],\n                    \"rcpi\": [],\n                    \"rssi\": [],\n                    \"status\": [\n                        \"engine\",\n                        \"network\",\n                        \"data\",\n                        \"connected\"\n                    ],\n                    \"carrier\": null,\n                    \"data_mode\": \"home_stop\",\n                    \"signal_lvl\": 4,\n                    \"signal_str\": 80\n                }\n            ],\n            \"ldps\": {\n                \"name\": \"www.dummydomain.net\",\n                \"error\": null,\n                \"timestamp\": \"2021-02-09T11:17:42+00:00\",\n                \"error_code\": null\n            },\n            \"port\": 5027,\n            \"sims\": [],\n            \"valid\": true,\n            \"device\": {\n                \"id\": 1,\n                \"imei\": \"359633101461387\",\n                \"name\": null,\n                \"type\": \"teltonika\",\n                \"model\": \"acmtrack_1\",\n                \"status\": \"factory\",\n                \"firm_ver\": null,\n                \"stock_no\": null,\n                \"serial_no\": null,\n                \"identifier\": \"imei\",\n                \"assigned_as\": null\n            },\n            \"driver\": null,\n            \"events\": [],\n            \"inputs\": \"000\",\n            \"obd_ii\": {\n                \"mode_01\": []\n            },\n            \"seq_no\": 1,\n            \"source\": \"device\",\n            \"can_bus\": [],\n            \"gateway\": \"gateway.dummydomain.net\",\n            \"network\": {\n                \"mac\": null,\n                \"remote_ipv4\": \"41.206.206.35\",\n                \"remote_ipv6\": null,\n                \"remote_port\": 58303\n            },\n            \"outputs\": \"00\",\n            \"sensors\": [\n                [\n                    \"eco_score\",\n                    10\n                ],\n                [\n                    \"speed\",\n                    0\n                ],\n                [\n                    \"ebat_volts\",\n                    12.254\n                ],\n                [\n                    \"ibat_volts\",\n                    4.029\n                ],\n                [\n                    \"ibat_amps\",\n                    0\n                ],\n                [\n                    \"trip_odo\",\n                    0\n                ],\n                [\n                    \"movement\",\n                    false\n                ],\n                [\n                    \"ignition\",\n                    \"off\"\n                ],\n                [\n                    \"sleep_mode\",\n                    \"no_sleep\"\n                ]\n            ],\n            \"vehicle\": null,\n            \"buffered\": false,\n            \"an_inputs\": [\n                0.131\n            ],\n            \"timestamp\": \"2021-02-09T11:17:42+00:00\",\n            \"aux_inputs\": [],\n            \"message_ver\": 1,\n            \"message_type\": \"gps\",\n            \"transmission\": \"tcp\"\n        }\n    }\n}"}],"_postman_id":"b31e2441-7447-4e72-b5d7-03c93513d832"},{"name":"Get Unit Telemetry by Serial No.","id":"1ba72c30-1633-47d6-8e61-0af08f1944b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/by-serial-no/{{serial_no}}/telemetry","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","by-serial-no","{{serial_no}}","telemetry"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"3ae1314c-2a59-4dde-9004-fdd3f3d85a9a","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/1/telemetry"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 13:15:48 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"telemetry\": {\n            \"gps\": {\n                \"fix\": [\n                    \"fixed\"\n                ],\n                \"gnss\": 1,\n                \"hdop\": 0,\n                \"pdop\": 0,\n                \"tdop\": null,\n                \"vdop\": null,\n                \"speed\": 0,\n                \"heading\": 198,\n                \"activity\": \"unknown\",\n                \"altitude\": 1678,\n                \"latitude\": -26.439923,\n                \"odometer\": null,\n                \"timezone\": \"Africa/Johannesburg\",\n                \"trip_odo\": 0,\n                \"longitude\": 29.475668,\n                \"timestamp\": \"2021-02-09T11:16:53+00:00\",\n                \"local_time\": \"2021-02-09T13:16:53+02:00\",\n                \"satellites\": 14,\n                \"distance_km\": 0\n            },\n            \"gsm\": [\n                {\n                    \"cid\": [],\n                    \"lac\": [],\n                    \"mcc\": [],\n                    \"mnc\": [],\n                    \"lcid\": [],\n                    \"rcpi\": [],\n                    \"rssi\": [],\n                    \"status\": [\n                        \"engine\",\n                        \"network\",\n                        \"data\",\n                        \"connected\"\n                    ],\n                    \"carrier\": null,\n                    \"data_mode\": \"home_stop\",\n                    \"signal_lvl\": 4,\n                    \"signal_str\": 80\n                }\n            ],\n            \"ldps\": {\n                \"name\": \"www.dummydomain.net\",\n                \"error\": null,\n                \"timestamp\": \"2021-02-09T11:17:42+00:00\",\n                \"error_code\": null\n            },\n            \"port\": 5027,\n            \"sims\": [],\n            \"valid\": true,\n            \"device\": {\n                \"id\": 1,\n                \"imei\": \"359633101461387\",\n                \"name\": null,\n                \"type\": \"teltonika\",\n                \"model\": \"acmtrack_1\",\n                \"status\": \"factory\",\n                \"firm_ver\": null,\n                \"stock_no\": null,\n                \"serial_no\": null,\n                \"identifier\": \"imei\",\n                \"assigned_as\": null\n            },\n            \"driver\": null,\n            \"events\": [],\n            \"inputs\": \"000\",\n            \"obd_ii\": {\n                \"mode_01\": []\n            },\n            \"seq_no\": 1,\n            \"source\": \"device\",\n            \"can_bus\": [],\n            \"gateway\": \"gateway.dummydomain.net\",\n            \"network\": {\n                \"mac\": null,\n                \"remote_ipv4\": \"41.206.206.35\",\n                \"remote_ipv6\": null,\n                \"remote_port\": 58303\n            },\n            \"outputs\": \"00\",\n            \"sensors\": [\n                [\n                    \"eco_score\",\n                    10\n                ],\n                [\n                    \"speed\",\n                    0\n                ],\n                [\n                    \"ebat_volts\",\n                    12.254\n                ],\n                [\n                    \"ibat_volts\",\n                    4.029\n                ],\n                [\n                    \"ibat_amps\",\n                    0\n                ],\n                [\n                    \"trip_odo\",\n                    0\n                ],\n                [\n                    \"movement\",\n                    false\n                ],\n                [\n                    \"ignition\",\n                    \"off\"\n                ],\n                [\n                    \"sleep_mode\",\n                    \"no_sleep\"\n                ]\n            ],\n            \"vehicle\": null,\n            \"buffered\": false,\n            \"an_inputs\": [\n                0.131\n            ],\n            \"timestamp\": \"2021-02-09T11:17:42+00:00\",\n            \"aux_inputs\": [],\n            \"message_ver\": 1,\n            \"message_type\": \"gps\",\n            \"transmission\": \"tcp\"\n        }\n    }\n}"}],"_postman_id":"1ba72c30-1633-47d6-8e61-0af08f1944b3"},{"name":"Units View","id":"f7da024a-a3a4-4500-9e2d-1311254d86ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/view","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","view"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"69d4e11d-521c-4466-a59c-3d8f5cc0a91f","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/1/view"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 13:18:41 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"imei\": \"5551234567890\",\n        \"serial_no\": \"65G4423\",\n        \"stock_no\": null,\n        \"name\": null,\n        \"unit_type_code\": \"acmtech\",\n        \"unit_type_name\": \"ACMTech\",\n        \"unit_model_code\": \"acmtrack_1\",\n        \"unit_model_name\": \"ACMTrack v1\",\n        \"unit_status_code\": \"factory\",\n        \"unit_status_name\": \"Factory\",\n        \"unit_group_id\": 1,\n        \"unit_group\": {\n            \"id\": 1,\n            \"name\": \"Unit Group\"\n        },\n        \"ignition\": \"input_01\",\n        \"fixed_latitude\": null,\n        \"fixed_longitude\": null,\n        \"vehicle_id\": 1,\n        \"assigned_as\": \"primary\",\n        \"vehicle\": {\n            \"id\": 1,\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\",\n            \"assigned_as\": \"primary\"\n        },\n        \"timezone\": \"UTC\",\n        \"op_timezone\": \"auto\",\n        \"user_full_name\": \"User Name\",\n        \"user_id\": 6,\n        \"created_at\": \"2021-04-22T14:18:11+02:00\",\n        \"updated_at\": \"2021-04-22T14:45:54+02:00\",\n        \"flags\": {\n            \"ign_connected\": true,\n            \"allow_geo_lookups\": true,\n            \"auto_correct_direction\": true,\n            \"perform_post_processing\": true,\n            \"post_process_trip_stops\": true\n        },\n        \"system\": {\n            \"idling\": {\n                \"enabled\": true,\n                \"event_idle_stop\": \"ENG_IDLE:STOP\",\n                \"speed_less_than\": \"1 kmh\",\n                \"event_idle_start\": \"ENG_IDLE:START\"\n            },\n            \"trip_stop\": {\n                \"time\": \"5 minutes\",\n                \"event\": \"TRIP_STOP\",\n                \"enabled\": true\n            },\n            \"trip_start\": {\n                \"event\": \"TRIP_START\",\n                \"speed\": \"10 kmh\",\n                \"enabled\": true,\n                \"distance\": \"50 meters\"\n            },\n            \"gps_spiking\": {\n                \"event\": \"GPS_SPIKE\",\n                \"speed\": \"250 kmh\",\n                \"enabled\": true\n            },\n            \"gps_drifting\": {\n                \"event\": \"GPS_DRIFTING\",\n                \"speed\": \"10 kmh\",\n                \"radius\": \"50 meters\",\n                \"enabled\": true\n            },\n            \"comms_failure\": {\n                \"after\": \"60 seconds\",\n                \"event\": \"NO_COMMS\",\n                \"enabled\": true,\n                \"report_every\": \"24 hours\",\n                \"restored_event\": \"COMMS_OK\"\n            },\n            \"faulty_ignition\": {\n                \"event\": \"IGN_FAULTY\",\n                \"enabled\": true\n            }\n        },\n        \"sensors\": [],\n        \"standard_inputs\": [],\n        \"auxiliary_inputs\": [],\n        \"event_conversions\": [],\n        \"notes\": [],\n        \"attachments\": [],\n        \"photos\": [],\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            }\n        ],\n        \"agencies\": [\n            {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            }\n        ],\n        \"clients\": [\n            {\n                \"id\": 2,\n                \"name\": \"Agency Client Name 2\"\n            },\n            {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            }\n        ],\n        \"unit_types\": [\n            {\n                \"code\": \"acmtech\",\n                \"name\": \"ACMTech\"\n            },\n            {\n                \"code\": \"calamp\",\n                \"name\": \"Calamp\"\n            },\n            {\n                \"code\": \"gosafe\",\n                \"name\": \"Gosafe\"\n            },\n            {\n                \"code\": \"queclink\",\n                \"name\": \"Queclink\"\n            },\n            {\n                \"code\": \"teltonika\",\n                \"name\": \"Teltonika\"\n            },\n            {\n                \"code\": \"gt06\",\n                \"name\": \"GT06\"\n            },\n            {\n                \"code\": \"wist\",\n                \"name\": \"Wist\"\n            },\n            {\n                \"code\": \"cobd\",\n                \"name\": \"CObd\"\n            },\n            {\n                \"code\": \"sigfox\",\n                \"name\": \"SigFox\"\n            }\n        ],\n        \"unit_models\": {\n            \"acmtech\": [\n                {\n                    \"code\": \"acmtrack_1\",\n                    \"name\": \"ACMTrack v1\"\n                },\n                {\n                    \"code\": \"acmtrack_2\",\n                    \"name\": \"ACMTrack v2\"\n                }\n            ],\n            \"calamp\": [\n                {\n                    \"code\": \"atu_620\",\n                    \"name\": \"ATU-620\"\n                },\n                {\n                    \"code\": \"ttu_700\",\n                    \"name\": \"TTU-720\"\n                },\n                {\n                    \"code\": \"ttu_1200\",\n                    \"name\": \"TTU-1200\"\n                },\n                {\n                    \"code\": \"ttu_2830\",\n                    \"name\": \"TTU-2830\"\n                },\n                {\n                    \"code\": \"ttu_2840\",\n                    \"name\": \"TTU-2840 XTREME\"\n                },\n                {\n                    \"code\": \"lmu_200\",\n                    \"name\": \"LMU-200\"\n                },\n                {\n                    \"code\": \"lmu_300\",\n                    \"name\": \"LMU-300\"\n                },\n                {\n                    \"code\": \"lmu_303x\",\n                    \"name\": \"LMU-303-X\"\n                },\n                {\n                    \"code\": \"lmu_400\",\n                    \"name\": \"LMU-400\"\n                },\n                {\n                    \"code\": \"lmu_600\",\n                    \"name\": \"LMU-600\"\n                },\n                {\n                    \"code\": \"lmu_700\",\n                    \"name\": \"LMU-700\"\n                },\n                {\n                    \"code\": \"lmu_800\",\n                    \"name\": \"LMU-800\"\n                },\n                {\n                    \"code\": \"lmu_900\",\n                    \"name\": \"LMU-900\"\n                },\n                {\n                    \"code\": \"lmu_1100\",\n                    \"name\": \"LMU-1100\"\n                },\n                {\n                    \"code\": \"lmu_1200\",\n                    \"name\": \"LMU-1200\"\n                },\n                {\n                    \"code\": \"lmu_2010\",\n                    \"name\": \"LMU-2010\"\n                },\n                {\n                    \"code\": \"lmu_2030\",\n                    \"name\": \"LMU-2030\"\n                },\n                {\n                    \"code\": \"lmu_2100\",\n                    \"name\": \"LMU-2100\"\n                },\n                {\n                    \"code\": \"lmu_2600\",\n                    \"name\": \"LMU-2600\"\n                },\n                {\n                    \"code\": \"lmu_3200\",\n                    \"name\": \"LMU-3200\"\n                },\n                {\n                    \"code\": \"lmu_4200\",\n                    \"name\": \"LMU-4200\"\n                },\n                {\n                    \"code\": \"lmu_4520\",\n                    \"name\": \"LMU-4250\"\n                },\n                {\n                    \"code\": \"lmu_5530\",\n                    \"name\": \"LMU-5530\"\n                },\n                {\n                    \"code\": \"mdt_7p\",\n                    \"name\": \"MDT-7P\"\n                }\n            ],\n            \"gosafe\": [\n                {\n                    \"code\": \"g1s\",\n                    \"name\": \"G1S\"\n                },\n                {\n                    \"code\": \"g2p\",\n                    \"name\": \"G2P\"\n                },\n                {\n                    \"code\": \"g3a\",\n                    \"name\": \"G3A\"\n                },\n                {\n                    \"code\": \"g3c\",\n                    \"name\": \"G3C\"\n                },\n                {\n                    \"code\": \"g3s\",\n                    \"name\": \"G3S\"\n                },\n                {\n                    \"code\": \"g6s\",\n                    \"name\": \"G6S\"\n                },\n                {\n                    \"code\": \"g7s\",\n                    \"name\": \"G7S\"\n                },\n                {\n                    \"code\": \"g79w\",\n                    \"name\": \"G79W\"\n                }\n            ],\n            \"queclink\": [\n                {\n                    \"code\": \"gl200\",\n                    \"name\": \"GL200\"\n                },\n                {\n                    \"code\": \"gl300\",\n                    \"name\": \"GL300\"\n                },\n                {\n                    \"code\": \"gl300vc\",\n                    \"name\": \"GL300VC\"\n                },\n                {\n                    \"code\": \"gl300w\",\n                    \"name\": \"GL300W\"\n                },\n                {\n                    \"code\": \"gl500\",\n                    \"name\": \"GL500\"\n                },\n                {\n                    \"code\": \"gl505\",\n                    \"name\": \"GL505\"\n                },\n                {\n                    \"code\": \"gl520\",\n                    \"name\": \"GL520\"\n                },\n                {\n                    \"code\": \"gl3000w\",\n                    \"name\": \"GL3000W\"\n                }\n            ],\n            \"teltonika\": [\n                {\n                    \"code\": \"fm36m1\",\n                    \"name\": \"FM36M1\"\n                },\n                {\n                    \"code\": \"fm3001\",\n                    \"name\": \"FM3001\"\n                },\n                {\n                    \"code\": \"fm3612\",\n                    \"name\": \"FM3612\"\n                },\n                {\n                    \"code\": \"fm6300\",\n                    \"name\": \"FM6300\"\n                },\n                {\n                    \"code\": \"fmb001\",\n                    \"name\": \"FMB001\"\n                },\n                {\n                    \"code\": \"fmb002\",\n                    \"name\": \"FMB002\"\n                },\n                {\n                    \"code\": \"fmb003\",\n                    \"name\": \"FMB003\"\n                },\n                {\n                    \"code\": \"fmb010\",\n                    \"name\": \"FMB010\"\n                },\n                {\n                    \"code\": \"fmb020\",\n                    \"name\": \"FMB020\"\n                },\n                {\n                    \"code\": \"fmb110\",\n                    \"name\": \"FMB110\"\n                },\n                {\n                    \"code\": \"fmb120\",\n                    \"name\": \"FMB120\"\n                },\n                {\n                    \"code\": \"fmb122\",\n                    \"name\": \"FMB122\"\n                },\n                {\n                    \"code\": \"fmb125\",\n                    \"name\": \"FMB125\"\n                },\n                {\n                    \"code\": \"fmb130\",\n                    \"name\": \"FMB130\"\n                },\n                {\n                    \"code\": \"fmb140\",\n                    \"name\": \"FMB140\"\n                },\n                {\n                    \"code\": \"fmb202\",\n                    \"name\": \"FMB202\"\n                },\n                {\n                    \"code\": \"fmb204\",\n                    \"name\": \"FMB204\"\n                },\n                {\n                    \"code\": \"fmb208\",\n                    \"name\": \"FMB208\"\n                },\n                {\n                    \"code\": \"fmb630\",\n                    \"name\": \"FMB630\"\n                },\n                {\n                    \"code\": \"fmb640\",\n                    \"name\": \"FMB640\"\n                },\n                {\n                    \"code\": \"fmb900\",\n                    \"name\": \"FMB900\"\n                },\n                {\n                    \"code\": \"fmb920\",\n                    \"name\": \"FMB920\"\n                },\n                {\n                    \"code\": \"fmb964\",\n                    \"name\": \"FMB964\"\n                },\n                {\n                    \"code\": \"fmc001\",\n                    \"name\": \"FMC001\"\n                },\n                {\n                    \"code\": \"fmc125\",\n                    \"name\": \"FMC125\"\n                },\n                {\n                    \"code\": \"fmc130\",\n                    \"name\": \"FMC130\"\n                },\n                {\n                    \"code\": \"fmc640\",\n                    \"name\": \"FMC640\"\n                },\n                {\n                    \"code\": \"fmm001\",\n                    \"name\": \"FMM001\"\n                },\n                {\n                    \"code\": \"fmm125\",\n                    \"name\": \"FMM125\"\n                },\n                {\n                    \"code\": \"fmm130\",\n                    \"name\": \"FMM130\"\n                },\n                {\n                    \"code\": \"fmm640\",\n                    \"name\": \"FMM640\"\n                },\n                {\n                    \"code\": \"fmu125\",\n                    \"name\": \"FMU125\"\n                },\n                {\n                    \"code\": \"fmu126\",\n                    \"name\": \"FMU126\"\n                },\n                {\n                    \"code\": \"fmu130\",\n                    \"name\": \"FMU130\"\n                },\n                {\n                    \"code\": \"fmt100\",\n                    \"name\": \"FMT100\"\n                },\n                {\n                    \"code\": \"msp500\",\n                    \"name\": \"MSP500\"\n                },\n                {\n                    \"code\": \"mtb100\",\n                    \"name\": \"MTB100\"\n                },\n                {\n                    \"code\": \"tmt250\",\n                    \"name\": \"TMT250\"\n                }\n            ],\n            \"gt06\": [\n                {\n                    \"code\": \"gt06\",\n                    \"name\": \"GT06\"\n                }\n            ],\n            \"wist\": [\n                {\n                    \"code\": \"wist\",\n                    \"name\": \"Wist\"\n                }\n            ],\n            \"cobd\": [\n                {\n                    \"code\": \"cobd\",\n                    \"name\": \"CObd\"\n                }\n            ],\n            \"sigfox\": [\n                {\n                    \"code\": \"foxy\",\n                    \"name\": \"Foxy\"\n                }\n            ]\n        },\n        \"unit_statuses\": [\n            {\n                \"code\": \"factory\",\n                \"name\": \"Factory\"\n            },\n            {\n                \"code\": \"pre_stock_pending\",\n                \"name\": \"Pre-stock Pending\"\n            },\n            {\n                \"code\": \"post_stock_pending\",\n                \"name\": \"Post-stock Pending\"\n            },\n            {\n                \"code\": \"ready\",\n                \"name\": \"Ready\"\n            },\n            {\n                \"code\": \"pre_active\",\n                \"name\": \"Pre-Active\"\n            },\n            {\n                \"code\": \"active\",\n                \"name\": \"Active\"\n            },\n            {\n                \"code\": \"maintenance\",\n                \"name\": \"Maintenance\"\n            }\n        ],\n        \"config_templates\": [],\n        \"sensor_data\": [],\n        \"timezones\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\",\n            \"UTC\": \"UTC (GMT+00)\"\n        },\n        \"units_of_measurement\": [\n            {\n                \"unit\": \"celsius\",\n                \"symbol\": \"°C\",\n                \"description\": \"°C [Celsius]\"\n            },\n            {\n                \"unit\": \"fahrenheit\",\n                \"symbol\": \"°F\",\n                \"description\": \"°F [Fahrenheit]\"\n            },\n            {\n                \"unit\": \"litre\",\n                \"symbol\": \"l\",\n                \"description\": \"ℓ [Litre]\"\n            },\n            {\n                \"unit\": \"gallon_us\",\n                \"symbol\": \"gal (US)\",\n                \"description\": \"Gallons [US]\"\n            },\n            {\n                \"unit\": \"gallon_uk\",\n                \"symbol\": \"gal (UK)\",\n                \"description\": \"Gallons [UK]]\"\n            },\n            {\n                \"unit\": \"percent\",\n                \"symbol\": \"%\",\n                \"description\": \"% [Percentage]\"\n            },\n            {\n                \"unit\": \"psi\",\n                \"symbol\": \"psi\",\n                \"description\": \"Psi\"\n            },\n            {\n                \"unit\": \"bar\",\n                \"symbol\": \"bar\",\n                \"description\": \"Bar\"\n            },\n            {\n                \"unit\": \"pascal\",\n                \"symbol\": \"Pa\",\n                \"description\": \"Pascal\"\n            },\n            {\n                \"unit\": \"rpm\",\n                \"symbol\": \"RPM\",\n                \"description\": \"RPM\"\n            },\n            {\n                \"unit\": \"count\",\n                \"symbol\": \"#\",\n                \"description\": \"Count\"\n            }\n        ]\n    }\n}"}],"_postman_id":"f7da024a-a3a4-4500-9e2d-1311254d86ce"},{"name":"Get Units Basic Edit Form Data","id":"29f5c2be-375f-4642-9fef-b6e20e79f257","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/basic/{{unit_id}}/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","basic","{{unit_id}}","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"1c03bc75-6628-4013-b407-335a08d3546a","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/basic/1/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 13:22:27 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"imei\": \"5551234567890\",\n        \"serial_no\": \"65G4423\",\n        \"name\": null,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"unit_group_id\": 1,\n        \"unit_group\": {\n            \"id\": 1,\n            \"name\": \"Unit Group\"\n        },\n        \"unit_type_code\": \"acmtech\",\n        \"unit_type_name\": \"ACMTech\",\n        \"unit_model_code\": \"acmtrack_1\",\n        \"unit_model_name\": \"ACMTrack v1\"\n    }\n}"}],"_postman_id":"29f5c2be-375f-4642-9fef-b6e20e79f257"},{"name":"Get Unit Basic Information","id":"f59b8cbe-518a-4167-9d09-fd197aad97e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/basic/{{unit_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","basic","{{unit_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8fc80a73-a69b-44da-85cb-1e696fce1e91","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/basic/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 13:24:38 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"imei\": \"5551234567890\",\n        \"serial_no\": \"65G4423\",\n        \"name\": null,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"unit_group_id\": 1,\n        \"unit_group\": {\n            \"id\": 1,\n            \"name\": \"Unit Group\"\n        },\n        \"unit_type_code\": \"acmtech\",\n        \"unit_type_name\": \"ACMTech\",\n        \"unit_model_code\": \"acmtrack_1\",\n        \"unit_model_name\": \"ACMTrack v1\"\n    }\n}"}],"_postman_id":"f59b8cbe-518a-4167-9d09-fd197aad97e3"},{"name":"Get Unit Create Form Data","id":"b2a54dd1-00fa-4a14-8138-4f36883aabff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"da97df26-1514-45c8-8d58-077666b63653","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 07:47:21 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            }\n        ],\n        \"unit_types\": [\n            {\n                \"code\": \"acmtech\",\n                \"name\": \"ACMTech\"\n            },\n            {\n                \"code\": \"calamp\",\n                \"name\": \"Calamp\"\n            },\n            {\n                \"code\": \"gosafe\",\n                \"name\": \"Gosafe\"\n            },\n            {\n                \"code\": \"queclink\",\n                \"name\": \"Queclink\"\n            },\n            {\n                \"code\": \"teltonika\",\n                \"name\": \"Teltonika\"\n            },\n            {\n                \"code\": \"gt06\",\n                \"name\": \"GT06\"\n            },\n            {\n                \"code\": \"wist\",\n                \"name\": \"Wist\"\n            },\n            {\n                \"code\": \"cobd\",\n                \"name\": \"CObd\"\n            },\n            {\n                \"code\": \"sigfox\",\n                \"name\": \"SigFox\"\n            }\n        ],\n        \"unit_models\": {\n            \"acmtech\": [\n                {\n                    \"code\": \"acmtrack_1\",\n                    \"name\": \"ACMTrack v1\"\n                },\n                {\n                    \"code\": \"acmtrack_2\",\n                    \"name\": \"ACMTrack v2\"\n                }\n            ],\n            \"calamp\": [\n                {\n                    \"code\": \"atu_620\",\n                    \"name\": \"ATU-620\"\n                },\n                {\n                    \"code\": \"ttu_700\",\n                    \"name\": \"TTU-720\"\n                },\n                {\n                    \"code\": \"ttu_1200\",\n                    \"name\": \"TTU-1200\"\n                },\n                {\n                    \"code\": \"ttu_2830\",\n                    \"name\": \"TTU-2830\"\n                },\n                {\n                    \"code\": \"ttu_2840\",\n                    \"name\": \"TTU-2840 XTREME\"\n                },\n                {\n                    \"code\": \"lmu_200\",\n                    \"name\": \"LMU-200\"\n                },\n                {\n                    \"code\": \"lmu_300\",\n                    \"name\": \"LMU-300\"\n                },\n                {\n                    \"code\": \"lmu_303x\",\n                    \"name\": \"LMU-303-X\"\n                },\n                {\n                    \"code\": \"lmu_400\",\n                    \"name\": \"LMU-400\"\n                },\n                {\n                    \"code\": \"lmu_600\",\n                    \"name\": \"LMU-600\"\n                },\n                {\n                    \"code\": \"lmu_700\",\n                    \"name\": \"LMU-700\"\n                },\n                {\n                    \"code\": \"lmu_800\",\n                    \"name\": \"LMU-800\"\n                },\n                {\n                    \"code\": \"lmu_900\",\n                    \"name\": \"LMU-900\"\n                },\n                {\n                    \"code\": \"lmu_1100\",\n                    \"name\": \"LMU-1100\"\n                },\n                {\n                    \"code\": \"lmu_1200\",\n                    \"name\": \"LMU-1200\"\n                },\n                {\n                    \"code\": \"lmu_2010\",\n                    \"name\": \"LMU-2010\"\n                },\n                {\n                    \"code\": \"lmu_2030\",\n                    \"name\": \"LMU-2030\"\n                },\n                {\n                    \"code\": \"lmu_2100\",\n                    \"name\": \"LMU-2100\"\n                },\n                {\n                    \"code\": \"lmu_2600\",\n                    \"name\": \"LMU-2600\"\n                },\n                {\n                    \"code\": \"lmu_3200\",\n                    \"name\": \"LMU-3200\"\n                },\n                {\n                    \"code\": \"lmu_4200\",\n                    \"name\": \"LMU-4200\"\n                },\n                {\n                    \"code\": \"lmu_4520\",\n                    \"name\": \"LMU-4250\"\n                },\n                {\n                    \"code\": \"lmu_5530\",\n                    \"name\": \"LMU-5530\"\n                },\n                {\n                    \"code\": \"mdt_7p\",\n                    \"name\": \"MDT-7P\"\n                }\n            ],\n            \"gosafe\": [\n                {\n                    \"code\": \"g1s\",\n                    \"name\": \"G1S\"\n                },\n                {\n                    \"code\": \"g2p\",\n                    \"name\": \"G2P\"\n                },\n                {\n                    \"code\": \"g3a\",\n                    \"name\": \"G3A\"\n                },\n                {\n                    \"code\": \"g3c\",\n                    \"name\": \"G3C\"\n                },\n                {\n                    \"code\": \"g3s\",\n                    \"name\": \"G3S\"\n                },\n                {\n                    \"code\": \"g6s\",\n                    \"name\": \"G6S\"\n                },\n                {\n                    \"code\": \"g7s\",\n                    \"name\": \"G7S\"\n                },\n                {\n                    \"code\": \"g79w\",\n                    \"name\": \"G79W\"\n                }\n            ],\n            \"queclink\": [\n                {\n                    \"code\": \"gl200\",\n                    \"name\": \"GL200\"\n                },\n                {\n                    \"code\": \"gl300\",\n                    \"name\": \"GL300\"\n                },\n                {\n                    \"code\": \"gl300vc\",\n                    \"name\": \"GL300VC\"\n                },\n                {\n                    \"code\": \"gl300w\",\n                    \"name\": \"GL300W\"\n                },\n                {\n                    \"code\": \"gl500\",\n                    \"name\": \"GL500\"\n                },\n                {\n                    \"code\": \"gl505\",\n                    \"name\": \"GL505\"\n                },\n                {\n                    \"code\": \"gl520\",\n                    \"name\": \"GL520\"\n                },\n                {\n                    \"code\": \"gl3000w\",\n                    \"name\": \"GL3000W\"\n                }\n            ],\n            \"teltonika\": [\n                {\n                    \"code\": \"fm36m1\",\n                    \"name\": \"FM36M1\"\n                },\n                {\n                    \"code\": \"fm3001\",\n                    \"name\": \"FM3001\"\n                },\n                {\n                    \"code\": \"fm3612\",\n                    \"name\": \"FM3612\"\n                },\n                {\n                    \"code\": \"fm6300\",\n                    \"name\": \"FM6300\"\n                },\n                {\n                    \"code\": \"fmb001\",\n                    \"name\": \"FMB001\"\n                },\n                {\n                    \"code\": \"fmb002\",\n                    \"name\": \"FMB002\"\n                },\n                {\n                    \"code\": \"fmb003\",\n                    \"name\": \"FMB003\"\n                },\n                {\n                    \"code\": \"fmb010\",\n                    \"name\": \"FMB010\"\n                },\n                {\n                    \"code\": \"fmb020\",\n                    \"name\": \"FMB020\"\n                },\n                {\n                    \"code\": \"fmb110\",\n                    \"name\": \"FMB110\"\n                },\n                {\n                    \"code\": \"fmb120\",\n                    \"name\": \"FMB120\"\n                },\n                {\n                    \"code\": \"fmb122\",\n                    \"name\": \"FMB122\"\n                },\n                {\n                    \"code\": \"fmb125\",\n                    \"name\": \"FMB125\"\n                },\n                {\n                    \"code\": \"fmb130\",\n                    \"name\": \"FMB130\"\n                },\n                {\n                    \"code\": \"fmb140\",\n                    \"name\": \"FMB140\"\n                },\n                {\n                    \"code\": \"fmb202\",\n                    \"name\": \"FMB202\"\n                },\n                {\n                    \"code\": \"fmb204\",\n                    \"name\": \"FMB204\"\n                },\n                {\n                    \"code\": \"fmb208\",\n                    \"name\": \"FMB208\"\n                },\n                {\n                    \"code\": \"fmb630\",\n                    \"name\": \"FMB630\"\n                },\n                {\n                    \"code\": \"fmb640\",\n                    \"name\": \"FMB640\"\n                },\n                {\n                    \"code\": \"fmb900\",\n                    \"name\": \"FMB900\"\n                },\n                {\n                    \"code\": \"fmb920\",\n                    \"name\": \"FMB920\"\n                },\n                {\n                    \"code\": \"fmb964\",\n                    \"name\": \"FMB964\"\n                },\n                {\n                    \"code\": \"fmc001\",\n                    \"name\": \"FMC001\"\n                },\n                {\n                    \"code\": \"fmc125\",\n                    \"name\": \"FMC125\"\n                },\n                {\n                    \"code\": \"fmc130\",\n                    \"name\": \"FMC130\"\n                },\n                {\n                    \"code\": \"fmc640\",\n                    \"name\": \"FMC640\"\n                },\n                {\n                    \"code\": \"fmm001\",\n                    \"name\": \"FMM001\"\n                },\n                {\n                    \"code\": \"fmm125\",\n                    \"name\": \"FMM125\"\n                },\n                {\n                    \"code\": \"fmm130\",\n                    \"name\": \"FMM130\"\n                },\n                {\n                    \"code\": \"fmm640\",\n                    \"name\": \"FMM640\"\n                },\n                {\n                    \"code\": \"fmu125\",\n                    \"name\": \"FMU125\"\n                },\n                {\n                    \"code\": \"fmu126\",\n                    \"name\": \"FMU126\"\n                },\n                {\n                    \"code\": \"fmu130\",\n                    \"name\": \"FMU130\"\n                },\n                {\n                    \"code\": \"fmt100\",\n                    \"name\": \"FMT100\"\n                },\n                {\n                    \"code\": \"msp500\",\n                    \"name\": \"MSP500\"\n                },\n                {\n                    \"code\": \"mtb100\",\n                    \"name\": \"MTB100\"\n                },\n                {\n                    \"code\": \"tmt250\",\n                    \"name\": \"TMT250\"\n                }\n            ],\n            \"gt06\": [\n                {\n                    \"code\": \"gt06\",\n                    \"name\": \"GT06\"\n                }\n            ],\n            \"wist\": [\n                {\n                    \"code\": \"wist\",\n                    \"name\": \"Wist\"\n                }\n            ],\n            \"cobd\": [\n                {\n                    \"code\": \"cobd\",\n                    \"name\": \"CObd\"\n                }\n            ],\n            \"sigfox\": [\n                {\n                    \"code\": \"foxy\",\n                    \"name\": \"Foxy\"\n                }\n            ]\n        },\n        \"unit_statuses\": [\n            {\n                \"code\": \"factory\",\n                \"name\": \"Factory\"\n            },\n            {\n                \"code\": \"pre_stock_pending\",\n                \"name\": \"Pre-stock Pending\"\n            },\n            {\n                \"code\": \"post_stock_pending\",\n                \"name\": \"Post-stock Pending\"\n            },\n            {\n                \"code\": \"ready\",\n                \"name\": \"Ready\"\n            },\n            {\n                \"code\": \"pre_active\",\n                \"name\": \"Pre-Active\"\n            },\n            {\n                \"code\": \"active\",\n                \"name\": \"Active\"\n            },\n            {\n                \"code\": \"maintenance\",\n                \"name\": \"Maintenance\"\n            }\n        ],\n        \"sensor_data\": [],\n        \"timezones\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\",\n            \"UTC\": \"UTC (GMT+00)\"\n        },\n        \"config_templates\": [],\n        \"units_of_measurement\": [\n            {\n                \"unit\": \"celsius\",\n                \"symbol\": \"°C\",\n                \"description\": \"°C [Celsius]\"\n            },\n            {\n                \"unit\": \"fahrenheit\",\n                \"symbol\": \"°F\",\n                \"description\": \"°F [Fahrenheit]\"\n            },\n            {\n                \"unit\": \"litre\",\n                \"symbol\": \"l\",\n                \"description\": \"ℓ [Litre]\"\n            },\n            {\n                \"unit\": \"gallon_us\",\n                \"symbol\": \"gal (US)\",\n                \"description\": \"Gallons [US]\"\n            },\n            {\n                \"unit\": \"gallon_uk\",\n                \"symbol\": \"gal (UK)\",\n                \"description\": \"Gallons [UK]]\"\n            },\n            {\n                \"unit\": \"percent\",\n                \"symbol\": \"%\",\n                \"description\": \"% [Percentage]\"\n            },\n            {\n                \"unit\": \"psi\",\n                \"symbol\": \"psi\",\n                \"description\": \"Psi\"\n            },\n            {\n                \"unit\": \"bar\",\n                \"symbol\": \"bar\",\n                \"description\": \"Bar\"\n            },\n            {\n                \"unit\": \"pascal\",\n                \"symbol\": \"Pa\",\n                \"description\": \"Pascal\"\n            },\n            {\n                \"unit\": \"rpm\",\n                \"symbol\": \"RPM\",\n                \"description\": \"RPM\"\n            },\n            {\n                \"unit\": \"count\",\n                \"symbol\": \"#\",\n                \"description\": \"Count\"\n            }\n        ]\n    }\n}"}],"_postman_id":"b2a54dd1-00fa-4a14-8138-4f36883aabff"},{"name":"Get Unit Edit From Data","id":"13ca53f0-5262-4910-adad-3132684c8c6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"87889eec-ef80-4572-9a16-fc7205ca1ff2","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/1/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 07:49:13 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"imei\": \"5551234567890\",\n        \"serial_no\": \"65G4423\",\n        \"stock_no\": null,\n        \"name\": null,\n        \"unit_type_code\": \"acmtech\",\n        \"unit_type_name\": \"ACMTech\",\n        \"unit_model_code\": \"acmtrack_1\",\n        \"unit_model_name\": \"ACMTrack v1\",\n        \"unit_status_code\": \"factory\",\n        \"unit_status_name\": \"Factory\",\n        \"unit_group_id\": 1,\n        \"unit_group\": {\n            \"id\": 1,\n            \"name\": \"Unit Group\"\n        },\n        \"ignition\": \"input_01\",\n        \"fixed_latitude\": null,\n        \"fixed_longitude\": null,\n        \"vehicle_id\": 1,\n        \"assigned_as\": \"primary\",\n        \"vehicle\": {\n            \"id\": 1,\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\",\n            \"assigned_as\": \"primary\"\n        },\n        \"timezone\": \"UTC\",\n        \"op_timezone\": \"auto\",\n        \"user_full_name\": \"User Name\",\n        \"user_id\": 6,\n        \"created_at\": \"2021-04-22T14:18:11+02:00\",\n        \"updated_at\": \"2021-04-23T08:58:12+02:00\",\n        \"flags\": {\n            \"ign_connected\": true,\n            \"allow_geo_lookups\": true,\n            \"auto_correct_direction\": true,\n            \"perform_post_processing\": true,\n            \"post_process_trip_stops\": true\n        },\n        \"system\": {\n            \"idling\": {\n                \"enabled\": true,\n                \"event_idle_stop\": \"ENG_IDLE:STOP\",\n                \"speed_less_than\": \"1 kmh\",\n                \"event_idle_start\": \"ENG_IDLE:START\"\n            },\n            \"trip_stop\": {\n                \"time\": \"5 minutes\",\n                \"event\": \"TRIP_STOP\",\n                \"enabled\": true\n            },\n            \"trip_start\": {\n                \"event\": \"TRIP_START\",\n                \"speed\": \"10 kmh\",\n                \"enabled\": true,\n                \"distance\": \"50 meters\"\n            },\n            \"gps_spiking\": {\n                \"event\": \"GPS_SPIKE\",\n                \"speed\": \"250 kmh\",\n                \"enabled\": true\n            },\n            \"gps_drifting\": {\n                \"event\": \"GPS_DRIFTING\",\n                \"speed\": \"10 kmh\",\n                \"radius\": \"50 meters\",\n                \"enabled\": true\n            },\n            \"comms_failure\": {\n                \"after\": \"60 seconds\",\n                \"event\": \"NO_COMMS\",\n                \"enabled\": true,\n                \"report_every\": \"24 hours\",\n                \"restored_event\": \"COMMS_OK\"\n            },\n            \"faulty_ignition\": {\n                \"event\": \"IGN_FAULTY\",\n                \"enabled\": true\n            }\n        },\n        \"sensors\": [],\n        \"standard_inputs\": [],\n        \"auxiliary_inputs\": [],\n        \"event_conversions\": [],\n        \"notes\": [\n            {\n                \"id\": 23,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-22T15:51:01+02:00\",\n                \"note\": \"This is an additional note.\"\n            }\n        ],\n        \"attachments\": [],\n        \"photos\": [],\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            }\n        ],\n        \"agencies\": [\n            {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            }\n        ],\n        \"clients\": [\n            {\n                \"id\": 2,\n                \"name\": \"Agency Client Name 2\"\n            },\n            {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            }\n        ],\n        \"unit_types\": [\n            {\n                \"code\": \"acmtech\",\n                \"name\": \"ACMTech\"\n            },\n            {\n                \"code\": \"calamp\",\n                \"name\": \"Calamp\"\n            },\n            {\n                \"code\": \"gosafe\",\n                \"name\": \"Gosafe\"\n            },\n            {\n                \"code\": \"queclink\",\n                \"name\": \"Queclink\"\n            },\n            {\n                \"code\": \"teltonika\",\n                \"name\": \"Teltonika\"\n            },\n            {\n                \"code\": \"gt06\",\n                \"name\": \"GT06\"\n            },\n            {\n                \"code\": \"wist\",\n                \"name\": \"Wist\"\n            },\n            {\n                \"code\": \"cobd\",\n                \"name\": \"CObd\"\n            },\n            {\n                \"code\": \"sigfox\",\n                \"name\": \"SigFox\"\n            }\n        ],\n        \"unit_models\": {\n            \"acmtech\": [\n                {\n                    \"code\": \"acmtrack_1\",\n                    \"name\": \"ACMTrack v1\"\n                },\n                {\n                    \"code\": \"acmtrack_2\",\n                    \"name\": \"ACMTrack v2\"\n                }\n            ],\n            \"calamp\": [\n                {\n                    \"code\": \"atu_620\",\n                    \"name\": \"ATU-620\"\n                },\n                {\n                    \"code\": \"ttu_700\",\n                    \"name\": \"TTU-720\"\n                },\n                {\n                    \"code\": \"ttu_1200\",\n                    \"name\": \"TTU-1200\"\n                },\n                {\n                    \"code\": \"ttu_2830\",\n                    \"name\": \"TTU-2830\"\n                },\n                {\n                    \"code\": \"ttu_2840\",\n                    \"name\": \"TTU-2840 XTREME\"\n                },\n                {\n                    \"code\": \"lmu_200\",\n                    \"name\": \"LMU-200\"\n                },\n                {\n                    \"code\": \"lmu_300\",\n                    \"name\": \"LMU-300\"\n                },\n                {\n                    \"code\": \"lmu_303x\",\n                    \"name\": \"LMU-303-X\"\n                },\n                {\n                    \"code\": \"lmu_400\",\n                    \"name\": \"LMU-400\"\n                },\n                {\n                    \"code\": \"lmu_600\",\n                    \"name\": \"LMU-600\"\n                },\n                {\n                    \"code\": \"lmu_700\",\n                    \"name\": \"LMU-700\"\n                },\n                {\n                    \"code\": \"lmu_800\",\n                    \"name\": \"LMU-800\"\n                },\n                {\n                    \"code\": \"lmu_900\",\n                    \"name\": \"LMU-900\"\n                },\n                {\n                    \"code\": \"lmu_1100\",\n                    \"name\": \"LMU-1100\"\n                },\n                {\n                    \"code\": \"lmu_1200\",\n                    \"name\": \"LMU-1200\"\n                },\n                {\n                    \"code\": \"lmu_2010\",\n                    \"name\": \"LMU-2010\"\n                },\n                {\n                    \"code\": \"lmu_2030\",\n                    \"name\": \"LMU-2030\"\n                },\n                {\n                    \"code\": \"lmu_2100\",\n                    \"name\": \"LMU-2100\"\n                },\n                {\n                    \"code\": \"lmu_2600\",\n                    \"name\": \"LMU-2600\"\n                },\n                {\n                    \"code\": \"lmu_3200\",\n                    \"name\": \"LMU-3200\"\n                },\n                {\n                    \"code\": \"lmu_4200\",\n                    \"name\": \"LMU-4200\"\n                },\n                {\n                    \"code\": \"lmu_4520\",\n                    \"name\": \"LMU-4250\"\n                },\n                {\n                    \"code\": \"lmu_5530\",\n                    \"name\": \"LMU-5530\"\n                },\n                {\n                    \"code\": \"mdt_7p\",\n                    \"name\": \"MDT-7P\"\n                }\n            ],\n            \"gosafe\": [\n                {\n                    \"code\": \"g1s\",\n                    \"name\": \"G1S\"\n                },\n                {\n                    \"code\": \"g2p\",\n                    \"name\": \"G2P\"\n                },\n                {\n                    \"code\": \"g3a\",\n                    \"name\": \"G3A\"\n                },\n                {\n                    \"code\": \"g3c\",\n                    \"name\": \"G3C\"\n                },\n                {\n                    \"code\": \"g3s\",\n                    \"name\": \"G3S\"\n                },\n                {\n                    \"code\": \"g6s\",\n                    \"name\": \"G6S\"\n                },\n                {\n                    \"code\": \"g7s\",\n                    \"name\": \"G7S\"\n                },\n                {\n                    \"code\": \"g79w\",\n                    \"name\": \"G79W\"\n                }\n            ],\n            \"queclink\": [\n                {\n                    \"code\": \"gl200\",\n                    \"name\": \"GL200\"\n                },\n                {\n                    \"code\": \"gl300\",\n                    \"name\": \"GL300\"\n                },\n                {\n                    \"code\": \"gl300vc\",\n                    \"name\": \"GL300VC\"\n                },\n                {\n                    \"code\": \"gl300w\",\n                    \"name\": \"GL300W\"\n                },\n                {\n                    \"code\": \"gl500\",\n                    \"name\": \"GL500\"\n                },\n                {\n                    \"code\": \"gl505\",\n                    \"name\": \"GL505\"\n                },\n                {\n                    \"code\": \"gl520\",\n                    \"name\": \"GL520\"\n                },\n                {\n                    \"code\": \"gl3000w\",\n                    \"name\": \"GL3000W\"\n                }\n            ],\n            \"teltonika\": [\n                {\n                    \"code\": \"fm36m1\",\n                    \"name\": \"FM36M1\"\n                },\n                {\n                    \"code\": \"fm3001\",\n                    \"name\": \"FM3001\"\n                },\n                {\n                    \"code\": \"fm3612\",\n                    \"name\": \"FM3612\"\n                },\n                {\n                    \"code\": \"fm6300\",\n                    \"name\": \"FM6300\"\n                },\n                {\n                    \"code\": \"fmb001\",\n                    \"name\": \"FMB001\"\n                },\n                {\n                    \"code\": \"fmb002\",\n                    \"name\": \"FMB002\"\n                },\n                {\n                    \"code\": \"fmb003\",\n                    \"name\": \"FMB003\"\n                },\n                {\n                    \"code\": \"fmb010\",\n                    \"name\": \"FMB010\"\n                },\n                {\n                    \"code\": \"fmb020\",\n                    \"name\": \"FMB020\"\n                },\n                {\n                    \"code\": \"fmb110\",\n                    \"name\": \"FMB110\"\n                },\n                {\n                    \"code\": \"fmb120\",\n                    \"name\": \"FMB120\"\n                },\n                {\n                    \"code\": \"fmb122\",\n                    \"name\": \"FMB122\"\n                },\n                {\n                    \"code\": \"fmb125\",\n                    \"name\": \"FMB125\"\n                },\n                {\n                    \"code\": \"fmb130\",\n                    \"name\": \"FMB130\"\n                },\n                {\n                    \"code\": \"fmb140\",\n                    \"name\": \"FMB140\"\n                },\n                {\n                    \"code\": \"fmb202\",\n                    \"name\": \"FMB202\"\n                },\n                {\n                    \"code\": \"fmb204\",\n                    \"name\": \"FMB204\"\n                },\n                {\n                    \"code\": \"fmb208\",\n                    \"name\": \"FMB208\"\n                },\n                {\n                    \"code\": \"fmb630\",\n                    \"name\": \"FMB630\"\n                },\n                {\n                    \"code\": \"fmb640\",\n                    \"name\": \"FMB640\"\n                },\n                {\n                    \"code\": \"fmb900\",\n                    \"name\": \"FMB900\"\n                },\n                {\n                    \"code\": \"fmb920\",\n                    \"name\": \"FMB920\"\n                },\n                {\n                    \"code\": \"fmb964\",\n                    \"name\": \"FMB964\"\n                },\n                {\n                    \"code\": \"fmc001\",\n                    \"name\": \"FMC001\"\n                },\n                {\n                    \"code\": \"fmc125\",\n                    \"name\": \"FMC125\"\n                },\n                {\n                    \"code\": \"fmc130\",\n                    \"name\": \"FMC130\"\n                },\n                {\n                    \"code\": \"fmc640\",\n                    \"name\": \"FMC640\"\n                },\n                {\n                    \"code\": \"fmm001\",\n                    \"name\": \"FMM001\"\n                },\n                {\n                    \"code\": \"fmm125\",\n                    \"name\": \"FMM125\"\n                },\n                {\n                    \"code\": \"fmm130\",\n                    \"name\": \"FMM130\"\n                },\n                {\n                    \"code\": \"fmm640\",\n                    \"name\": \"FMM640\"\n                },\n                {\n                    \"code\": \"fmu125\",\n                    \"name\": \"FMU125\"\n                },\n                {\n                    \"code\": \"fmu126\",\n                    \"name\": \"FMU126\"\n                },\n                {\n                    \"code\": \"fmu130\",\n                    \"name\": \"FMU130\"\n                },\n                {\n                    \"code\": \"fmt100\",\n                    \"name\": \"FMT100\"\n                },\n                {\n                    \"code\": \"msp500\",\n                    \"name\": \"MSP500\"\n                },\n                {\n                    \"code\": \"mtb100\",\n                    \"name\": \"MTB100\"\n                },\n                {\n                    \"code\": \"tmt250\",\n                    \"name\": \"TMT250\"\n                }\n            ],\n            \"gt06\": [\n                {\n                    \"code\": \"gt06\",\n                    \"name\": \"GT06\"\n                }\n            ],\n            \"wist\": [\n                {\n                    \"code\": \"wist\",\n                    \"name\": \"Wist\"\n                }\n            ],\n            \"cobd\": [\n                {\n                    \"code\": \"cobd\",\n                    \"name\": \"CObd\"\n                }\n            ],\n            \"sigfox\": [\n                {\n                    \"code\": \"foxy\",\n                    \"name\": \"Foxy\"\n                }\n            ]\n        },\n        \"unit_statuses\": [\n            {\n                \"code\": \"factory\",\n                \"name\": \"Factory\"\n            },\n            {\n                \"code\": \"pre_stock_pending\",\n                \"name\": \"Pre-stock Pending\"\n            },\n            {\n                \"code\": \"post_stock_pending\",\n                \"name\": \"Post-stock Pending\"\n            },\n            {\n                \"code\": \"ready\",\n                \"name\": \"Ready\"\n            },\n            {\n                \"code\": \"pre_active\",\n                \"name\": \"Pre-Active\"\n            },\n            {\n                \"code\": \"active\",\n                \"name\": \"Active\"\n            },\n            {\n                \"code\": \"maintenance\",\n                \"name\": \"Maintenance\"\n            }\n        ],\n        \"config_templates\": [],\n        \"sensor_data\": [],\n        \"timezones\": {\n            \"Africa/Johannesburg\": \"Africa/Johannesburg\",\n            \"UTC\": \"UTC (GMT+00)\"\n        },\n        \"units_of_measurement\": [\n            {\n                \"unit\": \"celsius\",\n                \"symbol\": \"°C\",\n                \"description\": \"°C [Celsius]\"\n            },\n            {\n                \"unit\": \"fahrenheit\",\n                \"symbol\": \"°F\",\n                \"description\": \"°F [Fahrenheit]\"\n            },\n            {\n                \"unit\": \"litre\",\n                \"symbol\": \"l\",\n                \"description\": \"ℓ [Litre]\"\n            },\n            {\n                \"unit\": \"gallon_us\",\n                \"symbol\": \"gal (US)\",\n                \"description\": \"Gallons [US]\"\n            },\n            {\n                \"unit\": \"gallon_uk\",\n                \"symbol\": \"gal (UK)\",\n                \"description\": \"Gallons [UK]]\"\n            },\n            {\n                \"unit\": \"percent\",\n                \"symbol\": \"%\",\n                \"description\": \"% [Percentage]\"\n            },\n            {\n                \"unit\": \"psi\",\n                \"symbol\": \"psi\",\n                \"description\": \"Psi\"\n            },\n            {\n                \"unit\": \"bar\",\n                \"symbol\": \"bar\",\n                \"description\": \"Bar\"\n            },\n            {\n                \"unit\": \"pascal\",\n                \"symbol\": \"Pa\",\n                \"description\": \"Pascal\"\n            },\n            {\n                \"unit\": \"rpm\",\n                \"symbol\": \"RPM\",\n                \"description\": \"RPM\"\n            },\n            {\n                \"unit\": \"count\",\n                \"symbol\": \"#\",\n                \"description\": \"Count\"\n            }\n        ]\n    }\n}"}],"_postman_id":"13ca53f0-5262-4910-adad-3132684c8c6a"},{"name":"Get Unit History","id":"9722ad86-dfae-4255-a654-d6a432a3b626","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/history","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","history"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8a0a2029-f8e6-49cc-8711-72e319f7c97e","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/6/history"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 13 Oct 2025 11:03:12 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzYwMzUzMzkyLCJuYmYiOjE3NjAzNTMzOTIsImV4cCI6MTc2MDM1Mzk5Miwic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzYwMzUzMzkyfQ.3wuTb5vn1CaxRr_KFD5dqcxBv7-rMBhORcJxFOyyNRo"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"unit.created\",\n            \"user_full_name\": \"Piet Pompies\",\n            \"user_id\": 12,\n            \"created_at\": \"2020-02-27T10:12:51+02:00\",\n            \"changes\": []\n        },\n        {\n            \"type\": \"unit.archived\",\n            \"user_full_name\": \"Jan Pierawiet\",\n            \"user_id\": 11,\n            \"created_at\": \"2021-06-01T10:12:33+02:00\",\n            \"changes\": {\n                \"agency.name\": {\n                    \"from\": null,\n                    \"to\": \"ACM Technology\",\n                    \"label\": \"Agency Name\"\n                },\n                \"op_timezone\": {\n                    \"from\": null,\n                    \"to\": \"auto\",\n                    \"label\": \"OP Timezone\"\n                },\n                \"sensors\": [],\n                \"standard_inputs\": [],\n                \"auxiliary_inputs\": [],\n                \"analog_inputs\": [],\n                \"event_conversions\": []\n            }\n        }\n    ]\n}"}],"_postman_id":"9722ad86-dfae-4255-a654-d6a432a3b626"},{"name":"Get Unit Comms Status (Detailed)","id":"1b04ecf8-4b90-4887-9c2f-ceb05c6b79bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/status/detailed","description":"<p>Returns the current status of all accessable units.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","status","detailed"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b04ecf8-4b90-4887-9c2f-ceb05c6b79bb"},{"name":"Get Unit Comms Status Summary (Grouped by Client)","id":"20df818d-4047-4f1b-914b-fd4a08943a7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/status/summary/clients","description":"<p>Returns the current status of all accessable units.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","status","summary","clients"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"20df818d-4047-4f1b-914b-fd4a08943a7a"},{"name":"Get Unit Comms Status (By Client)","id":"3c5cb9df-6353-436b-8c8c-43a372450d19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/comms-status/summary/by-clients/{{client_id}}","description":"<p>Requests a summary of unit communication status for a specific clients. The clients id's can be provided as comma separated values. The returned data contains the total number of units active, inactive, offline or that have never communicated to the server. The totals are updated every 10 minutes.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","comms-status","summary","by-clients","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c5cb9df-6353-436b-8c8c-43a372450d19"},{"name":"Get Unit Comms Status (By Agency)","id":"5dc69cd6-8f72-44c4-8ab3-b7efc2804288","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/comms-status/summary/by-agencies/1,2,3","description":"<p>Requests a summary of unit communication status for a specific agencies. The agency id's can be provided as comma separated values. The returned data contains the total number of units active, inactive, offline or that have never communicated to the server. The totals are updated every 10 minutes.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","comms-status","summary","by-agencies","1,2,3"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5dc69cd6-8f72-44c4-8ab3-b7efc2804288"},{"name":"Get Unit Comms Status (By Partner)","id":"3731e2f2-d6d6-4302-a507-8c88244e9956","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/comms-status/summary/by-partners/1,2,3","description":"<p>Requests a summary of unit communication status for a specific partners. The partner id's can be provided as comma separated values. The returned data contains the total number of units active, inactive, offline or that have never communicated to the server. The totals are updated every 10 minutes.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","comms-status","summary","by-partners","1,2,3"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3731e2f2-d6d6-4302-a507-8c88244e9956"},{"name":"Get Unit Comms Status Totals","id":"2f54ab71-c671-4345-bf40-d7cd74dd9886","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/units/comms-status/summary/totals","description":"<p>Requests a summary of unit communication status for a specific partners. The partner id's can be provided as comma separated values. The returned data contains the total number of units active, inactive, offline or that have never communicated to the server. The totals are updated every 10 minutes.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","comms-status","summary","totals"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f54ab71-c671-4345-bf40-d7cd74dd9886"},{"name":"Update Units Basic","id":"baeb6aae-d724-4cbf-b44c-eb5b5decd01a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{http}}://{{domain}}/api/v1/units/basic/{{unit_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","basic","{{unit_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"baeb6aae-d724-4cbf-b44c-eb5b5decd01a"},{"name":"Add Unit Note","id":"669aecee-a6ca-4837-9b7e-94b0e24eb7e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"note\": \"This is an additional note.\"\n}"},"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/note","description":"<p>This request add's an additional text note to the partner.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","note"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"7cd295b7-3fb1-4873-b415-70e0637a69c8","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"body":{"mode":"raw","raw":"{\n    \"note\": \"This is an additional note.\"\n}"},"url":"{{http}}://{{domain}}/api/v1/units/1/note"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 13:51:01 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Note added successfully\"\n    ],\n    \"data\": {\n        \"id\": 23,\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-22T15:51:01+02:00\",\n        \"note\": \"This is an additional note.\"\n    }\n}"}],"_postman_id":"669aecee-a6ca-4837-9b7e-94b0e24eb7e5"},{"name":"Add Units Attachment","id":"02afcd99-6356-4a2b-ab36-7b29c14b135c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Photo of a male.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/attachment","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","attachment"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"571cf9b6-1ce1-4911-837f-9b0af75b396f","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Photo of a male.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/1/attachment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:07:24 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Attachment Added Successfully: Photo of a male.\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"url\": \"\",\n        \"type\": \"image/jpeg\",\n        \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n        \"description\": \"Photo of a male.\",\n        \"size_bytes\": 49996,\n        \"created_at\": \"2021-04-21T14:07:24+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"02afcd99-6356-4a2b-ab36-7b29c14b135c"},{"name":"Update a Units Attachment","id":"314fae2e-4379-4a91-8d56-7b775c7f36aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Example of description.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/attachment/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","attachment","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0d21aed9-5c41-48f6-9676-db25422ea6de","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Example of description.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/1/attachment/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:16:01 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Attachment Updated Successfully: Example of description.\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"url\": \"\",\n        \"type\": \"image/jpeg\",\n        \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n        \"description\": \"Example of description.\",\n        \"size_bytes\": 49996,\n        \"created_at\": \"2021-04-21T14:07:24+02:00\",\n        \"updated_at\": \"2021-04-21T14:16:01+02:00\"\n    }\n}"}],"_postman_id":"314fae2e-4379-4a91-8d56-7b775c7f36aa"},{"name":"Delete a Units Attachment","id":"78674401-a118-435f-a8b6-77551e1250ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/attachment/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","attachment","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"448677d9-0856-4506-8e29-be1cfc56789a","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/units/1/attachment/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:23:11 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"44"},{"key":"Authorization","value":""}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Attachment Deleted Successfully: Example of description.\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"url\": \"\",\n        \"type\": \"image/jpeg\",\n        \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n        \"description\": \"Example of description.\",\n        \"size_bytes\": 49996,\n        \"created_at\": \"2021-04-21T14:07:24+02:00\",\n        \"updated_at\": \"2021-04-21T14:16:01+02:00\"\n    }\n}"}],"_postman_id":"78674401-a118-435f-a8b6-77551e1250ed"},{"name":"Add Unit Photo","id":"6724ee75-0155-4dd4-a0bb-2b77677c041c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n    \"size_bytes\": 181589,\n    \"type\": \"photo\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/photo","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","photo"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8e13fd52-2732-4f18-aa3c-b4735fc16a0e","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n    \"size_bytes\": 181589,\n    \"type\": \"photo\",\n    \"url\": \"https://cdn.filestackcontent.com/K41aOVsjQTqe4zquiM8V\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/1/photo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 08:25:38 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Photo Added Successfully\"\n    ],\n    \"data\": {\n        \"id\": 5,\n        \"url\": \"https://www.dummydomain.com/WMhxnfNPRWoUpjBtc1wQ\",\n        \"type\": \"photo\",\n        \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n        \"size_bytes\": 181589,\n        \"created_at\": \"2021-04-23T10:25:38+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"6724ee75-0155-4dd4-a0bb-2b77677c041c"},{"name":"Add Multiple Photos","id":"d9123db4-ed9d-4c8c-be3a-b5f437aa77b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"photos\": [\n        {\n            \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n            \"size_bytes\": 181589,\n            \"type\": \"photo\",\n            \"url\": \"https://cdn.filestackcontent.com/7ijusM2mTEj5qEKl3OCW\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/photos","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","photos"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"6f9f6c72-d937-46a3-a0e3-8219f09f214f","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"photos\": [\n        {\n            \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n            \"size_bytes\": 181589,\n            \"type\": \"photo\",\n            \"url\": \"https://cdn.filestackcontent.com/7ijusM2mTEj5qEKl3OCW\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/1/photos"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 08:26:33 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"5"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Photo(s) Added Successfully\"\n    ],\n    \"data\": [\n        {\n            \"id\": 6,\n            \"url\": \"https://www.dummydomain.com/7ijusM2mTEj5qEKl3OCW\",\n            \"type\": \"photo\",\n            \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n            \"size_bytes\": 181589,\n            \"created_at\": \"2021-04-23T10:26:33+02:00\",\n            \"updated_at\": null\n        }\n    ]\n}"}],"_postman_id":"d9123db4-ed9d-4c8c-be3a-b5f437aa77b3"},{"name":"Update Unit Photo","id":"0eb59777-bd93-4ddb-be7a-0b81f540afe6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n    \"size_bytes\": 181589,\n    \"type\": \"photo\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/photo/17","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","photo","17"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8d1058b0-3005-48ac-8eb1-847bc1189410","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n    \"size_bytes\": 181589,\n    \"type\": \"photo\",\n    \"url\": \"https://cdn.filestackcontent.com/K41aOVsjQTqe4zquiM8V\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/1/photo/17"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 11:01:05 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"X-RateLimit-Reset","value":"3"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Photo Updated Successfully\"\n    ],\n    \"data\": {\n        \"id\": 17,\n        \"url\": \"url\",\n        \"type\": \"photo\",\n        \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n        \"size_bytes\": 181589,\n        \"created_at\": \"2021-04-28T13:00:14+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"0eb59777-bd93-4ddb-be7a-0b81f540afe6"},{"name":"Delete Unit Photo","id":"20663b09-8737-4e2c-8e96-73b3f161217d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"units/1/photo/1\",\n    \"data\": {\n        \"id\": 1,\n        \"url\": \"https://cdn.filestackcontent.com/jkiL9DMgSKyI6zCUvBjU\",\n        \"type\": \"photo\",\n        \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n        \"size_bytes\": 181589,\n        \"created_at\": \"2021-04-23T09:08:00+02:00\",\n        \"updated_at\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/photo/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","photo","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"68ebc567-bf27-4474-8f61-5112c0846857","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"units/1/photo/3\",\n    \"data\": {\n        \"id\": 3,\n        \"url\": \"https://cdn.filestackcontent.com/jkiL9DMgSKyI6zCUvBjU\",\n        \"type\": \"photo\",\n        \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n        \"size_bytes\": 181589,\n        \"created_at\": \"2021-04-23T09:08:00+02:00\",\n        \"updated_at\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/1/photo/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 07:13:35 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"45"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Photo Deleted Successfully\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"url\": \"https://www.dummydomain/jkiL9DMgSKyI6zCUvBjU\",\n        \"type\": \"photo\",\n        \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n        \"size_bytes\": 181589,\n        \"created_at\": \"2021-04-23T09:08:00+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"20663b09-8737-4e2c-8e96-73b3f161217d"},{"name":"Update Existing Unit","id":"e67ab862-2555-41ec-b8e4-d12cf3d8411a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n        \"id\": 14341,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"ACMGroup (Pty) Ltd\"\n        },\n        \"agency_id\": null,\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client_id\": 281,\n        \"client\": {\n            \"id\": 281,\n            \"name\": \"JASON SCHOEMAN\",\n            \"fin_account_no\": null,\n            \"fin_sub_account_no\": null\n        },\n        \"imei\": null,\n        \"serial_no\": \"MVR5452_6107768\",\n        \"stock_no\": null,\n        \"name\": \"Cathexis Test Device\",\n        \"unit_type_code\": \"cathexis\",\n        \"unit_type_name\": \"Cathexis\",\n        \"unit_model_code\": \"mvr_5452\",\n        \"unit_model_name\": \"MVR5452\",\n        \"unit_status_code\": \"active\",\n        \"unit_status_name\": \"Active\",\n        \"monitored_event_profile_id\": null,\n        \"monitored_event_profile_name\": null,\n        \"client_event_profile_id\": 166,\n        \"client_event_profile_name\": \"Jason Schoeman Event Profile\",\n        \"unit_group_id\": null,\n        \"unit_group\": null,\n        \"ignition\": \"input_01\",\n        \"fixed_latitude\": null,\n        \"fixed_longitude\": null,\n        \"vehicle_id\": 7812,\n        \"assigned_as\": \"primary\",\n        \"vehicle\": {\n            \"id\": 7812,\n            \"reg_no\": \"CCK19795\",\n            \"fleet_no\": \"Cross Works Engineering\",\n            \"assigned_as\": \"primary\"\n        },\n        \"sim_card\": {\n            \"id\": null,\n            \"cell_no\": null,\n            \"iccid\": null,\n            \"gdsp_id\": null,\n            \"provider_id\": null,\n            \"provider_code\": null,\n            \"provider_name\": null,\n            \"note\": null\n        },\n        \"gateway_route_id\": null,\n        \"gateway_route\": null,\n        \"timezone\": \"UTC\",\n        \"op_timezone\": \"auto\",\n        \"user_full_name\": \"Don Schoeman [Admin]\",\n        \"user_id\": 4,\n        \"created_at\": \"2025-12-03T16:19:51+02:00\",\n        \"updated_at\": \"2026-01-16T16:45:23+02:00\",\n        \"flags\": {\n            \"ign_connected\": false,\n            \"allow_geo_lookups\": true,\n            \"auto_correct_direction\": true,\n            \"perform_post_processing\": true,\n            \"post_process_trip_stops\": true\n        },\n        \"system\": {\n            \"idling\": {\n                \"enabled\": false,\n                \"event_idle_stop\": \"ENG_IDLE:STOP\",\n                \"speed_less_than\": \"1 kmh\",\n                \"event_idle_start\": \"ENG_IDLE:START\"\n            },\n            \"trip_stop\": {\n                \"time\": \"5 minutes\",\n                \"event\": \"TRIP_STOP\",\n                \"enabled\": true\n            },\n            \"trip_start\": {\n                \"event\": \"TRIP_START\",\n                \"speed\": \"10 kmh\",\n                \"enabled\": true,\n                \"distance\": \"50 meters\"\n            },\n            \"gps_spiking\": {\n                \"event\": \"GPS_SPIKE\",\n                \"speed\": \"250 kmh\",\n                \"enabled\": true\n            },\n            \"gps_drifting\": {\n                \"event\": \"GPS_DRIFTING\",\n                \"speed\": \"10 kmh\",\n                \"radius\": \"50 meters\",\n                \"enabled\": true\n            },\n            \"comms_failure\": {\n                \"after\": \"60 seconds\",\n                \"event\": \"NO_COMMS\",\n                \"enabled\": true,\n                \"report_every\": \"24 hours\",\n                \"restored_event\": \"COMMS_OK\"\n            },\n            \"faulty_ignition\": {\n                \"event\": \"IGN_FAULTY\",\n                \"enabled\": false\n            }\n        },\n        \"sensors\": [],\n        \"standard_inputs\": [],\n        \"auxiliary_inputs\": [],\n        \"analog_inputs\": [],\n        \"event_conversions\": [],\n        \"notes\": [],\n        \"attachments\": [],\n        \"photos\": []\n    }","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"6f8d3e3b-3716-42b3-9670-4ca708787a1a","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"imei\": \"5551234567890\",\n    \"serial_no\": \"65G4423\",\n    \"stock_no\": null,\n    \"name\": null,\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"unit_group_id\": 1,\n    \"vehicle_id\": 1,\n    \"assigned_as\": \"primary\",\n    \"fixed_latitude\": null,\n    \"fixed_longitude\": null,\n    \"id\": 1,\n    \"unit_type_code\": \"acmtech\",\n    \"unit_model_code\": \"acmtrack_1\",\n    \"unit_status_code\": \"factory\",\n    \"timezone\": \"UTC\",\n    \"op_timezone\": \"auto\",\n    \"ignition\": \"input_01\",\n    \"flags\": {\n        \"ign_connected\": true,\n        \"allow_geo_lookups\": true,\n        \"perform_post_processing\": true,\n        \"post_process_trip_stops\": true,\n        \"auto_correct_direction\": true\n    },\n    \"system\": {\n        \"trip_start\": {\n            \"enabled\": true,\n            \"distance\": \"50 meters\",\n            \"speed\": \"10 kmh\",\n            \"event\": \"TRIP_START\"\n        },\n        \"trip_stop\": {\n            \"enabled\": true,\n            \"time\": \"5 minutes\",\n            \"event\": \"TRIP_STOP\"\n        },\n        \"comms_failure\": {\n            \"enabled\": true,\n            \"after\": \"60 seconds\",\n            \"report_every\": \"24 hours\",\n            \"event\": \"NO_COMMS\",\n            \"restored_event\": \"COMMS_OK\"\n        },\n        \"gps_drifting\": {\n            \"enabled\": true,\n            \"radius\": \"50 meters\",\n            \"speed\": \"10 kmh\",\n            \"event\": \"GPS_DRIFTING\"\n        },\n        \"gps_spiking\": {\n            \"enabled\": true,\n            \"speed\": \"250 kmh\",\n            \"event\": \"GPS_SPIKE\"\n        },\n        \"faulty_ignition\": {\n            \"enabled\": true,\n            \"event\": \"IGN_FAULTY\"\n        },\n        \"idling\": {\n            \"enabled\": true,\n            \"speed_less_than\": \"1 kmh\",\n            \"event_idle_start\": \"ENG_IDLE:START\",\n            \"event_idle_stop\": \"ENG_IDLE:STOP\"\n        }\n    },\n    \"sensors\": [],\n    \"standard_inputs\": [],\n    \"auxiliary_inputs\": [],\n    \"event_conversions\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 07:52:56 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"X-RateLimit-Reset","value":"54"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated Unit: 5551234567890\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"imei\": \"5551234567890\",\n        \"serial_no\": \"65G4423\",\n        \"stock_no\": null,\n        \"name\": null,\n        \"unit_type_code\": \"acmtech\",\n        \"unit_type_name\": \"ACMTech\",\n        \"unit_model_code\": \"acmtrack_1\",\n        \"unit_model_name\": \"ACMTrack v1\",\n        \"unit_status_code\": \"factory\",\n        \"unit_status_name\": \"Factory\",\n        \"unit_group_id\": 1,\n        \"unit_group\": {\n            \"id\": 1,\n            \"name\": \"Unit Group\"\n        },\n        \"ignition\": \"input_01\",\n        \"fixed_latitude\": null,\n        \"fixed_longitude\": null,\n        \"vehicle_id\": 1,\n        \"assigned_as\": \"primary\",\n        \"vehicle\": {\n            \"id\": 1,\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\",\n            \"assigned_as\": \"primary\"\n        },\n        \"timezone\": \"UTC\",\n        \"op_timezone\": \"auto\",\n        \"user_full_name\": \"User Name\",\n        \"user_id\": 6,\n        \"created_at\": \"2021-04-22T14:18:11+02:00\",\n        \"updated_at\": \"2021-04-23T09:52:56+02:00\",\n        \"flags\": {\n            \"ign_connected\": true,\n            \"allow_geo_lookups\": true,\n            \"auto_correct_direction\": true,\n            \"perform_post_processing\": true,\n            \"post_process_trip_stops\": true\n        },\n        \"system\": {\n            \"idling\": {\n                \"enabled\": true,\n                \"event_idle_stop\": \"ENG_IDLE:STOP\",\n                \"speed_less_than\": \"1 kmh\",\n                \"event_idle_start\": \"ENG_IDLE:START\"\n            },\n            \"trip_stop\": {\n                \"time\": \"5 minutes\",\n                \"event\": \"TRIP_STOP\",\n                \"enabled\": true\n            },\n            \"trip_start\": {\n                \"event\": \"TRIP_START\",\n                \"speed\": \"10 kmh\",\n                \"enabled\": true,\n                \"distance\": \"50 meters\"\n            },\n            \"gps_spiking\": {\n                \"event\": \"GPS_SPIKE\",\n                \"speed\": \"250 kmh\",\n                \"enabled\": true\n            },\n            \"gps_drifting\": {\n                \"event\": \"GPS_DRIFTING\",\n                \"speed\": \"10 kmh\",\n                \"radius\": \"50 meters\",\n                \"enabled\": true\n            },\n            \"comms_failure\": {\n                \"after\": \"60 seconds\",\n                \"event\": \"NO_COMMS\",\n                \"enabled\": true,\n                \"report_every\": \"24 hours\",\n                \"restored_event\": \"COMMS_OK\"\n            },\n            \"faulty_ignition\": {\n                \"event\": \"IGN_FAULTY\",\n                \"enabled\": true\n            }\n        },\n        \"sensors\": [],\n        \"standard_inputs\": [],\n        \"auxiliary_inputs\": [],\n        \"event_conversions\": [],\n        \"notes\": [\n            {\n                \"id\": 23,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-22T15:51:01+02:00\",\n                \"note\": \"This is an additional note.\"\n            }\n        ],\n        \"attachments\": [],\n        \"photos\": []\n    }\n}"}],"_postman_id":"e67ab862-2555-41ec-b8e4-d12cf3d8411a"},{"name":"Delete Unit","id":"98395a30-c72e-4552-88d6-b03c6f1aa2e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"734b9d2f-deb0-4bf9-8f84-11259d76b9bd","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/units/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 07:56:03 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Archived Unit: 5551234567890\"\n    ],\n    \"data\": {\n        \"id\": 12,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": null,\n        \"client\": null,\n        \"imei\": \"5551234567890\",\n        \"serial_no\": null,\n        \"stock_no\": null,\n        \"name\": null,\n        \"unit_type_code\": \"acmtech\",\n        \"unit_type_name\": \"ACMTech\",\n        \"unit_model_code\": \"acmtrack_1\",\n        \"unit_model_name\": \"ACMTrack v1\",\n        \"unit_status_code\": \"factory\",\n        \"unit_status_name\": \"Factory\",\n        \"unit_group_id\": null,\n        \"unit_group\": null,\n        \"ignition\": \"input_01\",\n        \"fixed_latitude\": null,\n        \"fixed_longitude\": null,\n        \"vehicle_id\": null,\n        \"assigned_as\": null,\n        \"vehicle\": null,\n        \"timezone\": \"UTC\",\n        \"op_timezone\": \"auto\",\n        \"user_full_name\": \"User Name\",\n        \"user_id\": 6,\n        \"created_at\": \"2021-04-22T15:02:12+02:00\",\n        \"updated_at\": null,\n        \"flags\": {\n            \"ign_connected\": true,\n            \"allow_geo_lookups\": true,\n            \"auto_correct_direction\": true,\n            \"perform_post_processing\": true,\n            \"post_process_trip_stops\": true\n        },\n        \"system\": {\n            \"idling\": {\n                \"enabled\": true,\n                \"event_idle_stop\": \"ENG_IDLE:STOP\",\n                \"speed_less_than\": \"1 kmh\",\n                \"event_idle_start\": \"ENG_IDLE:START\"\n            },\n            \"trip_stop\": {\n                \"time\": \"5 minutes\",\n                \"event\": \"TRIP_STOP\",\n                \"enabled\": true\n            },\n            \"trip_start\": {\n                \"event\": \"TRIP_START\",\n                \"speed\": \"10 kmh\",\n                \"enabled\": true,\n                \"distance\": \"50 meters\"\n            },\n            \"gps_spiking\": {\n                \"event\": \"GPS_SPIKE\",\n                \"speed\": \"250 kmh\",\n                \"enabled\": true\n            },\n            \"gps_drifting\": {\n                \"event\": \"GPS_DRIFTING\",\n                \"speed\": \"10 kmh\",\n                \"radius\": \"50 meters\",\n                \"enabled\": true\n            },\n            \"comms_failure\": {\n                \"after\": \"60 seconds\",\n                \"event\": \"NO_COMMS\",\n                \"enabled\": true,\n                \"report_every\": \"24 hours\",\n                \"restored_event\": \"COMMS_OK\"\n            },\n            \"faulty_ignition\": {\n                \"event\": \"IGN_FAULTY\",\n                \"enabled\": true\n            }\n        },\n        \"sensors\": [],\n        \"standard_inputs\": [],\n        \"auxiliary_inputs\": [],\n        \"event_conversions\": [],\n        \"notes\": [],\n        \"attachments\": [],\n        \"photos\": []\n    }\n}"}],"_postman_id":"98395a30-c72e-4552-88d6-b03c6f1aa2e3"},{"name":"Add Unit","id":"4347b71d-f54f-4f00-8361-5fd5d21f78f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"imei\": \"5551234567890\",\n    \"serial_no\": \"65G4423\",\n    \"stock_no\": null,\n    \"name\": null,\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"unit_group_id\": null,\n    \"vehicle_id\": null,\n    \"assigned_as\": null,\n    \"fixed_latitude\": null,\n    \"fixed_longitude\": null,\n    \"notes\": [],\n    \"attachments\": [],\n    \"photos\": [],\n    \"unit_type_code\": \"acmtech\",\n    \"unit_model_code\": \"acmtrack_1\",\n    \"unit_status_code\": \"factory\",\n    \"timezone\": \"UTC\",\n    \"op_timezone\": \"auto\",\n    \"ignition\": \"input_01\",\n    \"flags\": {\n        \"ign_connected\": true,\n        \"allow_geo_lookups\": true,\n        \"perform_post_processing\": true,\n        \"post_process_trip_stops\": true,\n        \"auto_correct_direction\": true\n    },\n    \"system\": {\n        \"trip_start\": {\n            \"enabled\": true,\n            \"distance\": \"50 meters\",\n            \"speed\": \"10 kmh\",\n            \"event\": \"TRIP_START\"\n        },\n        \"trip_stop\": {\n            \"enabled\": true,\n            \"time\": \"5 minutes\",\n            \"event\": \"TRIP_STOP\"\n        },\n        \"comms_failure\": {\n            \"enabled\": true,\n            \"after\": \"60 seconds\",\n            \"report_every\": \"24 hours\",\n            \"event\": \"NO_COMMS\",\n            \"restored_event\": \"COMMS_OK\"\n        },\n        \"gps_drifting\": {\n            \"enabled\": true,\n            \"radius\": \"50 meters\",\n            \"speed\": \"10 kmh\",\n            \"event\": \"GPS_DRIFTING\"\n        },\n        \"gps_spiking\": {\n            \"enabled\": true,\n            \"speed\": \"250 kmh\",\n            \"event\": \"GPS_SPIKE\"\n        },\n        \"faulty_ignition\": {\n            \"enabled\": true,\n            \"event\": \"IGN_FAULTY\"\n        },\n        \"idling\": {\n            \"enabled\": true,\n            \"speed_less_than\": \"1 kmh\",\n            \"event_idle_start\": \"ENG_IDLE:START\",\n            \"event_idle_stop\": \"ENG_IDLE:STOP\"\n        }\n    },\n    \"sensors\": [],\n    \"standard_inputs\": [],\n    \"auxiliary_inputs\": [],\n    \"event_conversions\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"f2e2c877-bfe5-4c08-a720-d3423420900c","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"imei\": \"New Unit\",\n    \"serial_no\": null,\n    \"stock_no\": null,\n    \"name\": null,\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"unit_group_id\": null,\n    \"vehicle_id\": null,\n    \"assigned_as\": null,\n    \"fixed_latitude\": null,\n    \"fixed_longitude\": null,\n    \"notes\": [],\n    \"attachments\": [],\n    \"photos\": [],\n    \"unit_type_code\": \"acmtech\",\n    \"unit_model_code\": \"acmtrack_1\",\n    \"unit_status_code\": \"factory\",\n    \"timezone\": \"UTC\",\n    \"op_timezone\": \"auto\",\n    \"ignition\": \"input_01\",\n    \"flags\": {\n        \"ign_connected\": true,\n        \"allow_geo_lookups\": true,\n        \"perform_post_processing\": true,\n        \"post_process_trip_stops\": true,\n        \"auto_correct_direction\": true\n    },\n    \"system\": {\n        \"trip_start\": {\n            \"enabled\": true,\n            \"distance\": \"50 meters\",\n            \"speed\": \"10 kmh\",\n            \"event\": \"TRIP_START\"\n        },\n        \"trip_stop\": {\n            \"enabled\": true,\n            \"time\": \"5 minutes\",\n            \"event\": \"TRIP_STOP\"\n        },\n        \"comms_failure\": {\n            \"enabled\": true,\n            \"after\": \"60 seconds\",\n            \"report_every\": \"24 hours\",\n            \"event\": \"NO_COMMS\",\n            \"restored_event\": \"COMMS_OK\"\n        },\n        \"gps_drifting\": {\n            \"enabled\": true,\n            \"radius\": \"50 meters\",\n            \"speed\": \"10 kmh\",\n            \"event\": \"GPS_DRIFTING\"\n        },\n        \"gps_spiking\": {\n            \"enabled\": true,\n            \"speed\": \"250 kmh\",\n            \"event\": \"GPS_SPIKE\"\n        },\n        \"faulty_ignition\": {\n            \"enabled\": true,\n            \"event\": \"IGN_FAULTY\"\n        },\n        \"idling\": {\n            \"enabled\": true,\n            \"speed_less_than\": \"1 kmh\",\n            \"event_idle_start\": \"ENG_IDLE:START\",\n            \"event_idle_stop\": \"ENG_IDLE:STOP\"\n        }\n    },\n    \"sensors\": [],\n    \"standard_inputs\": [],\n    \"auxiliary_inputs\": [],\n    \"event_conversions\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 23 Apr 2021 08:22:08 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"51"},{"key":"X-RateLimit-Reset","value":"16"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created Unit: 5551234567890\"\n    ],\n    \"data\": {\n        \"id\": 13,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"imei\": \"5551234567890\",\n        \"serial_no\": \"65G4423\",\n        \"stock_no\": null,\n        \"name\": null,\n        \"unit_type_code\": \"acmtech\",\n        \"unit_type_name\": \"ACMTech\",\n        \"unit_model_code\": \"acmtrack_1\",\n        \"unit_model_name\": \"ACMTrack v1\",\n        \"unit_status_code\": \"factory\",\n        \"unit_status_name\": \"Factory\",\n        \"unit_group_id\": null,\n        \"unit_group\": null,\n        \"ignition\": \"input_01\",\n        \"fixed_latitude\": null,\n        \"fixed_longitude\": null,\n        \"vehicle_id\": null,\n        \"assigned_as\": null,\n        \"vehicle\": null,\n        \"timezone\": \"UTC\",\n        \"op_timezone\": \"auto\",\n        \"user_full_name\": \"User Name\",\n        \"user_id\": 6,\n        \"created_at\": \"2021-04-23T10:22:08+02:00\",\n        \"updated_at\": null,\n        \"flags\": {\n            \"ign_connected\": true,\n            \"allow_geo_lookups\": true,\n            \"auto_correct_direction\": true,\n            \"perform_post_processing\": true,\n            \"post_process_trip_stops\": true\n        },\n        \"system\": {\n            \"idling\": {\n                \"enabled\": true,\n                \"event_idle_stop\": \"ENG_IDLE:STOP\",\n                \"speed_less_than\": \"1 kmh\",\n                \"event_idle_start\": \"ENG_IDLE:START\"\n            },\n            \"trip_stop\": {\n                \"time\": \"5 minutes\",\n                \"event\": \"TRIP_STOP\",\n                \"enabled\": true\n            },\n            \"trip_start\": {\n                \"event\": \"TRIP_START\",\n                \"speed\": \"10 kmh\",\n                \"enabled\": true,\n                \"distance\": \"50 meters\"\n            },\n            \"gps_spiking\": {\n                \"event\": \"GPS_SPIKE\",\n                \"speed\": \"250 kmh\",\n                \"enabled\": true\n            },\n            \"gps_drifting\": {\n                \"event\": \"GPS_DRIFTING\",\n                \"speed\": \"10 kmh\",\n                \"radius\": \"50 meters\",\n                \"enabled\": true\n            },\n            \"comms_failure\": {\n                \"after\": \"60 seconds\",\n                \"event\": \"NO_COMMS\",\n                \"enabled\": true,\n                \"report_every\": \"24 hours\",\n                \"restored_event\": \"COMMS_OK\"\n            },\n            \"faulty_ignition\": {\n                \"event\": \"IGN_FAULTY\",\n                \"enabled\": true\n            }\n        },\n        \"sensors\": [],\n        \"standard_inputs\": [],\n        \"auxiliary_inputs\": [],\n        \"event_conversions\": [],\n        \"notes\": [],\n        \"attachments\": [],\n        \"photos\": []\n    }\n}"}],"_postman_id":"4347b71d-f54f-4f00-8361-5fd5d21f78f0"}],"id":"4c5467cc-8fe5-420f-8d08-93ab7ba09f70","_postman_id":"4c5467cc-8fe5-420f-8d08-93ab7ba09f70","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Unit Safe Zones","item":[{"name":"Enable Unit Safe Zone","id":"4044b8fe-d70e-4167-b277-e7d65394b82d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"radius\": 25,\n    \"mode\": \"private\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/safe-zone","description":"<p>Creates a safe-zone around a unit. The safe-zone will only be enabled once/if the unit is parked.</p>\n<ul>\n<li><p>Only one safe-zone can be created for a unit. Attempting to create another one will override the original safe-zone.</p>\n</li>\n<li><p>The radius is in meters.</p>\n</li>\n<li><p>The mode can be \"private\" or \"monitored\".</p>\n</li>\n<li><p>In 'private' mode, one or more users of the Destiny mobile app can receive events and alarms for the safe-zone.</p>\n</li>\n<li><p>In 'monitored' mode, both users and the control room may receive events caused by the safe-zone.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","safe-zone"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"57202e6b-a44f-4f16-93ad-a01504ee3083","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"radius\": 25,\n    \"mode\": \"private\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/primary/safe-zone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Jul 2023 10:36:19 GMT"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Safe Zone Enabled\"\n    ]\n}"}],"_postman_id":"4044b8fe-d70e-4167-b277-e7d65394b82d"},{"name":"Disable Vehicle Safe Zone","id":"7db33090-46df-4c51-bde8-060aa8a0dfaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/{{unit_id}}/safe-zone","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","{{unit_id}}","safe-zone"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"a39c4ef4-0e89-41f1-a5e1-aad3a2f147af","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"radius\": 25,\n    \"mode\": \"private\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/safe-zone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Jul 2023 10:36:19 GMT"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Safe Zone Disabled\"\n    ]\n}"}],"_postman_id":"7db33090-46df-4c51-bde8-060aa8a0dfaa"}],"id":"eeb3d9dc-a389-4bf6-b43c-b240d6d70754","_postman_id":"eeb3d9dc-a389-4bf6-b43c-b240d6d70754","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Unit Commands","item":[{"name":"Unit Commands Listing","id":"872864ef-4447-4ab7-89ce-ccc88e3e1fb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","unit","commands","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"82648e68-cff4-470a-9b54-1d13ec433842","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 13 Feb 2025 08:38:12 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzM5NDM1ODkyLCJuYmYiOjE3Mzk0MzU4OTIsImV4cCI6MTczOTQzNjQ5Miwic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzM5NDM1ODkyfQ.V3fRiQRyAQcGQnfI9XjlxqbQbAnVADGNFljui9JJ2Go"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"description\": \"Reset Unit\",\n            \"unit_type_name\": \"ACMTech\",\n            \"unit_model_name\": \"ACMTrack v1\"\n        }\n    ]\n}"}],"_postman_id":"872864ef-4447-4ab7-89ce-ccc88e3e1fb7"},{"name":"Get Unit Commands Create Form Data","id":"49108dbd-cd9b-48b8-b805-835b48ab6f5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","unit","commands","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"b6562f3c-6143-45a9-be3a-4e4fd0cdecda","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 13 Feb 2025 07:56:46 GMT"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"unit_types\": [\n            {\n                \"code\": \"acmtech\",\n                \"name\": \"ACMTech\"\n            },\n            {\n                \"code\": \"calamp\",\n                \"name\": \"Calamp\"\n            },\n            {\n                \"code\": \"gosafe\",\n                \"name\": \"Gosafe\"\n            },\n            {\n                \"code\": \"queclink\",\n                \"name\": \"Queclink\"\n            },\n            {\n                \"code\": \"teltonika\",\n                \"name\": \"Teltonika\"\n            },\n            {\n                \"code\": \"gt06\",\n                \"name\": \"GT06\"\n            },\n            {\n                \"code\": \"wist\",\n                \"name\": \"Wist\"\n            },\n            {\n                \"code\": \"cobd\",\n                \"name\": \"CObd\"\n            },\n            {\n                \"code\": \"sigfox\",\n                \"name\": \"SigFox\"\n            },\n            {\n                \"code\": \"dmt\",\n                \"name\": \"Digital Matter\"\n            }\n        ]\n    }\n}"}],"_postman_id":"49108dbd-cd9b-48b8-b805-835b48ab6f5d"},{"name":"Get Unit Command Edit Form Data","id":"c3571832-3428-45dd-bd1c-5e6446fb694e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/3/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","unit","commands","3","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"4d0679f7-cf45-42cd-a45b-e80dfb8cec95","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/3/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 13 Feb 2025 09:52:25 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzM5NDQwMzQ1LCJuYmYiOjE3Mzk0NDAzNDUsImV4cCI6MTczOTQ0MDk0NSwic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzM5NDQwMzQ1fQ.LHI_1a-eIO2iiBut44gHGj88WCEE9UuWqltwaS6qdfU"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 3,\n        \"description\": \"Dissan;e Unit\",\n        \"unit_type_id\": 1,\n        \"unit_type_name\": \"ACMTech\",\n        \"unit_type_code\": \"acmtech\",\n        \"unit_model_id\": 1,\n        \"unit_model_name\": \"ACMTrack v1\",\n        \"unit_model_code\": \"acmtrack_1\",\n        \"command_data\": {\n            \"text\": \"dissable_unit\",\n            \"editable\": [\n                \"service_provider\",\n                \"text\"\n            ],\n            \"service_provider\": \"gdspo\"\n        },\n        \"unit_types\": [\n            {\n                \"code\": \"acmtech\",\n                \"name\": \"ACMTech\"\n            },\n            {\n                \"code\": \"calamp\",\n                \"name\": \"Calamp\"\n            },\n            {\n                \"code\": \"gosafe\",\n                \"name\": \"Gosafe\"\n            },\n            {\n                \"code\": \"queclink\",\n                \"name\": \"Queclink\"\n            },\n            {\n                \"code\": \"teltonika\",\n                \"name\": \"Teltonika\"\n            },\n            {\n                \"code\": \"gt06\",\n                \"name\": \"GT06\"\n            },\n            {\n                \"code\": \"wist\",\n                \"name\": \"Wist\"\n            },\n            {\n                \"code\": \"cobd\",\n                \"name\": \"CObd\"\n            },\n            {\n                \"code\": \"sigfox\",\n                \"name\": \"SigFox\"\n            },\n            {\n                \"code\": \"dmt\",\n                \"name\": \"Digital Matter\"\n            }\n        ],\n        \"unit_models\": [\n            {\n                \"code\": \"acmtrack_1\",\n                \"name\": \"ACMTrack v1\"\n            },\n            {\n                \"code\": \"acmtrack_2\",\n                \"name\": \"ACMTrack v2\"\n            }\n        ]\n    }\n}"}],"_postman_id":"c3571832-3428-45dd-bd1c-5e6446fb694e"},{"name":"Get Unit Command Sending Methods","id":"54776d94-e14b-49aa-9aa0-730970053778","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/sending_methods","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","unit","commands","sending_methods"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"9bd7b015-1873-48a9-82cc-d3a756496384","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/sending_methods"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 07 Apr 2025 07:08:10 GMT"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"gdspo_sms\",\n            \"value\": \"GDSPO (SMS)\",\n            \"hourly_limit\": 10,\n            \"daily_limit\": 100\n        }\n    ]\n}"}],"_postman_id":"54776d94-e14b-49aa-9aa0-730970053778"},{"name":"Update Existing Unit Command","id":"0b2b33c9-3fc5-4a8f-9a82-b5cc26c75515","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"description\": \"Test Unit 2 (Edit)\",\n    \"unit_type_id\": 1,\n    \"unit_model_id\": 2,\n    \"data\": {\"service_provider\": \"sms\", \"text\": \"dissable_unit\", \"editable\": [\"service_provider\", \"text\"]}\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/unit/commands/6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","unit","commands","6"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"dcfc273d-9877-442a-9b1f-9d082fc1ecd0","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"description\": \"Test Unit 2 (Edit)\",\n    \"unit_type_id\": 1,\n    \"unit_model_id\": 2,\n    \"data\": {\"service_provider\": \"sms\", \"text\": \"dissable_unit\", \"editable\": [\"service_provider\", \"text\"]}\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/unit/commands/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 13 Feb 2025 11:32:08 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzM5NDQ2MzI4LCJuYmYiOjE3Mzk0NDYzMjgsImV4cCI6MTczOTQ0NjkyOCwic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzM5NDQ2MzI4fQ.N9NzeQ95Y6foXQRKTbqAjWf2_cgOIHmox6ghIIqIKBg"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated  Unit Command: Test Unit 2 (Edit)\"\n    ],\n    \"command_data\": {\n        \"id\": 6,\n        \"description\": \"Test Unit 2 (Edit)\",\n        \"unit_type_id\": 1,\n        \"unit_type_name\": \"ACMTech\",\n        \"unit_type_code\": \"acmtech\",\n        \"unit_model_id\": 2,\n        \"unit_model_name\": \"ACMTrack v2\",\n        \"unit_model_code\": \"acmtrack_2\",\n        \"data\": {\n            \"text\": \"dissable_unit\",\n            \"editable\": [\n                \"service_provider\",\n                \"text\"\n            ],\n            \"service_provider\": \"sms\"\n        }\n    }\n}"}],"_postman_id":"0b2b33c9-3fc5-4a8f-9a82-b5cc26c75515"},{"name":"Add Unit Command","id":"e74ffe73-b7f9-48a3-be1b-35ad5e993cbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"description\": \"Test Unit 2\",\n    \"unit_type_id\": null,\n    \"unit_model_id\": null,\n    \"command_data\": {\"service_provider\": \"gdspo\", \"text\": \"dissable_unit\", \"editable\": [\"service_provider\", \"text\"]}\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/unit/commands","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","unit","commands"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8166c030-a9cf-4802-afff-b1c5c259b3bf","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"description\": \"Test Unit 2\",\n    \"unit_type_id\": null,\n    \"unit_model_id\": null,\n    \"command_data\": {\"service_provider\": \"gdspo\", \"text\": \"dissable_unit\", \"editable\": [\"service_provider\", \"text\"]}\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/unit/commands"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Feb 2025 06:33:37 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzM5ODYwNDE3LCJuYmYiOjE3Mzk4NjA0MTcsImV4cCI6MTczOTg2MTAxNywic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzM5ODYwNDE3fQ.Bc3__NW2COK6ddRuYjeZx8rFKnV3eTN-3EvD6bJCDd0"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created Unit Command: Test Unit 2\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"description\": \"Test Unit 2\",\n        \"unit_type_id\": null,\n        \"unit_type_name\": null,\n        \"unit_type_code\": null,\n        \"unit_model_id\": null,\n        \"unit_model_name\": null,\n        \"unit_model_code\": null,\n        \"command_data\": {\n            \"text\": \"dissable_unit\",\n            \"editable\": [\n                \"service_provider\",\n                \"text\"\n            ],\n            \"service_provider\": \"gdspo\"\n        }\n    }\n}"}],"_postman_id":"e74ffe73-b7f9-48a3-be1b-35ad5e993cbd"},{"name":"Send Unit Command","id":"854fb1f0-2be9-4bee-a777-1971d2192abe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"command_id\":1,\n    \"sending_method\":\"gdspo_sms\",\n    \"variables\":[],\n    \"vehicle_ids\":[],\n    \"unit_ids\":[1]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/unit/commands/send/{{command_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","unit","commands","send","{{command_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"9eebbd7a-41bf-4127-b373-d11d9c2192d5","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"description\": \"Test Unit 2\",\n    \"unit_type_id\": null,\n    \"unit_model_id\": null,\n    \"command_data\": {\"service_provider\": \"gdspo\", \"text\": \"dissable_unit\", \"editable\": [\"service_provider\", \"text\"]}\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/unit/commands"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Feb 2025 06:33:37 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzM5ODYwNDE3LCJuYmYiOjE3Mzk4NjA0MTcsImV4cCI6MTczOTg2MTAxNywic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzM5ODYwNDE3fQ.Bc3__NW2COK6ddRuYjeZx8rFKnV3eTN-3EvD6bJCDd0"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"1 Command(s) have been queued and will be sent shortly\"\n    ],\n    \"data\": []\n}"}],"_postman_id":"854fb1f0-2be9-4bee-a777-1971d2192abe"},{"name":"Get Available Commands To Send","id":"5224de7c-c6dc-48ee-81a1-1d59aac4207a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/send/find","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","unit","commands","send","find"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"fb4a1724-0dfa-4b06-9184-f6fcf841ad98","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 13 Feb 2025 08:38:12 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzM5NDM1ODkyLCJuYmYiOjE3Mzk0MzU4OTIsImV4cCI6MTczOTQzNjQ5Miwic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzM5NDM1ODkyfQ.V3fRiQRyAQcGQnfI9XjlxqbQbAnVADGNFljui9JJ2Go"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"description\": \"Teltonika Reset\",\n            \"unit_type_id\": 5,\n            \"unit_type_name\": \"Teltonika\",\n            \"unit_type_code\": \"teltonika\",\n            \"unit_model_id\": null,\n            \"unit_model_name\": null,\n            \"unit_model_code\": null,\n            \"command_data\": [\n                {\n                    \"data\": {\n                        \"text\": \"reset-example\",\n                        \"variables\": []\n                    },\n                    \"sending_method\": \"gdspo_sms\"\n                }\n            ]\n        },\n        {\n            \"id\": 2,\n            \"description\": \"Teltonika Web Connect\",\n            \"unit_type_id\": 5,\n            \"unit_type_name\": \"Teltonika\",\n            \"unit_type_code\": \"teltonika\",\n            \"unit_model_id\": null,\n            \"unit_model_name\": null,\n            \"unit_model_code\": null,\n            \"command_data\": [\n                {\n                    \"data\": {\n                        \"text\": \"connect-example\",\n                        \"variables\": []\n                    },\n                    \"sending_method\": \"gdspo_sms\"\n                }\n            ]\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 2\n    }\n}"}],"_postman_id":"5224de7c-c6dc-48ee-81a1-1d59aac4207a"},{"name":"Get Unit Command Logs","id":"70092e33-80e2-42ae-a4a0-1abfdca4d2d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/unit/commands/send/logs?date={{from_date}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","unit","commands","send","logs"],"host":["{{domain}}"],"query":[{"key":"date","value":"{{from_date}}"}],"variable":[]}},"response":[{"id":"4aad5765-ffa5-4e27-9b07-dbd46ee18755","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/3/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 13 Feb 2025 09:52:25 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzM5NDQwMzQ1LCJuYmYiOjE3Mzk0NDAzNDUsImV4cCI6MTczOTQ0MDk0NSwic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzM5NDQwMzQ1fQ.LHI_1a-eIO2iiBut44gHGj88WCEE9UuWqltwaS6qdfU"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 3,\n        \"description\": \"Dissan;e Unit\",\n        \"unit_type_id\": 1,\n        \"unit_type_name\": \"ACMTech\",\n        \"unit_type_code\": \"acmtech\",\n        \"unit_model_id\": 1,\n        \"unit_model_name\": \"ACMTrack v1\",\n        \"unit_model_code\": \"acmtrack_1\",\n        \"command_data\": {\n            \"text\": \"dissable_unit\",\n            \"editable\": [\n                \"service_provider\",\n                \"text\"\n            ],\n            \"service_provider\": \"gdspo\"\n        },\n        \"unit_types\": [\n            {\n                \"code\": \"acmtech\",\n                \"name\": \"ACMTech\"\n            },\n            {\n                \"code\": \"calamp\",\n                \"name\": \"Calamp\"\n            },\n            {\n                \"code\": \"gosafe\",\n                \"name\": \"Gosafe\"\n            },\n            {\n                \"code\": \"queclink\",\n                \"name\": \"Queclink\"\n            },\n            {\n                \"code\": \"teltonika\",\n                \"name\": \"Teltonika\"\n            },\n            {\n                \"code\": \"gt06\",\n                \"name\": \"GT06\"\n            },\n            {\n                \"code\": \"wist\",\n                \"name\": \"Wist\"\n            },\n            {\n                \"code\": \"cobd\",\n                \"name\": \"CObd\"\n            },\n            {\n                \"code\": \"sigfox\",\n                \"name\": \"SigFox\"\n            },\n            {\n                \"code\": \"dmt\",\n                \"name\": \"Digital Matter\"\n            }\n        ],\n        \"unit_models\": [\n            {\n                \"code\": \"acmtrack_1\",\n                \"name\": \"ACMTrack v1\"\n            },\n            {\n                \"code\": \"acmtrack_2\",\n                \"name\": \"ACMTrack v2\"\n            }\n        ]\n    }\n}"}],"_postman_id":"70092e33-80e2-42ae-a4a0-1abfdca4d2d9"},{"name":"Delete Unit Command","id":"725f35c5-5be7-42e1-94a3-0f5dcf3272e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","unit","commands","6"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"c5c1362c-54b4-412e-a872-26e02f893698","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/unit/commands/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 13 Feb 2025 11:45:23 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzM5NDQ3MTIzLCJuYmYiOjE3Mzk0NDcxMjMsImV4cCI6MTczOTQ0NzcyMywic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzM5NDQ3MTIzfQ.zeX0tO010QkihwEWhMmGCsJ3r46KkvUlZIB1OVNZrTA"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted  Unit Command: Test Unit 2 (Edit)\"\n    ],\n    \"command_data\": {\n        \"id\": 6,\n        \"description\": \"Test Unit 2 (Edit)\",\n        \"unit_type_id\": 1,\n        \"unit_type_name\": null,\n        \"unit_type_code\": null,\n        \"unit_model_id\": 2,\n        \"unit_model_name\": null,\n        \"unit_model_code\": null,\n        \"data\": {\n            \"text\": \"dissable_unit\",\n            \"editable\": [\n                \"service_provider\",\n                \"text\"\n            ],\n            \"service_provider\": \"sms\"\n        }\n    }\n}"}],"_postman_id":"725f35c5-5be7-42e1-94a3-0f5dcf3272e1"}],"id":"89431c81-1f3c-459e-a57f-c8f8cc57c86f","_postman_id":"89431c81-1f3c-459e-a57f-c8f8cc57c86f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Unit Swapping","item":[{"name":"De-allocate Unit from Vehicle","id":"1fb776a0-0f07-4237-a04c-bb74c46c606d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"unit_id\": 1,\n  \"note\": \"De-allocated the unit from its current vehicle.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/deallocate/unit","description":"<p>De-allocates a unit from its currently assigned vehicle. Nothing else changes on the unit.</p>\n<ul>\n<li><p><code>unit_id</code> The ID of the unit to be de-allocated.</p>\n</li>\n<li><p><code>note</code> A note to be added to the effected unit.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","swap","deallocate","unit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"cd27c298-32a5-44b7-82d3-67246a9db352","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"unit_id\": 12616,\n  \"note\": \"De-allocated the unit from its current vehicle.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/deallocate/unit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Aug 2025 12:40:18 GMT"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Unit de-allocation successful\"\n    ]\n}"}],"_postman_id":"1fb776a0-0f07-4237-a04c-bb74c46c606d"},{"name":"Swap and Scrap Old Unit","id":"c7446ad6-fe92-4209-b39f-d2ae559a9499","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"replaced_unit_id\": 1,\n  \"replacement_unit_id\": 2,\n  \"note\": \"Swapping broken unit with new unit for the same client and vehicle. The old unit will be archived but all telemetry/trip history will be carried over to the new unit.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/archive","description":"<p>A new unit is fitted to a vehicle replacing an existing faulty unit - which will be archived. All telemetry and trip history are transferred over to the new unit. The old unit is archived to the unit archives.</p>\n<ul>\n<li><p><code>replaced_unit_id</code> The ID of the unit that is being replaced - i.e. removed from the vehicle.</p>\n</li>\n<li><p><code>replacement_unit_id</code> The ID of the replacement unit that is being fitted into the vehicle.</p>\n</li>\n<li><p><code>note</code> A note that will be added to the effected units.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","swap","archive"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"cbb9ca74-0ecc-4238-bab6-cea01f3c62e3","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"replaced_unit_id\": 12616,\n  \"replacement_unit_id\": 7256,\n  \"note\": \"Swapping broken unit with new unit for the same client and vehicle. The old unit will be archived but all telemetry/trip history will be carried over to the new unit.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/archive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Aug 2025 12:50:17 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzU1MDAzMDE3LCJuYmYiOjE3NTUwMDMwMTcsImV4cCI6MTc1NTAwMzYxNywic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTc1NTAwMzAxN30.gEY4-yXm6ygUe5egx0eb1D1_jck3RUvTca4XpVyYceE"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Unit swapping successful\"\n    ]\n}"}],"_postman_id":"c7446ad6-fe92-4209-b39f-d2ae559a9499"},{"name":"Swap and Repair Old Unit","id":"33642592-744b-45e0-bbab-793460867c95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"replaced_unit_id\": 1,\n  \"replacement_unit_id\": 2,\n  \"note\": \"Swapping faulty unit with new unit for the same client and vehicle. All telemetry/trip history will be carried over to the new unit. The old unit requires repair and will remain under the same client.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/repair","description":"<p>A new unit is fitted to a vehicle replacing an existing faulty unit - which will requires repairing. All telemetry and trip history are transferred over to the new unit. The old unit remains under the same client but is no longer allocated to the vehicle.</p>\n<ul>\n<li><p><code>replaced_unit_id</code> The ID of the unit that is being replaced - i.e. removed from the vehicle.</p>\n</li>\n<li><p><code>replacement_unit_id</code> The ID of the replacement unit that is being fitted to the vehicle.</p>\n</li>\n<li><p><code>note</code> A note that will be added to the effected units.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","swap","repair"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"cd651098-57fb-4697-9c1a-3ffa46d4d2ef","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"replaced_unit_id\": 12616,\n  \"replacement_unit_id\": 7256,\n  \"note\": \"Swapping faulty unit with new unit for the same client and vehicle. All telemetry/trip history will be carried over to the new unit. The old unit requires repair and will remain under the same client.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/repair"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Aug 2025 12:57:17 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzU1MDAzNDM3LCJuYmYiOjE3NTUwMDM0MzcsImV4cCI6MTc1NTAwNDAzNywic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTc1NTAwMzQzN30.R21q0UgWzXwC4mZB2sKl78uIPJGE5VQOGHAiDJ7GI4A"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Unit swapping successful\"\n    ]\n}"}],"_postman_id":"33642592-744b-45e0-bbab-793460867c95"},{"name":"Transfer to New Vehicle (Same Client)","id":"85bbb306-511e-42ed-a1bd-0fe18f01ab27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"replaced_unit_id\": 1,\n  \"vehicle_id\": 2,\n  \"assigned_as\": \"primary\",\n  \"note\": \"Transferring the unit to a vehicle (under the same client) as primary unit.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/transfer/vehicle","description":"<p>Transfer an un-allocated unit to a vehicle's \"primary\", \"backup_1\" or \"backup_2\" slot under the same client. The slot can not be already allocated by another unit. The unit's telemetry and trip data is kept.</p>\n<ul>\n<li><p><code>replaced_unit_id</code> The ID of the unit that is being transferred to the vehicle.</p>\n</li>\n<li><p><code>vehicle_id</code> The ID of the vehicle that the unit is being transferred to.</p>\n</li>\n<li><p><code>assigned_as</code> The assignment slot to which the unit should be allocated to, can be \"primary\", \"backup_1\" or \"backup_2\".</p>\n</li>\n<li><p><code>note</code> A note that will be added to the effected unit.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","swap","transfer","vehicle"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0ddd6e7d-1dad-43ac-8fec-f80727f574ff","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"replaced_unit_id\": 12616,\n  \"vehicle_id\": 7292,\n  \"assigned_as\": \"primary\",\n  \"note\": \"Transferring the unit to a vehicle (under the same client) as primary unit.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/transfer/vehicle"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Aug 2025 13:06:46 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzU1MDA0MDA2LCJuYmYiOjE3NTUwMDQwMDYsImV4cCI6MTc1NTAwNDYwNiwic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTc1NTAwNDAwNn0.2geIlY2Goxw8MlovXwUzj5Rx0Bd8wIPg8qQgWtO07Jc"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Unit swapping successful\"\n    ]\n}"},{"id":"82339fdf-fe1b-4aa5-a257-1cf61b4850b0","name":"422 Unprocessable Content","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"replaced_unit_id\": 12616,\n  \"vehicle_id\": 7203,\n  \"assigned_as\": \"primary\",\n  \"note\": \"Transferring the unit to a vehicle (under the same client) as primary unit.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/transfer/vehicle"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Aug 2025 13:08:26 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzU1MDA0MTA2LCJuYmYiOjE3NTUwMDQxMDYsImV4cCI6MTc1NTAwNDcwNiwic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTc1NTAwNDEwNn0.zU0I88sfM6GBodLONPNkHofIE24KJNdWEALJl_2jFrE"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"warnings\": [\n        \"Cannot assign unit as primary, a unit is already allocated in that slot.\"\n    ]\n}"}],"_postman_id":"85bbb306-511e-42ed-a1bd-0fe18f01ab27"},{"name":"Transfer to New Client and Vehicle","id":"7462bd48-5f25-489b-87e0-36e8aa8eccb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"replaced_unit_id\": 1,\n  \"replacement_client_id\": 5,\n  \"vehicle_id\": 1,\n  \"assigned_as\": \"primary\",\n  \"note\": \"Transferring unit to new client and vehicle as the primary unit. Telemetry and trip history will not be transferred with the unit.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/transfer/client","description":"<p>Transfer a unit to another client and vehicle. The assigned_as allocation slot, i.e. \"primary\", \"backup_1\" or \"backup_2\" must be provided. The slot can not be already allocated by another unit. The unit's telemetry and trip data is NOT TRANSFERRED.</p>\n<p>This API call is usefull for when transferring units from stock or between clients.</p>\n<ul>\n<li><p><code>replaced_unit_id</code> The ID of the unit that is being transferred to the new client and vehicle.</p>\n</li>\n<li><p><code>replacement_client_id</code> The ID of the client to which the unit is being transferred to.</p>\n</li>\n<li><p><code>vehicle_id</code> The ID of the vehicle the unit is being transferred to.</p>\n</li>\n<li><p><code>assigned_as</code> The assignment slot to which the the vehicle will be allocated to. Can be \"primary\", \"backup_1\" or \"backup_2\".</p>\n</li>\n<li><p><code>note</code> A note that will be added to the effected unit.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","swap","transfer","client"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"b7a13109-848e-4c1a-9863-e585f5977d5b","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"replaced_unit_id\": 12616,\n  \"replacement_client_id\": 596,\n  \"vehicle_id\": 3578,\n  \"assigned_as\": \"primary\",\n  \"note\": \"Transferring unit to new client and vehicle as the primary unit. Telemetry and trip history will not be transferred with the unit.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/transfer/client"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Aug 2025 13:17:27 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzU1MDA0NjQ3LCJuYmYiOjE3NTUwMDQ2NDcsImV4cCI6MTc1NTAwNTI0Nywic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTc1NTAwNDY0N30.57Rr2LV6Ab6DN3KJaenfMqNwQDHS-MfrDAqy8cDCUY0"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Unit swapping successful\"\n    ]\n}"}],"_postman_id":"7462bd48-5f25-489b-87e0-36e8aa8eccb4"},{"name":"Transfer to New Client (No Vehicle Allocation)","id":"1560f497-9fd6-4ba7-aca5-8f18e8fc5212","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"replaced_unit_id\": 1,\n  \"replacement_client_id\": 5,\n  \"vehicle_id\": null,\n  \"assigned_as\": null,\n  \"note\": \"Transferring unit to a new client without allocating it to another vehicle. The new client might be a stock bin for example.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/transfer/client","description":"<p>Transfer a unit to another client without allocating it to a vehicle. This API call is usefull for when transferring units back to stock or between clients.</p>\n<ul>\n<li><p><code>replaced_unit_id</code> The ID of the unit that is being transferred to the new client.</p>\n</li>\n<li><p><code>replacement_client_id</code> The ID of the client to which the unit is being transferred to.</p>\n</li>\n<li><p><code>vehicle_id</code> <code>null</code> Indicates that the unit must not be assigned/allocated to a vehicle.</p>\n</li>\n<li><p><code>assigned_as</code> <code>null</code> Indicates that the unit must not be assigned/allocated to a vehicle.</p>\n</li>\n<li><p><code>note</code> A note that will be added to the effected unit.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","swap","transfer","client"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"7c6b57c2-61b1-4abb-8bf3-2deece2429b5","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"replaced_unit_id\": 7256,\n  \"replacement_client_id\": 596,\n  \"vehicle_id\": null,\n  \"assigned_as\": null,\n  \"note\": \"Transferring unit to a new client without allocating it to another vehicle. The new client might be a stock bin.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/swap/transfer/client"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Aug 2025 13:33:15 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzU1MDA1NTk1LCJuYmYiOjE3NTUwMDU1OTUsImV4cCI6MTc1NTAwNjE5NSwic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTc1NTAwNTU5NX0.ds2JWTORe23PkQBo8_Ctbiaa-WHMEfB7DVW7q8djJGw"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Unit swapping successful\"\n    ]\n}"}],"_postman_id":"1560f497-9fd6-4ba7-aca5-8f18e8fc5212"}],"id":"9518ba92-dbdd-4bf4-bb13-e20039109448","_postman_id":"9518ba92-dbdd-4bf4-bb13-e20039109448","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Unit Transfer","item":[{"name":"Unit Transfer Overview (All)","id":"c388dfc8-aa2f-472b-9f94-87be9ad01758","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"option\": \"all\", // all, selected\n    \"de_allocate_veh\": true,\n    \"hist_option\":  \"transfer_history\", // remove, transfer_history\n    \"source_client_id\": 1,\n    \"destination_client_id\": 2\n  }","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/transfer/overview","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","transfer","overview"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"2fd0837c-e7d8-4811-88aa-3195ae76755b","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"option\": \"all\", // all, selected\n    \"de_allocate_veh\": true,\n    \"hist_option\":  \"transfer_history\", // remove, transfer_history\n    \"source_client_id\": 1,\n    \"destination_client_id\": 2\n  }","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/transfer/overview"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 08:03:22 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzU3MzE4NjAyLCJuYmYiOjE3NTczMTg2MDIsImV4cCI6MTc1NzMxOTIwMiwic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzU3MzE4NjAyfQ.ikSPohWSztwUvgf9lwoyWWsQB_iEV2AR-aQuY-pktGY"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"unit_count\": 4,\n        \"sim_card_count\": 2,\n        \"unit_ids\": [\n            1,\n            2,\n            3,\n            4\n        ],\n        \"sim_card_ids\": [\n            1,\n            2\n        ]\n    }\n}"}],"_postman_id":"c388dfc8-aa2f-472b-9f94-87be9ad01758"},{"name":"Unit Transfer Overview (Selected)","id":"0a9c3478-a468-4643-bea3-4f0529652c38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"option\": \"selected\", // all, selected\n    \"de_allocate_veh\": true,\n    \"hist_option\":  \"transfer_history\", // remove, transfer_history\n    \"source_client_id\": 1,\n    \"destination_client_id\": 2,\n    \"units\": [10589, 10882]\n  }","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/transfer/overview","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","transfer","overview"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"b6e487ed-7431-42fe-a719-f336e0c6d6d4","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"option\": \"selected\", // all, selected\n    \"de_allocate_veh\": true,\n    \"hist_option\":  \"transfer_history\", // remove, transfer_history\n    \"source_client_id\": 1,\n    \"destination_client_id\": 2,\n    \"units\": [10589, 10882]\n  }","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/transfer/overview"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 08:12:04 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzU3MzE5MTI0LCJuYmYiOjE3NTczMTkxMjQsImV4cCI6MTc1NzMxOTcyNCwic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzU3MzE5MTI0fQ.7_OUipHXpSqJ6s7Er-UtR6NlwGQlU4Md5DKhqPe-Lms"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"unit_count\": 2,\n        \"sim_card_count\": 2,\n        \"unit_ids\": [\n            1,\n            2\n        ],\n        \"sim_card_ids\": [\n            1,\n            2\n        ]\n    }\n}"}],"_postman_id":"0a9c3478-a468-4643-bea3-4f0529652c38"},{"name":"Unit Transfer (Selected)","id":"959feda2-4bd9-4d0d-a061-35db7ae43369","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"option\": \"selected\", // all, selected\n    \"de_allocate_veh\": true,\n    \"hist_option\":  \"transfer_history\", // remove, transfer_history\n    \"source_client_id\": 1,\n    \"destination_client_id\": 2,\n    \"units\": [10589, 10882]\n  }","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/transfer","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","transfer"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8fedddb0-718c-4910-85c4-7d1c14728e17","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"option\": \"selected\", // all, selected\n    \"de_allocate_veh\": true,\n    \"hist_option\":  \"transfer_history\", // remove, transfer_history\n    \"source_client_id\": 1,\n    \"destination_client_id\": 2,\n    \"units\": [10589, 10882]\n  }","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/transfer"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 11:05:34 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzU3MzI5NTM0LCJuYmYiOjE3NTczMjk1MzQsImV4cCI6MTc1NzMzMDEzNCwic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzU3MzI5NTM0fQ.0yh0iJNKBACvXHiqiG-_uqyN7CLY0AB7g_PFdQcffoA"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Successfully transferred client assets\"\n    ]\n}"}],"_postman_id":"959feda2-4bd9-4d0d-a061-35db7ae43369"},{"name":"Unit Transfer (All)","id":"a47092ab-a373-46e7-9e50-c7f5b56b523b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"option\": \"all\", // all, selected\n    \"de_allocate_veh\": true,\n    \"hist_option\":  \"transfer_history\", // remove, transfer_history\n    \"source_client_id\": 1,\n    \"destination_client_id\": 2\n  }","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/transfer","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","units","transfer"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"f8aef0e5-7833-4cc5-9435-ff3de0dd94b7","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"option\": \"all\", // all, selected\n    \"de_allocate_veh\": true,\n    \"hist_option\":  \"transfer_history\", // remove, transfer_history\n    \"source_client_id\": 1,\n    \"destination_client_id\": 2\n  }","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/units/transfer"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 11:09:19 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzU3MzI5NzU5LCJuYmYiOjE3NTczMjk3NTksImV4cCI6MTc1NzMzMDM1OSwic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzU3MzI5NzU5fQ.lZkYoaWNFD8B1nntPvns-2NPFpBxwhPFVJLuYHPYzzQ"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Successfully transferred client assets\"\n    ]\n}"}],"_postman_id":"a47092ab-a373-46e7-9e50-c7f5b56b523b"}],"id":"b18c8d2c-18ea-417b-9403-2a98ba5e37b0","_postman_id":"b18c8d2c-18ea-417b-9403-2a98ba5e37b0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Clients","item":[{"name":"Find Client(s)","id":"58c06cf2-0839-4ae4-a280-2e7aa64b1b68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{http}}://{{domain}}/api/v1/clients","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"_query","value":"First Help"}],"variable":[]}},"response":[{"id":"77828e33-2a0d-430c-9b68-823433111aac","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{bearer}}","type":"text"}],"url":"{{http}}://{{domain}}/api/v1/clients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 10:16:18 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 3,\n            \"name\": \"Client Name\",\n            \"reference_no\": null,\n            \"fin_account_no\": null,\n            \"fin_sub_account_no\": null,\n            \"description\": null,\n            \"partner\": {\n                \"id\": 2,\n                \"name\": \"Partner Name\"\n            },\n            \"agency\": null,\n            \"created_at\": \"2021-04-22T09:49:19+02:00\",\n            \"updated_at\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"58c06cf2-0839-4ae4-a280-2e7aa64b1b68"},{"name":"Clients Listing By Partner","id":"1681a465-48cb-41e2-bf6a-041ba0f963f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/listing/by-partner/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","listing","by-partner","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"5aada24c-cb00-4122-8e5e-8a9b7fe1365b","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/listing/by-partner/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 07:41:30 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"First Client\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Second Client\"\n        }\n    ]\n}"}],"_postman_id":"1681a465-48cb-41e2-bf6a-041ba0f963f8"},{"name":"Clients Listing By Agency","id":"413e963f-6c07-45ab-87ab-662c35436d5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/listing/by-agency/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","listing","by-agency","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"fbdc3e1c-cd5f-4ca6-81f3-90a752b03363","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/listing/by-agency/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 07:49:37 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"X-RateLimit-Reset","value":"30"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4,\n            \"name\": \"Agency Client Name\"\n        }\n    ]\n}"}],"_postman_id":"413e963f-6c07-45ab-87ab-662c35436d5a"},{"name":"Clients Listing With No Agency","id":"86f96090-e571-4cd2-b9f4-eeae628343e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/listing/no-agency","description":"<p>A optional partner id can be added.\nTo search for clients without agency assignment under a specific partner.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://www.dummydomain.com/api/v1/clients/listing/no-agency/[/1]\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","listing","no-agency"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"fbcf33f6-3d30-4316-b01e-ef6ac8d6a2cb","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/listing/no-agency"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 07:54:37 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 3,\n            \"name\": \"Client One\"\n        },\n        {\n            \"id\": 1,\n            \"name\": \"Client Two\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Client Three\"\n        }\n    ]\n}"}],"_postman_id":"86f96090-e571-4cd2-b9f4-eeae628343e3"},{"name":"Client Listing","id":"8365ac35-fca0-46d9-818a-c259e8cd5eea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"15a07e2c-ab85-4061-823d-0cbf046b2dbf","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 08:07:12 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4,\n            \"name\": \"Agency Client Name\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Client Name\"\n        }\n    ]\n}"}],"_postman_id":"8365ac35-fca0-46d9-818a-c259e8cd5eea"},{"name":"Get Client Contacts By Id","id":"29d0a6d0-ce6b-4ee1-b084-1816e21c322c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1/contacts","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1","contacts"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"2133207c-fe2e-4437-a1ee-c87648a30442","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1/contacts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 08:46:11 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"X-RateLimit-Reset","value":"19"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"contacts\": [\n            {\n                \"id\": 2,\n                \"contact_type_id\": 1,\n                \"contact_type_name\": \"Primary Contact\",\n                \"contact_name\": \"Client Contact\",\n                \"cellphone\": \"555 123 4567\",\n                \"phone_office\": null,\n                \"phone_home\": null,\n                \"email\": \"client.contact@email.com\",\n                \"fax\": null,\n                \"note\": null,\n                \"created_at\": \"2021-04-22T10:46:09+02:00\",\n                \"updated_at\": null\n            }\n        ]\n    }\n}"}],"_postman_id":"29d0a6d0-ce6b-4ee1-b084-1816e21c322c"},{"name":"Get Client Contacts","id":"0cd02974-0ea5-447d-807e-6a18be163f50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/contacts","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","contacts"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"942e9007-c53f-4ae4-b8b9-d521da1e58ed","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/contacts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 08:47:15 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"contact_type_id\": 1,\n            \"contact_type_name\": \"Primary Contact\",\n            \"contact_name\": \"Client Contact\",\n            \"cellphone\": \"555 123 4567\",\n            \"phone_office\": null,\n            \"phone_home\": null,\n            \"email\": \"client.contact@email.com\",\n            \"fax\": null,\n            \"note\": null,\n            \"partner\": {\n                \"id\": 2,\n                \"name\": \"Partner Name\"\n            },\n            \"agency\": null,\n            \"client\": {\n                \"id\": 3,\n                \"name\": \"Client Name\"\n            },\n            \"created_at\": \"2021-04-22T10:45:11+02:00\",\n            \"updated_at\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 2\n    }\n}"}],"_postman_id":"0cd02974-0ea5-447d-807e-6a18be163f50"},{"name":"Get Client Contact Types","id":"42b9d05d-74ee-41e3-b0c4-5bfe79237e51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/contact-types","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","contact-types"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"42b9d05d-74ee-41e3-b0c4-5bfe79237e51"},{"name":"Get Client Create Form Data","id":"d5f10c74-4a10-4d5b-8d7c-0090f83198f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"cf47ee0b-fc65-4ecb-8a70-5255dce1d9ab","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 09:53:56 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            }\n        ],\n        \"agencies\": [\n            {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            }\n        ],\n        \"contact_types\": [\n            {\n                \"id\": 1,\n                \"name\": \"Primary Contact\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Alternative Contact\"\n            },\n            {\n                \"id\": 3,\n                \"name\": \"Emergency Contact\"\n            },\n            {\n                \"id\": 4,\n                \"name\": \"Financial Contact\"\n            },\n            {\n                \"id\": 5,\n                \"name\": \"Installation Contact\"\n            },\n            {\n                \"id\": 6,\n                \"name\": \"Technical Contact\"\n            },\n            {\n                \"id\": 7,\n                \"name\": \"Service Center Contact\"\n            },\n            {\n                \"id\": 8,\n                \"name\": \"Delivery Contact\"\n            },\n            {\n                \"id\": 9,\n                \"name\": \"Control Room Contact\"\n            }\n        ],\n        \"location_types\": {\n            \"office\": \"Office Address\",\n            \"branch\": \"Branch Address\",\n            \"depo\": \"Depo Address\",\n            \"home\": \"Home Address\",\n            \"service_center\": \"Service Center Address\",\n            \"delivery\": \"Delivery Address\",\n            \"installation\": \"Installation Address\",\n            \"control_room\": \"Control Room Address\"\n        }\n    }\n}"}],"_postman_id":"d5f10c74-4a10-4d5b-8d7c-0090f83198f0"},{"name":"Get Client Edit Form Data","id":"56cd49dd-f145-42d8-bb98-48d75c58492b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"290fd4cd-05cf-46a6-a867-2839e5c926e7","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 09:56:27 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Client Name\",\n        \"reference_no\": null,\n        \"fin_account_no\": null,\n        \"fin_sub_account_no\": null,\n        \"description\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"created_at\": \"2021-01-25T12:33:14+02:00\",\n        \"updated_at\": null,\n        \"contacts\": [\n            {\n                \"id\": 2,\n                \"contact_type_id\": 1,\n                \"contact_type_name\": \"Primary Contact\",\n                \"contact_name\": \"Client Contact\",\n                \"cellphone\": \"555 123 4567\",\n                \"phone_office\": null,\n                \"phone_home\": null,\n                \"email\": \"client.contact@email.com\",\n                \"fax\": null,\n                \"note\": null,\n                \"created_at\": \"2021-04-22T10:46:09+02:00\",\n                \"updated_at\": null\n            },\n            {\n                \"id\": 3,\n                \"contact_type_id\": 1,\n                \"contact_type_name\": \"Primary Contact\",\n                \"contact_name\": \"Contact Name\",\n                \"cellphone\": \"082 5552222\",\n                \"phone_office\": \"011 222 2222\",\n                \"phone_home\": \"012 222 2222\",\n                \"email\": \"contact@email.com\",\n                \"fax\": \"011 222 2223\",\n                \"note\": \"This is an example note\",\n                \"created_at\": \"2021-04-22T11:32:26+02:00\",\n                \"updated_at\": null\n            }\n        ],\n        \"locations\": [],\n        \"notes\": [\n            {\n                \"id\": 1,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-22T11:27:01+02:00\",\n                \"note\": \"This is an example note.\"\n            }\n        ],\n        \"attachments\": [],\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            }\n        ],\n        \"agencies\": [\n            {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            }\n        ],\n        \"contact_types\": [\n            {\n                \"id\": 1,\n                \"name\": \"Primary Contact\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Alternative Contact\"\n            },\n            {\n                \"id\": 3,\n                \"name\": \"Emergency Contact\"\n            },\n            {\n                \"id\": 4,\n                \"name\": \"Financial Contact\"\n            },\n            {\n                \"id\": 5,\n                \"name\": \"Installation Contact\"\n            },\n            {\n                \"id\": 6,\n                \"name\": \"Technical Contact\"\n            },\n            {\n                \"id\": 7,\n                \"name\": \"Service Center Contact\"\n            },\n            {\n                \"id\": 8,\n                \"name\": \"Delivery Contact\"\n            },\n            {\n                \"id\": 9,\n                \"name\": \"Control Room Contact\"\n            }\n        ],\n        \"location_types\": {\n            \"office\": \"Office Address\",\n            \"branch\": \"Branch Address\",\n            \"depo\": \"Depo Address\",\n            \"home\": \"Home Address\",\n            \"service_center\": \"Service Center Address\",\n            \"delivery\": \"Delivery Address\",\n            \"installation\": \"Installation Address\",\n            \"control_room\": \"Control Room Address\"\n        }\n    }\n}"}],"_postman_id":"56cd49dd-f145-42d8-bb98-48d75c58492b"},{"name":"Get a Client","id":"08d7fcb0-b179-48dc-b0f9-00fe0856ba1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"cbfeba5f-99ca-44d4-8cb6-d6fd84efb6ff","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 09:58:31 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 281,\n        \"name\": \"JASON SCHOEMAN\",\n        \"reference_no\": null,\n        \"fin_account_no\": null,\n        \"fin_sub_account_no\": null,\n        \"description\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"ACMGroup (Pty) Ltd\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"created_at\": \"2022-04-26T16:27:52+02:00\",\n        \"updated_at\": null,\n        \"contacts\": [\n            {\n                \"id\": 1389,\n                \"contact_type_id\": 1,\n                \"contact_type_name\": \"Primary Contact\",\n                \"contact_name\": \"Jason Schoeman\",\n                \"cellphone\": \"0760810777\",\n                \"phone_office\": \"0760810777\",\n                \"phone_home\": \"0760810777\",\n                \"email\": \"jason@schoeman.me\",\n                \"fax\": null,\n                \"note\": \"Only mobile number may be contacted with email.\",\n                \"created_at\": \"2025-11-13T12:09:11+02:00\",\n                \"updated_at\": null\n            }\n        ],\n        \"locations\": [\n            {\n                \"id\": 60,\n                \"location_type\": \"office\",\n                \"address\": \"17 Hellier St, Barrydale, 6750, South Africa\",\n                \"place_id\": null,\n                \"latitude\": -33.908394,\n                \"longitude\": 20.725821,\n                \"created_at\": \"2025-11-13T12:09:49+02:00\",\n                \"updated_at\": null\n            }\n        ],\n        \"notes\": [\n            {\n                \"id\": 665,\n                \"user_id\": 5,\n                \"user_full_name\": \"Jason #Admin\",\n                \"created_at\": \"2025-11-13T12:08:44+02:00\",\n                \"note\": \"This is a personal account of Jason Schoeman\"\n            }\n        ],\n        \"attachments\": [\n            {\n                \"id\": 46,\n                \"user_id\": 5,\n                \"user_full_name\": \"Jason #Admin\",\n                \"url\": \"https://cdn.filestackcontent.com/dTFvRMAzRjiGHrzySVTZ\",\n                \"type\": \"image/jpeg\",\n                \"filename\": \"20210509_183700.jpg\",\n                \"description\": \"20210509_183700.jpg\",\n                \"size_bytes\": 2696932,\n                \"created_at\": \"2025-11-13T13:30:01+02:00\",\n                \"updated_at\": null\n            }\n        ]\n    }\n}"}],"_postman_id":"08d7fcb0-b179-48dc-b0f9-00fe0856ba1a"},{"name":"Perform Client Transfer","id":"558b3fb7-e907-4c29-8d77-3a4c1a72b743","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_ids\": [2],\n    \"partner_id\": 2,\n    \"src_partner_id\": 1,\n    \"agency_id\": null,\n    \"src_agency_id\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/transfer/perform","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","transfer","perform"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"7ffa20d9-f38e-4a88-ad76-e24338b609ab","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_ids\": [2],\n    \"partner_id\": 2,\n    \"src_partner_id\": 1,\n    \"agency_id\": null,\n    \"src_agency_id\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/transfer/perform"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 09:10:57 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Client(s) successfully transferred\"\n    ],\n    \"data\": {\n        \"transferred\": {\n            \"clients\": [\n                {\n                    \"id\": 2,\n                    \"name\": \"Client Name\"\n                }\n            ],\n            \"partner\": {\n                \"id\": 2,\n                \"name\": \"Partner Name\"\n            },\n            \"agency\": null\n        }\n    }\n}"}],"_postman_id":"558b3fb7-e907-4c29-8d77-3a4c1a72b743"},{"name":"Check Client Transfer Valid","id":"f9514f53-7153-4fd9-a836-6885b49b33e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_ids\": [1],\n    \"partner_id\": 1,\n    \"agency_id\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/transfer/check","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","transfer","check"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"965fcce5-fba1-4266-80ad-8185b6d66dff","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_ids\": [1],\n    \"partner_id\": 1,\n    \"agency_id\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/transfer/check"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 09:23:03 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Client Name\",\n            \"vehicle_count\": 2,\n            \"driver_count\": 0,\n            \"unit_count\": 3,\n            \"unit_archive_count\": 4,\n            \"user_count\": 0,\n            \"vehicle_group_count\": 1,\n            \"unit_group_count\": 0\n        }\n    ]\n}"}],"_postman_id":"f9514f53-7153-4fd9-a836-6885b49b33e3"},{"name":"Add Client Note","id":"b8a3b79c-aad1-46d1-8d11-4fd8b66ced95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"note\": \"This is an example note.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1/note","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1","note"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"ba320b28-fff3-4fbd-acef-0b1e5e71cb5f","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"note\": \"This is an example note.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1/note"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 09:27:01 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Note added successfully\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-22T11:27:01+02:00\",\n        \"note\": \"This is an example note.\"\n    }\n}"}],"_postman_id":"b8a3b79c-aad1-46d1-8d11-4fd8b66ced95"},{"name":"Add a Client Contact","id":"afa2b81a-353b-4b66-af8e-c04ee95410cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"contact_type_id\": 1,\n    \"contact_name\": \"Contact Name\",\n    \"cellphone\": \"082 5552222\",\n    \"phone_office\": \"011 222 2222\",\n    \"phone_home\": \"012 222 2222\",\n    \"email\": \"contact@email.com\",\n    \"fax\": \"011 222 2223\",\n    \"note\": \"This is an example note\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1/contact","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1","contact"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"158ab892-eab2-4608-a528-d26937275284","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"contact_type_id\": 1,\n    \"contact_name\": \"Contact Name\",\n    \"cellphone\": \"082 5552222\",\n    \"phone_office\": \"011 222 2222\",\n    \"phone_home\": \"012 222 2222\",\n    \"email\": \"contact@email.com\",\n    \"fax\": \"011 222 2223\",\n    \"note\": \"This is an example note\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1/contact"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 09:32:26 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Contact Created Successfully: Contact Name\"\n    ],\n    \"data\": {\n        \"id\": 3,\n        \"contact_type_id\": 1,\n        \"contact_type_name\": \"Primary Contact\",\n        \"contact_name\": \"Contact Name\",\n        \"cellphone\": \"082 5552222\",\n        \"phone_office\": \"011 222 2222\",\n        \"phone_home\": \"012 222 2222\",\n        \"email\": \"contact@email.com\",\n        \"fax\": \"011 222 2223\",\n        \"note\": \"This is an example note\",\n        \"created_at\": \"2021-04-22T11:32:26+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"afa2b81a-353b-4b66-af8e-c04ee95410cb"},{"name":"Update Client Contact","id":"4452905c-7108-4303-90b7-afd87f4d467d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n\t\"contact_type_id\": 1,\n    \"contact_name\": \"Contact Name\",\n    \"cellphone\": \"082 5552222\",\n    \"phone_office\": \"011 222 2222\",\n    \"phone_home\": \"012 222 2222\",\n    \"email\": \"contact@email.com\",\n    \"fax\": \"011 222 2223\",\n    \"note\": \"This is an example note\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1/contact/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1","contact","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8600b062-f7dd-4a33-a7bf-1df8e86777cf","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n\t\"contact_type_id\": 1,\n    \"contact_name\": \"Contact Name\",\n    \"cellphone\": \"082 5552222\",\n    \"phone_office\": \"011 222 2222\",\n    \"phone_home\": \"012 222 2222\",\n    \"email\": \"contact@email.com\",\n    \"fax\": \"011 222 2223\",\n    \"note\": \"This is an example note\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1/contact/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 09:38:48 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"X-RateLimit-Reset","value":"20"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Contact Updated Successfully: Contact Name Change\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"contact_type_id\": 1,\n        \"contact_type_name\": \"Primary Contact\",\n        \"contact_name\": \"Client Contact\",\n        \"cellphone\": \"555 123 4567\",\n        \"phone_office\": null,\n        \"phone_home\": null,\n        \"email\": \"client.contact@email.com\",\n        \"fax\": null,\n        \"note\": null,\n        \"created_at\": \"2021-04-22T10:45:11+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"4452905c-7108-4303-90b7-afd87f4d467d"},{"name":"Delete Client Contact","id":"696e1e79-c0b6-4d39-aac4-aa2b0ab50f31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1/contact/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1","contact","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"ff702bb1-c03f-47ee-a148-0f9dca140093","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1/contact/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 09:41:08 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Contact Deleted Successfully: Client Contact\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"contact_type_id\": 1,\n        \"contact_type_name\": \"Primary Contact\",\n        \"contact_name\": \"Client Contact\",\n        \"cellphone\": \"555 123 4567\",\n        \"phone_office\": null,\n        \"phone_home\": null,\n        \"email\": \"client.contact@email.com\",\n        \"fax\": null,\n        \"note\": null,\n        \"created_at\": \"2021-04-22T10:45:11+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"696e1e79-c0b6-4d39-aac4-aa2b0ab50f31"},{"name":"Add a Client Location","id":"644aa7e3-da46-4de5-85c7-a682b4634aa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"location_type\": \"home\",\n    \"address\": \"Via Castelrotto, Croglio, Switzerland\",\n    \"place_id\": \"ChIJm4a_lffShUcRDX-kXt404qs\",\n    \"latitude\": 45.991799,\n    \"longitude\": 8.8380836\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1/location","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1","location"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"877a83f3-12c6-4da1-80b6-6fb40641a050","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"location_type\": \"home\",\n    \"address\": \"Via Castelrotto, Croglio, Switzerland\",\n    \"place_id\": \"ChIJm4a_lffShUcRDX-kXt404qs\",\n    \"latitude\": 45.991799,\n    \"longitude\": 8.8380836\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1/location"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 09:43:09 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Location Created Successfully: Via Castelrotto, Croglio, Switzerland\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"location_type\": \"home\",\n        \"address\": \"Via Castelrotto, Croglio, Switzerland\",\n        \"place_id\": \"ChIJm4a_lffShUcRDX-kXt404qs\",\n        \"latitude\": 45.991799,\n        \"longitude\": 8.838084,\n        \"created_at\": \"2021-04-22T11:43:09+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"644aa7e3-da46-4de5-85c7-a682b4634aa6"},{"name":"Delete Client Location","id":"2cd61ed2-add1-47dd-a342-bfe5d395cad8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1/location/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1","location","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"9faac51d-e4f1-4e3e-a2d4-201895091108","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1/location/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 09:44:52 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Location Deleted Successfully: Via Castelrotto, Croglio, Switzerland\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"location_type\": \"home\",\n        \"address\": \"Via Castelrotto, Croglio, Switzerland\",\n        \"place_id\": \"ChIJm4a_lffShUcRDX-kXt404qs\",\n        \"latitude\": 45.991799,\n        \"longitude\": 8.838084,\n        \"created_at\": \"2021-04-22T11:43:09+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"2cd61ed2-add1-47dd-a342-bfe5d395cad8"},{"name":"Add Client Attachment","id":"1d660cd5-e88b-4823-862a-b211987d8c4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Photo of a male.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1/attachment","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1","attachment"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"eea889c1-4f58-4fe4-b8cf-9ac10b63e114","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Photo of a male.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1/attachment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:07:24 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Attachment Added Successfully: Photo of a male.\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"url\": \"\",\n        \"type\": \"image/jpeg\",\n        \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n        \"description\": \"Photo of a male.\",\n        \"size_bytes\": 49996,\n        \"created_at\": \"2021-04-21T14:07:24+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"1d660cd5-e88b-4823-862a-b211987d8c4e"},{"name":"Update an Client Attachment","id":"6ab470d8-3d9b-4601-946e-e710898d0b89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Example of description.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1/attachment/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1","attachment","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"49d9c46b-5e35-4965-aded-c39b89b8f014","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Example of description.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1/attachment/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:16:01 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Attachment Updated Successfully: Example of description.\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"url\": \"\",\n        \"type\": \"image/jpeg\",\n        \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n        \"description\": \"Example of description.\",\n        \"size_bytes\": 49996,\n        \"created_at\": \"2021-04-21T14:07:24+02:00\",\n        \"updated_at\": \"2021-04-21T14:16:01+02:00\"\n    }\n}"}],"_postman_id":"6ab470d8-3d9b-4601-946e-e710898d0b89"},{"name":"Delete a Client Attachment","id":"481094cd-2091-4748-b606-b723b1a25c05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1/attachment/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1","attachment","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"f0d9ce36-c9d6-47c0-9a58-ebb428dd3a8a","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1/attachment/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:23:11 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"44"},{"key":"Authorization","value":""}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Attachment Deleted Successfully: Example of description.\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"url\": \"\",\n        \"type\": \"image/jpeg\",\n        \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n        \"description\": \"Example of description.\",\n        \"size_bytes\": 49996,\n        \"created_at\": \"2021-04-21T14:07:24+02:00\",\n        \"updated_at\": \"2021-04-21T14:16:01+02:00\"\n    }\n}"}],"_postman_id":"481094cd-2091-4748-b606-b723b1a25c05"},{"name":"Update Existing Client","id":"9811c49f-9624-47cd-ab5e-e846785aca96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"name\": \"Client New Name\",\n    \"fin_account_no\": \"1234567\",\n    \"description\": \"An example description\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"ec69a6b4-104d-4429-a6e0-bd1742143da0","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"name\": \"Client New Name\",\n    \"fin_account_no\": \"1234567\",\n    \"description\": \"An example description\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 10:03:49 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated Client: Client Name\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Client New Name\",\n        \"reference_no\": null,\n        \"fin_account_no\": \"A1234567\",\n        \"fin_sub_account_no\": \"ABC123\",\n        \"description\": \"An example description\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"created_at\": \"2021-01-25T12:33:14+02:00\",\n        \"updated_at\": \"2021-04-22T12:03:49+02:00\",\n        \"contacts\": [\n            {\n                \"id\": 2,\n                \"contact_type_id\": 1,\n                \"contact_type_name\": \"Primary Contact\",\n                \"contact_name\": \"Client Contact\",\n                \"cellphone\": \"555 123 4567\",\n                \"phone_office\": null,\n                \"phone_home\": null,\n                \"email\": \"client.contact@email.com\",\n                \"fax\": null,\n                \"note\": null,\n                \"created_at\": \"2021-04-22T10:46:09+02:00\",\n                \"updated_at\": null\n            }\n        ],\n        \"locations\": [],\n        \"notes\": [\n            {\n                \"id\": 1,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-22T11:27:01+02:00\",\n                \"note\": \"This is an example note.\"\n            }\n        ],\n        \"attachments\": []\n    }\n}"}],"_postman_id":"9811c49f-9624-47cd-ab5e-e846785aca96"},{"name":"Add a New Client","id":"7abec302-9e63-41e7-86e5-2242c05438cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Client Name\",\n    \"fin_account_no\": \"A1234567\",\n    \"fin_sub_account_no\": \"ABC123\",\n    \"description\": \"An example description\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"9111eab7-1740-4e2b-8a0b-3e5d7eba7d69","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Client Name\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"fin_account_no\": \"A1234567\",\n    \"fin_sub_account_no\": \"ABC123\",\n    \"description\": \"An example description\",\n    \"notes\": [\"This is an example note.\"],\n    \"attachments\": [],\n    \"contacts\": [\n        {\n            \"contact_type_id\": 1,\n            \"contact_type_name\": \"Primary Contact\",\n            \"contact_name\": \"Client Contact\",\n            \"cellphone\": \"555 123 4567\",\n            \"phone_office\": null,\n            \"phone_home\": null,\n            \"email\": \"client.contact@email.com\",\n            \"fax\": null,\n            \"note\": null\n        }\n    ],\n    \"locations\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/clients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 10:03:49 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Added Client: Client Name\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Client Name\",\n        \"reference_no\": null,\n        \"fin_account_no\": \"A1234567\",\n        \"fin_sub_account_no\": \"ABC123\",\n        \"description\": \"An example description\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"created_at\": \"2021-01-25T12:33:14+02:00\",\n        \"updated_at\": \"2021-04-22T12:03:49+02:00\",\n        \"contacts\": [\n            {\n                \"id\": 2,\n                \"contact_type_id\": 1,\n                \"contact_type_name\": \"Primary Contact\",\n                \"contact_name\": \"Client Contact\",\n                \"cellphone\": \"555 123 4567\",\n                \"phone_office\": null,\n                \"phone_home\": null,\n                \"email\": \"client.contact@email.com\",\n                \"fax\": null,\n                \"note\": null,\n                \"created_at\": \"2021-04-22T10:46:09+02:00\",\n                \"updated_at\": null\n            }\n        ],\n        \"locations\": [],\n        \"notes\": [\n            {\n                \"id\": 1,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-22T11:27:01+02:00\",\n                \"note\": \"This is an example note.\"\n            }\n        ],\n        \"attachments\": []\n    }\n}"}],"_postman_id":"7abec302-9e63-41e7-86e5-2242c05438cf"},{"name":"Delete a Existing Client","id":"5c6f69e8-32b1-474f-ae76-88a03d171fa5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8600431b-0873-4b08-afb7-96855bf37d69","name":"Example Warning","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/1"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 10:07:44 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"warnings\": [\n        \"The client could not be deleted as there is currently one vehicle group linked to the client\"\n    ]\n}"},{"id":"2aa32f14-b5d7-42ee-92bf-c0223f5486c7","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Apr 2021 10:11:13 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"X-RateLimit-Reset","value":"7"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted Client: Client Name\"\n    ],\n    \"data\": {\n        \"id\": 4,\n        \"name\": \"Client Name\",\n        \"reference_no\": null,\n        \"fin_account_no\": null,\n        \"description\": null,\n        \"partner\": {\n            \"id\": 2,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": {\n            \"id\": 1,\n            \"name\": \"Agency Name\"\n        },\n        \"created_at\": \"2021-04-22T07:49:33+00:00\",\n        \"updated_at\": null,\n        \"contacts\": [],\n        \"locations\": [],\n        \"notes\": [],\n        \"attachments\": []\n    }\n}"}],"_postman_id":"5c6f69e8-32b1-474f-ae76-88a03d171fa5"},{"name":"Get a Client","id":"a5d81790-8efc-4d8d-88ef-eef1fb9dbc0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/clients/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","clients","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5d81790-8efc-4d8d-88ef-eef1fb9dbc0a"}],"id":"3874cd88-a753-4346-bdf9-672bdb03a5a3","_postman_id":"3874cd88-a753-4346-bdf9-672bdb03a5a3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Vehicles","item":[{"name":"Find Vehicles","event":[{"listen":"test","script":{"id":"d17a2f03-6e4a-47d8-bd0d-b44998f21d01","exec":["let template = ","`","<style type=\"text/css\">","        .tftable {font-size:12px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","        .tftable th {font-size:12px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","        .tftable tr {background-color:#ffffff;}","        .tftable td {font-size:12px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","        .tftable tr:hover {background-color:#e0ffff;}","    </style>","    ","    <table class=\"tftable\" border=\"1\">","        <tr>","            <th>Id</th>","            <th>Registration No.</th>","            <th>Assignment</th>","        </tr>","        ","        {{#each response.data}}","            <tr id=row_{{@key}} onClick=\"handleClick(this.id)\">","                <td id={{@key}}>{{id}}</td>","                <td>","                    {{reg_no}}<br>","                    Fleet No: {{fleet_no}}","                </td>","                <td>","                    Partner: {{partner.name}}<br>","                    Agency: {{agency.name}}<br>","                    Client: {{client.name}}<br>","                </td>","            </tr>","        {{/each}}","    </table>","`","","pm.visualizer.set(template, {","    response: pm.response.json()","});"],"type":"text/javascript","packages":{}}}],"id":"03f5806f-35ab-4e25-aca5-f298101ec501","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"fb5912d3-05f7-46f9-80b0-8d656608ec3a","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 09:31:34 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 318,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner name\"\n            },\n            \"agency_id\": 1,\n            \"agency\": {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            },\n            \"client_id\": 15,\n            \"client\": {\n                \"id\": 15,\n                \"name\": \"Client Name\"\n            },\n            \"driver_id\": null,\n            \"driver\": null,\n            \"vehicle_event_profile_id\": null,\n            \"vehicle_group_id\": null,\n            \"vehicle_group\": null,\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\",\n            \"icon_name\": \"pin-01-green.svg\",\n            \"vin\": null,\n            \"engine_no\": null,\n            \"vehicle_make\": null,\n            \"vehicle_model\": null,\n            \"vehicle_color\": null,\n            \"vehicle_year\": null,\n            \"odo_veh_km\": null,\n            \"odo_gps_km\": null,\n            \"service_interval_km\": null,\n            \"service_interval_month\": null,\n            \"prev_service_km\": null,\n            \"next_service_km\": null,\n            \"prev_service_date\": null,\n            \"next_service_date\": null,\n            \"prev_license_date\": null,\n            \"license_exp_date\": null,\n            \"prev_permit_date\": null,\n            \"permit_exp_date\": null,\n            \"created_at\": \"2020-10-01T09:38:27+02:00\",\n            \"updated_at\": null,\n            \"unit_id\": 341,\n            \"unit_assigned_as\": \"primary\",\n            \"unit_imei\": \"5551234567890\",\n            \"unit_serial_no\": \"65G4423\",\n            \"unit_stock_no\": null,\n            \"unit_name\": null,\n            \"unit_type_code\": \"sigfox\",\n            \"unit_type_name\": \"SigFox\",\n            \"unit_model_code\": \"foxy\",\n            \"unit_model_name\": \"Foxy\"\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": \"https://www.dummydomain.net/api/v1/vehicles?page=2\",\n        \"first_item\": 1,\n        \"last_item\": 30\n    }\n}"}],"_postman_id":"03f5806f-35ab-4e25-aca5-f298101ec501"},{"name":"Vehicles Listing","id":"d7e71bf5-4b3b-4b6e-b4fc-be18a9615ac3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"eedba2aa-f3b6-4ff0-be37-04be2ee95d5d","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 09:42:38 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 318,\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\"\n        },\n        {\n            \"id\": 9,\n            \"reg_no\": \"CBA 321 PG\",\n            \"fleet_no\": \"4321555\"\n        }\n    ]\n}"}],"_postman_id":"d7e71bf5-4b3b-4b6e-b4fc-be18a9615ac3"},{"name":"Get Vehicle Create Form Data","id":"9e0b2ee7-f331-4acd-8367-7ecdddf8d964","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"eb58cee9-ca39-4f46-89bd-904c11abf76d","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:53:45 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": null,\n            \"agency\": null,\n            \"client_id\": 1,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"driver_id\": null,\n            \"driver\": null,\n            \"vehicle_event_profile_id\": null,\n            \"vehicle_group_id\": null,\n            \"vehicle_group\": null,\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": null,\n            \"icon_name\": null,\n            \"vin\": null,\n            \"engine_no\": null,\n            \"vehicle_make\": null,\n            \"vehicle_model\": null,\n            \"vehicle_color\": null,\n            \"vehicle_year\": null,\n            \"odo_veh_km\": null,\n            \"odo_gps_km\": null,\n            \"service_interval_km\": null,\n            \"service_interval_month\": null,\n            \"prev_service_km\": null,\n            \"next_service_km\": null,\n            \"prev_service_date\": null,\n            \"next_service_date\": null,\n            \"prev_license_date\": null,\n            \"license_exp_date\": null,\n            \"prev_permit_date\": null,\n            \"permit_exp_date\": null,\n            \"created_at\": \"2021-02-03T14:33:07+02:00\",\n            \"updated_at\": \"2021-04-21T14:50:50+02:00\",\n            \"unit_id\": null,\n            \"unit_assigned_as\": null,\n            \"unit_imei\": null,\n            \"unit_serial_no\": null,\n            \"unit_stock_no\": null,\n            \"unit_name\": null,\n            \"unit_type_code\": null,\n            \"unit_type_name\": null,\n            \"unit_model_code\": null,\n            \"unit_model_name\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 4\n    }\n}"}],"_postman_id":"9e0b2ee7-f331-4acd-8367-7ecdddf8d964"},{"name":"Vehicles Option Listing By Client","id":"3d617ff3-b76c-4d5a-b4ab-19aefa3ffd90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/listing/by-client/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","listing","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"15535abe-5b8b-465d-bf1d-c09ca46d4bb1","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/listing/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 10:32:02 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\"\n        }\n    ]\n}"}],"_postman_id":"3d617ff3-b76c-4d5a-b4ab-19aefa3ffd90"},{"name":"Vehicles Maintenance By Client","id":"dc651651-6b2e-40df-819c-238780f90f16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/maintenance/by-client/{{client_id}}?id=1381","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","maintenance","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[{"key":"id","value":"1381"}],"variable":[]}},"response":[{"id":"744ea1fc-8ce2-4bc4-a91d-1db598b8e7d0","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/listing/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 10:32:02 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\"\n        }\n    ]\n}"}],"_postman_id":"dc651651-6b2e-40df-819c-238780f90f16"},{"name":"Vehicles Maintenance By Group","id":"1c3fb658-381d-4dbe-8409-8bffbcfacecf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/maintenance/by-group/{{vehicle_group_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","maintenance","by-group","{{vehicle_group_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"c4bc995b-459e-4cdd-afbd-3fede7875525","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/listing/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 10:32:02 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\"\n        }\n    ]\n}"}],"_postman_id":"1c3fb658-381d-4dbe-8409-8bffbcfacecf"},{"name":"Vehicles Listing By Client (With units)","id":"b2ab3fb2-ee12-4258-8f19-60889c9d2973","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/by-client/{{client_id}}/with-units","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","by-client","{{client_id}}","with-units"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"076410f5-1fd8-4176-bf1f-566a1720fe3e","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/paginated/by-client/1/with-units"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 10:38:57 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": 1,\n            \"agency\": {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            },\n            \"client_id\": 1,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"driver_id\": null,\n            \"driver\": null,\n            \"vehicle_event_profile_id\": null,\n            \"vehicle_group_id\": null,\n            \"vehicle_group\": null,\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\",\n            \"icon_name\": \"pickup-singlecab-orange.svg\",\n            \"vin\": null,\n            \"engine_no\": null,\n            \"vehicle_make\": null,\n            \"vehicle_model\": null,\n            \"vehicle_color\": null,\n            \"vehicle_year\": null,\n            \"odo_veh_km\": null,\n            \"odo_gps_km\": null,\n            \"service_interval_km\": null,\n            \"service_interval_month\": null,\n            \"prev_service_km\": null,\n            \"next_service_km\": null,\n            \"prev_service_date\": null,\n            \"next_service_date\": null,\n            \"prev_license_date\": null,\n            \"license_exp_date\": null,\n            \"prev_permit_date\": null,\n            \"permit_exp_date\": null,\n            \"created_at\": \"2020-02-12T19:46:40+02:00\",\n            \"updated_at\": \"2020-04-22T14:35:38+02:00\",\n            \"unit_id\": 1,\n            \"unit_assigned_as\": \"primary\",\n            \"unit_imei\": \"5551234567890\",\n            \"unit_serial_no\": null,\n            \"unit_stock_no\": null,\n            \"unit_name\": null,\n            \"unit_type_code\": \"teltonika\",\n            \"unit_type_name\": \"Teltonika\",\n            \"unit_model_code\": \"fmb920\",\n            \"unit_model_name\": \"FMB920\"\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"b2ab3fb2-ee12-4258-8f19-60889c9d2973"},{"name":"Vehicles Listing  By Client","id":"aee83942-540d-4d0a-8047-912857e7da13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/by-client/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"391ccd3d-e8cc-4e8b-a18a-bea0f65931fc","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/paginated/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 10:55:13 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": 1,\n            \"agency\": {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            },\n            \"client_id\": 1,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"driver_id\": null,\n            \"driver\": null,\n            \"vehicle_event_profile_id\": null,\n            \"vehicle_group_id\": null,\n            \"vehicle_group\": null,\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\",\n            \"icon_name\": \"pickup-singlecab-orange.svg\",\n            \"vin\": null,\n            \"engine_no\": null,\n            \"vehicle_make\": null,\n            \"vehicle_model\": null,\n            \"vehicle_color\": null,\n            \"vehicle_year\": null,\n            \"odo_veh_km\": null,\n            \"odo_gps_km\": null,\n            \"service_interval_km\": null,\n            \"service_interval_month\": null,\n            \"prev_service_km\": null,\n            \"next_service_km\": null,\n            \"prev_service_date\": null,\n            \"next_service_date\": null,\n            \"prev_license_date\": null,\n            \"license_exp_date\": null,\n            \"prev_permit_date\": null,\n            \"permit_exp_date\": null,\n            \"created_at\": \"2020-02-12T19:46:40+02:00\",\n            \"updated_at\": \"2020-04-22T14:35:38+02:00\",\n            \"unit_id\": 1,\n            \"unit_assigned_as\": \"primary\",\n            \"unit_imei\": \"5551234567890\",\n            \"unit_serial_no\": null,\n            \"unit_stock_no\": null,\n            \"unit_name\": null,\n            \"unit_type_code\": \"teltonika\",\n            \"unit_type_name\": \"Teltonika\",\n            \"unit_model_code\": \"fmb920\",\n            \"unit_model_name\": \"FMB920\"\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"aee83942-540d-4d0a-8047-912857e7da13"},{"name":"Vehicles Listing  By Group (With Units)","id":"8306fa4c-82fc-4e89-ac8c-fb04b2893a50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/vehicles/by-group/ids/with-units?group_ids=2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","by-group","ids","with-units"],"host":["{{domain}}"],"query":[{"key":"group_ids","value":"2"}],"variable":[]}},"response":[{"id":"36a14913-2940-4afa-9850-4ad797f73393","name":"200 OK","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{http}}://{{domain}}/api/v1/vehicles/by-group/ids/with-units?group_ids=2","protocol":"{{http}}","host":["{{domain}}"],"path":["api","v1","vehicles","by-group","ids","with-units"],"query":[{"key":"group_ids","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 11:20:54 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 6,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": 1,\n            \"agency\": {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            },\n            \"client_id\": 2,\n            \"client\": {\n                \"id\": 2,\n                \"name\": \"Client Name\"\n            },\n            \"driver_id\": null,\n            \"driver\": null,\n            \"vehicle_event_profile_id\": null,\n            \"vehicle_group_id\": 2,\n            \"vehicle_group\": {\n                \"id\": 2,\n                \"name\": \"Internal Fleet\"\n            },\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\",\n            \"icon_name\": null,\n            \"vin\": null,\n            \"engine_no\": null,\n            \"vehicle_make\": null,\n            \"vehicle_model\": null,\n            \"vehicle_color\": null,\n            \"vehicle_year\": null,\n            \"odo_veh_km\": null,\n            \"odo_gps_km\": null,\n            \"service_interval_km\": null,\n            \"service_interval_month\": null,\n            \"prev_service_km\": null,\n            \"next_service_km\": null,\n            \"prev_service_date\": null,\n            \"next_service_date\": null,\n            \"prev_license_date\": null,\n            \"license_exp_date\": null,\n            \"prev_permit_date\": null,\n            \"permit_exp_date\": null,\n            \"created_at\": \"2020-02-27T10:56:12+02:00\",\n            \"updated_at\": \"2021-04-21T13:20:49+02:00\",\n            \"unit_id\": 6,\n            \"unit_assigned_as\": \"primary\",\n            \"unit_imei\": \"5551234567890\",\n            \"unit_serial_no\": null,\n            \"unit_stock_no\": null,\n            \"unit_name\": null,\n            \"unit_type_code\": \"teltonika\",\n            \"unit_type_name\": \"Teltonika\",\n            \"unit_model_code\": \"fmb125\",\n            \"unit_model_name\": \"FMB125\"\n        },\n        {\n            \"id\": 6,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": 1,\n            \"agency\": {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            },\n            \"client_id\": 2,\n            \"client\": {\n                \"id\": 2,\n                \"name\": \"Client Name\"\n            },\n            \"driver_id\": null,\n            \"driver\": null,\n            \"vehicle_event_profile_id\": null,\n            \"vehicle_group_id\": 2,\n            \"vehicle_group\": {\n                \"id\": 2,\n                \"name\": \"Internal Fleet\"\n            },\n            \"reg_no\": \"CBA 321 PG\",\n            \"fleet_no\": \"5551234\",\n            \"icon_name\": null,\n            \"vin\": null,\n            \"engine_no\": null,\n            \"vehicle_make\": null,\n            \"vehicle_model\": null,\n            \"vehicle_color\": null,\n            \"vehicle_year\": null,\n            \"odo_veh_km\": null,\n            \"odo_gps_km\": null,\n            \"service_interval_km\": null,\n            \"service_interval_month\": null,\n            \"prev_service_km\": null,\n            \"next_service_km\": null,\n            \"prev_service_date\": null,\n            \"next_service_date\": null,\n            \"prev_license_date\": null,\n            \"license_exp_date\": null,\n            \"prev_permit_date\": null,\n            \"permit_exp_date\": null,\n            \"created_at\": \"2020-02-27T10:56:12+02:00\",\n            \"updated_at\": \"2021-04-21T13:20:49+02:00\",\n            \"unit_id\": 6,\n            \"unit_assigned_as\": \"backup_1\",\n            \"unit_imei\": \"0987654321555\",\n            \"unit_serial_no\": null,\n            \"unit_stock_no\": null,\n            \"unit_name\": null,\n            \"unit_type_code\": \"teltonika\",\n            \"unit_type_name\": \"Teltonika\",\n            \"unit_model_code\": \"fmb125\",\n            \"unit_model_name\": \"FMB125\"\n        }\n    ]\n}"}],"_postman_id":"8306fa4c-82fc-4e89-ac8c-fb04b2893a50"},{"name":"Vehicles Listing  By Group","id":"458ce19a-d9fd-4093-8f60-23b077b66ea9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/by-group/ids?group_ids=2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","by-group","ids"],"host":["{{domain}}"],"query":[{"key":"group_ids","value":"2"}],"variable":[]}},"response":[{"id":"65604940-adf0-4f16-ada0-a9b88f6f92d0","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{http}}://{{domain}}/api/v1/vehicles/by-group/ids?group_ids=2","protocol":"{{http}}","host":["{{domain}}"],"path":["api","v1","vehicles","by-group","ids"],"query":[{"key":"group_ids","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 11:26:33 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 6,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": 1,\n            \"agency\": {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            },\n            \"client_id\": 2,\n            \"client\": {\n                \"id\": 2,\n                \"name\": \"Client Name\"\n            },\n            \"driver_id\": null,\n            \"driver\": null,\n            \"vehicle_event_profile_id\": null,\n            \"vehicle_group_id\": 2,\n            \"vehicle_group\": {\n                \"id\": 2,\n                \"name\": \"Internal Fleet\"\n            },\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\",\n            \"icon_name\": null,\n            \"vin\": null,\n            \"engine_no\": null,\n            \"vehicle_make\": null,\n            \"vehicle_model\": null,\n            \"vehicle_color\": null,\n            \"vehicle_year\": null,\n            \"odo_veh_km\": null,\n            \"odo_gps_km\": null,\n            \"service_interval_km\": null,\n            \"service_interval_month\": null,\n            \"prev_service_km\": null,\n            \"next_service_km\": null,\n            \"prev_service_date\": null,\n            \"next_service_date\": null,\n            \"prev_license_date\": null,\n            \"license_exp_date\": null,\n            \"prev_permit_date\": null,\n            \"permit_exp_date\": null,\n            \"created_at\": \"2020-02-27T10:56:12+02:00\",\n            \"updated_at\": \"2021-04-21T13:20:49+02:00\",\n            \"unit_id\": 6,\n            \"unit_assigned_as\": \"primary\",\n            \"unit_imei\": \"5551234567890\",\n            \"unit_serial_no\": null,\n            \"unit_stock_no\": null,\n            \"unit_name\": null,\n            \"unit_type_code\": \"teltonika\",\n            \"unit_type_name\": \"Teltonika\",\n            \"unit_model_code\": \"fmb125\",\n            \"unit_model_name\": \"FMB125\"\n        },\n        {\n            \"id\": 6,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": 1,\n            \"agency\": {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            },\n            \"client_id\": 2,\n            \"client\": {\n                \"id\": 2,\n                \"name\": \"Client Name\"\n            },\n            \"driver_id\": null,\n            \"driver\": null,\n            \"vehicle_event_profile_id\": null,\n            \"vehicle_group_id\": 2,\n            \"vehicle_group\": {\n                \"id\": 2,\n                \"name\": \"Internal Fleet\"\n            },\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"POOL VEHICLE\",\n            \"icon_name\": null,\n            \"vin\": \"DEMO12345123\",\n            \"engine_no\": null,\n            \"vehicle_make\": \"GWM\",\n            \"vehicle_model\": \"STEED 5\",\n            \"vehicle_color\": \"WHITE\",\n            \"vehicle_year\": 2018,\n            \"odo_veh_km\": null,\n            \"odo_gps_km\": null,\n            \"service_interval_km\": null,\n            \"service_interval_month\": null,\n            \"prev_service_km\": null,\n            \"next_service_km\": null,\n            \"prev_service_date\": null,\n            \"next_service_date\": null,\n            \"prev_license_date\": null,\n            \"license_exp_date\": null,\n            \"prev_permit_date\": null,\n            \"permit_exp_date\": null,\n            \"created_at\": \"2020-02-27T10:56:12+02:00\",\n            \"updated_at\": \"2021-04-21T13:20:49+02:00\",\n            \"unit_id\": 6,\n            \"unit_assigned_as\": \"backup_1\",\n            \"unit_imei\": \"321654987654\",\n            \"unit_serial_no\": \"321654987654\",\n            \"unit_stock_no\": \"321654987654 - ABC\",\n            \"unit_name\": null,\n            \"unit_type_code\": \"teltonika\",\n            \"unit_type_name\": \"Teltonika\",\n            \"unit_model_code\": \"fmb125\",\n            \"unit_model_name\": \"FMB125\"\n        }\n    ]\n}"}],"_postman_id":"458ce19a-d9fd-4093-8f60-23b077b66ea9"},{"name":"Vehicles Listing  (With Units)","id":"6092ca23-fef0-4466-9126-aa68d263e2c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/with-units","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","with-units"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"01beb3e9-bfcc-42fb-9343-8f3235c437bf","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/with-units"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 11:30:23 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 318,\n            \"partner_id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency_id\": 1,\n            \"agency\": {\n                \"id\": 1,\n                \"name\": \"Agency Name\"\n            },\n            \"client_id\": 15,\n            \"client\": {\n                \"id\": 15,\n                \"name\": \"Client Name\"\n            },\n            \"driver_id\": null,\n            \"driver\": null,\n            \"vehicle_event_profile_id\": null,\n            \"vehicle_group_id\": null,\n            \"vehicle_group\": null,\n            \"reg_no\": \"ABC 123 GP\",\n            \"fleet_no\": \"5551234\",\n            \"icon_name\": \"pin-01-green.svg\",\n            \"vin\": null,\n            \"engine_no\": null,\n            \"vehicle_make\": null,\n            \"vehicle_model\": null,\n            \"vehicle_color\": null,\n            \"vehicle_year\": null,\n            \"odo_veh_km\": null,\n            \"odo_gps_km\": null,\n            \"service_interval_km\": null,\n            \"service_interval_month\": null,\n            \"prev_service_km\": null,\n            \"next_service_km\": null,\n            \"prev_service_date\": null,\n            \"next_service_date\": null,\n            \"prev_license_date\": null,\n            \"license_exp_date\": null,\n            \"prev_permit_date\": null,\n            \"permit_exp_date\": null,\n            \"created_at\": \"2020-10-01T09:38:27+02:00\",\n            \"updated_at\": null,\n            \"unit_id\": 341,\n            \"unit_assigned_as\": \"primary\",\n            \"unit_imei\": \"5551234567890\",\n            \"unit_serial_no\": null,\n            \"unit_stock_no\": null,\n            \"unit_name\": null,\n            \"unit_type_code\": \"sigfox\",\n            \"unit_type_name\": \"SigFox\",\n            \"unit_model_code\": \"foxy\",\n            \"unit_model_name\": \"Foxy\"\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": \"https://www.dummydomain.net/api/v1/vehicles/with-units?page=2\",\n        \"first_item\": 1,\n        \"last_item\": 30\n    }\n}"}],"_postman_id":"6092ca23-fef0-4466-9126-aa68d263e2c6"},{"name":"Get Vehicle Edit Form Data","id":"0984ca73-cf35-4de7-aa57-1484e67453aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"a82b2715-7a00-402a-983c-52ea1b1659b2","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:42:31 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"driver_id\": null,\n        \"driver\": null,\n        \"vehicle_event_profile_id\": null,\n        \"vehicle_group_id\": null,\n        \"vehicle_group\": null,\n        \"reg_no\": \"ABC 123 GP\",\n        \"fleet_no\": null,\n        \"icon_name\": null,\n        \"vin\": null,\n        \"engine_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"vehicle_color\": null,\n        \"vehicle_year\": null,\n        \"odo_veh_km\": null,\n        \"odo_gps_km\": null,\n        \"service_interval_km\": null,\n        \"service_interval_month\": null,\n        \"prev_service_km\": null,\n        \"next_service_km\": null,\n        \"prev_service_date\": null,\n        \"next_service_date\": null,\n        \"prev_license_date\": null,\n        \"license_exp_date\": null,\n        \"prev_permit_date\": null,\n        \"permit_exp_date\": null,\n        \"created_at\": \"2021-02-03T14:33:07+02:00\",\n        \"updated_at\": null,\n        \"vehicle_status_code\": \"active\",\n        \"vehicle_status_name\": \"Active\",\n        \"notes\": [\n            {\n                \"id\": 1,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-21T14:00:38+02:00\",\n                \"note\": \"This is an Postman note.\"\n            },\n            {\n                \"id\": 2,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-21T14:04:33+02:00\",\n                \"note\": \"This is an example note.\"\n            }\n        ],\n        \"attachments\": [],\n        \"assigned_units\": []\n    }\n}"}],"_postman_id":"0984ca73-cf35-4de7-aa57-1484e67453aa"},{"name":"Get a Vehicle","id":"df4af8c6-52d5-4c35-8c05-9b38b167f168","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"2fb4c441-d292-4327-91a5-8f8af826a103","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:47:15 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"driver_id\": null,\n        \"driver\": null,\n        \"vehicle_event_profile_id\": null,\n        \"vehicle_group_id\": null,\n        \"vehicle_group\": null,\n        \"reg_no\": \"ABC 123 GP\",\n        \"fleet_no\": null,\n        \"icon_name\": null,\n        \"vin\": null,\n        \"engine_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"vehicle_color\": null,\n        \"vehicle_year\": null,\n        \"odo_veh_km\": null,\n        \"odo_gps_km\": null,\n        \"service_interval_km\": null,\n        \"service_interval_month\": null,\n        \"prev_service_km\": null,\n        \"next_service_km\": null,\n        \"prev_service_date\": null,\n        \"next_service_date\": null,\n        \"prev_license_date\": null,\n        \"license_exp_date\": null,\n        \"prev_permit_date\": null,\n        \"permit_exp_date\": null,\n        \"created_at\": \"2021-02-03T14:33:07+02:00\",\n        \"updated_at\": null,\n        \"vehicle_status_code\": \"active\",\n        \"vehicle_status_name\": \"Active\",\n        \"notes\": [\n            {\n                \"id\": 1,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-21T14:00:38+02:00\",\n                \"note\": \"This is an Postman note.\"\n            },\n            {\n                \"id\": 2,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-21T14:04:33+02:00\",\n                \"note\": \"This is an example note.\"\n            }\n        ],\n        \"attachments\": [],\n        \"assigned_units\": []\n    }\n}"}],"_postman_id":"df4af8c6-52d5-4c35-8c05-9b38b167f168"},{"name":"Get Vehicle Telemetry","id":"c6229244-33e8-4db9-a81e-0d1d710594b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/primary/telemetry","description":"<p>/primary/ can also be /backup_1/ or /backup_2/</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}","primary","telemetry"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"28754315-f944-43ad-8f16-1a1e212229a1","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/1/primary/telemetry"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 30 Apr 2021 07:20:10 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"49"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"telemetry\": {\n            \"gps\": {\n                \"fix\": [\n                    \"fixed\"\n                ],\n                \"gnss\": 1,\n                \"hdop\": 0,\n                \"pdop\": 0,\n                \"tdop\": null,\n                \"vdop\": null,\n                \"speed\": 0,\n                \"heading\": 198,\n                \"activity\": \"unknown\",\n                \"altitude\": 1678,\n                \"latitude\": -26.439923,\n                \"odometer\": null,\n                \"timezone\": \"Africa/Johannesburg\",\n                \"trip_odo\": 0,\n                \"longitude\": 29.475668,\n                \"timestamp\": \"2021-02-09T11:16:53+00:00\",\n                \"local_time\": \"2021-02-09T13:16:53+02:00\",\n                \"satellites\": 14,\n                \"distance_km\": 0\n            },\n            \"gsm\": [\n                {\n                    \"cid\": [],\n                    \"lac\": [],\n                    \"mcc\": [],\n                    \"mnc\": [],\n                    \"lcid\": [],\n                    \"rcpi\": [],\n                    \"rssi\": [],\n                    \"status\": [\n                        \"engine\",\n                        \"network\",\n                        \"data\",\n                        \"connected\"\n                    ],\n                    \"carrier\": null,\n                    \"data_mode\": \"home_stop\",\n                    \"signal_lvl\": 4,\n                    \"signal_str\": 80\n                }\n            ],\n            \"ldps\": {\n                \"name\": \"www.dummydomain.net\",\n                \"error\": null,\n                \"timestamp\": \"2021-02-09T11:17:42+00:00\",\n                \"error_code\": null\n            },\n            \"port\": 5027,\n            \"sims\": [],\n            \"valid\": true,\n            \"device\": {\n                \"id\": 1,\n                \"imei\": \"359633101461387\",\n                \"name\": null,\n                \"type\": \"teltonika\",\n                \"model\": \"acmtrack_1\",\n                \"status\": \"factory\",\n                \"firm_ver\": null,\n                \"stock_no\": null,\n                \"serial_no\": null,\n                \"identifier\": \"imei\",\n                \"assigned_as\": null\n            },\n            \"driver\": null,\n            \"events\": [],\n            \"inputs\": \"000\",\n            \"obd_ii\": {\n                \"mode_01\": []\n            },\n            \"seq_no\": 1,\n            \"source\": \"device\",\n            \"can_bus\": [],\n            \"gateway\": \"gateway.dummydomain.net\",\n            \"network\": {\n                \"mac\": null,\n                \"remote_ipv4\": \"41.206.206.35\",\n                \"remote_ipv6\": null,\n                \"remote_port\": 58303\n            },\n            \"outputs\": \"00\",\n            \"sensors\": [\n                [\n                    \"eco_score\",\n                    10\n                ],\n                [\n                    \"speed\",\n                    0\n                ],\n                [\n                    \"ebat_volts\",\n                    12.254\n                ],\n                [\n                    \"ibat_volts\",\n                    4.029\n                ],\n                [\n                    \"ibat_amps\",\n                    0\n                ],\n                [\n                    \"trip_odo\",\n                    0\n                ],\n                [\n                    \"movement\",\n                    false\n                ],\n                [\n                    \"ignition\",\n                    \"off\"\n                ],\n                [\n                    \"sleep_mode\",\n                    \"no_sleep\"\n                ]\n            ],\n            \"vehicle\": null,\n            \"buffered\": false,\n            \"an_inputs\": [\n                0.131\n            ],\n            \"timestamp\": \"2021-02-09T11:17:42+00:00\",\n            \"aux_inputs\": [],\n            \"message_ver\": 1,\n            \"message_type\": \"gps\",\n            \"transmission\": \"tcp\"\n        }\n    }\n}"}],"_postman_id":"c6229244-33e8-4db9-a81e-0d1d710594b4"},{"name":"Create Vehicle","id":"69f535d9-adba-4420-b21e-e6675e04fce1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"id\": null,\n    \"driver_id\": null,\n    \"vehicle_event_profile_id\": \"\",\n    \"vehicle_group_id\": null,\n    \"reg_no\": \"New Vehicle\",\n    \"fleet_no\": \"\",\n    \"vehicle_status_code\": \"active\",\n    \"icon_name\": null,\n    \"vin\": \"\",\n    \"engine_no\": \"\",\n    \"vehicle_make\": \"\",\n    \"vehicle_model\": \"\",\n    \"vehicle_color\": \"\",\n    \"vehicle_year\": \"\",\n    \"odo_veh_km\": \"\",\n    \"odo_gps_km\": \"\",\n    \"service_interval_km\": \"\",\n    \"service_interval_month\": \"\",\n    \"prev_service_km\": \"\",\n    \"next_service_km\": \"\",\n    \"prev_license_date\": \"\",\n    \"license_exp_date\": \"\",\n    \"prev_service_date\": \"\",\n    \"next_service_date\": \"\",\n    \"prev_permit_date\": \"\",\n    \"permit_exp_date\": \"\",\n    \"attachments\": [],\n    \"notes\": [],\n    \"units\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles",""],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"6047d102-1ae9-4e18-b871-cb6f8e27383b","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"id\": null,\n    \"driver_id\": null,\n    \"vehicle_event_profile_id\": \"\",\n    \"vehicle_group_id\": null,\n    \"reg_no\": \"New Vehicle\",\n    \"fleet_no\": \"\",\n    \"vehicle_status_code\": \"active\",\n    \"icon_name\": null,\n    \"vin\": \"\",\n    \"engine_no\": \"\",\n    \"vehicle_make\": \"\",\n    \"vehicle_model\": \"\",\n    \"vehicle_color\": \"\",\n    \"vehicle_year\": \"\",\n    \"odo_veh_km\": \"\",\n    \"odo_gps_km\": \"\",\n    \"service_interval_km\": \"\",\n    \"service_interval_month\": \"\",\n    \"prev_service_km\": \"\",\n    \"next_service_km\": \"\",\n    \"prev_license_date\": \"\",\n    \"license_exp_date\": \"\",\n    \"prev_service_date\": \"\",\n    \"next_service_date\": \"\",\n    \"prev_permit_date\": \"\",\n    \"permit_exp_date\": \"\",\n    \"attachments\": [],\n    \"notes\": [],\n    \"units\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:37:51 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created Vehicle: New Vehicle\"\n    ],\n    \"data\": {\n        \"id\": 5,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Agency Client\"\n        },\n        \"driver_id\": null,\n        \"driver\": null,\n        \"vehicle_event_profile_id\": null,\n        \"vehicle_group_id\": null,\n        \"vehicle_group\": null,\n        \"reg_no\": \"ABC 123 GP\",\n        \"fleet_no\": null,\n        \"icon_name\": null,\n        \"vin\": null,\n        \"engine_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"vehicle_color\": null,\n        \"vehicle_year\": null,\n        \"odo_veh_km\": null,\n        \"odo_gps_km\": null,\n        \"service_interval_km\": null,\n        \"service_interval_month\": null,\n        \"prev_service_km\": null,\n        \"next_service_km\": null,\n        \"prev_service_date\": null,\n        \"next_service_date\": null,\n        \"prev_license_date\": null,\n        \"license_exp_date\": null,\n        \"prev_permit_date\": null,\n        \"permit_exp_date\": null,\n        \"created_at\": \"2021-04-21T14:37:51+02:00\",\n        \"updated_at\": null,\n        \"vehicle_status_code\": \"active\",\n        \"vehicle_status_name\": \"Active\",\n        \"notes\": [],\n        \"attachments\": [],\n        \"assigned_units\": []\n    }\n}"}],"_postman_id":"69f535d9-adba-4420-b21e-e6675e04fce1"},{"name":"Add Vehicle Note","id":"b97046a7-29e3-4201-8e79-5a97b8eac668","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"note\": \"This is an example note.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/note","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}","note"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"3377b540-0ef1-4028-8bf1-669b9656c0ee","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"note\": \"This is an Postman note.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/1/note"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:00:38 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Note added successfully\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-21T14:00:38+02:00\",\n        \"note\": \"This is an example note.\"\n    }\n}"}],"_postman_id":"b97046a7-29e3-4201-8e79-5a97b8eac668"},{"name":"Add Vehicle Attachment","id":"6e9a2ac0-71dd-44de-a109-a6b83000cb6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Photo of a male.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/attachment","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}","attachment"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"fb15d3b7-7d25-4277-b24f-68924fed8b89","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Photo of a male.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/1/attachment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:07:24 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Attachment Added Successfully: Photo of a male.\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"url\": \"\",\n        \"type\": \"image/jpeg\",\n        \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n        \"description\": \"Photo of a male.\",\n        \"size_bytes\": 49996,\n        \"created_at\": \"2021-04-21T14:07:24+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"6e9a2ac0-71dd-44de-a109-a6b83000cb6a"},{"name":"Update an Vehicle Attachment","id":"b744a953-ad19-415c-a76e-dd7003ca543e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Example of description.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/attachment/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}","attachment","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"d02b8887-9a22-4517-8859-8cfaf7ea9251","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Example of description.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/1/attachment/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:16:01 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Attachment Updated Successfully: Example of description.\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"url\": \"\",\n        \"type\": \"image/jpeg\",\n        \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n        \"description\": \"Example of description.\",\n        \"size_bytes\": 49996,\n        \"created_at\": \"2021-04-21T14:07:24+02:00\",\n        \"updated_at\": \"2021-04-21T14:16:01+02:00\"\n    }\n}"}],"_postman_id":"b744a953-ad19-415c-a76e-dd7003ca543e"},{"name":"Delete a Vehicle Attachment","id":"06f12422-620a-4f54-a20d-23c2af50862b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/attachment/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}","attachment","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"3e279842-b4b9-48aa-bd74-ceb616d0111e","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/1/attachment/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:23:11 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"44"},{"key":"Authorization","value":""}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Attachment Deleted Successfully: Example of description.\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"url\": \"\",\n        \"type\": \"image/jpeg\",\n        \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n        \"description\": \"Example of description.\",\n        \"size_bytes\": 49996,\n        \"created_at\": \"2021-04-21T14:07:24+02:00\",\n        \"updated_at\": \"2021-04-21T14:16:01+02:00\"\n    }\n}"}],"_postman_id":"06f12422-620a-4f54-a20d-23c2af50862b"},{"name":"Update Vehicle","id":"01c15487-3095-4c9a-b457-770de26edec6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"id\": null,\n    \"driver_id\": null,\n    \"vehicle_event_profile_id\": \"\",\n    \"vehicle_group_id\": null,\n    \"reg_no\": \"ABC 123 GP\",\n    \"fleet_no\": \"\",\n    \"vehicle_status_code\": \"active\",\n    \"icon_name\": null,\n    \"vin\": \"\",\n    \"engine_no\": \"\",\n    \"vehicle_make\": \"\",\n    \"vehicle_model\": \"\",\n    \"vehicle_color\": \"\",\n    \"vehicle_year\": \"\",\n    \"odo_veh_km\": \"\",\n    \"odo_gps_km\": \"\",\n    \"service_interval_km\": \"\",\n    \"service_interval_month\": \"\",\n    \"prev_service_km\": \"\",\n    \"next_service_km\": \"\",\n    \"prev_license_date\": \"\",\n    \"license_exp_date\": \"\",\n    \"prev_service_date\": \"\",\n    \"next_service_date\": \"\",\n    \"prev_permit_date\": \"\",\n    \"permit_exp_date\": \"\",\n    \"attachments\": [],\n    \"notes\": [],\n    \"units\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8e671644-21fd-4376-84fa-ea97f729d327","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"id\": null,\n    \"driver_id\": null,\n    \"vehicle_event_profile_id\": \"\",\n    \"vehicle_group_id\": null,\n    \"reg_no\": \"ABC 123 GP\",\n    \"fleet_no\": \"\",\n    \"vehicle_status_code\": \"active\",\n    \"icon_name\": null,\n    \"vin\": \"\",\n    \"engine_no\": \"\",\n    \"vehicle_make\": \"\",\n    \"vehicle_model\": \"\",\n    \"vehicle_color\": \"\",\n    \"vehicle_year\": \"\",\n    \"odo_veh_km\": \"\",\n    \"odo_gps_km\": \"\",\n    \"service_interval_km\": \"\",\n    \"service_interval_month\": \"\",\n    \"prev_service_km\": \"\",\n    \"next_service_km\": \"\",\n    \"prev_license_date\": \"\",\n    \"license_exp_date\": \"\",\n    \"prev_service_date\": \"\",\n    \"next_service_date\": \"\",\n    \"prev_permit_date\": \"\",\n    \"permit_exp_date\": \"\",\n    \"attachments\": [],\n    \"notes\": [],\n    \"units\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:50:51 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated Vehicle: ABC 123 GP\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"driver_id\": null,\n        \"driver\": null,\n        \"vehicle_event_profile_id\": null,\n        \"vehicle_group_id\": null,\n        \"vehicle_group\": null,\n        \"reg_no\": \"ABC 123 GP\",\n        \"fleet_no\": null,\n        \"icon_name\": null,\n        \"vin\": null,\n        \"engine_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"vehicle_color\": null,\n        \"vehicle_year\": null,\n        \"odo_veh_km\": null,\n        \"odo_gps_km\": null,\n        \"service_interval_km\": null,\n        \"service_interval_month\": null,\n        \"prev_service_km\": null,\n        \"next_service_km\": null,\n        \"prev_service_date\": null,\n        \"next_service_date\": null,\n        \"prev_license_date\": null,\n        \"license_exp_date\": null,\n        \"prev_permit_date\": null,\n        \"permit_exp_date\": null,\n        \"created_at\": \"2021-02-03T14:33:07+02:00\",\n        \"updated_at\": \"2021-04-21T14:50:50+02:00\",\n        \"vehicle_status_code\": \"active\",\n        \"vehicle_status_name\": \"Active\",\n        \"notes\": [\n            {\n                \"id\": 1,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-21T14:00:38+02:00\",\n                \"note\": \"This is an Postman note.\"\n            },\n            {\n                \"id\": 2,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-21T14:04:33+02:00\",\n                \"note\": \"This is an example note.\"\n            }\n        ],\n        \"attachments\": [],\n        \"assigned_units\": []\n    }\n}"}],"_postman_id":"01c15487-3095-4c9a-b457-770de26edec6"},{"name":"Delete Vehicle","id":"46191243-24ce-45fb-a6b0-d655429142db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"a294ca31-d4fe-45fd-ba41-fe42ab94c5c6","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 12:57:02 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":""}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted Vehicle: ABC 123 GP\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"partner_id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency_id\": null,\n        \"agency\": null,\n        \"client_id\": 1,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"driver_id\": null,\n        \"driver\": null,\n        \"vehicle_event_profile_id\": null,\n        \"vehicle_group_id\": null,\n        \"vehicle_group\": null,\n        \"reg_no\": \"ABC 123 GP\",\n        \"fleet_no\": null,\n        \"icon_name\": null,\n        \"vin\": null,\n        \"engine_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"vehicle_color\": null,\n        \"vehicle_year\": null,\n        \"odo_veh_km\": null,\n        \"odo_gps_km\": null,\n        \"service_interval_km\": null,\n        \"service_interval_month\": null,\n        \"prev_service_km\": null,\n        \"next_service_km\": null,\n        \"prev_service_date\": null,\n        \"next_service_date\": null,\n        \"prev_license_date\": null,\n        \"license_exp_date\": null,\n        \"prev_permit_date\": null,\n        \"permit_exp_date\": null,\n        \"created_at\": \"2021-02-03T14:33:07+02:00\",\n        \"updated_at\": \"2021-04-21T14:50:50+02:00\",\n        \"vehicle_status_code\": \"active\",\n        \"vehicle_status_name\": \"Active\",\n        \"notes\": [\n            {\n                \"id\": 1,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-21T14:00:38+02:00\",\n                \"note\": \"This is an Postman note.\"\n            },\n            {\n                \"id\": 2,\n                \"user_id\": 6,\n                \"user_full_name\": \"User Name\",\n                \"created_at\": \"2021-04-21T14:04:33+02:00\",\n                \"note\": \"This is an example note.\"\n            }\n        ],\n        \"attachments\": [],\n        \"assigned_units\": []\n    }\n}"}],"_postman_id":"46191243-24ce-45fb-a6b0-d655429142db"},{"name":"Get Vehicle Location Status by Client","id":"ca67b993-93b0-41df-8a75-c064c448f624","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/status/location/by-client/{{client_id}}?unit_assigned_as=primary","description":"<p>Returns the latest location status data for each vehicle under a specific client or clients.</p>\n<p>Following are two examples for using this request:</p>\n<ol>\n<li>Returns the location status data for all clients accessable to the user of the API: <code>/api/v1/vehicles/status/location/by-client/all</code></li>\n<li>Returns the location status data for the client id <code>555</code>. If the user of the API is a client level user, the id will be ignored and only accessable data will be returned: <code>/api/v1/vehicles/status/location/by-client/555</code></li>\n</ol>\n<p><em>Note: If it seems that you are receiving duplicate records it is because a vehicle may be fitted with multiple GPS device/tracking units. In order to only see the data of the primary device (recommended as backup devices often have less data available) you can add the</em> <code>?unit_assigned_as=primary</code> <em>filtering parameter, for example</em>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>/api/v1/vehicles/status/location/by-client/all?unit_assigned_as=primary\n\n</code></pre><p>The request returns an array of objects having the following fields:</p>\n<ul>\n<li><code>id (int)</code>: The vehicle's database id.</li>\n<li><code>reg_no (string)</code>: Vehicle's registration number.</li>\n<li><code>fleet_no (string|null)</code>: Vehicle's fleet number.</li>\n<li><code>vehicle_make (string|null)</code>: Vehicle's make.</li>\n<li><code>vehicle_model (string|null)</code>: Vehicle's model.</li>\n<li><code>client_name (string)</code>: Client/customer name.</li>\n<li><code>driver_name (string|null)</code>: Active or assigned Driver name.</li>\n<li><code>vehicle_group_name (string|null)</code>: Vehicle's group name.</li>\n<li><code>unit_assigned_as (string)</code>: Can be <code>primary</code>, <code>backup_1, backup_2.</code></li>\n<li><code>local_time (ISO 8601 date and time string|null)</code>: The local time of the GPS recording, local meaning the timezone where the GPS device finds itself in. It can be null if no GPS data has been captured by the device yet.</li>\n<li><code>timezone (string)</code>: The configured/active timezone of the GPS device.</li>\n<li><code>latitude (float)</code>: The decimal latitude in degrees.</li>\n<li><code>longitude (float)</code>: The decimal longitude in degrees.</li>\n<li><code>speed (int|float)</code>: The current GPS speed in km/h.</li>\n<li><code>heading (int|float)</code>: The current GPS heading in degrees where 0 = North.</li>\n<li><code>gps_fix (array of strings)</code>: Can be an empty array or have a combination of the following values: <code>\"fixed\", \"predicted\", \"diff_corrected\", \"last_known\", \"2d\", \"logged\", \"invalid_time\", \"on_no_fix\", \"sleep\"</code>. In most cases the array will be empty or only contain <code>\"on_no_fix\"</code> if there is no GPS fix.</li>\n<li><code>odometer (int)</code>: Odometer in meters. This is currently only availble if the GPS device is configured to supply the odometer, returns 0 if no odometer is available.</li>\n<li><code>address (int|null)</code>: Current address of the vehicle if available.</li>\n<li><code>hours_behind (float)</code>: Can be used to determine how long ago the device transmitted a GPS location, the device's timezone is taken into account.</li>\n<li><code>comms_status_code (string)</code>: Current communication status. Can be <code>\"online\", \"inactive\", \"offline\", \"never\"</code>.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","status","location","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[{"key":"unit_assigned_as","value":"primary"}],"variable":[]}},"response":[{"id":"2b91c751-82d4-485f-96d3-f0f5b7c30b0e","name":"Get Vehicle Location Status by Client","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/status/location/by-client/{{client_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 06 Jul 2022 06:30:46 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiMTdmYWU3MjU1Mzk3MzIzZWQ4OThjMjk5MDBiM2M4YWEiLCJpYXQiOjE2NTcwODkwNDYsIm5iZiI6MTY1NzA4OTA0NiwiZXhwIjoxNjU3MDg5NjQ2LCJzdWIiOiI0Iiwib2F0IjoxNjU3MDIxNzM4fQ.QkiSOlHmEYWjKAsM9amkMhtjcVF1rRDV44-nTblGtOw"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n        \"id\": 1,\n        \"reg_no\": \"ABC123GP\",\n        \"fleet_no\": \"001\",\n        \"vehicle_make\": \"Toyota\",\n        \"vehicle_model\": \"Fortuner\",\n        \"client_name\": \"ACM Technology\",\n        \"driver_name\": \"John Doe\",\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"unit_assigned_as\": \"primary\",\n        \"local_time\": \"2024-07-24T08:51:07+02:00\",\n        \"timezone\": \"Africa/Johannesburg\",\n        \"latitude\": -26.084087,\n        \"longitude\": 27.937792,\n        \"speed\": 14,\n        \"heading\": 351,\n        \"gps_fix\": [\"fixed\"],\n        \"odometer\": 12345,\n        \"address\": \"15 Street X, Suburb, City\",\n        \"hours_behind\": 0.01,\n        \"comms_status_code\": \"online\"\n    },\n    {\n        \"id\": 2,\n        \"reg_no\": \"ABC555GP\",\n        \"fleet_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"client_name\": \"ACM Technology\",\n        \"driver_name\": null,\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"unit_assigned_as\": \"backup_1\",\n        \"local_time\": \"2024-07-24T07:43:12+02:00\",\n        \"timezone\": \"Africa/Johannesburg\",\n        \"latitude\": -28.344227,\n        \"longitude\": 31.298598,\n        \"speed\": 0,\n        \"heading\": 25,\n        \"gps_fix\": [],\n        \"odometer\": null,\n        \"address\": \"25 Street X, Suburb, City\",\n        \"hours_behind\": 2.6,\n        \"comms_status_code\": \"offline\"\n    },\n    {\n        \"id\": 3,\n        \"reg_no\": \"DEF321GP\",\n        \"fleet_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"client_name\": \"ACM Technology\",\n        \"driver_name\": null,\n        \"vehicle_group_name\": null,\n        \"unit_assigned_as\": \"primary\",\n        \"local_time\": \"2024-07-24T08:50:55+02:00\",\n        \"timezone\": \"Africa/Johannesburg\",\n        \"latitude\": -26.028498,\n        \"longitude\": 27.947467,\n        \"speed\": 120.4,\n        \"heading\": 227,\n        \"gps_fix\": [\"fixed\"],\n        \"odometer\": null,\n        \"address\": \"102 Street X, Suburb, City\",\n        \"hours_behind\": 0.02,\n        \"comms_status_code\": \"online\"\n    }\n  ]\n}"}],"_postman_id":"ca67b993-93b0-41df-8a75-c064c448f624"},{"name":"Get Vehicle Location Status by Group","id":"04186c4e-4115-4fd0-8b8b-909ec9f277ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/status/location/by-vehicle-group/{{vehicle_group_id}}?unit_assigned_as=primary","description":"<p>Returns the latest location status data for each vehicle under a specific vehicle group.</p>\n<p><em>Note: If it seems that you are receiving duplicate records it is because a vehicle may be fitted with multiple GPS device/tracking units. In order to only see the data of the primary device (recommended as backup devices often have less data available) you can add the</em> <code>?unit_assigned_as=primary</code> <em>filtering parameter, for example:</em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>/api/v1/vehicles/status/location/by-client/all?unit_assigned_as=primary\n\n</code></pre><p>The request returns an array of objects having the following fields:</p>\n<ul>\n<li><p><code>id (int)</code>: The vehicle's database id.</p>\n</li>\n<li><p><code>reg_no (string)</code>: Vehicle's registration number.</p>\n</li>\n<li><p><code>fleet_no (string|null)</code>: Vehicle's fleet number.</p>\n</li>\n<li><p><code>vehicle_make (string|null)</code>: Vehicle's make.</p>\n</li>\n<li><p><code>vehicle_model (string|null)</code>: Vehicle's model.</p>\n</li>\n<li><p><code>client_name (string)</code>: Client/customer name.</p>\n</li>\n<li><p><code>driver_name (string|null)</code>: Active or assigned Driver name.</p>\n</li>\n<li><p><code>vehicle_group_name (string|null)</code>: Vehicle's group name.</p>\n</li>\n<li><p><code>unit_assigned_as (string)</code>: Can be <code>primary</code>, <code>backup_1, backup_2.</code></p>\n</li>\n<li><p><code>local_time (ISO 8601 date and time string|null)</code>: The local time of the GPS recording, local meaning the timezone where the GPS device finds itself in. It can be null if no GPS data has been captured by the device yet.</p>\n</li>\n<li><p><code>timezone (string)</code>: The configured/active timezone of the GPS device.</p>\n</li>\n<li><p><code>latitude (float)</code>: The decimal latitude in degrees.</p>\n</li>\n<li><p><code>longitude (float)</code>: The decimal longitude in degrees.</p>\n</li>\n<li><p><code>speed (int|float)</code>: The current GPS speed in km/h.</p>\n</li>\n<li><p><code>heading (int|float)</code>: The current GPS heading in degrees where 0 = North.</p>\n</li>\n<li><p><code>gps_fix (array of strings)</code>: Can be an empty array or have a combination of the following values: <code>\"fixed\", \"predicted\", \"diff_corrected\", \"last_known\", \"2d\", \"logged\", \"invalid_time\", \"on_no_fix\", \"sleep\"</code>. In most cases the array will be empty or only contain <code>\"on_no_fix\"</code> if there is no GPS fix.</p>\n</li>\n<li><p><code>odometer (int)</code>: Odometer in meters. This is currently only availble if the GPS device is configured to supply the odometer, returns 0 if no odometer is available.</p>\n</li>\n<li><p><code>address (int|null)</code>: Current address of the vehicle if available.</p>\n</li>\n<li><p><code>hours_behind (float)</code>: Can be used to determine how long ago the device transmitted a GPS location, the device's timezone is taken into account.</p>\n</li>\n<li><p><code>comms_status_code (string)</code>: Current communication status. Can be <code>\"online\", \"inactive\", \"offline\", \"never\"</code>.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","status","location","by-vehicle-group","{{vehicle_group_id}}"],"host":["{{domain}}"],"query":[{"key":"unit_assigned_as","value":"primary"}],"variable":[]}},"response":[{"id":"4118c9b6-6156-41cc-829a-d25bd58a448f","name":"Get Vehicle Location Status by Group","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{http}}://{{domain}}/api/v1/vehicles/status/location/by-vehicle-group/{{vehicle_group_id}}?unit_assigned_as=primary","protocol":"{{http}}","host":["{{domain}}"],"path":["api","v1","vehicles","status","location","by-vehicle-group","{{vehicle_group_id}}"],"query":[{"key":"unit_assigned_as","value":"primary"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 06 Jul 2022 06:33:11 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiZDE3MTM0ZDc2YzBmNTk1MTRkZWMzZjBhYmU3MDdhNzAiLCJpYXQiOjE2NTcwODkxOTEsIm5iZiI6MTY1NzA4OTE5MSwiZXhwIjoxNjU3MDg5NzkxLCJzdWIiOiI0Iiwib2F0IjoxNjU3MDIxNzM4fQ.k8IFr1b6RIdZYg8d-LhJG1ji-3WFpveTm_E7zD8Gm7c"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n        \"id\": 1,\n        \"reg_no\": \"ABC123GP\",\n        \"fleet_no\": \"001\",\n        \"vehicle_make\": \"Toyota\",\n        \"vehicle_model\": \"Fortuner\",\n        \"client_name\": \"ACM Technology\",\n        \"driver_name\": \"John Doe\",\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"unit_assigned_as\": \"primary\",\n        \"local_time\": \"2024-07-24T08:51:07+02:00\",\n        \"timezone\": \"Africa/Johannesburg\",\n        \"latitude\": -26.084087,\n        \"longitude\": 27.937792,\n        \"speed\": 14,\n        \"heading\": 351,\n        \"gps_fix\": [\"fixed\"],\n        \"odometer\": 12345,\n        \"address\": \"15 Street X, Suburb, City\",\n        \"hours_behind\": 0.01,\n        \"comms_status_code\": \"online\"\n    },\n    {\n        \"id\": 2,\n        \"reg_no\": \"ABC555GP\",\n        \"fleet_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"client_name\": \"ACM Technology\",\n        \"driver_name\": null,\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"unit_assigned_as\": \"backup_1\",\n        \"local_time\": \"2024-07-24T07:43:12+02:00\",\n        \"timezone\": \"Africa/Johannesburg\",\n        \"latitude\": -28.344227,\n        \"longitude\": 31.298598,\n        \"speed\": 0,\n        \"heading\": 25,\n        \"gps_fix\": [],\n        \"odometer\": null,\n        \"address\": \"25 Street X, Suburb, City\",\n        \"hours_behind\": 2.6,\n        \"comms_status_code\": \"offline\"    \n    },\n    {\n        \"id\": 3,\n        \"reg_no\": \"DEF321GP\",\n        \"fleet_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"client_name\": \"ACM Technology\",\n        \"driver_name\": null,\n        \"vehicle_group_name\": null,\n        \"unit_assigned_as\": \"primary\",\n        \"local_time\": \"2024-07-24T08:50:55+02:00\",\n        \"timezone\": \"Africa/Johannesburg\",\n        \"latitude\": -26.028498,\n        \"longitude\": 27.947467,\n        \"speed\": 120.4,\n        \"heading\": 227,\n        \"gps_fix\": [\"fixed\"],\n        \"odometer\": null,\n        \"address\": \"102 Street X, Suburb, City\",\n        \"hours_behind\": 0.02,\n        \"comms_status_code\": \"online\"\n    }\n  ]\n}"}],"_postman_id":"04186c4e-4115-4fd0-8b8b-909ec9f277ab"},{"name":"Get Vehicle Trip Status by Client","id":"01722779-e769-4556-b1e4-d0e22f04beed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/status/trip/by-client/{{client_id}}?unit_assigned_as=primary&comms_status_code=active","description":"<p>Returns the latest location and current trip status data (if trip in progress) for each vehicle under a specific client or clients.</p>\n<p>Following are two examples for using this request:</p>\n<ol>\n<li>Returns the location status data for all clients accessable to the user of the API: <code>/api/v1/vehicles/status/trip/by-client/all</code></li>\n<li>Returns the location status data for the client id <code>555</code>. If the user of the API is a client level user, the id will be ignored and only accessable data will be returned: <code>/api/v1/vehicles/status/trip/by-client/555</code></li>\n</ol>\n<p><em>Note: If it seems that you are receiving duplicate records it is because a vehicle may be fitted with multiple GPS device/tracking units. In order to only see the data of the primary device (recommended as backup devices often have less data available) you can add the</em> <code>?unit_assigned_as=primary</code> <em>filtering parameter, for example</em>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>/api/v1/vehicles/status/location/by-client/all?unit_assigned_as=primary\n\n</code></pre><p>The request returns an array of objects having the following fields:</p>\n<ul>\n<li><code>id (int)</code>: The vehicle's database id.</li>\n<li><code>reg_no (string)</code>: Vehicle's registration number.</li>\n<li><code>fleet_no (string|null)</code>: Vehicle's fleet number.</li>\n<li><code>vehicle_make (string|null)</code>: Vehicle's make.</li>\n<li><code>vehicle_model (string|null)</code>: Vehicle's model.</li>\n<li><code>client_name (string)</code>: Client/customer name.</li>\n<li><code>driver_name (string|null)</code>: Active or assigned Driver name.</li>\n<li><code>vehicle_group_name (string|null)</code>: Vehicle's group name.</li>\n<li><code>unit_assigned_as (string)</code>: Can be <code>primary</code>, <code>backup_1, backup_2.</code></li>\n<li><code>local_time (ISO 8601 date and time string|null)</code>: The local time of the GPS recording, local meaning the timezone where the GPS device finds itself in. It can be null if no GPS data has been captured by the device yet.</li>\n<li><code>timezone (string)</code>: The configured/active timezone of the GPS device.</li>\n<li><code>latitude (float)</code>: The decimal latitude in degrees.</li>\n<li><code>longitude (float)</code>: The decimal longitude in degrees.</li>\n<li><code>speed (int|float)</code>: The current GPS speed in km/h.</li>\n<li><code>heading (int|float)</code>: The current GPS heading in degrees where 0 = North.</li>\n<li><code>gps_fix (array of strings)</code>: Can be an empty array or have a combination of the following values: <code>\"fixed\", \"predicted\", \"diff_corrected\", \"last_known\", \"2d\", \"logged\", \"invalid_time\", \"on_no_fix\", \"sleep\"</code>. In most cases the array will be empty or only contain <code>\"on_no_fix\"</code> if there is no GPS fix.</li>\n<li><code>odometer (int)</code>: Odometer in meters. This is currently only availble if the GPS device is configured to supply the odometer, returns 0 if no odometer is available.</li>\n<li><code>address (int|null)</code>: Current address of the vehicle if available.</li>\n<li><code>hours_behind (float)</code>: Can be used to determine how long ago the device transmitted a GPS location, the device's timezone is taken into account.</li>\n<li><code>comms_status_code (string)</code>: Current communication status. Can be <code>\"online\", \"inactive\", \"offline\", \"never\"</code>.</li>\n<li>day_trip_no (int): The trip number of the day if a trip is active.</li>\n<li>active_trip (Object|null): The active trip data object if a trip is active, null if no trip is active.</li>\n</ul>\n<p>The <code>active_trip</code> object contains the following fields and sub-fields:</p>\n<ul>\n<li><p><code>avg_speed (float)</code>: The average speed of the active trip in km/h.</p>\n</li>\n<li><p><code>max_speed (float|int)</code>: The maximum speed in km/h reached during the active trip.</p>\n</li>\n<li><p><code>started_at (ISO 8601 date and time string|null)</code>: The local time when the GPS trip started.</p>\n</li>\n<li><p><code>distance_km (float)</code>: The distance travelled in the active trip.</p>\n</li>\n<li><p><code>start_address (string|null)</code>: The starting address of the active trip.</p>\n</li>\n<li><p><code>durations (Object)</code>: The various durations in \"HH:MM:SS\" recorded during the active trip.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","status","trip","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[{"key":"unit_assigned_as","value":"primary"},{"key":"comms_status_code","value":"active"}],"variable":[]}},"response":[{"id":"a000b7f5-9e5b-4df0-80bd-d6f27f8fe98a","name":"Get Vehicle Trip Status by Client","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/status/trip/by-client/{{client_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 06 Jul 2022 06:33:30 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiYWEzMWQyNTc3ZjIzZTdkZTY3MjE0ZmJkM2I2NWFkMWEiLCJpYXQiOjE2NTcwODkyMTAsIm5iZiI6MTY1NzA4OTIxMCwiZXhwIjoxNjU3MDg5ODEwLCJzdWIiOiI0Iiwib2F0IjoxNjU3MDIxNzM4fQ.QV3i_XtAkuPpNHtQNmYwtVVfhjFZ2JvBwYfPpC8Tv5Q"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n        \"id\": 1,\n        \"reg_no\": \"ABC123GP\",\n        \"fleet_no\": \"001\",\n        \"vehicle_make\": \"Toyota\",\n        \"vehicle_model\": \"Fortuner\",\n        \"client_name\": \"ACM Technology\",\n        \"driver_name\": \"John Doe\",\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"unit_assigned_as\": \"primary\",\n        \"local_time\": \"2024-07-24T08:51:07+02:00\",\n        \"timezone\": \"Africa/Johannesburg\",\n        \"latitude\": -26.084087,\n        \"longitude\": 27.937792,\n        \"speed\": 14,\n        \"heading\": 351,\n        \"gps_fix\": [\"fixed\"],\n        \"odometer\": 12345,\n        \"address\": \"15 Street X, Suburb, City\",\n        \"hours_behind\": 0.01,\n        \"comms_status_code\": \"online\",\n        \"day_trip_no\": 12,\n        \"active_trip\": {\n            \"avg_speed\": 16.637,\n            \"max_speed\": 27,\n            \"started_at\": \"2024-07-24T08:48:46+02:00\",\n            \"distance_km\": 1.0913,\n            \"start_address\": \"15 Street X, Suburb, City\",\n            \"durations\": {\n                \"total\": \"00:03:39\",\n                \"engine\": \"00:03:39\",\n                \"idling\": \"00:00:00\",\n                \"driving\": \"00:03:39\",\n                \"speeding\": \"00:00:00\"\n            }\n        }\n    },\n    {\n        \"id\": 2,\n        \"reg_no\": \"ABC555GP\",\n        \"fleet_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"client_name\": \"ACM Technology\",\n        \"driver_name\": null,\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"unit_assigned_as\": \"backup_1\",\n        \"local_time\": \"2024-07-24T07:43:12+02:00\",\n        \"timezone\": \"Africa/Johannesburg\",\n        \"latitude\": -28.344227,\n        \"longitude\": 31.298598,\n        \"speed\": 0,\n        \"heading\": 25,\n        \"gps_fix\": [],\n        \"odometer\": null,\n        \"address\": \"25 Street X, Suburb, City\",\n        \"hours_behind\": 2.6,\n        \"comms_status_code\": \"offline\",\n        \"day_trip_no\": 0,\n        \"active_trip\": null\n    },\n    {\n        \"id\": 3,\n        \"reg_no\": \"DEF321GP\",\n        \"fleet_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"client_name\": \"ACM Technology\",\n        \"driver_name\": null,\n        \"vehicle_group_name\": null,\n        \"unit_assigned_as\": \"primary\",\n        \"local_time\": \"2024-07-24T08:50:55+02:00\",\n        \"timezone\": \"Africa/Johannesburg\",\n        \"latitude\": -26.028498,\n        \"longitude\": 27.947467,\n        \"speed\": 120.4,\n        \"heading\": 227,\n        \"gps_fix\": [\"fixed\"],\n        \"odometer\": null,\n        \"address\": \"102 Street X, Suburb, City\",\n        \"hours_behind\": 0.02,\n        \"comms_status_code\": \"online\",\n        \"day_trip_no\": 4,\n        \"active_trip\": {\n            \"avg_speed\": 102.45,\n            \"max_speed\": 136.1,\n            \"started_at\": \"2024-07-24T07:40:00+02:00\",\n            \"distance_km\": 102.311,\n            \"start_address\": \"34 Street X, Suburb, City\",\n            \"durations\": {\n                \"total\": \"01:10:55\",\n                \"engine\": \"01:10:55\",\n                \"idling\": \"00:03:50\",\n                \"driving\": \"01:07:10\",\n                \"speeding\": \"00:02:21\"\n            }\n        }\n    }\n  ]\n}"}],"_postman_id":"01722779-e769-4556-b1e4-d0e22f04beed"},{"name":"Get Vehicle Trip Status by Group","id":"3b7d1e87-1a36-49e8-a59f-0c487939da84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/status/trip/by-vehicle-group/{{vehicle_group_id}}","description":"<p>Returns the latest location and current active trip status data (if trip in progress) for each vehicle under a specific vehicle group.</p>\n<p><em>Note: If it seems that you are receiving duplicate records it is because a vehicle may be fitted with multiple GPS device/tracking units. In order to only see the data of the primary device (recommended as backup devices often have less data available) you can add the</em> <code>?unit_assigned_as=primary</code> <em>filtering parameter, for example</em>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>/api/v1/vehicles/status/trip/by-vehicle-group/555?unit_assigned_as=primary\n\n</code></pre><p>The request returns an array of objects having the following fields:</p>\n<ul>\n<li><code>id (int)</code>: The vehicle's database id.</li>\n<li><code>reg_no (string)</code>: Vehicle's registration number.</li>\n<li><code>fleet_no (string|null)</code>: Vehicle's fleet number.</li>\n<li><code>vehicle_make (string|null)</code>: Vehicle's make.</li>\n<li><code>vehicle_model (string|null)</code>: Vehicle's model.</li>\n<li><code>client_name (string)</code>: Client/customer name.</li>\n<li><code>driver_name (string|null)</code>: Active or assigned Driver name.</li>\n<li><code>vehicle_group_name (string|null)</code>: Vehicle's group name.</li>\n<li><code>unit_assigned_as (string)</code>: Can be <code>primary</code>, <code>backup_1, backup_2.</code></li>\n<li><code>local_time (ISO 8601 date and time string|null)</code>: The local time of the GPS recording, local meaning the timezone where the GPS device finds itself in. It can be null if no GPS data has been captured by the device yet.</li>\n<li><code>timezone (string)</code>: The configured/active timezone of the GPS device.</li>\n<li><code>latitude (float)</code>: The decimal latitude in degrees.</li>\n<li><code>longitude (float)</code>: The decimal longitude in degrees.</li>\n<li><code>speed (int|float)</code>: The current GPS speed in km/h.</li>\n<li><code>heading (int|float)</code>: The current GPS heading in degrees where 0 = North.</li>\n<li><code>gps_fix (array of strings)</code>: Can be an empty array or have a combination of the following values: <code>\"fixed\", \"predicted\", \"diff_corrected\", \"last_known\", \"2d\", \"logged\", \"invalid_time\", \"on_no_fix\", \"sleep\"</code>. In most cases the array will be empty or only contain <code>\"on_no_fix\"</code> if there is no GPS fix.</li>\n<li><code>odometer (int)</code>: Odometer in meters. This is currently only availble if the GPS device is configured to supply the odometer, returns 0 if no odometer is available.</li>\n<li><code>address (int|null)</code>: Current address of the vehicle if available.</li>\n<li><code>hours_behind (float)</code>: Can be used to determine how long ago the device transmitted a GPS location, the device's timezone is taken into account.</li>\n<li><code>comms_status_code (string)</code>: Current communication status. Can be <code>\"online\", \"inactive\", \"offline\", \"never\"</code>.</li>\n<li>day_trip_no (int): The trip number of the day if a trip is active.</li>\n<li>active_trip (Object|null): The active trip data object if a trip is active, null if no trip is active.</li>\n</ul>\n<p>The <code>active_trip</code> object contains the following fields and sub-fields:</p>\n<ul>\n<li><code>avg_speed (float)</code>: The average speed of the active trip in km/h.</li>\n<li><code>max_speed (float|int)</code>: The maximum speed in km/h reached during the active trip.</li>\n<li><code>started_at (ISO 8601 date and time string|null)</code>: The local time when the GPS trip started.</li>\n<li><code>distance_km (float)</code>: The distance travelled in the active trip.</li>\n<li><code>start_address (string|null)</code>: The starting address of the active trip.</li>\n<li><code>durations (Object)</code>: The various durations in \"HH:MM:SS\" recorded during the active trip.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","status","trip","by-vehicle-group","{{vehicle_group_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"92ceeb8e-eba0-4c6a-ae11-def716fce2f0","name":"Get Vehicle Trip Status by Group","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/status/trip/by-vehicle-group/{{vehicle_group_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 06 Jul 2022 06:37:25 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiM2I2OWYxZDNiYWU5NTU1ZGViMzMzYjE3NzE3OTRmYjgiLCJpYXQiOjE2NTcwODk0NDUsIm5iZiI6MTY1NzA4OTQ0NSwiZXhwIjoxNjU3MDkwMDQ1LCJzdWIiOiI0Iiwib2F0IjoxNjU3MDIxNzM4fQ._nf6rZLqJuhROnYHCGw0uXQBAVkG5620u6LTlZD_HLI"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n        \"id\": 1,\n        \"reg_no\": \"ABC123GP\",\n        \"fleet_no\": \"001\",\n        \"vehicle_make\": \"Toyota\",\n        \"vehicle_model\": \"Fortuner\",\n        \"client_name\": \"ACM Technology\",\n        \"driver_name\": \"John Doe\",\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"unit_assigned_as\": \"primary\",\n        \"local_time\": \"2024-07-24T08:51:07+02:00\",\n        \"timezone\": \"Africa/Johannesburg\",\n        \"latitude\": -26.084087,\n        \"longitude\": 27.937792,\n        \"speed\": 14,\n        \"heading\": 351,\n        \"gps_fix\": [\"fixed\"],\n        \"odometer\": 12345,\n        \"address\": \"15 Street X, Suburb, City\",\n        \"hours_behind\": 0.01,\n        \"comms_status_code\": \"online\",\n        \"day_trip_no\": 12,\n        \"active_trip\": {\n            \"avg_speed\": 16.637,\n            \"max_speed\": 27,\n            \"started_at\": \"2024-07-24T08:48:46+02:00\",\n            \"distance_km\": 1.0913,\n            \"start_address\": \"15 Street X, Suburb, City\",\n            \"durations\": {\n                \"total\": \"00:03:39\",\n                \"engine\": \"00:03:39\",\n                \"idling\": \"00:00:00\",\n                \"driving\": \"00:03:39\",\n                \"speeding\": \"00:00:00\"\n            }\n        }\n    },\n    {\n        \"id\": 2,\n        \"reg_no\": \"ABC555GP\",\n        \"fleet_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"client_name\": \"ACM Technology\",\n        \"driver_name\": null,\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"unit_assigned_as\": \"backup_1\",\n        \"local_time\": \"2024-07-24T07:43:12+02:00\",\n        \"timezone\": \"Africa/Johannesburg\",\n        \"latitude\": -28.344227,\n        \"longitude\": 31.298598,\n        \"speed\": 0,\n        \"heading\": 25,\n        \"gps_fix\": [],\n        \"odometer\": null,\n        \"address\": \"25 Street X, Suburb, City\",\n        \"hours_behind\": 2.6,\n        \"comms_status_code\": \"offline\",\n        \"day_trip_no\": 0,\n        \"active_trip\": null\n    },\n    {\n        \"id\": 3,\n        \"reg_no\": \"DEF321GP\",\n        \"fleet_no\": null,\n        \"vehicle_make\": null,\n        \"vehicle_model\": null,\n        \"client_name\": \"ACM Technology\",\n        \"driver_name\": null,\n        \"vehicle_group_name\": null,\n        \"unit_assigned_as\": \"primary\",\n        \"local_time\": \"2024-07-24T08:50:55+02:00\",\n        \"timezone\": \"Africa/Johannesburg\",\n        \"latitude\": -26.028498,\n        \"longitude\": 27.947467,\n        \"speed\": 120.4,\n        \"heading\": 227,\n        \"gps_fix\": [\"fixed\"],\n        \"odometer\": null,\n        \"address\": \"102 Street X, Suburb, City\",\n        \"hours_behind\": 0.02,\n        \"comms_status_code\": \"online\",\n        \"day_trip_no\": 4,\n        \"active_trip\": {\n            \"avg_speed\": 102.45,\n            \"max_speed\": 136.1,\n            \"started_at\": \"2024-07-24T07:40:00+02:00\",\n            \"distance_km\": 102.311,\n            \"start_address\": \"34 Street X, Suburb, City\",\n            \"durations\": {\n                \"total\": \"01:10:55\",\n                \"engine\": \"01:10:55\",\n                \"idling\": \"00:03:50\",\n                \"driving\": \"01:07:10\",\n                \"speeding\": \"00:02:21\"\n            }\n        }\n    }\n  ]\n}"}],"_postman_id":"3b7d1e87-1a36-49e8-a59f-0c487939da84"},{"name":"Get Vehicle History","id":"c904e340-0ae1-4f7a-8247-d41e1d8e39be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/history","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}","history"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"bee35481-45f6-43a0-a640-dee7ead4167c","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/6/history"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 13 Oct 2025 11:04:05 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNzYwMzUzNDQ1LCJuYmYiOjE3NjAzNTM0NDUsImV4cCI6MTc2MDM1NDA0NSwic3ViIjoiNiIsImVtbCI6InRhLm1heGltdXMrcnViZW4uYWRtaW5AZ21haWwuY29tIiwib2F0IjoxNzYwMzUzNDQ1fQ.HA7v9v8QO3pVGTvROF_Plue7B5RnJwEsdRtQh_wTWSc"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"vehicle.created\",\n            \"user_full_name\": \"Piet Pompies\",\n            \"user_id\": 12,\n            \"created_at\": \"2020-02-27T10:56:12+02:00\",\n            \"changes\": []\n        },\n        {\n            \"type\": \"vehicle.updated\",\n            \"user_full_name\": \"Jan Pierawiet\",\n            \"user_id\": 4,\n            \"created_at\": \"2021-04-21T13:20:49+02:00\",\n            \"changes\": {\n                \"vehicle_group_id\": {\n                    \"from\": null,\n                    \"to\": 2,\n                    \"label\": \"Vehicle Group ID\"\n                },\n                \"vehicle_group.id\": {\n                    \"from\": null,\n                    \"to\": 2,\n                    \"label\": null\n                },\n                \"vehicle_group.name\": {\n                    \"from\": null,\n                    \"to\": \"Internal Fleet\",\n                    \"label\": null\n                }\n            }\n        }\n    ]\n}"}],"_postman_id":"c904e340-0ae1-4f7a-8247-d41e1d8e39be"},{"name":"Patch Vehicle","id":"f0b7292e-bcac-4e43-ae37-d7f6b13dcc90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"op\": \"replace\",\n        \"path\": \"/fleet_no\",\n        \"value\": \"TEST\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0b7292e-bcac-4e43-ae37-d7f6b13dcc90"}],"id":"a3cd9ed5-ac53-4afc-979f-f6bd0d59c38e","_postman_id":"a3cd9ed5-ac53-4afc-979f-f6bd0d59c38e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Vehicle Groups","item":[{"name":"Vehicle Groups Listing By Client","id":"a6e71990-adb1-487f-8a23-ad253c757494","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/listing/by-client/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","groups","listing","by-client","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"e08fd985-8f3e-4407-b385-018c3ac46e08","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/listing/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 13:39:05 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"54"},{"key":"X-RateLimit-Reset","value":"17"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Vehicle Group\"\n        }\n    ]\n}"}],"_postman_id":"a6e71990-adb1-487f-8a23-ad253c757494"},{"name":"Get Vehicle Groups by Client","id":"3bf52558-83c3-4dd9-bb19-94ba261fdac8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/by-client/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","groups","by-client","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"69bb8645-5359-4e21-9900-ebbf12b4660b","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 13:46:40 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Vehicle Group\",\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency\": null,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"user_id\": 6,\n            \"user_full_name\": \"User Name\",\n            \"created_at\": \"2021-04-21T15:39:01+02:00\",\n            \"updated_at\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"3bf52558-83c3-4dd9-bb19-94ba261fdac8"},{"name":"List Vehicle Groups","id":"1f75928c-4b01-4281-9960-ca207b36771d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","groups","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"c13ce98d-41a4-4b5c-8699-6814ffe3d03c","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 13:52:03 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Vehicle Group\"\n        }\n    ]\n}"}],"_postman_id":"1f75928c-4b01-4281-9960-ca207b36771d"},{"name":"Get Vehicle Groups Create Form Data","id":"6e915f5c-7b55-4cd1-a17a-96d5e7c84e70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","groups","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"e1312f83-125f-4c14-8c32-070d9d692ffc","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 14:06:50 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Vehicle Group\",\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency\": null,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"user_id\": 6,\n            \"user_full_name\": \"User Name\",\n            \"created_at\": \"2021-04-21T15:39:01+02:00\",\n            \"updated_at\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"6e915f5c-7b55-4cd1-a17a-96d5e7c84e70"},{"name":"Get Vehicle Groups Edit Form Data","id":"d6d770ad-0f5c-4c52-85b3-3310dab761c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/1/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","groups","1","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0e1b3c00-1819-4973-8999-72ae61d56b7c","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 14:09:16 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Vehicle Group\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-21T15:39:01+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"d6d770ad-0f5c-4c52-85b3-3310dab761c3"},{"name":"Get Vehicle Group","id":"d511c57a-e612-4987-872e-4937dc42ecb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","groups","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"45af5f43-2248-43a4-937c-e45a63bceee7","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 14:17:07 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Vehicle Group\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-21T15:39:01+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"d511c57a-e612-4987-872e-4937dc42ecb5"},{"name":"Find Vehicle Groups","id":"d5058f41-5ae1-479d-bdd6-ff4d60e6087f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","groups",""],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"b6b40116-13b6-40d7-b100-e54ece851b1f","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 14:18:33 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Vehicle Group\",\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency\": null,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"user_id\": 6,\n            \"user_full_name\": \"User Name\",\n            \"created_at\": \"2021-04-21T15:39:01+02:00\",\n            \"updated_at\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"d5058f41-5ae1-479d-bdd6-ff4d60e6087f"},{"name":"Add Vehicle Group","id":"128f82a1-c35f-43c2-9cf0-dec3872f72ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"Vehicle Group\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","groups",""],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"729ffed6-c459-426f-9503-6503fa0d7710","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"Vehicle Group\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 14:26:59 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created Vehicle Group: Vehicle Group\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Vehicle Group\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-21T15:39:01+02:00\",\n        \"updated_at\": \"2021-04-21T16:22:16+02:00\"\n    }\n}"}],"_postman_id":"128f82a1-c35f-43c2-9cf0-dec3872f72ec"},{"name":"Update Vehicle Group","id":"51c011b9-1ff3-4670-a36b-5ee88a63e142","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"name\": \"New Vehicle Group\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","groups","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"d7b15487-355d-4f2c-9e94-3b2326496a6a","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"name\": \"New Vehicle Group\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 14:22:16 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated Vehicle Group: New Vehicle Group\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Vehicle Group\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-21T15:39:01+02:00\",\n        \"updated_at\": \"2021-04-21T16:22:16+02:00\"\n    }\n}"}],"_postman_id":"51c011b9-1ff3-4670-a36b-5ee88a63e142"},{"name":"Delete Vehicle Group","id":"8c8f1d3d-012b-4cd2-8fef-a8b37950f6a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","groups","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"fd1a3361-85b5-453a-b72e-5589414d9934","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/groups/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 21 Apr 2021 14:24:41 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted Vehicle Group: Vehicle Group\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Vehicle Group\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"User Name\",\n        \"created_at\": \"2021-04-21T15:39:01+02:00\",\n        \"updated_at\": \"2021-04-21T16:22:16+02:00\"\n    }\n}"}],"_postman_id":"8c8f1d3d-012b-4cd2-8fef-a8b37950f6a4"}],"id":"1d7fba0a-3978-4c07-944a-330ffa3606e4","_postman_id":"1d7fba0a-3978-4c07-944a-330ffa3606e4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Vehicle Expenses","item":[{"name":"Find Vehicles Expenses","event":[{"listen":"test","script":{"id":"d17a2f03-6e4a-47d8-bd0d-b44998f21d01","exec":["let template = ","`","<style type=\"text/css\">","        .tftable {font-size:12px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","        .tftable th {font-size:12px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","        .tftable tr {background-color:#ffffff;}","        .tftable td {font-size:12px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","        .tftable tr:hover {background-color:#e0ffff;}","    </style>","    ","    <table class=\"tftable\" border=\"1\">","        <tr>","            <th>Id</th>","            <th>Registration No.</th>","            <th>Assignment</th>","        </tr>","        ","        {{#each response.data}}","            <tr id=row_{{@key}} onClick=\"handleClick(this.id)\">","                <td id={{@key}}>{{id}}</td>","                <td>","                    {{reg_no}}<br>","                    Fleet No: {{fleet_no}}","                </td>","                <td>","                    Partner: {{partner.name}}<br>","                    Agency: {{agency.name}}<br>","                    Client: {{client.name}}<br>","                </td>","            </tr>","        {{/each}}","    </table>","`","","pm.visualizer.set(template, {","    response: pm.response.json()","});"],"type":"text/javascript"}}],"id":"3e9f2025-a39a-4e3d-b792-789286e6440a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/by-client/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expenses","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"f54078ec-0919-4ba8-a81d-a398338b5c9d","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/by-client/{{client_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 19:33:51 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMjA0ODMxLCJuYmYiOjE2ODAyMDQ4MzEsImV4cCI6MTY4MDIwNTQzMSwic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDIwNDgzMX0.wUK8zOm8RukP0Tg8v4iUEygBuWASobUgPcTqvcvkXQo"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"vehicle_id\": 1,\n            \"vehicle_reg_no\": \"ABC 123 GP\",\n            \"vehicle_fleet_no\": null,\n            \"vehicle_group_id\": 2,\n            \"vehicle_group_name\": \"Internal Fleet\",\n            \"expense_type_id\": 1,\n            \"expense_type\": \"Vehicle Repairs Updated\",\n            \"invoice_ref_no\": \"abc 000123\",\n            \"note\": null,\n            \"invoice_date\": \"2023-03-30\",\n            \"unit_count\": 2,\n            \"invoice_total\": 356.34,\n            \"tax_deductible\": false,\n            \"expense_category\": \"general\",\n            \"user_id\": 1,\n            \"user_full_name\": \"demo.user\",\n            \"updated_by_user_id\": null,\n            \"updated_by_user_full_name\": null,\n            \"created_at\": \"2023-03-30T18:36:45+02:00\",\n            \"updated_at\": null\n        },\n        {\n            \"id\": 3,\n            \"vehicle_id\": 1,\n            \"vehicle_reg_no\": \"ABC 123 GP\",\n            \"vehicle_fleet_no\": null,\n            \"vehicle_group_id\": 2,\n            \"vehicle_group_name\": \"Internal Fleet\",\n            \"expense_type_id\": 1,\n            \"expense_type\": \"Vehicle Repairs Updated\",\n            \"invoice_ref_no\": \"ABC 000125\",\n            \"invoice_date\": \"2023-03-30\",\n            \"unit_count\": 1,\n            \"invoice_total\": 1044,\n            \"tax_deductible\": false,\n            \"expense_category\": \"general\",\n            \"user_id\": 1,\n            \"user_full_name\": \"demo.user\",\n            \"updated_by_user_id\": 11,\n            \"updated_by_user_full_name\": \"demo.user\",\n            \"created_at\": \"2023-03-30T20:45:03+02:00\",\n            \"updated_at\": \"2023-03-30T21:02:25+02:00\"\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 2\n    }\n}"}],"_postman_id":"3e9f2025-a39a-4e3d-b792-789286e6440a"},{"name":"Get Vehicle Expense Create Form Data","id":"4a2f6ba4-da4b-4816-b50e-8f53fb75575d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/create/client/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expenses","create","client","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"3fa337c7-84be-4695-b6f8-dd319ff65376","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/create/client/{{client_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 19:38:12 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMjA1MDkyLCJuYmYiOjE2ODAyMDUwOTIsImV4cCI6MTY4MDIwNTY5Miwic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDIwNTA5Mn0.JCTPW_gMhePVzEEsPRpWOgAQ6MBaP-9xCFpJw6D973g"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"vehicles\": [\n            {\n                \"id\": 1,\n                \"reg_no\": \"ABC 123 GP\",\n                \"fleet_no\": \"37D05A\"\n            },\n            {\n                \"id\": 2,\n                \"reg_no\": \"DEF 456 GP\",\n                \"fleet_no\": \"37A9F0\"\n            },\n            {\n                \"id\": 3,\n                \"reg_no\": \"GHI 789 GP\",\n                \"fleet_no\": null\n            }\n        ],\n        \"expense_types\": [\n            {\n                \"id\": 1,\n                \"name\": \"Vehicle Repairs Updated\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Fuel\"\n            }\n        ]\n    }\n}"}],"_postman_id":"4a2f6ba4-da4b-4816-b50e-8f53fb75575d"},{"name":"Get Vehicle Expense Edit Form Data","id":"4b29f6d1-33a4-426f-bef9-f9608e88b883","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/1/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expenses","1","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"1701f827-5283-49b9-a2c9-609db988d290","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/1/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 19:46:01 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMjA1NTU4LCJuYmYiOjE2ODAyMDU1NTgsImV4cCI6MTY4MDIwNjE1OCwic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDIwNTU1OH0.8RQPxGIH2BJiBwWCLdpqQTok4EgfDj1JRx4VKbSlyWg"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"client_id\": 1,\n        \"vehicle_id\": 1,\n        \"vehicle_reg_no\": \"ABC 123 GP\",\n        \"vehicle_fleet_no\": null,\n        \"vehicle_group_id\": 2,\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"expense_type_id\": 1,\n        \"expense_type\": \"Vehicle Repairs Updated\",\n        \"invoice_ref_no\": \"abc 000123\",\n        \"note\": null,\n        \"invoice_date\": \"2023-03-30\",\n        \"unit_count\": 2,\n        \"invoice_total\": 356.34,\n        \"tax_deductible\": false,\n        \"expense_category\": \"general\",\n        \"user_id\": 1,\n        \"user_full_name\": \"demo.user\",\n        \"updated_by_user_id\": null,\n        \"updated_by_user_full_name\": null,\n        \"created_at\": \"2023-03-30T18:36:45+02:00\",\n        \"updated_at\": null,\n        \"vehicles\": [\n            {\n                \"id\": 1,\n                \"reg_no\": \"ABC 123 GP\",\n                \"fleet_no\": \"37D05A\"\n            },\n            {\n                \"id\": 2,\n                \"reg_no\": \"DEF 456 GP\",\n                \"fleet_no\": \"37A9F0\"\n            },\n            {\n                \"id\": 3,\n                \"reg_no\": \"GHI 789 GP\",\n                \"fleet_no\": null\n            }\n        ],\n        \"expense_types\": [\n            {\n                \"id\": 1,\n                \"name\": \"Vehicle Repairs Updated\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Fuel\"\n            }\n        ]\n    }\n}"}],"_postman_id":"4b29f6d1-33a4-426f-bef9-f9608e88b883"},{"name":"Get a Vehicle Expense","id":"08362f7f-4448-43f3-a946-a4563fbad73d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expenses","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"73b325e3-3286-4055-9da6-e943392da3c9","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 19:48:33 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMjA1NzEzLCJuYmYiOjE2ODAyMDU3MTMsImV4cCI6MTY4MDIwNjMxMywic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDIwNTcxM30.Hjea2wf-wV7RMQEojZ1o39tjmDeMPSsoGAWmMycHKI0"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"client_id\": 1,\n        \"vehicle_id\": 1,\n        \"vehicle_reg_no\": \"ABC 123 GP\",\n        \"vehicle_fleet_no\": null,\n        \"vehicle_group_id\": 2,\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"expense_type_id\": 1,\n        \"expense_type\": \"Vehicle Repairs Updated\",\n        \"invoice_ref_no\": \"abc 000123\",\n        \"note\": \"\",\n        \"invoice_date\": \"2023-03-30\",\n        \"unit_count\": 2,\n        \"invoice_total\": 356.34,\n        \"tax_deductible\": false,\n        \"expense_category\": \"general\",\n        \"user_id\": 1,\n        \"user_full_name\": \"demo.user\",\n        \"updated_by_user_id\": null,\n        \"updated_by_user_full_name\": null,\n        \"created_at\": \"2023-03-30T18:36:45+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"08362f7f-4448-43f3-a946-a4563fbad73d"},{"name":"Create Vehicle Expense","id":"6f450b1a-4229-4bed-a1d7-0c2457b5056c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": 1,\n    \"vehicle_id\": 1,\n    \"expense_type_id\": 1,\n    \"invoice_ref_no\": \"abc 000123\",\n    \"note\": null,\n    \"invoice_date\": \"2023-03-30\",\n    \"unit_count\": 2,\n    \"invoice_total\": 356.34,\n    \"tax_deductible\": false,\n    \"expense_category\": \"general\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expenses"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"43d76762-7724-4b18-911f-1d08911c95ae","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": 2,\n    \"vehicle_id\": 527,\n    \"expense_type_id\": 1,\n    \"invoice_ref_no\": \"abc 000123\",\n    \"invoice_date\": \"2023-03-30\",\n    \"unit_count\": 2,\n    \"unit_price\": 356.34,\n    \"tax_deductible\": false,\n    \"expense_category\": \"general\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"XDEBUG_SESSION=PHPSTORM; path=/; SameSite=Lax"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 16:33:17 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMTkzOTk3LCJuYmYiOjE2ODAxOTM5OTcsImV4cCI6MTY4MDE5NDU5Nywic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDE5Mzk5N30.u8wPqVQtHSPTcUR9EA1Mb0cz9DjFsl2SwTxxAhfsb7c"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created Vehicle Expenditure Entry: Vehicle Repairs, Invoice: ABC 000123\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"vehicle_id\": 1,\n        \"vehicle_reg_no\": \"ABC 123 GP\",\n        \"vehicle_fleet_no\": null,\n        \"vehicle_group_id\": 2,\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"expense_type_id\": 1,\n        \"expense_type\": \"Vehicle Repairs\",\n        \"invoice_ref_no\": \"ABC 000123\",\n        \"note\": null,\n        \"invoice_date\": \"2023-03-30\",\n        \"unit_count\": 2,\n        \"invoice_total\": 356.34,\n        \"tax_deductible\": false,\n        \"expense_category\": \"general\",\n        \"user_id\": 1,\n        \"user_full_name\": \"demo.user\",\n        \"updated_by_user_id\": null,\n        \"updated_by_user_full_name\": null,\n        \"created_at\": \"2023-03-30T18:33:17+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"6f450b1a-4229-4bed-a1d7-0c2457b5056c"},{"name":"Apply Multiple Vehicle Expense Actions","id":"313f7b8d-5bdb-4752-b89c-94fbad1cbab3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"expenses\": [\n        {\n            \"action\": \"create\",\n            \"vehicle_id\": 1,\n            \"expense_type_id\": 1,\n            \"invoice_ref_no\": \"ABC 000124\",\n            \"note\": null,\n            \"invoice_date\": \"2023-03-30\",\n            \"unit_count\": 2,\n            \"invoice_total\": 356.34,\n            \"tax_deductible\": false,\n            \"expense_category\": \"general\"\n        },\n        {\n            \"action\": \"create\",\n            \"vehicle_id\": 1,\n            \"expense_type_id\": 1,\n            \"invoice_ref_no\": \"ABC 000125\",\n            \"note\": null,\n            \"invoice_date\": \"2023-03-30\",\n            \"unit_count\": 1,\n            \"unit_price\": 1034.0,\n            \"tax_deductible\": false,\n            \"expense_category\": \"general\"\n        },\n        {\n            \"id\": 3,\n            \"action\": \"update\",\n            \"vehicle_id\": 1,\n            \"expense_type_id\": 1,\n            \"invoice_ref_no\": \"ABC 000125\",\n            \"note\": null,\n            \"invoice_date\": \"2023-03-30\",\n            \"unit_count\": 1,\n            \"unit_price\": 1044.0,\n            \"tax_deductible\": false,\n            \"expense_category\": \"general\"\n        },\n        {\n            \"action\": \"delete\",\n            \"id\": 4\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/apply/client/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expenses","apply","client","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8bcc008f-2810-46b4-885f-37921f71f700","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"expenses\": [\n        {\n            \"action\": \"create\",\n            \"vehicle_id\": 527,\n            \"expense_type_id\": 1,\n            \"invoice_ref_no\": \"ABC 000124\",\n            \"invoice_date\": \"2023-03-30\",\n            \"unit_count\": 2,\n            \"unit_price\": 356.34,\n            \"tax_deductible\": false,\n            \"expense_category\": \"general\"\n        },\n        {\n            \"action\": \"create\",\n            \"vehicle_id\": 527,\n            \"expense_type_id\": 1,\n            \"invoice_ref_no\": \"ABC 000125\",\n            \"invoice_date\": \"2023-03-30\",\n            \"unit_count\": 1,\n            \"unit_price\": 1034.0,\n            \"tax_deductible\": false,\n            \"expense_category\": \"general\"\n        },\n        {\n            \"action\": \"update\",\n            \"id\": 2,\n            \"vehicle_id\": 527,\n            \"expense_type_id\": 1,\n            \"invoice_ref_no\": \"ABC 000125\",\n            \"invoice_date\": \"2023-03-30\",\n            \"unit_count\": 1,\n            \"unit_price\": 1044.0,\n            \"tax_deductible\": false,\n            \"expense_category\": \"general\"\n        },\n        {\n            \"action\": \"delete\",\n            \"id\": 2\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{http}}://{{domain}}/api/v1/vehicles/expenses/apply/client/{{client_id}}?XDEBUG_SESSION_START=PHPSTORM","protocol":"{{http}}","host":["{{domain}}"],"path":["api","v1","vehicles","expenses","apply","client","{{client_id}}"],"query":[{"key":"XDEBUG_SESSION_START","value":"PHPSTORM"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"XDEBUG_SESSION=PHPSTORM; path=/; SameSite=Lax"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 19:02:25 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMjAyOTQ1LCJuYmYiOjE2ODAyMDI5NDUsImV4cCI6MTY4MDIwMzU0NSwic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDIwMjk0NX0.4-mnbMLeTDsREs1DWiwlB6qsO1pEqcRNmGsWKZpP7Xc"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Successfully applied the expenditure entries\"\n    ],\n    \"data\": [\n        {\n            \"id\": 1,\n            \"gui_id\": null,\n            \"action\": \"create\"\n        },\n        {\n            \"id\": 2,\n            \"gui_id\": null,\n            \"action\": \"create\"\n        },\n        {\n            \"id\": 2,\n            \"gui_id\": null,\n            \"grand_total\": 1044,\n            \"action\": \"update\"\n        },\n        {\n            \"id\": 2,\n            \"gui_id\": null,\n            \"action\": \"delete\"\n        }\n    ]\n}"}],"_postman_id":"313f7b8d-5bdb-4752-b89c-94fbad1cbab3"},{"name":"Update Vehicle Expense","id":"26825418-5803-4094-87d8-01be62e48d98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": 1,\n    \"vehicle_id\": 1,\n    \"expense_type_id\": 1,\n    \"invoice_ref_no\": \"abc 000123\",\n    \"note\": null,\n    \"invoice_date\": \"2023-03-30\",\n    \"unit_count\": 2,\n    \"invoice_total\": 356.34,\n    \"tax_deductible\": true,\n    \"expense_category\": \"general\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expenses","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"df93a3e7-3a04-4c3e-ad99-8b917413c404","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": 1,\n    \"vehicle_id\": 1,\n    \"expense_type_id\": 1,\n    \"invoice_ref_no\": \"abc 000123\",\n    \"invoice_date\": \"2023-03-30\",\n    \"unit_count\": 2,\n    \"unit_price\": 356.34,\n    \"tax_deductible\": true,\n    \"expense_category\": \"general\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 19:51:33 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMjA1ODkzLCJuYmYiOjE2ODAyMDU4OTMsImV4cCI6MTY4MDIwNjQ5Mywic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDIwNTg5M30.HLHzuI4w4-rJGFDhWJchqxPgvL3nuaw_Xuyb7oqs4tc"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated Vehicle Expenditure Entry: Vehicle Repairs Updated, Invoice: abc 000123\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"client_id\": 1,\n        \"vehicle_id\": 1,\n        \"vehicle_reg_no\": \"ABC 123 GP\",\n        \"vehicle_fleet_no\": null,\n        \"vehicle_group_id\": 2,\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"expense_type_id\": 1,\n        \"expense_type\": \"Vehicle Repairs Updated\",\n        \"invoice_ref_no\": \"abc 000123\",\n        \"note\": null,\n        \"invoice_date\": \"2023-03-30\",\n        \"unit_count\": 2,\n        \"invoice_total\": 356.34,\n        \"tax_deductible\": true,\n        \"expense_category\": \"general\",\n        \"user_id\": 1,\n        \"user_full_name\": \"demo.user\",\n        \"updated_by_user_id\": 1,\n        \"updated_by_user_full_name\": \"don.client\",\n        \"created_at\": \"2023-03-30T18:36:45+02:00\",\n        \"updated_at\": \"2023-03-30T21:51:33+02:00\"\n    }\n}"}],"_postman_id":"26825418-5803-4094-87d8-01be62e48d98"},{"name":"Delete Vehicle Expense","id":"24313c3f-048d-4a23-a4c5-8e952ed4d59e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expenses","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"fb1c79ba-cbc4-44c5-86a3-cc22a860c1c3","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expenses/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 19:54:56 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMjA2MDk2LCJuYmYiOjE2ODAyMDYwOTYsImV4cCI6MTY4MDIwNjY5Niwic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDIwNjA5Nn0.abBMw2O3fCK24Y1XHQ0u014q_tI37ySgn-db1GndIbk"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted Vehicle Expenditure Entry: Vehicle Repairs Updated, Invoice: abc 000123\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"client_id\": 1,\n        \"vehicle_id\": 1,\n        \"vehicle_reg_no\": \"ABC 123 GP\",\n        \"vehicle_fleet_no\": null,\n        \"vehicle_group_id\": 2,\n        \"vehicle_group_name\": \"Internal Fleet\",\n        \"expense_type_id\": 1,\n        \"expense_type\": \"Vehicle Repairs Updated\",\n        \"invoice_ref_no\": \"abc 000123\",\n        \"note\": null,\n        \"invoice_date\": \"2023-03-30\",\n        \"unit_count\": 2,\n        \"invoice_total\": 356.34,\n        \"tax_deductible\": true,\n        \"expense_category\": \"general\",\n        \"user_id\": 1,\n        \"user_full_name\": \"demo.user\",\n        \"updated_by_user_id\": 1,\n        \"updated_by_user_full_name\": \"don.client\",\n        \"created_at\": \"2023-03-30T18:36:45+02:00\",\n        \"updated_at\": \"2023-03-30T21:51:33+02:00\"\n    }\n}"}],"_postman_id":"24313c3f-048d-4a23-a4c5-8e952ed4d59e"}],"id":"4e59d512-cfbc-44b2-916a-bf29a709f53e","_postman_id":"4e59d512-cfbc-44b2-916a-bf29a709f53e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Vehicle Expense Types","item":[{"name":"Find Vehicles Expense Types Copy","event":[{"listen":"test","script":{"id":"d17a2f03-6e4a-47d8-bd0d-b44998f21d01","exec":["let template = ","`","<style type=\"text/css\">","        .tftable {font-size:12px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","        .tftable th {font-size:12px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","        .tftable tr {background-color:#ffffff;}","        .tftable td {font-size:12px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","        .tftable tr:hover {background-color:#e0ffff;}","    </style>","    ","    <table class=\"tftable\" border=\"1\">","        <tr>","            <th>Id</th>","            <th>Registration No.</th>","            <th>Assignment</th>","        </tr>","        ","        {{#each response.data}}","            <tr id=row_{{@key}} onClick=\"handleClick(this.id)\">","                <td id={{@key}}>{{id}}</td>","                <td>","                    {{reg_no}}<br>","                    Fleet No: {{fleet_no}}","                </td>","                <td>","                    Partner: {{partner.name}}<br>","                    Agency: {{agency.name}}<br>","                    Client: {{client.name}}<br>","                </td>","            </tr>","        {{/each}}","    </table>","`","","pm.visualizer.set(template, {","    response: pm.response.json()","});"],"type":"text/javascript"}}],"id":"901b53ea-d660-4839-897d-262ae2868a3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/by-client/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expense","types","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"56ae6b33-6872-4cbc-b9e3-369054a87545","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/by-client/{{client_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 14:17:43 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMTg1ODYzLCJuYmYiOjE2ODAxODU4NjMsImV4cCI6MTY4MDE4NjQ2Mywic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDE4NTg2M30.CAUcgQaNYFDmiFBUFoiNX3I65tyDTbdEaJB6bpVy8lc"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Vehicle Repairs\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Fuel\"\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 2\n    }\n}"}],"_postman_id":"901b53ea-d660-4839-897d-262ae2868a3c"},{"name":"Vehicle Expense Types Listing","id":"9445a1d5-402d-4fc5-969b-57ffe266687f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/by-client/{{client_id}}/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expense","types","by-client","{{client_id}}","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"ff16a5ee-0034-4902-a81c-4c0d156c3db3","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/by-client/{{client_id}}/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 14:13:36 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMTg1NjE2LCJuYmYiOjE2ODAxODU2MTYsImV4cCI6MTY4MDE4NjIxNiwic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDE4NTYxNn0.SGRtEPX2ZJcWa3NROI1sKzXY8VONLXKWPna9E-LF89M"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"Fuel\"\n        },\n        {\n            \"id\": 1,\n            \"name\": \"Vehicle Repairs\"\n        }\n    ]\n}"}],"_postman_id":"9445a1d5-402d-4fc5-969b-57ffe266687f"},{"name":"Get Vehicle Expense Type Create Form Data","id":"e33f4afb-994b-4391-bb40-b599cf81afcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expense","types","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"caed2371-3d8e-4232-a838-2b88bbcf9e8b","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 14:17:05 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMTg1ODI1LCJuYmYiOjE2ODAxODU4MjUsImV4cCI6MTY4MDE4NjQyNSwic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDE4NTgyNX0.b2_6aB4iOSI7xdkIKEoC8fMSopbaK5L5Had1-pK7OvA"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": []\n}"}],"_postman_id":"e33f4afb-994b-4391-bb40-b599cf81afcc"},{"name":"Get Vehicle Expense Type Edit Form Data","id":"3cda845f-af70-4dbb-afbb-5f8df93a72e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/1/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expense","types","1","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"869d362a-7f4a-41fc-8439-fd0cb1fe9dfd","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/1/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 14:20:17 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMTg2MDE3LCJuYmYiOjE2ODAxODYwMTcsImV4cCI6MTY4MDE4NjYxNywic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDE4NjAxN30.XEDMF9e_YHjCaiBFeJOZzsuChmyxYaQAEfnf17fXkbI"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Vehicle Repairs\"\n    }\n}"}],"_postman_id":"3cda845f-af70-4dbb-afbb-5f8df93a72e5"},{"name":"Get a Vehicle Expense Type","id":"63245ff1-75ad-4d37-ab84-cb667f732f27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expense","types","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"9fb1446a-03af-4f80-a735-79ea3501ed50","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 12:08:08 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMTc4MDg4LCJuYmYiOjE2ODAxNzgwODgsImV4cCI6MTY4MDE3ODY4OCwic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDE3ODA4OH0.h-_7MsHVzLF_TNotUyOOqP8RKfBjHjMP6nycgDHrwXg"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Vehicle Repairs\"\n    }\n}"}],"_postman_id":"63245ff1-75ad-4d37-ab84-cb667f732f27"},{"name":"Create Vehicle Expense Type","id":"c807bd71-cc8a-4f27-af63-3472c0a50ec7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": 1,\n    \"name\": \"Vehicle Repairs\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expense","types"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"b3b0b993-3395-48cf-a97d-a68796e71666","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": 1,\n    \"name\": \"Vehicle Repairs\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 12:07:03 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMTc4MDIzLCJuYmYiOjE2ODAxNzgwMjMsImV4cCI6MTY4MDE3ODYyMywic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDE3ODAyM30.o00eJ1aNAlcX8SW6ouaGOguGx_C3hWCNTDQFubeac6w"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created Vehicle Expense Type: Vehicle Repairs\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Vehicle Repairs\"\n    }\n}"}],"_postman_id":"c807bd71-cc8a-4f27-af63-3472c0a50ec7"},{"name":"Update Vehicle Expense Type","id":"97cd12b1-7e19-4096-8de6-b2d2fc6ea5ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Vehicle Repairs Updated\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expense","types","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"57a6c723-7f29-4467-84b2-60f525d3eda5","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Vehicle Repairs Updated\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 14:25:03 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMTg2MzAyLCJuYmYiOjE2ODAxODYzMDIsImV4cCI6MTY4MDE4NjkwMiwic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDE4NjMwMn0.6dEiyJ_a_5egQ1szkgrqgTkwa2gKd3gYjLNutTlkNJI"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated Vehicle Expense Type: Vehicle Repairs Updated\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Vehicle Repairs Updated\"\n    }\n}"}],"_postman_id":"97cd12b1-7e19-4096-8de6-b2d2fc6ea5ce"},{"name":"Delete Vehicle Expense Type","id":"ea883bac-0e42-45e1-a413-d7117d60ccd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","expense","types","3"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"29fbaafc-88e3-4098-992e-22599fe598c4","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/vehicles/expense/types/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Mar 2023 14:27:34 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjgwMTg2NDU0LCJuYmYiOjE2ODAxODY0NTQsImV4cCI6MTY4MDE4NzA1NCwic3ViIjoiMTEiLCJlbWwiOiJkb24uY2xpZW50QGdtYWlsLmNvbSIsIm9hdCI6MTY4MDE4NjQ1NH0.hFx1RgHcNjRAtoQH6JxwGeiIVuKyj2PvkHK5mi9C1tw"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted Vehicle Expense Type: Tire Change\"\n    ],\n    \"data\": {\n        \"id\": 3,\n        \"name\": \"Tire Change\"\n    }\n}"}],"_postman_id":"ea883bac-0e42-45e1-a413-d7117d60ccd3"}],"id":"4a41333c-2ad3-4579-8560-1da38e326b9d","_postman_id":"4a41333c-2ad3-4579-8560-1da38e326b9d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Vehicle Safe Zones","item":[{"name":"Enable Vehicle Safe Zone","id":"9fbec120-90a2-4fe5-b661-f77976fdc8ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"radius\": 25,\n    \"mode\": \"private\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/primary/safe-zone","description":"<p>Creates a safe-zone around a vehicle. The safe-zone will only be enabled once/if the vehicle is parked.</p>\n<ul>\n<li><p>Only one safe-zone can be created for a vehicle/unit. Attempting to create another one will override the original safe-zone.</p>\n</li>\n<li><p>The radius is in meters.</p>\n</li>\n<li><p>The mode can be \"private\" or \"monitored\".</p>\n</li>\n<li><p>In 'private' mode, one or more users of the Destiny mobile app can receive events and alarms for the safe-zone.</p>\n</li>\n<li><p>In 'monitored' mode, both users and the control room may receive events caused by the safe-zone.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}","primary","safe-zone"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"307157f1-402a-4e29-919c-10ec763f670d","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"radius\": 25,\n    \"mode\": \"private\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/primary/safe-zone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Jul 2023 10:36:19 GMT"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Safe Zone Enabled\"\n    ]\n}"}],"_postman_id":"9fbec120-90a2-4fe5-b661-f77976fdc8ad"},{"name":"Disable Vehicle Safe Zone","id":"d20b6de9-a0af-4644-96c5-1752631f50ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/primary/safe-zone","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","vehicles","{{vehicle_id}}","primary","safe-zone"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"f7ce1b04-9b1d-47fe-b26b-9d95d7572137","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"radius\": 25,\n    \"mode\": \"private\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/vehicles/{{vehicle_id}}/safe-zone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Jul 2023 10:36:19 GMT"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Safe Zone Disabled\"\n    ]\n}"}],"_postman_id":"d20b6de9-a0af-4644-96c5-1752631f50ba"}],"id":"73b1ed1b-0c6e-4223-8645-809f0b9a6806","_postman_id":"73b1ed1b-0c6e-4223-8645-809f0b9a6806","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Monitoring","item":[{"name":"Monitor Vehicle","id":"3f778c8c-69e2-4686-892a-b56c8db0f0ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/monitoring/vehicle/{{vehicle_id}}/primary","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","monitoring","vehicle","{{vehicle_id}}","primary"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"06f48fec-d1fd-4746-a5cd-5451f5aee954","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/monitoring/vehicle/1/primary"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 15:30:35 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"uid\": \"5551234567890\",\n        \"unit_id\": 16,\n        \"unit_name\": null,\n        \"vehicle_id\": 1,\n        \"vehicle_reg_no\": \"ABC 123 GP\",\n        \"vehicle_fleet_no\": \"5551234\",\n        \"vehicle_icon_name\": null,\n        \"vehicle_group_name\": null,\n        \"driver_id\": null,\n        \"token\": \"token\",\n        \"telemetry\": null\n    }\n}"}],"_postman_id":"3f778c8c-69e2-4686-892a-b56c8db0f0ab"},{"name":"Monitor Driver","id":"daa7b471-df64-4233-9e63-89b521bd31b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/monitoring/driver/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","monitoring","driver","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"a2941a7e-9b6f-41c5-b507-930684278c9c","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/monitoring/driver/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 15:35:36 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"50"},{"key":"X-RateLimit-Reset","value":"24"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"uid\": \"5551234567890\",\n        \"unit_id\": 16,\n        \"unit_name\": null,\n        \"vehicle_id\": 1,\n        \"vehicle_reg_no\": \"ABC 123 GP\",\n        \"vehicle_fleet_no\": null,\n        \"vehicle_icon_name\": null,\n        \"vehicle_group_name\": null,\n        \"driver_id\": 1,\n        \"token\": \"token\",\n        \"telemetry\": null\n    }\n}"}],"_postman_id":"daa7b471-df64-4233-9e63-89b521bd31b1"},{"name":"Monitor Unit","id":"4994cee0-baaa-41d4-8a1e-3984940ea1c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/monitoring/unit/{{unit_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","monitoring","unit","{{unit_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"b153a667-1231-436e-87d5-7a556b548f80","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/monitoring/unit/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 15:37:08 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"49"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"uid\": \"5551234567890\",\n        \"unit_id\": 1,\n        \"unit_name\": null,\n        \"vehicle_id\": 1,\n        \"vehicle_reg_no\": \"ABC 123 GP\",\n        \"vehicle_fleet_no\": null,\n        \"vehicle_icon_name\": null,\n        \"vehicle_group_name\": null,\n        \"driver_id\": null,\n        \"token\": \"token\",\n        \"telemetry\": null\n    }\n}"}],"_postman_id":"4994cee0-baaa-41d4-8a1e-3984940ea1c3"},{"name":"Monitor Unit By IMEI","id":"d8b911c5-2814-4fe2-bdd3-2847a7c602ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/monitoring/unit/by-imei/{{imei}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","monitoring","unit","by-imei","{{imei}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"ed76d4b2-29d3-4976-8189-2b1bf1fb4b8d","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/monitoring/unit/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 15:37:08 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"49"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"uid\": \"5551234567890\",\n        \"unit_id\": 1,\n        \"unit_name\": null,\n        \"vehicle_id\": 1,\n        \"vehicle_reg_no\": \"ABC 123 GP\",\n        \"vehicle_fleet_no\": null,\n        \"vehicle_icon_name\": null,\n        \"vehicle_group_name\": null,\n        \"driver_id\": null,\n        \"token\": \"token\",\n        \"telemetry\": null\n    }\n}"}],"_postman_id":"d8b911c5-2814-4fe2-bdd3-2847a7c602ae"},{"name":"Monitor Unit By Serial No","id":"6f7ad446-98ce-478a-bec1-cd4feed03a91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/monitoring/unit/by-serial-no/{{serial_no}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","monitoring","unit","by-serial-no","{{serial_no}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"70e8dbe7-84e7-46d7-96d0-f47ff4c73bc7","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/monitoring/unit/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 26 Apr 2021 15:37:08 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"49"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"uid\": \"5551234567890\",\n        \"unit_id\": 1,\n        \"unit_name\": null,\n        \"vehicle_id\": 1,\n        \"vehicle_reg_no\": \"ABC 123 GP\",\n        \"vehicle_fleet_no\": null,\n        \"vehicle_icon_name\": null,\n        \"vehicle_group_name\": null,\n        \"driver_id\": null,\n        \"token\": \"token\",\n        \"telemetry\": null\n    }\n}"}],"_postman_id":"6f7ad446-98ce-478a-bec1-cd4feed03a91"}],"id":"9350165a-70e8-4bad-ac02-c81ecc241a5f","_postman_id":"9350165a-70e8-4bad-ac02-c81ecc241a5f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Reports","item":[{"name":"Run Vehicle Debrief PDF Report (Detailed)","id":"04af98e9-ec0d-49c0-9464-32fb737debe9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"vehicles\": [\n    {\n      \"id\": 1,\n      \"assigned_as\": \"primary\"\n    }\n  ],\n  \"date_range_type\": \"day\",\n  \"date_range_day\": \"2023-12-06\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/debrief_detailed","description":"<p>Run a detailed debrief/trip report job on a specific vehicle and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","debrief_detailed"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"04af98e9-ec0d-49c0-9464-32fb737debe9"},{"name":"Run Client Fleet Debrief PDF Report (Summary)","id":"89d3cf01-6419-49e5-bb27-1fe388c3f54e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"client_id\": 1,\n  \"vehicles\": [],\n  \"vehicle_groups\": [],\n  \"date_range_type\": \"day\",\n  \"date_range_day\": \"2023-12-06\",\n  \"order_by\": \"reg_date\",\n  \"pdf_options\": \"show_veh_sub\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/debrief_summary","description":"<p>Run a debrief/trip summary report job on a all the vehicles for the specified client and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre><p>Ordery By examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"order_by\": \"reg_date\" // Vehicle Registration, Date\n\"order_by\": \"fleet_date\" // Fleet no., Date\n\n</code></pre><p>PDF Option examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"pdf_options\": \"show_veh_sub\" // Show vehicle sub totals\n\"pdf_options\": \"show_sub_only\" // Show sub totals only\n\"pdf_options\": \"skip_veh_sub\" // Skip vehicle sub totals\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","debrief_summary"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"89d3cf01-6419-49e5-bb27-1fe388c3f54e"},{"name":"Run Vehicle Group Debrief PDF Report (Summary)","id":"74f15974-78ab-4143-a8c8-0dc200f081ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"client_id\": 1,\n  \"vehicle_groups\": [1],\n  \"date_range_type\": \"day\",\n  \"date_range_day\": \"2023-12-06\",\n  \"order_by\": \"reg_date\",\n  \"pdf_options\": \"show_veh_sub\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/debrief_summary","description":"<p>Run a debrief/trip summary report job on a group of vehicles and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","debrief_summary"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"74f15974-78ab-4143-a8c8-0dc200f081ce"},{"name":"Run Vehicle Analysis PDF Report","id":"0685916f-e80e-40b1-8f76-cca881fb6cc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"vehicles\": [\n      { \"id\": 122, \"assigned_as\": \"primary\" }\n  ],\n  \"date_range_type\": \"day\",\n  \"date_range_day\": \"2023-12-06\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/vehicle_analysis","description":"<p>Run a vehicle analysis report job on a vehicle and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","vehicle_analysis"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0685916f-e80e-40b1-8f76-cca881fb6cc7"},{"name":"Run Vehicle Position Log PDF Report","id":"fdfa3d08-6eda-42f1-873f-5b76a17c7fdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"vehicles\": [\n      { \"id\": 1, \"assigned_as\": \"primary\" }\n  ],\n  \"date_range_type\": \"day\",\n  \"time_range_from\": \"00:00:00\",\n  \"time_range_to\": \"23:59:59\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/position_log","description":"<p>Run a Position Log report job on a vehicle and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Note that the `date_range_type` must be set to <code>day</code> for this report.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\"time_range_from\": \"00:00:00\"\n\"time_range_to\": \"23:59:59\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","position_log"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fdfa3d08-6eda-42f1-873f-5b76a17c7fdf"},{"name":"Run Unit Position Log PDF Report","id":"9b1314fa-320c-4ad6-ad07-dfc897c100fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"units\": [1],\n  \"date_range_type\": \"day\",\n  \"time_range_from\": \"00:00:00\",\n  \"time_range_to\": \"23:59:59\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/position_log","description":"<p>Run a Position Log report job on a unit/device and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Note that the <code>date_range_type</code> must be set to <code>day</code> for this report.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\"time_range_from\": \"00:00:00\"\n\"time_range_to\": \"23:59:59\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","position_log"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b1314fa-320c-4ad6-ad07-dfc897c100fc"},{"name":"Run Client Fleet Vehicle Expenditure PDF Report","id":"54856166-3daf-4375-8f2b-9cf2519424ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"client_id\": 1,\n  \"date_range_type\": \"month\",\n  \"date_range_month\": \"2023-12\",\n  \"group_by\": \"vehicle_date\",\n  \"order_by\": \"vehicle_reg_no\",\n  \"pdf_options\": \"show_summary\",\n  \"pdf_charts\": \"show\",\n  \"filters\": {\n      \"expense_category\": [\"fuel\", \"general\", \"installments\"],\n      \"expense_type\": [15, 18],\n      \"tax_deductible\": [\"not_tax_deductable\"]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/vehicle_expenses","description":"<p>Run a Vehicle Expenditure report job on the whole fleet of vehicles for a selected client and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre><p>Group by examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"group_by\": \"vehicle_date\" // Vehicle and invoice date\n\"group_by\": \"invoice_date\" // Invoice date\n\n</code></pre><p>Order By examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"order_by\": \"vehicle_reg_no\"\n\"order_by\": \"vehicle_fleet_no\"\n\n</code></pre><p>PDF Option examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"pdf_options\": \"show_summary\"\n\"pdf_options\": \"show_summary_only\"\n\"pdf_options\": \"no_summary\"\n\n</code></pre><p>PDF Chart examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"pdf_charts\": \"show\"\n\"pdf_charts\": \"dont_show\"\n\n</code></pre><p>Filters:</p>\n<p>The <code>expense_category</code> filters array can be empty or any combination of these values: <code>\"fuel\", \"general\", \"installments\".</code></p>\n<p>The <code>expense_type</code> filter can be an empty array, and if not, contains an array of id's of the various expense types saved under the client.</p>\n<p>The <code>tax_deductable</code> filter can either be empty, <code>\"tax_deductable\"</code> or <code>\"not_tax_deductable\"</code>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","vehicle_expenses"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"54856166-3daf-4375-8f2b-9cf2519424ed"},{"name":"Run Vehicle Expenditure PDF Report","id":"e2f1ecf5-3ca8-48de-9625-6960f138b5c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"client_id\": 2,\n  \"vehicles\": [{\"id\": 1, \"assigned_as\": \"primary\"}, {\"id\": 2, \"assigned_as\": \"primary\"}],\n  \"date_range_type\": \"month\",\n  \"date_range_month\": \"2023-12\",\n  \"group_by\": \"vehicle_date\",\n  \"order_by\": \"vehicle_reg_no\",\n  \"pdf_options\": \"show_summary\",\n  \"pdf_charts\": \"show\",\n  \"filters\": {\n      \"expense_category\": [\"fuel\", \"general\", \"installments\"],\n      \"expense_type\": [15, 18],\n      \"tax_deductible\": [\"not_tax_deductable\"]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/vehicle_expenses","description":"<p>Run a Vehicle Expenditure report job on one or more vehicles for a selected client and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre><p>Group by examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"group_by\": \"vehicle_date\" // Vehicle and invoice date\n\"group_by\": \"invoice_date\" // Invoice date\n\n</code></pre><p>Order By examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"order_by\": \"vehicle_reg_no\"\n\"order_by\": \"vehicle_fleet_no\"\n\n</code></pre><p>PDF Option examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"pdf_options\": \"show_summary\"\n\"pdf_options\": \"show_summary_only\"\n\"pdf_options\": \"no_summary\"\n\n</code></pre><p>PDF Chart examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"pdf_charts\": \"show\"\n\"pdf_charts\": \"dont_show\"\n\n</code></pre><p>Filters:</p>\n<p>The <code>expense_category</code> filters array can be empty or any combination of these values: <code>\"fuel\", \"general\", \"installments\".</code></p>\n<p>The <code>expense_type</code> filter can be an empty array, and if not, contains an array of id's of the various expense types saved under the client.</p>\n<p>The <code>tax_deductable</code> filter can either be empty, <code>\"tax_deductable\"</code> or <code>\"not_tax_deductable\"</code>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","vehicle_expenses"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2f1ecf5-3ca8-48de-9625-6960f138b5c4"},{"name":"Run Vehicle Group Expenditure PDF Report","id":"59f750da-62d9-478f-8b4a-c77274e30945","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"client_id\": 1,\n  \"vehicle_groups\": [1, 2],\n  \"date_range_type\": \"month\",\n  \"date_range_month\": \"2023-12\",\n  \"group_by\": \"vehicle_date\",\n  \"order_by\": \"vehicle_reg_no\",\n  \"pdf_options\": \"show_summary\",\n  \"pdf_charts\": \"show\",\n  \"filters\": {\n      \"expense_category\": [\"fuel\", \"general\", \"installments\"],\n      \"expense_type\": [15, 18],\n      \"tax_deductible\": [\"not_tax_deductable\"]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/vehicle_expenses","description":"<p>Run a Vehicle Expenditure report job on one or more vehicles groups for a selected client and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre><p>Group by examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"group_by\": \"vehicle_date\" // Vehicle and invoice date\n\"group_by\": \"invoice_date\" // Invoice date\n\n</code></pre><p>Order By examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"order_by\": \"vehicle_reg_no\"\n\"order_by\": \"vehicle_fleet_no\"\n\n</code></pre><p>PDF Option examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"pdf_options\": \"show_summary\"\n\"pdf_options\": \"show_summary_only\"\n\"pdf_options\": \"no_summary\"\n\n</code></pre><p>PDF Chart examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"pdf_charts\": \"show\"\n\"pdf_charts\": \"dont_show\"\n\n</code></pre><p>Filters:</p>\n<p>The <code>expense_category</code> filters array can be empty or any combination of these values: <code>\"fuel\", \"general\", \"installments\".</code></p>\n<p>The <code>expense_type</code> filter can be an empty array, and if not, contains an array of id's of the various expense types saved under the client.</p>\n<p>The <code>tax_deductable</code> filter can either be empty, <code>\"tax_deductable\"</code> or <code>\"not_tax_deductable\"</code>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","vehicle_expenses"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"59f750da-62d9-478f-8b4a-c77274e30945"},{"name":"Run Detailed Event PDF Report","id":"441fa712-e50d-450e-bc52-53cbb72a43e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"pool_id\": 1,\n  \"date_range_type\": \"day\",\n  \"time_range_from\": \"00:00:00\",\n  \"time_range_to\": \"23:59:00\",\n  \"order_by\": \"timestamp\",\n  \"sort_order\": \"asc\",\n  \"pdf_options\": \"show_summary\",\n  \"filters\": {\n    \"event_code\": [\n      \"SPEEDING\"\n    ],\n    \"unit_type_code\": [\n      \"teltonika\"\n    ],\n    \"unit_model_code\": [],\n    \"unit_imei\": [],\n    \"unit_serial_no\": [],\n    \"unit_name\": [],\n    \"vehicle_reg_no\": [],\n    \"vehicle_fleet_no\": [],\n    \"driver_name\": [],\n    \"driver_tag_no\": []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/events_pool_detailed","description":"<p>Run a Detailed Event report job on an event pool and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Note that the <code>date_range_type</code> must be set to <code>day</code> for the detailed event report.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\"time_range_from\": \"00:00:00\"\n\"time_range_to\": \"23:59:59\"\n\n</code></pre><p>Order By examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"order_by\": \"vehicle_reg_no\"\n\"order_by\": \"gateway_time\"\n\"order_by\": \"stored_time\"\n\"order_by\": \"event_code\"\n\"order_by\": \"importance\"\n\"order_by\": \"alert_level\"\n\"order_by\": \"vehicle_reg_no\"\n\"order_by\": \"vehicle_fleet_no\"\n\"order_by\": \"driver_name\"\n\"order_by\": \"driver_tag_no\"\n\"order_by\": \"unit_imei\"\n\"order_by\": \"unit_serial_no\"\n\"order_by\": \"unit_name\"\n\"order_by\": \"unit_type_code\"\n\"order_by\": \"unit_model\"\n\n</code></pre><p>Sort Order examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"sort_order\": \"asc\"\n\"sort_order\": \"desc\"\n\n</code></pre><p>PDF Option examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"pdf_options\": \"show_summary\"\n\"pdf_options\": \"show_summary_only\"\n\"pdf_options\": \"no_summary\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","events_pool_detailed"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"441fa712-e50d-450e-bc52-53cbb72a43e8"},{"name":"Run Event Summary PDF Report","id":"0c486565-0ad0-4ec6-9482-c11ebcddea8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"pool_id\": 1,\n  \"date_range_type\": \"month\",\n  \"date_range_month\": \"2023-12\",\n  \"summarize_by\": \"vehicles\",\n  \"order_by\": \"event_code\",\n  \"sort_order\": \"asc\",\n  \"pdf_options\": \"show_summary\",\n  \"filters\": {\n    \"event_code\": [\n      \"SPEEDING\"\n    ],\n    \"unit_type_code\": [\n      \"teltonika\"\n    ],\n    \"unit_model_code\": [],\n    \"unit_imei\": [],\n    \"unit_serial_no\": [],\n    \"unit_name\": [],\n    \"vehicle_reg_no\": [],\n    \"vehicle_fleet_no\": [],\n    \"driver_name\": [],\n    \"driver_tag_no\": []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/events_pool_summary","description":"<p>Run a Summary Event report job on an event pool and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre><p>Order By examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"order_by\": \"vehicle_reg_no\"\n\"order_by\": \"gateway_time\"\n\"order_by\": \"stored_time\"\n\"order_by\": \"event_code\"\n\"order_by\": \"importance\"\n\"order_by\": \"alert_level\"\n\"order_by\": \"vehicle_reg_no\"\n\"order_by\": \"vehicle_fleet_no\"\n\"order_by\": \"driver_name\"\n\"order_by\": \"driver_tag_no\"\n\"order_by\": \"unit_imei\"\n\"order_by\": \"unit_serial_no\"\n\"order_by\": \"unit_name\"\n\"order_by\": \"unit_type_code\"\n\"order_by\": \"unit_model\"\n\n</code></pre><p>Sort Order examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"sort_order\": \"asc\"\n\"sort_order\": \"desc\"\n\n</code></pre><p>PDF Option examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"pdf_options\": \"show_summary\"\n\"pdf_options\": \"show_summary_only\"\n\"pdf_options\": \"no_summary\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","events_pool_summary"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0c486565-0ad0-4ec6-9482-c11ebcddea8d"},{"name":"Run Detailed Unit Operational Status PDF Report","id":"d9998472-98c4-4c66-9a40-d603fb25764a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"partner_id\": null,\n  \"agency_id\": null,\n  \"client_id\": 2,\n  \"filters\": {\n    \"comms_status_code\": [],\n    \"unit_type_code\": [],\n    \"unit_model_code\": [],\n    \"unit_status_code\": []\n  },\n  \"order_by\": \"partner_name,agency_name,client_name,!local_time\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/status_units_detailed","description":"<p>Run a Detailed Unit Operationl Status report job and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>If no <code>partner_id</code>, <code>agency_id</code> or <code>client_id</code> is provided or these three fields are <code>null</code>, then the report will return with all the accessable units available to the user.</p>\n<p>If only a <code>partner_id</code> is provided, then all the units of that partner is returned.</p>\n<p>If an <code>agency_id</code> is provided and no <code>client_id</code>, then all the units of that agency will be returned.</p>\n<p>If only a <code>client_id</code> is provided, then all the units of that client will be returned.</p>\n<p>The <code>comms_status_code</code> filter can be any one or combination of the following:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"comms_status_code\": [\"active\"]\n\"comms_status_code\": [\"inactive\"]\n\"comms_status_code\": [\"offline\"]\n\"comms_status_code\": [\"never\"]\n\n</code></pre><p>For example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"comms_status_code\": [\"active\", \"offline\"]\n\n</code></pre><p>Please contact us for a list of <code>unit_type_code</code>, <code>unit_model_code</code> and <code>unit_status_code</code> codes:</p>\n<p>Order By examples:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"order_by\": \"vehicle_reg_no\"\n\"order_by\": \"partner_name,agency_name,client_name,!local_time\"  // Client, GPS Timestamp\n\"order_by\": \"partner_name,agency_name,client_name,comms_status_code\" // Client, Comms Status\n\"order_by\": \"!local_time\" // GPS Timestamp (descending order)\n\"order_by\": \"comms_status_code\" // Comms status code\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","status_units_detailed"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9998472-98c4-4c66-9a40-d603fb25764a"},{"name":"Run Unit Communications Status Summary PDF Report","id":"2013ac9c-7806-4be4-b484-c6191c5f710c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"partner_id\": null,\n  \"agency_id\": null,\n  \"client_id\": 1,\n  \"filters\": {\n    \"comms_status_code\": [],\n    \"unit_type_code\": [],\n    \"unit_model_code\": [],\n    \"unit_status_code\": []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/status_units_summary","description":"<p>Run a Unit Communication Status Summary report job and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>If no <code>partner_id</code>, <code>agency_id</code> or <code>client_id</code> is provided or these three fields are <code>null</code>, then the report will return with all the accessable units available to the user.</p>\n<p>If only a <code>partner_id</code> is provided, then all the units of that partner is returned.</p>\n<p>If an <code>agency_id</code> is provided and no <code>client_id</code>, then all the units of that agency will be returned.</p>\n<p>If only a <code>client_id</code> is provided, then all the units of that client will be returned.</p>\n<p>The <code>comms_status_code</code> filter can be any one or combination of the following:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"comms_status_code\": [\"active\"]\n\"comms_status_code\": [\"inactive\"]\n\"comms_status_code\": [\"offline\"]\n\"comms_status_code\": [\"never\"]\n\n</code></pre><p>For example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"comms_status_code\": [\"active\", \"offline\"]\n\n</code></pre><p>Please contact us for a list of <code>unit_type_code</code>, <code>unit_model_code</code> and <code>unit_status_code</code> codes:</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","status_units_summary"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2013ac9c-7806-4be4-b484-c6191c5f710c"},{"name":"Get Report Status","id":"76a6a271-9f21-44d3-819c-5f151a3ed47a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/reports/status[/{type}]","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","status[","{type}]"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"76a6a271-9f21-44d3-819c-5f151a3ed47a"},{"name":"Get Report By Id","id":"174fe4e2-dd07-463f-91a3-933e007343ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/reports/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"174fe4e2-dd07-463f-91a3-933e007343ba"},{"name":"Reports Options","id":"0dedd484-3e67-41dd-8671-754132d915f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/reports/1/options","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","1","options"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0dedd484-3e67-41dd-8671-754132d915f6"}],"id":"222555f2-2b39-41fe-a57c-9646d61a8e90","_postman_id":"222555f2-2b39-41fe-a57c-9646d61a8e90","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Scheduled Reports","item":[{"name":"Vehicle Debrief (Detailed) Report Scheduling","item":[{"name":"Schedule Vehicle Debrief PDF Report (Detailed)","id":"f5fb15e7-0d5f-422a-84fd-cd3c882fc70d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"client_id\": 2,\n  \"enabled\": true,\n  \"vehicles\": [\n    {\n      \"id\": 527,\n      \"assigned_as\": \"primary\"\n    },\n    {\n      \"id\": 662,\n      \"assigned_as\": \"primary\"\n    }\n  ],\n  \"run_interval\": \"weekly\",\n  \"run_time\": \"17:00:00\",\n  \"days_of_week\": [\"monday\", \"wednesday\", \"sunday\"],\n  \"days_of_month\": [],\n  \"period\": \"past_24_hours\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/schedule/debrief_detailed?XDEBUG_SESSION_START=PHPSTORM","description":"<p>Run a detailed debrief/trip report job on a specific vehicle and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","schedule","debrief_detailed"],"host":["{{domain}}"],"query":[{"key":"XDEBUG_SESSION_START","value":"PHPSTORM"}],"variable":[]}},"response":[],"_postman_id":"f5fb15e7-0d5f-422a-84fd-cd3c882fc70d"},{"name":"Update Schedule Vehicle Debrief PDF Report (Detailed)","id":"d779397f-2bee-4837-8383-2323c7e94318","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"client_id\": 2,\n  \"enabled\": true,\n  \"vehicles\": [\n    {\n      \"id\": 527,\n      \"assigned_as\": \"primary\"\n    },\n    {\n      \"id\": 662,\n      \"assigned_as\": \"primary\"\n    },\n    {\n      \"id\": 664,\n      \"assigned_as\": \"primary\"\n    }\n  ],\n  \"run_interval\": \"monthly\",\n  \"run_time\": \"17:00:00\",\n  \"days_of_week\": [],\n  \"days_of_month\": [1, 17, 28],\n  \"period\": \"past_24_hours\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/schedule/debrief_detailed/1?XDEBUG_SESSION_START=PHPSTORM","description":"<p>Run a detailed debrief/trip report job on a specific vehicle and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","schedule","debrief_detailed","1"],"host":["{{domain}}"],"query":[{"key":"XDEBUG_SESSION_START","value":"PHPSTORM"}],"variable":[]}},"response":[],"_postman_id":"d779397f-2bee-4837-8383-2323c7e94318"},{"name":"Get Schedule States for Vehicle Debrief Report (Detailed)","id":"1cae23bf-f8e3-4615-a489-8aa6a2dd085a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/schedule/debrief_detailed/1/status","description":"<p>Run a detailed debrief/trip report job on a specific vehicle and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","schedule","debrief_detailed","1","status"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1cae23bf-f8e3-4615-a489-8aa6a2dd085a"},{"name":"Find Vehicle Debrief Report (Detailed) Schedule","id":"26bf69ad-c94c-40bc-900e-e50fe817e998","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"client_id\": 2,\n  \"vehicles\": [\n    {\n      \"id\": 527,\n      \"assigned_as\": \"primary\"\n    },\n    {\n      \"id\": 662,\n      \"assigned_as\": \"primary\"\n    }\n  ],\n  \"run_interval\": \"daily\",\n  \"run_time\": \"17:00:00\",\n  \"days_of_week\": [],\n  \"days_of_month\": [],\n  \"period\": \"past_24_hours\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/schedule/debrief_detailed","description":"<p>Run a detailed debrief/trip report job on a specific vehicle and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","schedule","debrief_detailed"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"26bf69ad-c94c-40bc-900e-e50fe817e998"}],"id":"721fa617-0429-4ad1-8c21-ff64ce81b3e3","_postman_id":"721fa617-0429-4ad1-8c21-ff64ce81b3e3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Vehicle Debrief (Summary) Report Scheduling","item":[{"name":"Schedule Vehicle Debrief PDF Report (Summary)","id":"49895d02-d6c0-4691-93a3-c2aebad74711","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"client_id\": 2,\n  \"enabled\": true,\n  \"vehicle_groups\": [2, 3, 4],\n  \"run_interval\": \"weekly\",\n  \"run_time\": \"17:00:00\",\n  \"days_of_week\": [\"monday\", \"wednesday\", \"sunday\"],\n  \"days_of_month\": [],\n  \"period\": \"past_24_hours\",\n  \"pdf_options\": \"show_veh_sub\",\n  \"order_by\": \"reg_date\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/schedule/debrief_summary?XDEBUG_SESSION_START=PHPSTORM","description":"<p>Run a detailed debrief/trip report job on a specific vehicle and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","schedule","debrief_summary"],"host":["{{domain}}"],"query":[{"key":"XDEBUG_SESSION_START","value":"PHPSTORM"}],"variable":[]}},"response":[],"_postman_id":"49895d02-d6c0-4691-93a3-c2aebad74711"},{"name":"Update Schedule Vehicle Debrief PDF Report (Summary)","id":"0071b99c-85af-4c72-bcdc-72bbac71782a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"report_mode\": \"pdf\",\n  \"client_id\": 2,\n  \"enabled\": true,\n  \"vehicle_groups\": [2, 3, 5],\n  \"run_interval\": \"weekly\",\n  \"run_time\": \"17:00:00\",\n  \"days_of_week\": [\"monday\", \"wednesday\"],\n  \"days_of_month\": [],\n  \"period\": \"past_24_hours\",\n  \"pdf_options\": \"show_veh_sub\",\n  \"order_by\": \"reg_date\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/reports/schedule/debrief_summary/1?XDEBUG_SESSION_START=PHPSTORM","description":"<p>Run a detailed debrief/trip report job on a specific vehicle and generate a PDF file.</p>\n<p><strong>Important</strong>: This starts a background job which will run asynchronously, and as such the results of the report is not returned immediately. Instead, the front-end can use an SSE connection to get feedback on the report or alternatively poll the report status using the <code>Get Report by Id</code> request.</p>\n<p>Date range example 1:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"day\"\n\"date_range_day\": \"2023-12-06\"\n\n</code></pre><p>Date range example 2:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"month\"\n\"date_range_month\": \"2023-12\"\n\n</code></pre><p>Date range example 3:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"date_range_type\": \"date_range\"\n\"date_range_from\": \"2023-12-01\"\n\"date_range_to\": \"2023-12-06\"\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","reports","schedule","debrief_summary","1"],"host":["{{domain}}"],"query":[{"key":"XDEBUG_SESSION_START","value":"PHPSTORM"}],"variable":[]}},"response":[],"_postman_id":"0071b99c-85af-4c72-bcdc-72bbac71782a"}],"id":"43179b73-68e5-4fd0-9534-2ca080f2a9af","_postman_id":"43179b73-68e5-4fd0-9534-2ca080f2a9af","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}}],"id":"5edfd4e0-3b85-4212-93b0-3cc81ee2bc7b","_postman_id":"5edfd4e0-3b85-4212-93b0-3cc81ee2bc7b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Dashboards","item":[{"name":"Get Widget Create From Data","id":"bcfa1462-7cc6-473b-8b0f-90ece3bd6c8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/widgets/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","widgets","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bcfa1462-7cc6-473b-8b0f-90ece3bd6c8e"},{"name":"Get Widget Edit Form Data","id":"90be1674-07b5-4c76-9fed-1544d8f5e74c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/widgets/1/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","widgets","1","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"31a55695-a85e-4086-bdf9-852b1b5199dd","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/widgets/1/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:07:53 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"X-RateLimit-Reset","value":"33"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"dashboard_id\": 1,\n        \"widget_order\": 0,\n        \"type\": \"fleet_top_dist\",\n        \"name\": \"Top Distances Travelled\",\n        \"options\": {\n            \"limit\": 10,\n            \"period\": \"today\",\n            \"client_id\": 1,\n            \"client_name\": \"Client Name\",\n            \"vehicle_group_id\": null,\n            \"vehicle_group_name\": null\n        }\n    }\n}"}],"_postman_id":"90be1674-07b5-4c76-9fed-1544d8f5e74c"},{"name":"Get a Dashboard Widget","id":"b2ca164a-b120-413b-b1e7-34c25be8b4ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/widgets/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","widgets","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"175467c7-f502-4611-9ca9-5267704a0d42","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/widgets/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:08:22 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"X-RateLimit-Reset","value":"4"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"dashboard_id\": 1,\n        \"widget_order\": 0,\n        \"type\": \"fleet_top_dist\",\n        \"name\": \"Top Distances Travelled\",\n        \"options\": {\n            \"limit\": 10,\n            \"period\": \"today\",\n            \"client_id\": 1,\n            \"client_name\": \"Client Name\",\n            \"vehicle_group_id\": null,\n            \"vehicle_group_name\": null\n        }\n    }\n}"}],"_postman_id":"b2ca164a-b120-413b-b1e7-34c25be8b4ff"},{"name":"Dashboards Widgets Listing","id":"c365e58b-e357-40e5-956f-70278a568357","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/1/widgets/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","1","widgets","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"924ee501-f23b-4a0b-8e6b-ffb1f1e7913f","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/1/widgets/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:09:10 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Top Distances Travelled\"\n        }\n    ]\n}"}],"_postman_id":"c365e58b-e357-40e5-956f-70278a568357"},{"name":"Find Dashboard Widgets","id":"78089c20-6ddf-426a-a94c-0d1b9faa3e18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/1/widgets","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","1","widgets"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0d7da25d-bc27-4856-a570-8634438c2735","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/1/widgets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:09:29 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"41"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"dashboard_id\": 1,\n            \"widget_order\": 0,\n            \"type\": \"fleet_top_dist\",\n            \"name\": \"Top Distances Travelled\",\n            \"options\": {\n                \"limit\": 10,\n                \"period\": \"today\",\n                \"client_id\": 1,\n                \"client_name\": \"Client Name\",\n                \"vehicle_group_id\": null,\n                \"vehicle_group_name\": null\n            }\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"78089c20-6ddf-426a-a94c-0d1b9faa3e18"},{"name":"Add Dashboard Widget","id":"04312754-bbfc-4b4f-ae52-a50953ca35e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Fleet: Top Distances Travelled\",\n    \"type\": \"fleet_top_dist\",\n    \"client_id\": 1,\n    \"period\": \"today\",\n    \"limit\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/dashboards/1/widgets","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","1","widgets"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"933c2491-8726-4e20-8b95-3bc600e4d54e","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Fleet: Top Distances Travelled\",\n    \"type\": \"fleet_top_dist\",\n    \"client_id\": 1,\n    \"period\": \"today\",\n    \"limit\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/dashboards/1/widgets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:06:09 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"X-RateLimit-Reset","value":"4"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Added Widget: Fleet: Top Distances Travelled\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"dashboard_id\": 1,\n        \"widget_order\": 0,\n        \"type\": \"fleet_top_dist\",\n        \"name\": \"Fleet: Top Distances Travelled\",\n        \"options\": {\n            \"limit\": 10,\n            \"period\": \"today\",\n            \"client_id\": 1,\n            \"client_name\": \"Client Name\",\n            \"vehicle_group_id\": null,\n            \"vehicle_group_name\": null\n        }\n    }\n}"}],"_postman_id":"04312754-bbfc-4b4f-ae52-a50953ca35e5"},{"name":"Update Dashboard Widget","id":"bea5756c-7357-44eb-b4de-2ec69825c530","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Top Distances Travelled\",\n    \"type\": \"fleet_top_dist\",\n    \"client_id\": 1,\n    \"period\": \"today\",\n    \"limit\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/dashboards/widgets/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","widgets","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"c1358d26-b257-4720-b3d7-ac3ed493139e","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Top Distances Travelled\",\n    \"type\": \"fleet_top_dist\",\n    \"client_id\": 1,\n    \"period\": \"today\",\n    \"limit\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/dashboards/widgets/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:07:26 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated Widget: Top Distances Travelled\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"dashboard_id\": 1,\n        \"widget_order\": 0,\n        \"type\": \"fleet_top_dist\",\n        \"name\": \"Top Distances Travelled\",\n        \"options\": {\n            \"limit\": 10,\n            \"period\": \"today\",\n            \"client_id\": 1,\n            \"client_name\": \"Client Name\",\n            \"vehicle_group_id\": null,\n            \"vehicle_group_name\": null\n        }\n    }\n}"}],"_postman_id":"bea5756c-7357-44eb-b4de-2ec69825c530"},{"name":"Delete Dashboard Widget","id":"5f1f0a6e-7f57-4841-b555-9615668f2150","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/widgets/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","widgets","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"d6932ad2-871a-418b-b4cd-9155d331f4b0","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/widgets/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:09:54 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"X-RateLimit-Reset","value":"16"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted Widget: Top Distances Travelled\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"dashboard_id\": 1,\n        \"widget_order\": 0,\n        \"type\": \"fleet_top_dist\",\n        \"name\": \"Top Distances Travelled\",\n        \"options\": {\n            \"limit\": 10,\n            \"period\": \"today\",\n            \"client_id\": 1,\n            \"client_name\": \"Client Name\",\n            \"vehicle_group_id\": null,\n            \"vehicle_group_name\": null\n        }\n    }\n}"}],"_postman_id":"5f1f0a6e-7f57-4841-b555-9615668f2150"},{"name":"Get First Dashboard","id":"4ae0de16-44fe-4c9c-b601-a4377e430ff9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/first","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","first"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"e1ebfc8b-7ef6-417b-ab90-da8dd2f00d42","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/first"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 09:19:25 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 6,\n        \"name\": \"My Dashboard\",\n        \"created_at\": \"2021-04-07T09:46:59+02:00\",\n        \"updated_at\": null,\n        \"widgets\": []\n    }\n}"}],"_postman_id":"4ae0de16-44fe-4c9c-b601-a4377e430ff9"},{"name":"Get Active Dashboard","id":"8ccdb02b-4bed-40e3-aa4d-cacbce3aab86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/active","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","active"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"5c7550fc-c33e-49f1-8b6b-5f6f850b1971","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/active"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 09:20:34 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 6,\n        \"name\": \"My Dashboard\",\n        \"created_at\": \"2021-04-07T09:46:59+02:00\",\n        \"updated_at\": null,\n        \"widgets\": []\n    }\n}"}],"_postman_id":"8ccdb02b-4bed-40e3-aa4d-cacbce3aab86"},{"name":"Dashboard Lisitng","id":"f04e9103-31ba-40eb-a4a2-473eb4e8bd59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"847e5409-2483-4b9d-b240-20ba4cc70eba","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 09:21:55 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 6,\n            \"name\": \"My Dashboard\"\n        }\n    ]\n}"}],"_postman_id":"f04e9103-31ba-40eb-a4a2-473eb4e8bd59"},{"name":"Get Dashboards Create Form Data","id":"c7fcaeb8-8e65-4be3-a3cc-350701196254","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7fcaeb8-8e65-4be3-a3cc-350701196254"},{"name":"Get Dashboards Edit Form Data","id":"145801b5-94d5-4f0a-b6a5-b469fde70232","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/1/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","1","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"a7fcd1ee-e88d-4110-8038-afaeb31a572e","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/1/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 09:40:29 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"18"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"My Dashboard\",\n        \"created_at\": \"2021-04-07T09:46:59+02:00\",\n        \"updated_at\": null,\n        \"widgets\": []\n    }\n}"}],"_postman_id":"145801b5-94d5-4f0a-b6a5-b469fde70232"},{"name":"Get a Dashboard","id":"bf4b8ec4-1e15-4cd0-a4db-53964d65ba2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"2a1634aa-0028-490d-944c-fdc36c027b7a","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 09:41:43 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"My Dashboard\",\n        \"created_at\": \"2021-04-07T09:46:59+02:00\",\n        \"updated_at\": null,\n        \"widgets\": []\n    }\n}"}],"_postman_id":"bf4b8ec4-1e15-4cd0-a4db-53964d65ba2e"},{"name":"Add Dashboard","id":"d56c41f6-a515-4c8d-8fd1-b259986f7393","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Dashboard\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/dashboards","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8beedbfa-9ba0-42a6-93eb-26e9f50bf05e","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Created Dashboard\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/dashboards"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 09:53:21 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"X-RateLimit-Reset","value":"36"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created Dashboard: My Dashboard\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"My Dashboard\",\n        \"created_at\": \"2021-04-28T11:53:21+02:00\",\n        \"updated_at\": null,\n        \"widgets\": []\n    }\n}"}],"_postman_id":"d56c41f6-a515-4c8d-8fd1-b259986f7393"},{"name":"Update Dashboard","id":"a6a00014-2cbc-4a60-920b-294f9e7f1ad0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"name\": \"New Dashboard\",\n    \"created_at\": \"2021-04-07T09:46:59+02:00\",\n    \"updated_at\": null,\n    \"widgets\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/dashboards/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"a6c8fb05-6792-48a3-b417-6a42520d6919","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"name\": \"New Dashboard\",\n    \"created_at\": \"2021-04-07T09:46:59+02:00\",\n    \"updated_at\": null,\n    \"widgets\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/dashboards/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 09:43:24 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated Dashboard: My Dashboard\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"My Dashboard\",\n        \"created_at\": \"2021-04-07T09:46:59+02:00\",\n        \"updated_at\": \"2021-04-28T11:43:24+02:00\",\n        \"widgets\": []\n    }\n}"}],"_postman_id":"a6a00014-2cbc-4a60-920b-294f9e7f1ad0"},{"name":"Set Active Dashboards","id":"b11ebbae-bd4a-4dd3-af5c-6d5edb10d0bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/1/active","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","1","active"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"3864481e-d4b9-4b81-8de4-e7d576b24a09","name":"200 OK","originalRequest":{"method":"PUT","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/1/active"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 09:31:34 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Dashboard [My Dashboard] set as the active dashboard\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"My Dashboard\",\n        \"created_at\": \"2021-04-07T09:46:59+02:00\",\n        \"updated_at\": null,\n        \"widgets\": []\n    }\n}"}],"_postman_id":"b11ebbae-bd4a-4dd3-af5c-6d5edb10d0bd"},{"name":"Delete Dashboard","id":"543917eb-c1f4-427f-9bf6-c930f5d762fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","dashboards","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"cafe3720-25ca-40f8-b8b0-698039a884a7","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/dashboards/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 09:51:46 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"46"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted Dashboard: My Dashboard\"\n    ],\n    \"data\": {\n        \"id\": 11,\n        \"name\": \"My Dashboard\",\n        \"created_at\": \"2021-04-28T11:50:54+02:00\",\n        \"updated_at\": null,\n        \"widgets\": []\n    }\n}"}],"_postman_id":"543917eb-c1f4-427f-9bf6-c930f5d762fa"}],"id":"df3388fe-aa00-4bf9-87b9-b1aff675039a","_postman_id":"df3388fe-aa00-4bf9-87b9-b1aff675039a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Drivers","item":[{"name":"Drivers Listing","id":"9f689eeb-df4e-481c-8e7e-0fdd952db3ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"2a95f27b-b452-42ce-952b-6385f83d3e82","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:40:14 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"9"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Driver\"\n        }\n    ]\n}"}],"_postman_id":"9f689eeb-df4e-481c-8e7e-0fdd952db3ef"},{"name":"Drivers Listing By Client","id":"4b8311a6-471b-4ad2-a30b-4c92eb66547e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/listing/by-client/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","listing","by-client","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"588c69a0-e507-44c6-9312-6fa488e8e07c","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/listing/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Dec 2021 13:55:56 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiMzg0ZWEyOGU2M2RmZTNiZWNlYWUxMTc1NjI0N2RhZDciLCJpYXQiOjE2NDA4NzI1NTYsIm5iZiI6MTY0MDg3MjU1NiwiZXhwIjoxNjQwODczMTU2LCJzdWIiOiI0Iiwib2F0IjoxNjQwODY0NjQxfQ.T1Wd3zLbFgD-x-TvV8VWWD6P0KG8xLL5Lp_3kF1zT4Q"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Driver\"\n        }\n    ]\n}"}],"_postman_id":"4b8311a6-471b-4ad2-a30b-4c92eb66547e"},{"name":"Get Drivers Create Form Data","id":"19ad430b-4148-48da-87b3-4236fd1b8bec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"63e3379e-e4b5-4f11-adf9-f5a43dc557c0","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 11:02:31 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Next Partner Name\"\n            }\n        ]\n    }\n}"}],"_postman_id":"19ad430b-4148-48da-87b3-4236fd1b8bec"},{"name":"Get Drivers Edit Form Data","id":"138faf82-877c-4739-9097-f6437691270c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/1/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","1","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"aa653feb-c492-4d7a-b512-c4419a1e4b04","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/1/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 11:04:26 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Driver\",\n        \"contact_no\": null,\n        \"alt_contact_no\": null,\n        \"national_id\": null,\n        \"tag_no\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"drv_license_prev_date\": null,\n        \"drv_license_exp_date\": null,\n        \"pdp_license_prev_date\": null,\n        \"pdp_license_exp_date\": null,\n        \"spc_license_prev_date\": null,\n        \"spc_license_exp_date\": null,\n        \"created_at\": \"2021-04-26T17:35:14+02:00\",\n        \"updated_at\": null,\n        \"notes\": [\n            {\n                \"id\": 1,\n                \"user_id\": 6,\n                \"user_full_name\": \"User\",\n                \"created_at\": \"2021-04-28T12:42:34+02:00\",\n                \"note\": \"This is an additional note.\"\n            }\n        ],\n        \"attachments\": [],\n        \"photos\": [],\n        \"partners\": [\n            {\n                \"id\": 3,\n                \"name\": \"Next Partner Name\"\n            },\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            }\n        ]\n    }\n}"}],"_postman_id":"138faf82-877c-4739-9097-f6437691270c"},{"name":"Get A Driver","id":"c08134f4-124a-482d-affd-02997ed30ece","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"10887443-9fde-403e-ba7f-1cd114bde1a4","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 11:05:32 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Driver\",\n        \"contact_no\": null,\n        \"alt_contact_no\": null,\n        \"national_id\": null,\n        \"tag_no\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"drv_license_prev_date\": null,\n        \"drv_license_exp_date\": null,\n        \"pdp_license_prev_date\": null,\n        \"pdp_license_exp_date\": null,\n        \"spc_license_prev_date\": null,\n        \"spc_license_exp_date\": null,\n        \"created_at\": \"2021-04-26T17:35:14+02:00\",\n        \"updated_at\": null,\n        \"notes\": [\n            {\n                \"id\": 1,\n                \"user_id\": 6,\n                \"user_full_name\": \"User\",\n                \"created_at\": \"2021-04-28T12:42:34+02:00\",\n                \"note\": \"This is an additional note.\"\n            }\n        ],\n        \"attachments\": [],\n        \"photos\": []\n    }\n}"}],"_postman_id":"c08134f4-124a-482d-affd-02997ed30ece"},{"name":"Find Drivers","id":"919059bc-2943-47e0-be04-b6e3f0d77d52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"a3839e99-0794-4a10-a7d3-aac6e7ea3d4e","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 11:07:23 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Driver\",\n            \"contact_no\": null,\n            \"alt_contact_no\": null,\n            \"national_id\": null,\n            \"tag_no\": null,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency\": null,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client Name\"\n            },\n            \"drv_license_prev_date\": null,\n            \"drv_license_exp_date\": null,\n            \"pdp_license_prev_date\": null,\n            \"pdp_license_exp_date\": null,\n            \"spc_license_prev_date\": null,\n            \"spc_license_exp_date\": null,\n            \"created_at\": \"2021-04-26T17:35:14+02:00\",\n            \"updated_at\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"919059bc-2943-47e0-be04-b6e3f0d77d52"},{"name":"Add Driver Note","id":"b2dde899-6c98-47a5-b0fd-3b411c021588","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"note\": \"This is an additional note.\"\n}"},"url":"{{http}}://{{domain}}/api/v1/drivers/1/note","description":"<p>This request add's an additional text note to the partner.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","1","note"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0c6b8aff-cb72-4188-a7b9-c34d0c0f9ab8","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{bearer}}"}],"body":{"mode":"raw","raw":"{\n    \"note\": \"This is an additional note.\"\n}"},"url":"{{http}}://{{domain}}/api/v1/drivers/1/note"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:42:34 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Note added successfully\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User\",\n        \"created_at\": \"2021-04-28T12:42:34+02:00\",\n        \"note\": \"This is an additional note.\"\n    }\n}"}],"_postman_id":"b2dde899-6c98-47a5-b0fd-3b411c021588"},{"name":"Add Drivers Attachment","id":"e12f9223-0774-4341-bf39-fb2b54d1a3f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Photo of a male.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers/1/attachment","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","1","attachment"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"ecb1d69d-f20d-4148-be42-742df81d9faf","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Photo of a male.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers/1/attachment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:47:00 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"53"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Attachment Added Successfully: Photo of a male.\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User\",\n        \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n        \"type\": \"image/jpeg\",\n        \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n        \"description\": \"Photo of a male.\",\n        \"size_bytes\": 49996,\n        \"created_at\": \"2021-04-28T12:47:00+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"e12f9223-0774-4341-bf39-fb2b54d1a3f0"},{"name":"Update an Drivers Attachment","id":"8b8d7360-4fdf-4c32-aeae-ff4a9a884f16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Example of description.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers/1/attachment/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","1","attachment","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"d02843a7-b90f-4d3f-b936-d5bb72566b92","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Example of description.\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n    \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n    \"type\": \"image/jpeg\",\n    \"size_bytes\": \"49996\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers/1/attachment/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:47:32 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"X-RateLimit-Reset","value":"21"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Attachment Updated Successfully: Example of description.\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User\",\n        \"url\": \"url\",\n        \"type\": \"image/jpeg\",\n        \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n        \"description\": \"Example of description.\",\n        \"size_bytes\": 49996,\n        \"created_at\": \"2021-04-28T12:47:00+02:00\",\n        \"updated_at\": \"2021-04-28T12:47:32+02:00\"\n    }\n}"}],"_postman_id":"8b8d7360-4fdf-4c32-aeae-ff4a9a884f16"},{"name":"Delete a Drivers Attachment","id":"559cd3d9-971d-45bb-b25b-7e1296d7d529","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/1/attachment/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","1","attachment","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"e24cf909-b877-4a6b-80e2-d12be8849ce5","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/1/attachment/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:48:04 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Attachment Deleted Successfully: Example of description.\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 6,\n        \"user_full_name\": \"User\",\n        \"url\": \"url\",\n        \"type\": \"image/jpeg\",\n        \"filename\": \"ImageUploadedByStudent Room1423427330.876261.jpg\",\n        \"description\": \"Example of description.\",\n        \"size_bytes\": 49996,\n        \"created_at\": \"2021-04-28T12:47:00+02:00\",\n        \"updated_at\": \"2021-04-28T12:47:32+02:00\"\n    }\n}"}],"_postman_id":"559cd3d9-971d-45bb-b25b-7e1296d7d529"},{"name":"Add Driver Photo","id":"a581df0c-859c-4364-be71-ff2bdfebc517","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n    \"size_bytes\": 181589,\n    \"type\": \"photo\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers/1/photo","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","1","photo"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"c66ff5f8-6502-48ff-b626-0908b0e2daa4","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n    \"size_bytes\": 181589,\n    \"type\": \"photo\",\n    \"url\": \"https://cdn.filestackcontent.com/K41aOVsjQTqe4zquiM8V\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers/1/photo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:54:26 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Photo Added Successfully\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\",\n        \"type\": \"photo\",\n        \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n        \"size_bytes\": 181589,\n        \"created_at\": \"2021-04-28T12:54:26+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"a581df0c-859c-4364-be71-ff2bdfebc517"},{"name":"Update Driver Photo","id":"296ad6a0-93fc-4567-a813-ccc3251f6d72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n    \"size_bytes\": 181589,\n    \"type\": \"photo\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers/1/photo/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","1","photo","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0c0d853b-c69b-46bc-ab84-c681a03e2800","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n    \"size_bytes\": 181589,\n    \"type\": \"photo\",\n    \"url\": \"https://cdn.filestackcontent.com/WMhxnfNPRWoUpjBtc1wQ\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers/1/photo/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:58:14 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Photo Updated Successfully\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"url\": \"url\",\n        \"type\": \"photo\",\n        \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n        \"size_bytes\": 181589,\n        \"created_at\": \"2021-04-28T12:54:26+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"296ad6a0-93fc-4567-a813-ccc3251f6d72"},{"name":"Delete Driver Photo","id":"d6e02ce0-8951-44d8-b0af-234e46e9c538","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"units/1/photo/1\",\n    \"data\": {\n        \"id\": 1,\n        \"url\": \"https://cdn.filestackcontent.com/jkiL9DMgSKyI6zCUvBjU\",\n        \"type\": \"photo\",\n        \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n        \"size_bytes\": 181589,\n        \"created_at\": \"2021-04-23T09:08:00+02:00\",\n        \"updated_at\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers/1/photo/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","1","photo","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"12a9e0f9-7283-4072-a1fd-e10dccfe7c29","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"units/1/photo/1\",\n    \"data\": {\n        \"id\": 1,\n        \"url\": \"https://cdn.filestackcontent.com/jkiL9DMgSKyI6zCUvBjU\",\n        \"type\": \"photo\",\n        \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n        \"size_bytes\": 181589,\n        \"created_at\": \"2021-04-23T09:08:00+02:00\",\n        \"updated_at\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers/1/photo/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 10:59:06 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"8"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Photo Deleted Successfully\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"url\": \"url\",\n        \"type\": \"photo\",\n        \"filename\": \"photo_2019-09-08_10-04-01.jpg\",\n        \"size_bytes\": 181589,\n        \"created_at\": \"2021-04-28T12:54:26+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"d6e02ce0-8951-44d8-b0af-234e46e9c538"},{"name":"Update Existing Driver","id":"b8cd26a7-2dbf-4986-b512-8938252a65b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"name\": \"Driver\",\n    \"contact_no\": \"555 123 4567\",\n    \"alt_contact_no\": \"\",\n    \"national_id\": \"\",\n    \"tag_no\": \"\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"drv_license_exp_date\": \"\",\n    \"drv_license_prev_date\": \"\",\n    \"pdp_license_exp_date\": \"\",\n    \"pdp_license_prev_date\": \"\",\n    \"spc_license_exp_date\": \"\",\n    \"spc_license_prev_date\": \"\",\n    \"photos\": [],\n    \"attachments\": [],\n    \"notes\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"6e096ae4-2840-40c3-9cc6-fbcc9000bb3d","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"name\": \"Driver\",\n    \"contact_no\": \"555 123 4567\",\n    \"alt_contact_no\": \"\",\n    \"national_id\": \"\",\n    \"tag_no\": \"\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"drv_license_exp_date\": \"\",\n    \"drv_license_prev_date\": \"\",\n    \"pdp_license_exp_date\": \"\",\n    \"pdp_license_prev_date\": \"\",\n    \"spc_license_exp_date\": \"\",\n    \"spc_license_prev_date\": \"\",\n    \"photos\": [],\n    \"attachments\": [],\n    \"notes\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 11:14:11 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated Driver: Driver\"\n    ],\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"Driver\",\n        \"contact_no\": \"555 123 4567\",\n        \"alt_contact_no\": null,\n        \"national_id\": null,\n        \"tag_no\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"drv_license_prev_date\": null,\n        \"drv_license_exp_date\": null,\n        \"pdp_license_prev_date\": null,\n        \"pdp_license_exp_date\": null,\n        \"spc_license_prev_date\": null,\n        \"spc_license_exp_date\": null,\n        \"created_at\": \"2021-04-28T13:12:30+02:00\",\n        \"updated_at\": \"2021-04-28T13:14:11+02:00\",\n        \"notes\": [],\n        \"attachments\": [],\n        \"photos\": []\n    }\n}"}],"_postman_id":"b8cd26a7-2dbf-4986-b512-8938252a65b2"},{"name":"Delete Driver","id":"2e82b1c0-114e-40c9-b6fc-a027c32551c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers","2"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"5a46f7d7-02fa-4bb6-9c0c-19b46e5db662","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/drivers/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 11:15:03 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-RateLimit-Reset","value":"8"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted Driver: Driver\"\n    ],\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"Driver\",\n        \"contact_no\": \"555 123 4567\",\n        \"alt_contact_no\": null,\n        \"national_id\": null,\n        \"tag_no\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"drv_license_prev_date\": null,\n        \"drv_license_exp_date\": null,\n        \"pdp_license_prev_date\": null,\n        \"pdp_license_exp_date\": null,\n        \"spc_license_prev_date\": null,\n        \"spc_license_exp_date\": null,\n        \"created_at\": \"2021-04-28T13:12:30+02:00\",\n        \"updated_at\": \"2021-04-28T13:14:11+02:00\",\n        \"notes\": [],\n        \"attachments\": [],\n        \"photos\": []\n    }\n}"}],"_postman_id":"2e82b1c0-114e-40c9-b6fc-a027c32551c5"},{"name":"Add Driver","id":"599caeea-0019-45a4-9ca1-393bf1ed1489","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"New Driver\",\n    \"contact_no\": \"\",\n    \"alt_contact_no\": \"\",\n    \"national_id\": \"\",\n    \"tag_no\": \"\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"drv_license_exp_date\": \"\",\n    \"drv_license_prev_date\": \"\",\n    \"pdp_license_exp_date\": \"\",\n    \"pdp_license_prev_date\": \"\",\n    \"spc_license_exp_date\": \"\",\n    \"spc_license_prev_date\": \"\",\n    \"photos\": [],\n    \"attachments\": [],\n    \"notes\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","drivers"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"3d46844d-6209-4675-911a-b93265b89c6f","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"New Driver\",\n    \"contact_no\": \"\",\n    \"alt_contact_no\": \"\",\n    \"national_id\": \"\",\n    \"tag_no\": \"\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"drv_license_exp_date\": \"\",\n    \"drv_license_prev_date\": \"\",\n    \"pdp_license_exp_date\": \"\",\n    \"pdp_license_prev_date\": \"\",\n    \"spc_license_exp_date\": \"\",\n    \"spc_license_prev_date\": \"\",\n    \"photos\": [],\n    \"attachments\": [],\n    \"notes\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/drivers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 28 Apr 2021 11:12:31 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-RateLimit-Reset","value":"60"},{"key":"Authorization","value":"token"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created Driver: Driver\"\n    ],\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"Driver\",\n        \"contact_no\": null,\n        \"alt_contact_no\": null,\n        \"national_id\": null,\n        \"tag_no\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"Client Name\"\n        },\n        \"drv_license_prev_date\": null,\n        \"drv_license_exp_date\": null,\n        \"pdp_license_prev_date\": null,\n        \"pdp_license_exp_date\": null,\n        \"spc_license_prev_date\": null,\n        \"spc_license_exp_date\": null,\n        \"created_at\": \"2021-04-28T13:12:30+02:00\",\n        \"updated_at\": null,\n        \"notes\": [],\n        \"attachments\": [],\n        \"photos\": []\n    }\n}"}],"_postman_id":"599caeea-0019-45a4-9ca1-393bf1ed1489"}],"id":"2b29a2c3-5f51-4a0d-95ce-9e663d8dfbfb","_postman_id":"2b29a2c3-5f51-4a0d-95ce-9e663d8dfbfb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Event Profiles","item":[{"name":"Add Event Profile","id":"c7882107-ba64-4b7a-b018-0f6cb483d53b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Destiny Alarms\",\n    \"channel\": \"client\",\n    \"enabled\": true,\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 264,\n    \"event_profile_events\": [\n        {\n            \"id\": null,\n            \"event_code\": \"PANIC\",\n            \"replacement_code\": \"\",\n            \"icon_url\": \"\",\n            \"enabled\": true,\n            \"ticket\": true,\n            \"message\": \"Panic button pressed\",\n            \"color\": \"#FFCDD2\",\n            \"importance\": \"low\",\n            \"alert_level\": 0,\n            \"sound_id\": \"bells\",\n            \"state\": null,\n            \"forwarding\": [],\n            \"data_fields\": [],\n            \"pools\": [\n                9\n            ],\n            \"monitored_pools\": []\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/profiles","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","profiles"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"87d3d664-61ca-45fe-8367-3cf7927a99d5","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Destiny Alarms\",\n    \"channel\": \"client\",\n    \"enabled\": true,\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 264,\n    \"event_profile_events\": [\n        {\n            \"id\": null,\n            \"event_code\": \"PANIC\",\n            \"replacement_code\": \"\",\n            \"icon_url\": \"\",\n            \"enabled\": true,\n            \"ticket\": true,\n            \"message\": \"Panic button pressed\",\n            \"color\": \"#FFCDD2\",\n            \"importance\": \"low\",\n            \"alert_level\": 0,\n            \"sound_id\": \"bells\",\n            \"state\": null,\n            \"forwarding\": [],\n            \"data_fields\": [],\n            \"pools\": [\n                9\n            ],\n            \"monitored_pools\": []\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/profiles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 08:35:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"POST\",\n        \"path\": \"api/v1/events/profiles\",\n        \"args\": {\n            \"name\": \"Destiny Alarms\",\n            \"channel\": \"client\",\n            \"enabled\": true,\n            \"partner_id\": 1,\n            \"agency_id\": null,\n            \"client_id\": 264,\n            \"event_profile_events\": [\n                {\n                    \"id\": null,\n                    \"event_code\": \"PANIC\",\n                    \"replacement_code\": null,\n                    \"icon_url\": null,\n                    \"enabled\": true,\n                    \"ticket\": true,\n                    \"message\": \"Panic button pressed\",\n                    \"color\": \"#FFCDD2\",\n                    \"importance\": \"low\",\n                    \"alert_level\": 0,\n                    \"sound_id\": \"bells\",\n                    \"state\": null,\n                    \"forwarding\": [],\n                    \"data_fields\": [],\n                    \"pools\": [\n                        9\n                    ],\n                    \"monitored_pools\": []\n                }\n            ]\n        }\n    },\n    \"notices\": [\n        \"Created Event Profile: Destiny Alarms\"\n    ],\n    \"data\": {\n        \"id\": 13,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"ACMGroup (Pty) Ltd\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client\": {\n            \"id\": 264,\n            \"name\": \"Acm Dev Client\"\n        },\n        \"channel\": \"client\",\n        \"name\": \"Destiny Alarms\",\n        \"enabled\": true,\n        \"user_id\": 6,\n        \"user_full_name\": \"Admin\",\n        \"created_at\": \"2022-03-25T10:35:34+02:00\",\n        \"updated_at\": null,\n        \"event_profile_events\": [\n            {\n                \"id\": 24,\n                \"event_profile_id\": 13,\n                \"event_code\": \"PANIC\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Panic button pressed\",\n                \"importance\": \"low\",\n                \"alert_level\": 0,\n                \"color\": \"#FFCDD2\",\n                \"sound_id\": \"bells\",\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": true,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": [\n                    {\n                        \"id\": 9,\n                        \"name\": \"Postman Pool\"\n                    }\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"c7882107-ba64-4b7a-b018-0f6cb483d53b"},{"name":"Clone Client Event Profile","id":"ee5e6269-3b22-43b0-860c-88ca65cfa1a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source_event_profile_id\": 1,\n    \"destination_client_id\": 2,\n    \"safe_zone_forward_user_ids\": [10, 18, 22],\n    \"assign_unit_ids\": [100, 101, 102, 103, 104],\n    \"create_new_event_pool\": true,\n    \"event_pool_name\": \"Client Event Pool\",\n    \"event_pool_description\": \"This event pool was created during the cloning test\",\n    \"use_event_pool_id\": null,\n    \"event_profile_name\": \"Newly Cloned Profile\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/profiles/client/clone","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","profiles","client","clone"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"6958bcaf-d95b-4266-8e4d-e25a71d5edff","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Destiny Alarms\",\n    \"channel\": \"client\",\n    \"enabled\": true,\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 264,\n    \"event_profile_events\": [\n        {\n            \"id\": null,\n            \"event_code\": \"PANIC\",\n            \"replacement_code\": \"\",\n            \"icon_url\": \"\",\n            \"enabled\": true,\n            \"ticket\": true,\n            \"message\": \"Panic button pressed\",\n            \"color\": \"#FFCDD2\",\n            \"importance\": \"low\",\n            \"alert_level\": 0,\n            \"sound_id\": \"bells\",\n            \"state\": null,\n            \"forwarding\": [],\n            \"data_fields\": [],\n            \"pools\": [\n                9\n            ],\n            \"monitored_pools\": []\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/profiles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 08:35:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"POST\",\n        \"path\": \"api/v1/events/profiles\",\n        \"args\": {\n            \"name\": \"Destiny Alarms\",\n            \"channel\": \"client\",\n            \"enabled\": true,\n            \"partner_id\": 1,\n            \"agency_id\": null,\n            \"client_id\": 264,\n            \"event_profile_events\": [\n                {\n                    \"id\": null,\n                    \"event_code\": \"PANIC\",\n                    \"replacement_code\": null,\n                    \"icon_url\": null,\n                    \"enabled\": true,\n                    \"ticket\": true,\n                    \"message\": \"Panic button pressed\",\n                    \"color\": \"#FFCDD2\",\n                    \"importance\": \"low\",\n                    \"alert_level\": 0,\n                    \"sound_id\": \"bells\",\n                    \"state\": null,\n                    \"forwarding\": [],\n                    \"data_fields\": [],\n                    \"pools\": [\n                        9\n                    ],\n                    \"monitored_pools\": []\n                }\n            ]\n        }\n    },\n    \"notices\": [\n        \"Created Event Profile: Destiny Alarms\"\n    ],\n    \"data\": {\n        \"id\": 13,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"ACMGroup (Pty) Ltd\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client\": {\n            \"id\": 264,\n            \"name\": \"Acm Dev Client\"\n        },\n        \"channel\": \"client\",\n        \"name\": \"Destiny Alarms\",\n        \"enabled\": true,\n        \"user_id\": 6,\n        \"user_full_name\": \"Admin\",\n        \"created_at\": \"2022-03-25T10:35:34+02:00\",\n        \"updated_at\": null,\n        \"event_profile_events\": [\n            {\n                \"id\": 24,\n                \"event_profile_id\": 13,\n                \"event_code\": \"PANIC\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Panic button pressed\",\n                \"importance\": \"low\",\n                \"alert_level\": 0,\n                \"color\": \"#FFCDD2\",\n                \"sound_id\": \"bells\",\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": true,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": [\n                    {\n                        \"id\": 9,\n                        \"name\": \"Postman Pool\"\n                    }\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"ee5e6269-3b22-43b0-860c-88ca65cfa1a6"},{"name":"Delete Event Profile","id":"e793a332-375a-42d1-9d37-818b4a4d2e4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/events/profiles/17","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","profiles","17"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"e05745e5-4baf-440c-993e-c5ccf06c77ee","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/events/profiles/17"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 09:45:03 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiYjcwODk5M2FiYTk1OWE4MDY5MmNiOTUwMWJiOTdhMmUiLCJpYXQiOjE2NDgyMDE1MDMsIm5iZiI6MTY0ODIwMTUwMywiZXhwIjoxNjQ4MjAyMTAzLCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.7vRmoFFxBdET6il7a8NQA1GfJalBtQ9uGnItV2yThxc"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"DELETE\",\n        \"path\": \"api/v1/events/profiles/17\",\n        \"args\": []\n    },\n    \"notices\": [\n        \"Deleted Event Profile: Destiny Profile\"\n    ],\n    \"data\": {\n        \"id\": 17,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"ACMGroup (Pty) Ltd\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client\": {\n            \"id\": 264,\n            \"name\": \"Acm Dev Client\"\n        },\n        \"channel\": \"client\",\n        \"name\": \"Destiny Profile\",\n        \"enabled\": true,\n        \"user_id\": 6,\n        \"user_full_name\": \"Admin\",\n        \"created_at\": \"2022-03-25T11:44:48+02:00\",\n        \"updated_at\": null,\n        \"event_profile_events\": [\n            {\n                \"id\": 28,\n                \"event_profile_id\": 17,\n                \"event_code\": \"PANIC\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Panic button pressed\",\n                \"importance\": \"low\",\n                \"alert_level\": 0,\n                \"color\": \"#ffffff\",\n                \"sound_id\": null,\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": true,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": [\n                    {\n                        \"id\": 9,\n                        \"name\": \"Alarms\"\n                    }\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"e793a332-375a-42d1-9d37-818b4a4d2e4f"},{"name":"Update Event Profile","id":"74bd7508-1d8e-459c-ad82-7ab551b3f42f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\"id\":166,\"name\":\"Default Event\",\"channel\":\"client\",\"enabled\":true,\"partner_id\":1,\"agency_id\":null,\"client_id\":281}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/profiles/166","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","profiles","166"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"d3449a67-e554-4710-83c3-fb9050353756","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 2,\n    \"name\": \"Alarms 1\",\n    \"channel\": \"client\",\n    \"enabled\": true,\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 236\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/profiles/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 10:11:17 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiZjRmNWY5M2Q1YjdlMjhmMGU0YTJjY2VmOWZiMGQ4NDgiLCJpYXQiOjE2NDgyMDMwNzcsIm5iZiI6MTY0ODIwMzA3NywiZXhwIjoxNjQ4MjAzNjc3LCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.aJ6dOgIMj3NahznDBM32BQys8KY1VxCIvapPP2voDe0"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"PUT\",\n        \"path\": \"api/v1/events/profiles/1\",\n        \"args\": {\n            \"id\": 2,\n            \"name\": \"Alarms 1\",\n            \"channel\": \"client\",\n            \"enabled\": true,\n            \"partner_id\": 1,\n            \"agency_id\": null,\n            \"client_id\": 236\n        }\n    },\n    \"notices\": [\n        \"Updated Event Profile: Alarms 1\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"ACMGroup (Pty) Ltd\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client\": {\n            \"id\": 236,\n            \"name\": \"Mr M\"\n        },\n        \"channel\": \"client\",\n        \"name\": \"Alarms 1\",\n        \"enabled\": true,\n        \"user_id\": 4,\n        \"user_full_name\": \"Admin [Admin]\",\n        \"created_at\": \"2021-09-21T13:46:29+02:00\",\n        \"updated_at\": \"2022-03-25T12:11:17+02:00\",\n        \"event_profile_events\": [\n            {\n                \"id\": 1,\n                \"event_profile_id\": 1,\n                \"event_code\": \"SPEEDING\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Vehicle is speeding\",\n                \"importance\": \"medium\",\n                \"alert_level\": 0,\n                \"color\": \"#1E88E5\",\n                \"sound_id\": null,\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": false,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": [\n                    {\n                        \"id\": 3,\n                        \"name\": \"Control Room\"\n                    }\n                ]\n            },\n            {\n                \"id\": 15,\n                \"event_profile_id\": 1,\n                \"event_code\": \"PANIC:EMERGENCY\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Panic button pressed\",\n                \"importance\": \"low\",\n                \"alert_level\": 0,\n                \"color\": \"#ffffff\",\n                \"sound_id\": null,\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": true,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": []\n            }\n        ]\n    }\n}"}],"_postman_id":"74bd7508-1d8e-459c-ad82-7ab551b3f42f"},{"name":"Find Event Profile","id":"6703b7c8-d997-401d-8a01-4b7c2b9be2dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/profiles?client_id=14","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","profiles"],"host":["{{domain}}"],"query":[{"key":"client_id","value":"14"}],"variable":[]}},"response":[{"id":"bf19c50f-e09c-4924-9c7b-f309224f1ba2","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/profiles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 10:12:41 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiYzk3MzljNmJhZmY5NjI3M2Y3YzZiNTdiMzk2MDMwNTkiLCJpYXQiOjE2NDgyMDMxNjEsIm5iZiI6MTY0ODIwMzE2MSwiZXhwIjoxNjQ4MjAzNzYxLCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.CPff0C3uwF5gS99eShY8p7wRa67igd66EpovAz1P9BE"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"GET\",\n        \"path\": \"api/v1/events/profiles\",\n        \"args\": []\n    },\n    \"data\": [\n        {\n            \"id\": 10,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"ACMGroup (Pty) Ltd\"\n            },\n            \"agency\": {\n                \"id\": null,\n                \"name\": null\n            },\n            \"client\": {\n                \"id\": 264,\n                \"name\": \"Acm Dev Client\"\n            },\n            \"channel\": \"monitored\",\n            \"name\": \"Alarms\",\n            \"enabled\": true,\n            \"user_id\": 6,\n            \"user_full_name\": \"Admin\",\n            \"created_at\": \"2022-03-25T09:50:50+02:00\",\n            \"updated_at\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 11\n    }\n}"}],"_postman_id":"6703b7c8-d997-401d-8a01-4b7c2b9be2dc"},{"name":"Get A Event Profile","id":"d3e96915-af24-4fe8-a9ce-fd1bf86680c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/profiles/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","profiles",""],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"2e558e0a-1778-4ef7-a90a-bf3ec29000ab","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/profiles/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 10:16:29 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiODBiNTVkY2YyZmZmMmQzOGVlYzY1MmVhNTU3YmE4NmQiLCJpYXQiOjE2NDgyMDMzODksIm5iZiI6MTY0ODIwMzM4OSwiZXhwIjoxNjQ4MjAzOTg5LCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.AYvQGnSZuB_YPiKJ62GbMGouZOUFI1bRE9Zy0jQoXtw"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"GET\",\n        \"path\": \"api/v1/events/profiles/1\",\n        \"args\": []\n    },\n    \"data\": {\n        \"event_profile\": {\n            \"id\": 1,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"ACMGroup (Pty) Ltd\"\n            },\n            \"agency\": {\n                \"id\": null,\n                \"name\": null\n            },\n            \"client\": {\n                \"id\": 236,\n                \"name\": \"Mr M\"\n            },\n            \"channel\": \"client\",\n            \"name\": \"Alarms 1\",\n            \"enabled\": true,\n            \"user_id\": 4,\n            \"user_full_name\": \"Admin [Admin]\",\n            \"created_at\": \"2021-09-21T13:46:29+02:00\",\n            \"updated_at\": \"2022-03-25T12:11:17+02:00\",\n            \"event_profile_events\": [\n                {\n                    \"id\": 1,\n                    \"event_profile_id\": 1,\n                    \"event_code\": \"SPEEDING\",\n                    \"replacement_code\": null,\n                    \"enabled\": true,\n                    \"forwarding\": [],\n                    \"message\": \"Vehicle is speeding\",\n                    \"importance\": \"medium\",\n                    \"alert_level\": 0,\n                    \"color\": \"#1E88E5\",\n                    \"sound_id\": null,\n                    \"icon_url\": null,\n                    \"state\": null,\n                    \"ticket\": false,\n                    \"data_fields\": [],\n                    \"monitored_pools\": null,\n                    \"pools\": [\n                        {\n                            \"id\": 3,\n                            \"name\": \"Control Room\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 15,\n                    \"event_profile_id\": 1,\n                    \"event_code\": \"PANIC:EMERGENCY\",\n                    \"replacement_code\": null,\n                    \"enabled\": true,\n                    \"forwarding\": [],\n                    \"message\": \"Panic button pressed\",\n                    \"importance\": \"low\",\n                    \"alert_level\": 0,\n                    \"color\": \"#ffffff\",\n                    \"sound_id\": null,\n                    \"icon_url\": null,\n                    \"state\": null,\n                    \"ticket\": true,\n                    \"data_fields\": [],\n                    \"monitored_pools\": null,\n                    \"pools\": []\n                }\n            ]\n        },\n        \"event_codes\": {\n            \"PANIC\": \"Panic button pressed\",\n            \"PANIC:EMERGENCY\": \"Panic button pressed\",\n            \"SPEEDING\": \"Vehicle is speeding\",\n            \"SPEEDING:START\": \"Vehicle have started speeding\",\n            \"SPEEDING:END\": \"Vehicle is no longer speeding\",\n            \"SPEEDING:START:ZONE\": \"Vehicle have started speeding within a speeding zone\",\n            \"SPEEDING:GRACE\": \"Vehicle is speeding but is being given a grace period\",\n            \"SPEEDING:END:ZONE\": \"Vehicle is no longer speeding within a speeding zone\",\n            \"ZONE:ENTER\": \"Vehicle entered zone\",\n            \"ZONE:EXIT\": \"Vehicle left zone\",\n            \"ZONE:ENTER:x\": \"Vehicle entered zone\",\n            \"ZONE:EXIT:x\": \"Vehicle left zone\",\n            \"ZONE:UNKNOWN_EVENT\": \"An unknown zone event has occurred\",\n            \"IDLING:START\": \"Engine idling started\",\n            \"IDLING:END\": \"Engine idling ended\",\n            \"TOWING:START\": \"Towing started\",\n            \"TOWING:END\": \"Towing ended\",\n            \"PARKING:START\": \"Vehicle is parked\",\n            \"PARKING:END\": \"Vehicle is no longer parked\",\n            \"TRIP:START\": \"Trip started\",\n            \"TRIP:END\": \"Trip ended\",\n            \"TRIP:TYPE:BUSINESS\": \"Active trip type: Business\",\n            \"TRIP:TYPE:PRIVATE\": \"Active trip type: Private\",\n            \"TRIP:TYPE:CUSTOM\": \"Active trip type: Custom\",\n            \"TRIP:UNKNOWN\": \"Active trip type: Unknown\",\n            \"ACC:ON\": \"Ignition on\",\n            \"ACC:OFF\": \"Ignition off\",\n            \"BATTERY:CONNECTED\": \"External battery connected\",\n            \"BATTERY:DISCONNECTED\": \"External battery disconnected\",\n            \"BATTERY:LOW\": \"Battery low\",\n            \"BATTERY:ABNORMAL:EXT\": \"External battery in abnormal condition\",\n            \"BATTERY:OK:EXT\": \"External battery ok\",\n            \"BATTERY:ABNORMAL:INT\": \"Internal battery in abnormal condition\",\n            \"BATTERY:OK:INT\": \"Internal battery ok\",\n            \"BATTERY:CHARGING:INT\": \"Internal battery charging\",\n            \"BATTERY:DISCHARGING:INT\": \"Internal battery discharging\",\n            \"COLLISION\": \"Collision detected\",\n            \"COLLISION:DETECTED\": \"Collision detected\",\n            \"COLLISION:LIMITED_NOCALIB\": \"Collision detected without accelerometer being calibrated\",\n            \"COLLISION:LIMITED_CALIB\": \"Collision detected with accelerometer being calibrated\",\n            \"COLLISION:FULL_NOCALIB\": \"Collision detected without accelerometer being calibrated\",\n            \"COLLISION:FULL_CALIB\": \"Collision detected with accelerometer being calibrated\",\n            \"COLLISION:NOCALIB\": \"Collision detected without accelerometer being calibrated\",\n            \"COLLISION:FRONT\": \"Front side collision detected\",\n            \"COLLISION:REAR\": \"Rear end collision detected\",\n            \"COLLISION:TURN_OVER\": \"Collision detected with vehicle roll-over\",\n            \"HARSH:BRAKING\": \"Harsh braking detected\",\n            \"HARSH:ACCELERATION\": \"Harsh acceleration detected\",\n            \"HARSH:CORNERING\": \"Harsh cornering detected\",\n            \"HARSH:DRIVING\": \"Harsh driving detected\",\n            \"IMMOBILIZER:CONNECTED\": \"Immobilizer connected\",\n            \"IMMOBILIZER:DISCONNECTED\": \"Immobilizer disconnected\",\n            \"IMMOBILIZER:AUTHORIZED\": \"Immobilizer authorized\",\n            \"JAMMING\": \"Signal jamming detected\",\n            \"JAMMING:START\": \"Signal jamming detected\",\n            \"JAMMING:END\": \"Signal jamming no longer active\",\n            \"ALARM\": \"Alarm signal detected\",\n            \"ALARM:ZONE\": \"Zone alarm detected\",\n            \"ALARM:DOOR_OPEN\": \"Door open alarm detected\",\n            \"ALARM:SHOCK\": \"Shock alarm detected\",\n            \"ALARM:ACC\": \"Ignition alarm detected\",\n            \"ALARM:BONNET\": \"Bonnet/hood alarm detected\",\n            \"ALARM:FOOTBRAKE\": \"Foot-brake alarm detected\",\n            \"ALARM:DEVICE:REMOVED\": \"Device removed alarm detected\",\n            \"ALARM:VIBRATION\": \"Vibration alarm detected\",\n            \"ALARM:MOVEMENT:NONE\": \"No movement alarm detected\",\n            \"ALARM:HARDWARE:FAULT\": \"Faulty hardware alarm detected\",\n            \"TAG:ENTERING\": \"Tag entering\",\n            \"TAG:LEAVING\": \"Tag leaving\",\n            \"TAG:RF_PAIRED\": \"Tag RF paired\",\n            \"TAG:RF_PAIRED:NO\": \"Tag not RF paired\",\n            \"TAG:BATTERY:LOW\": \"Tag battery low\",\n            \"TAG:BATTERY:OK\": \"Tag battery ok\",\n            \"OBDII:DTC:YES\": \"OBD-II DTC Enabled\",\n            \"OBDII:DTC:NO\": \"OBD-II DTC Disabled\",\n            \"ENGINE:RPM:HIGH\": \"High engine RPM detected\",\n            \"ENGINE:RPM:OK\": \"High engine RPM recovered\",\n            \"ENGINE:TEMP:HIGH\": \"High engine temperature detected\",\n            \"ENGINE:TEMP:OK\": \"High engine temperature recovered\",\n            \"ENGINE:OIL:CHANGE\": \"Engine oil changed\",\n            \"ENGINE:OIL:OK\": \"Engine oil ok\",\n            \"ENGINE:ON\": \"Engine switched on\",\n            \"ENGINE:OFF\": \"Engine switched off\",\n            \"TIRES:CHANGE\": \"Tires changed\",\n            \"TIRES:OK\": \"Tires ok\",\n            \"SERVICE:DUE\": \"Service due\",\n            \"SERVICE:OK\": \"Service ok\",\n            \"GPS:LOCKED\": \"GPS satellites locked\",\n            \"GPS:TIMEOUT\": \"GPS timeout\",\n            \"GPS:FAULT\": \"GPS fault\",\n            \"CIGAR_LIGHTER:PLUGGED_OUT\": \"Cigar/cigarette lighter plugged out\",\n            \"CIGAR_LIGHTER:PLUGGED_IN\": \"Cigar/cigarette lighter plugged in\",\n            \"AD:OK:x\": \"AD Ok\",\n            \"AD:ABNORMAL:x\": \"AD Abnormal\",\n            \"INPUT:ON:x\": \"Input on\",\n            \"INPUT:OFF:X\": \"Input off\",\n            \"TEMP:LOW\": \"Temperature low\",\n            \"TEMP:HIGH\": \"Temperature high\",\n            \"DIN2_AIN2\": \"DIN-II AIN-II\",\n            \"MANDOWN:ACTIVE\": \"Man-down detected\",\n            \"MANDOWN:INACTIVE\": \"Man-down recovered\",\n            \"INSTANT_MOVE:START\": \"Instant move started\",\n            \"INSTANT_MOVE:END\": \"Instant move ended\",\n            \"FIRST_POSITION\": \"First position\",\n            \"HEALTH_CHECK\": \"Health Check\",\n            \"1WIRE\": \"1-Wire\",\n            \"BALANCE:LOW\": \"Balance low\",\n            \"SLEEP\": \"Sleep\",\n            \"COMBO\": \"Combo\",\n            \"ACCELEROMETER:CALIBRATED\": \"Accelerometer calibrated\",\n            \"DEVICE:REMOVED\": \"Device removed\",\n            \"DEVICE:INSTALLED\": \"Device installed\",\n            \"ARMED:YES\": \"Armed\",\n            \"GYRO_AXIS\": \"Gyro axis\",\n            \"RS232\": \"RS-232 transfer\",\n            \"MOVEMENT:DETECTED\": \"Movement detected\"\n        },\n        \"event_sounds\": {\n            \"air_horn\": \"Air Horn\",\n            \"alien\": \"Alien\",\n            \"alien_pluck\": \"Alien Pluck\",\n            \"bells\": \"Bells\",\n            \"crystal\": \"Chrystal\",\n            \"desk_rings\": \"Desk Rings\",\n            \"digital_alarm\": \"Digital Alarm\",\n            \"drop\": \"Drop\",\n            \"extreme\": \"Extreme\",\n            \"gas_bell\": \"Gas Bell\",\n            \"laser\": \"Laser\",\n            \"laser_reverse\": \"Laser Reverse\",\n            \"pluck\": \"Pluck\",\n            \"reflect\": \"Reflect\",\n            \"repeat\": \"Repeat\"\n        },\n        \"forwarding_defaults\": {\n            \"websentinel\": {\n                \"label\": \"WebSentinel\",\n                \"destination_label\": \"API Key\",\n                \"limit\": {\n                    \"hourly\": {\n                        \"min\": 1,\n                        \"max\": 1000\n                    },\n                    \"daily\": {\n                        \"min\": 1,\n                        \"max\": 1000\n                    }\n                },\n                \"default\": {\n                    \"hourly\": 10,\n                    \"daily\": 100\n                }\n            },\n            \"email\": {\n                \"label\": \"Email\",\n                \"destination_label\": \"Email Address\",\n                \"limit\": {\n                    \"hourly\": {\n                        \"min\": 1,\n                        \"max\": 1000\n                    },\n                    \"daily\": {\n                        \"min\": 1,\n                        \"max\": 1000\n                    }\n                },\n                \"default\": {\n                    \"hourly\": 10,\n                    \"daily\": 100\n                }\n            },\n            \"sms\": {\n                \"label\": \"Sms\",\n                \"destination_label\": \"Cellphone Number\",\n                \"limit\": {\n                    \"hourly\": {\n                        \"min\": 1,\n                        \"max\": 1000\n                    },\n                    \"daily\": {\n                        \"min\": 1,\n                        \"max\": 1000\n                    }\n                },\n                \"default\": {\n                    \"hourly\": 10,\n                    \"daily\": 100\n                }\n            },\n            \"destiny_mobile_app\": {\n                \"label\": \"Destiny Mobile App\",\n                \"destination_label\": \"Api Url\",\n                \"limit\": {\n                    \"hourly\": {\n                        \"min\": 1,\n                        \"max\": 1000\n                    },\n                    \"daily\": {\n                        \"min\": 1,\n                        \"max\": 1000\n                    }\n                },\n                \"default\": {\n                    \"hourly\": 10,\n                    \"daily\": 100\n                }\n            },\n            \"pushover\": {\n                \"label\": \"Pushover\",\n                \"destination_label\": \"User Key\",\n                \"limit\": {\n                    \"hourly\": {\n                        \"min\": 1,\n                        \"max\": 1000\n                    },\n                    \"daily\": {\n                        \"min\": 1,\n                        \"max\": 1000\n                    }\n                },\n                \"default\": {\n                    \"hourly\": 10,\n                    \"daily\": 100\n                }\n            },\n            \"default\": {\n                \"limit\": {\n                    \"hourly\": {\n                        \"min\": 1,\n                        \"max\": 1000\n                    },\n                    \"daily\": {\n                        \"min\": 1,\n                        \"max\": 1000\n                    }\n                },\n                \"default\": {\n                    \"hourly\": 10,\n                    \"daily\": 100\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"d3e96915-af24-4fe8-a9ce-fd1bf86680c5"},{"name":"Event Profiles Client Channel Listing","id":"3f140ba8-394c-4560-986f-8d302fbd9615","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/profiles/client/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","profiles","client","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"ad12ddc2-e4b5-4217-8738-453e4b9ac1c0","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/profiles/client/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 11:02:22 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiY2MzMzdiZGZmM2IwNmI2MWE1MGY5YjdmMDYxMTViOTciLCJpYXQiOjE2NDgyMDYxNDIsIm5iZiI6MTY0ODIwNjE0MiwiZXhwIjoxNjQ4MjA2NzQyLCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.LSxQTZ8tVohpZCWxLOe14ILRvYR8r9txnAR6kviZXf4"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"GET\",\n        \"path\": \"api/v1/events/profiles/client/listing\",\n        \"args\": []\n    },\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Alarms 1\",\n            \"channel\": \"client\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Chris\",\n            \"channel\": \"client\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Test Profile\",\n            \"channel\": \"client\"\n        }\n    ]\n}"}],"_postman_id":"3f140ba8-394c-4560-986f-8d302fbd9615"},{"name":"Event Profiles Monitored Channel Listing","id":"c389a004-a608-4f21-85c2-c01b7dc44e1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/profiles/monitored/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","profiles","monitored","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"94618b64-3549-43d2-976d-7044731f3411","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/profiles/monitored/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 11:49:24 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiZjc1YmVhOTExNjMxNTU5NjgyNDM0MWZjZDZlZmU0YjIiLCJpYXQiOjE2NDgyMDg5NjQsIm5iZiI6MTY0ODIwODk2NCwiZXhwIjoxNjQ4MjA5NTY0LCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.BpcxjfFgeU4zLCZCZhfNaYPa6rp0GUI-ryHDmmzLfKE"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"GET\",\n        \"path\": \"api/v1/events/profiles/monitored/listing\",\n        \"args\": []\n    },\n    \"data\": [\n        {\n            \"id\": 10,\n            \"name\": \"Alarms\",\n            \"channel\": \"monitored\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Monitored\",\n            \"channel\": \"monitored\"\n        }\n    ]\n}"}],"_postman_id":"c389a004-a608-4f21-85c2-c01b7dc44e1f"},{"name":"Add Event Profile Event","id":"d798bef7-5bc4-4077-999b-7c3a679eb7d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"event_code\": \"SPEEDING:START\",\n    \"replacement_code\": \"\",\n    \"icon_url\": \"\",\n    \"enabled\": true,\n    \"ticket\": true,\n    \"message\": \"Vehicle have started speeding\",\n    \"color\": \"#ffffff\",\n    \"importance\": \"low\",\n    \"alert_level\": 0,\n    \"sound_id\": null,\n    \"state\": null,\n    \"forwarding\": [],\n    \"data_fields\": [],\n    \"pools\": [],\n    \"monitored_pools\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/profiles//profile-event","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","profiles","","profile-event"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"dce7988b-950b-465d-9e65-9976753cb788","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"event_code\": \"SPEEDING:START\",\n    \"replacement_code\": \"\",\n    \"icon_url\": \"\",\n    \"enabled\": true,\n    \"ticket\": true,\n    \"message\": \"Vehicle have started speeding\",\n    \"color\": \"#ffffff\",\n    \"importance\": \"low\",\n    \"alert_level\": 0,\n    \"sound_id\": null,\n    \"state\": null,\n    \"forwarding\": [],\n    \"data_fields\": [],\n    \"pools\": [],\n    \"monitored_pools\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/profiles/1/profile-event"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 11:17:27 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiZDgxNDM0NTA1ZTQ5YTU1M2Q1MDUzNzhmZWI1YzgzNjEiLCJpYXQiOjE2NDgyMDcwNDcsIm5iZiI6MTY0ODIwNzA0NywiZXhwIjoxNjQ4MjA3NjQ3LCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.eOngFu_BOTynPzyHqhcyYeXVYG2tOhaU-pOAl_G8bZ8"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"POST\",\n        \"path\": \"api/v1/events/profiles/1/profile-event\",\n        \"args\": {\n            \"id\": null,\n            \"event_code\": \"SPEEDING:START\",\n            \"replacement_code\": null,\n            \"icon_url\": null,\n            \"enabled\": true,\n            \"ticket\": true,\n            \"message\": \"Vehicle have started speeding\",\n            \"color\": \"#ffffff\",\n            \"importance\": \"low\",\n            \"alert_level\": 0,\n            \"sound_id\": null,\n            \"state\": null,\n            \"forwarding\": [],\n            \"data_fields\": [],\n            \"pools\": [],\n            \"monitored_pools\": []\n        }\n    },\n    \"notices\": [\n        \"Created Event Profile Event: SPEEDING:START\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"ACMGroup (Pty) Ltd\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client\": {\n            \"id\": 236,\n            \"name\": \"Mr M\"\n        },\n        \"channel\": \"client\",\n        \"name\": \"Alarms 1\",\n        \"enabled\": true,\n        \"user_id\": 4,\n        \"user_full_name\": \"Admin [Admin]\",\n        \"created_at\": \"2021-09-21T13:46:29+02:00\",\n        \"updated_at\": \"2022-03-25T12:11:17+02:00\",\n        \"event_profile_events\": [\n            {\n                \"id\": 1,\n                \"event_profile_id\": 1,\n                \"event_code\": \"SPEEDING\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Vehicle is speeding\",\n                \"importance\": \"medium\",\n                \"alert_level\": 0,\n                \"color\": \"#1E88E5\",\n                \"sound_id\": null,\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": false,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": [\n                    {\n                        \"id\": 3,\n                        \"name\": \"Control Room\"\n                    }\n                ]\n            },\n            {\n                \"id\": 15,\n                \"event_profile_id\": 1,\n                \"event_code\": \"PANIC:EMERGENCY\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Panic button pressed\",\n                \"importance\": \"low\",\n                \"alert_level\": 0,\n                \"color\": \"#ffffff\",\n                \"sound_id\": null,\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": true,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": []\n            },\n            {\n                \"id\": 29,\n                \"event_profile_id\": 1,\n                \"event_code\": \"SPEEDING:START\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Vehicle have started speeding\",\n                \"importance\": \"low\",\n                \"alert_level\": 0,\n                \"color\": \"#ffffff\",\n                \"sound_id\": null,\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": true,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": []\n            }\n        ]\n    }\n}"}],"_postman_id":"d798bef7-5bc4-4077-999b-7c3a679eb7d2"},{"name":"Updated Event Profile Event","id":"bc9452f0-505e-488b-9d71-278c452ca4a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"event_profile_id\": 1,\n    \"event_code\": \"PANIC\",\n    \"replacement_code\": null,\n    \"enabled\": true,\n    \"forwarding\": [],\n    \"message\": \"Panic button pressed\",\n    \"importance\": \"medium\",\n    \"alert_level\": 0,\n    \"color\": \"#1E88E5\",\n    \"sound_id\": null,\n    \"icon_url\": null,\n    \"state\": null,\n    \"ticket\": false,\n    \"data_fields\": [],\n    \"monitored_pools\": null,\n    \"pools\": [\n        3\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/profiles//profile-event/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","profiles","","profile-event","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"e5dce728-acaf-45e0-9354-4d37cbe014c8","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"event_profile_id\": 1,\n    \"event_code\": \"PANIC\",\n    \"replacement_code\": null,\n    \"enabled\": true,\n    \"forwarding\": [],\n    \"message\": \"Panic button pressed\",\n    \"importance\": \"medium\",\n    \"alert_level\": 0,\n    \"color\": \"#1E88E5\",\n    \"sound_id\": null,\n    \"icon_url\": null,\n    \"state\": null,\n    \"ticket\": false,\n    \"data_fields\": [],\n    \"monitored_pools\": null,\n    \"pools\": [\n        3\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/profiles/1/profile-event/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 11:20:30 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiZDFhY2MwZmQwNTRlNWFlMjExNjgwNDcyN2QzMTVjNjAiLCJpYXQiOjE2NDgyMDcyMzAsIm5iZiI6MTY0ODIwNzIzMCwiZXhwIjoxNjQ4MjA3ODMwLCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.FhBvsVM-nRLiLXJ5p_kw7qGJn-BD6pAiUKK-DWS5DKs"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"PUT\",\n        \"path\": \"api/v1/events/profiles/1/profile-event/1\",\n        \"args\": {\n            \"id\": 1,\n            \"event_profile_id\": 1,\n            \"event_code\": \"PANIC\",\n            \"replacement_code\": null,\n            \"enabled\": true,\n            \"forwarding\": [],\n            \"message\": \"Panic button pressed\",\n            \"importance\": \"medium\",\n            \"alert_level\": 0,\n            \"color\": \"#1E88E5\",\n            \"sound_id\": null,\n            \"icon_url\": null,\n            \"state\": null,\n            \"ticket\": false,\n            \"data_fields\": [],\n            \"monitored_pools\": null,\n            \"pools\": [\n                3\n            ]\n        }\n    },\n    \"notices\": [\n        \"Updated Event Profile Event: PANIC\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"ACMGroup (Pty) Ltd\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client\": {\n            \"id\": 236,\n            \"name\": \"Mr M\"\n        },\n        \"channel\": \"client\",\n        \"name\": \"Alarms 1\",\n        \"enabled\": true,\n        \"user_id\": 4,\n        \"user_full_name\": \"Admin [Admin]\",\n        \"created_at\": \"2021-09-21T13:46:29+02:00\",\n        \"updated_at\": \"2022-03-25T12:11:17+02:00\",\n        \"event_profile_events\": [\n            {\n                \"id\": 1,\n                \"event_profile_id\": 1,\n                \"event_code\": \"PANIC\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Panic button pressed\",\n                \"importance\": \"medium\",\n                \"alert_level\": 0,\n                \"color\": \"#1E88E5\",\n                \"sound_id\": null,\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": false,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": [\n                    {\n                        \"id\": 3,\n                        \"name\": \"Control Room\"\n                    }\n                ]\n            },\n            {\n                \"id\": 15,\n                \"event_profile_id\": 1,\n                \"event_code\": \"PANIC:EMERGENCY\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Panic button pressed\",\n                \"importance\": \"low\",\n                \"alert_level\": 0,\n                \"color\": \"#ffffff\",\n                \"sound_id\": null,\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": true,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": []\n            },\n            {\n                \"id\": 29,\n                \"event_profile_id\": 1,\n                \"event_code\": \"SPEEDING:START\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Vehicle have started speeding\",\n                \"importance\": \"low\",\n                \"alert_level\": 0,\n                \"color\": \"#ffffff\",\n                \"sound_id\": null,\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": true,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": []\n            }\n        ]\n    }\n}"}],"_postman_id":"bc9452f0-505e-488b-9d71-278c452ca4a7"},{"name":"Delete Event Profile Event","id":"25485d46-094b-4340-98c1-17f8c9c6a06e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/events/profiles//profile-event/{{event_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","profiles","","profile-event","{{event_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"e9af0a5f-aad1-470d-97d4-a6b0db2ef81e","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/events/profiles/1/profile-event/29"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 11:22:08 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiOGE4Y2ZkNzkzNDNjNGYyN2QxOTY1MDNmZjViNGRkNzciLCJpYXQiOjE2NDgyMDczMjgsIm5iZiI6MTY0ODIwNzMyOCwiZXhwIjoxNjQ4MjA3OTI4LCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.EaVEGuFTnb4E5Xp_-7tqAB1keJmgF6eu6PAs-b6UwCg"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"DELETE\",\n        \"path\": \"api/v1/events/profiles/1/profile-event/29\",\n        \"args\": []\n    },\n    \"notices\": [\n        \"Deleted Event Profile Event: SPEEDING:START\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"ACMGroup (Pty) Ltd\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client\": {\n            \"id\": 236,\n            \"name\": \"Mr M\"\n        },\n        \"channel\": \"client\",\n        \"name\": \"Alarms 1\",\n        \"enabled\": true,\n        \"user_id\": 4,\n        \"user_full_name\": \"Admin [Admin]\",\n        \"created_at\": \"2021-09-21T13:46:29+02:00\",\n        \"updated_at\": \"2022-03-25T12:11:17+02:00\",\n        \"event_profile_events\": [\n            {\n                \"id\": 1,\n                \"event_profile_id\": 1,\n                \"event_code\": \"PANIC\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Panic button pressed\",\n                \"importance\": \"medium\",\n                \"alert_level\": 0,\n                \"color\": \"#1E88E5\",\n                \"sound_id\": null,\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": false,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": [\n                    {\n                        \"id\": 3,\n                        \"name\": \"Control Room\"\n                    }\n                ]\n            },\n            {\n                \"id\": 15,\n                \"event_profile_id\": 1,\n                \"event_code\": \"PANIC:EMERGENCY\",\n                \"replacement_code\": null,\n                \"enabled\": true,\n                \"forwarding\": [],\n                \"message\": \"Panic button pressed\",\n                \"importance\": \"low\",\n                \"alert_level\": 0,\n                \"color\": \"#ffffff\",\n                \"sound_id\": null,\n                \"icon_url\": null,\n                \"state\": null,\n                \"ticket\": true,\n                \"data_fields\": [],\n                \"monitored_pools\": null,\n                \"pools\": []\n            }\n        ]\n    }\n}"}],"_postman_id":"25485d46-094b-4340-98c1-17f8c9c6a06e"}],"id":"076242bb-d3ef-42c7-b349-9b85ad080e3b","_postman_id":"076242bb-d3ef-42c7-b349-9b85ad080e3b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Gateway Routes","item":[{"name":"Get Gateway Routes Listing","id":"92954563-110f-4225-9eae-5b0de9582359","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gateways/routes/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","gateways","routes","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"6df93ddb-743f-4e4d-9896-2d60e6fc23a2","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gateways/routes/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Dec 2021 11:48:37 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Sample Gateway Route\"\n        }\n    ]\n}"}],"_postman_id":"92954563-110f-4225-9eae-5b0de9582359"},{"name":"Get Gateway Route Create Form Data","id":"189ba8c9-09c4-4c1b-ae0b-546eb0481ff9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gateways/routes/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","gateways","routes","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"982bef1f-60ee-4428-b13d-8f3d7eaba268","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gateways/routes/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Dec 2021 12:01:01 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiYTg2YmY4MzBkOTkwNjUzZTExMzBiM2UyMTIyMzI4YWYiLCJpYXQiOjE2NDA4NjU2NjEsIm5iZiI6MTY0MDg2NTY2MSwiZXhwIjoxNjQwODY2MjYxLCJzdWIiOiI0Iiwib2F0IjoxNjQwODY0NjQxfQ.CaMYdjXtriM58LdLrJ2JaSImQnY0qrI3gRSrokXj_ZU"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Next Partner Name\"\n            }\n        ]\n    }\n}"}],"_postman_id":"189ba8c9-09c4-4c1b-ae0b-546eb0481ff9"},{"name":"Get Gateway Route Edit Form Data","id":"75f9b437-9d5c-44b5-a945-8e18006e0061","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gateways/routes/1/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","gateways","routes","1","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"d88caf47-6647-4a70-8683-17740b28d073","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gateways/routes/1/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Dec 2021 12:05:40 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiNjk3MTlkMjM3MjM4ZmQxZGQ5ZDdkYjFmMjlmOGNlMzIiLCJpYXQiOjE2NDA4NjU5NDAsIm5iZiI6MTY0MDg2NTk0MCwiZXhwIjoxNjQwODY2NTQwLCJzdWIiOiI0Iiwib2F0IjoxNjQwODY0NjQxfQ.2M96KWSVAW7QsewfQY2nSFGYVWF7HjWfAPXrrpvQ8Zo"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Example Gateway Route\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": {\n            \"id\": 1,\n            \"name\": \"Agency Name\"\n        },\n        \"client\": {\n            \"id\": 2,\n            \"name\": \"Client Name\"\n        },\n        \"routes\": [\n            {\n                \"key\": \"gws.gps.001.{identifier}\",\n                \"type\": \"gps\",\n                \"broker\": \"default\"\n            },\n            {\n                \"key\": \"gws.gps.example.{identifier}\",\n                \"type\": \"gps\",\n                \"broker\": \"example\"\n            }\n        ],\n        \"created_at\": \"2021-12-27T14:17:00+02:00\",\n        \"updated_at\": null,\n        \"partners\": [\n            {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Next Partner Name\"\n            }\n        ]\n    }\n}"}],"_postman_id":"75f9b437-9d5c-44b5-a945-8e18006e0061"},{"name":"Get A Gateway Route","id":"8213c073-a7b5-4520-b3a8-0eb7dd80dcde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gateways/routes/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","gateways","routes","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"4e9a9e27-f977-4848-b79c-5e0ca871aa4a","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gateways/routes/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Dec 2021 12:11:31 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiYjZlMTI0ZGVmMDQwNGQxZDg1NThjY2YwMTJhMGUyNTUiLCJpYXQiOjE2NDA4NjYyOTEsIm5iZiI6MTY0MDg2NjI5MSwiZXhwIjoxNjQwODY2ODkxLCJzdWIiOiI0Iiwib2F0IjoxNjQwODY0NjQxfQ.crPa4HtkOSdC60Uy7QAHa-x-wSQ2-cIstrn43DfalIY"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Example Gateway Route\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": {\n            \"id\": 1,\n            \"name\": \"Agency Name\"\n        },\n        \"client\": {\n            \"id\": 2,\n            \"name\": \"Client Name\"\n        },\n        \"routes\": [\n            {\n                \"key\": \"gws.gps.001.{identifier}\",\n                \"type\": \"gps\",\n                \"broker\": \"default\"\n            },\n            {\n                \"key\": \"gws.gps.example.{identifier}\",\n                \"type\": \"gps\",\n                \"broker\": \"example\"\n            }\n        ],\n        \"created_at\": \"2021-12-27T14:17:00+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"8213c073-a7b5-4520-b3a8-0eb7dd80dcde"},{"name":"Find Gateway Routes","id":"51cfc942-2ff6-44e9-b283-cbff989b5656","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gateways/routes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","gateways","routes"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"2f978680-764b-4aed-b682-028bddfe773e","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gateways/routes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Dec 2021 12:18:20 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiMzc5OTNlMDUxODA5MzQ0ODYxYzNhZTEwYWU1YTkyYTciLCJpYXQiOjE2NDA4NjY3MDAsIm5iZiI6MTY0MDg2NjcwMCwiZXhwIjoxNjQwODY3MzAwLCJzdWIiOiI0Iiwib2F0IjoxNjQwODY0NjQxfQ.1f0X0fwgcfKWRCw5-zy88x-lBurN7HpDoOsCkYWN6v4"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Example Gateway Route\",\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner Name\"\n            },\n            \"agency\": null,\n            \"client\": {\n                \"id\": 2,\n                \"name\": \"Client Name\"\n            },\n            \"created_at\": \"2021-12-27T14:17:00+02:00\",\n            \"updated_at\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"51cfc942-2ff6-44e9-b283-cbff989b5656"},{"name":"Update Existing Gateway Route","id":"a70813ff-3dc7-4d62-b36c-7addee434ba0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Example Gateway Route\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"routes\": [\n        {\n            \"key\": \"gws.gps.001.{identifier}\",\n            \"type\": \"gps\",\n            \"broker\": \"default\"\n        },\n        {\n            \"key\": \"gws.gps.example.{identifier}\",\n            \"type\": \"gps\",\n            \"broker\": \"example\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/gateways/routes/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","gateways","routes","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"9a6583df-6100-4db4-a802-ee5a291d85dd","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Gullwing\",\n    \"partner_id\": 1,\n    \"agency_id\": 1,\n    \"client_id\": 2,\n    \"routes\": [\n        {\n            \"key\": \"gws.gps.001.{identifier}\",\n            \"type\": \"gps\",\n            \"broker\": \"default\"\n        },\n        {\n            \"key\": \"gws.gps.gullwing.{identifier}\",\n            \"type\": \"gps\",\n            \"broker\": \"gullwing\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/gateways/routes/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Dec 2021 12:51:47 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiODMxYmM4M2IzMDY1NmEyOGIwZTVhN2E5NmJiOTA3YjUiLCJpYXQiOjE2NDA4Njg3MDcsIm5iZiI6MTY0MDg2ODcwNywiZXhwIjoxNjQwODY5MzA3LCJzdWIiOiI0Iiwib2F0IjoxNjQwODY0NjQxfQ.Tevr0IAotrk2zyv1K5DBWtyDZ0sAUgTKkgRU59lGLVo"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated Gateway Routing Configuration: Example Gateway Route\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Example Gateway Route\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 2,\n            \"name\": \"Client Name\"\n        },\n        \"routes\": [\n            {\n                \"key\": \"gws.gps.001.{identifier}\",\n                \"type\": \"gps\",\n                \"broker\": \"default\"\n            },\n            {\n                \"key\": \"gws.gps.example.{identifier}\",\n                \"type\": \"gps\",\n                \"broker\": \"example\"\n            }\n        ],\n        \"created_at\": \"2021-12-30T14:48:53+02:00\",\n        \"updated_at\": \"2021-12-30T14:51:47+02:00\"\n    }\n}"}],"_postman_id":"a70813ff-3dc7-4d62-b36c-7addee434ba0"},{"name":"Add Gateway Route","id":"61d674f8-5f83-4c8c-906e-e328a0076ef0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Example Gateway Route\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"routes\": [\n        {\n            \"key\": \"gws.gps.001.{identifier}\",\n            \"type\": \"gps\",\n            \"broker\": \"default\"\n        },\n        {\n            \"key\": \"gws.gps.example.{identifier}\",\n            \"type\": \"gps\",\n            \"broker\": \"example\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/gateways/routes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","gateways","routes"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"58e1352f-54e5-4329-8cb2-955114f6f734","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Example Gateway Route\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 1,\n    \"routes\": [\n        {\n            \"key\": \"gws.gps.001.{identifier}\",\n            \"type\": \"gps\",\n            \"broker\": \"default\"\n        },\n        {\n            \"key\": \"gws.gps.example.{identifier}\",\n            \"type\": \"gps\",\n            \"broker\": \"example\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/gateways/routes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Dec 2021 12:48:53 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiMjhlNzdhZmVhYmFkNjQyNjVjMmViM2YxNmM5Y2NjNjUiLCJpYXQiOjE2NDA4Njg1MzMsIm5iZiI6MTY0MDg2ODUzMywiZXhwIjoxNjQwODY5MTMzLCJzdWIiOiI0Iiwib2F0IjoxNjQwODY0NjQxfQ.PgQcGDST2CYxRDi1-3_brwYVTW0wjW0vvTMdu6wDpsE"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created Gateway Routing Configuration: Example Gateway Route\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Example Gateway Route\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": null,\n        \"client\": {\n            \"id\": 2,\n            \"name\": \"Client Name\"\n        },\n        \"routes\": [\n            {\n                \"key\": \"gws.gps.001.{identifier}\",\n                \"type\": \"gps\",\n                \"broker\": \"default\"\n            },\n            {\n                \"key\": \"gws.gps.example.{identifier}\",\n                \"type\": \"gps\",\n                \"broker\": \"example\"\n            }\n        ],\n        \"created_at\": \"2021-12-30T14:48:53+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"61d674f8-5f83-4c8c-906e-e328a0076ef0"},{"name":"Delete Gateway Route","id":"0fd44045-890f-48ad-ab24-d2c03d18aa29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/gateways/routes/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","gateways","routes","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"7bafc9f8-50bd-47b7-ba6b-781132fbdb40","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/gateways/routes/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 30 Dec 2021 12:56:17 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiZDVmOWRiZTAwZDRlMzE4YTU2ZDViY2E5NWI2MmZkMTUiLCJpYXQiOjE2NDA4Njg5NzYsIm5iZiI6MTY0MDg2ODk3NiwiZXhwIjoxNjQwODY5NTc2LCJzdWIiOiI0Iiwib2F0IjoxNjQwODY0NjQxfQ.6TzJs-x5ki9zxBu28Kl2s-G-OM84bMKkOEzDYHbSrZo"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted Gateway Routing Configuration: Example Gateway Route\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Example Gateway Route\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner Name\"\n        },\n        \"agency\": {\n            \"id\": 1,\n            \"name\": \"Agency Name\"\n        },\n        \"client\": {\n            \"id\": 2,\n            \"name\": \"Client Name\"\n        },\n        \"routes\": [\n            {\n                \"key\": \"gws.gps.001.{identifier}\",\n                \"type\": \"gps\",\n                \"broker\": \"default\"\n            },\n            {\n                \"key\": \"gws.gps.example.{identifier}\",\n                \"type\": \"gps\",\n                \"broker\": \"example\"\n            }\n        ],\n        \"created_at\": \"2021-12-27T14:17:00+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"0fd44045-890f-48ad-ab24-d2c03d18aa29"}],"id":"2026fb27-0c43-4958-b511-c2b5ab4858fc","_postman_id":"2026fb27-0c43-4958-b511-c2b5ab4858fc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Event Pools","item":[{"name":"Pool Listing By Client","id":"04f1309c-ea6b-4f95-b0d5-7280920b526f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/pools/listing/by-client/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","pools","listing","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"109eca24-4cae-4218-a854-a8fffe6f53b1","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/pools/listing/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 11:26:42 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiMGVkYzNhMjU4MTkxZTdhZjRjYmJiNDRmNmZhMzcwNjUiLCJpYXQiOjE2NDgyMDc2MDEsIm5iZiI6MTY0ODIwNzYwMSwiZXhwIjoxNjQ4MjA4MjAxLCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ._g8b8lOgyzHglR004vjU1HOZxaxANiktcNQ28AGPYYo"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"GET\",\n        \"path\": \"api/v1/events/pools/listing/by-client/1\",\n        \"args\": []\n    },\n    \"data\": [\n        {\n            \"id\": 7,\n            \"name\": \"Alarms\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Warnings\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Other\"\n        }\n    ]\n}"}],"_postman_id":"04f1309c-ea6b-4f95-b0d5-7280920b526f"},{"name":"Find Pools By Client","id":"a9ed40f5-33cc-49c6-9dd3-4d070547a2f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/pools/by-client/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","pools","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8b7d0e1c-b8b9-422c-876b-e8f532676221","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/pools/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 11:28:27 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiY2ZlZDQ5YTJiODk3MDBjMTljNmY1ODE5NGEzYmNhODkiLCJpYXQiOjE2NDgyMDc3MDcsIm5iZiI6MTY0ODIwNzcwNywiZXhwIjoxNjQ4MjA4MzA3LCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.FqqPSf-Ad7_ceEw4Mzktq-tIL0VY3BwZ3x5tK_YQKbc"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"GET\",\n        \"path\": \"api/v1/events/pools/by-client/1\",\n        \"args\": []\n    },\n    \"data\": [\n        {\n            \"id\": 6,\n            \"name\": \"Alarms\",\n            \"description\": null,\n            \"partner\": {\n                \"id\": 1,\n                \"name\": \"Partner\"\n            },\n            \"agency\": {\n                \"id\": 1,\n                \"name\": \"Agency\"\n            },\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"Client\"\n            },\n            \"user_id\": 6,\n            \"user_full_name\": \"Admin\",\n            \"created_at\": \"2022-03-23T16:27:15+02:00\",\n            \"updated_at\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 3\n    }\n}"}],"_postman_id":"a9ed40f5-33cc-49c6-9dd3-4d070547a2f6"},{"name":"Pools Listing","id":"5acf3821-8f25-4e07-bbca-6ea7ed4019b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/pools/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","pools","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"4fa0a933-59cf-444e-9293-34c8fd323bcd","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/pools/listing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 11:33:47 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiZTg2YTA4NTAzYWJjMzZlZTQzNTg2ODM4OWNlOGU3M2YiLCJpYXQiOjE2NDgyMDgwMjcsIm5iZiI6MTY0ODIwODAyNywiZXhwIjoxNjQ4MjA4NjI3LCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.7UlNxedNyK7cjskSWYQFqCC-Lp9TSpFj1keembi4dUs"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"GET\",\n        \"path\": \"api/v1/events/pools/listing\",\n        \"args\": []\n    },\n    \"data\": [\n        {\n            \"id\": 4,\n            \"name\": \"Chris Pool\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"CLIENT EVENT POOL\"\n        }\n    ]\n}"}],"_postman_id":"5acf3821-8f25-4e07-bbca-6ea7ed4019b5"},{"name":"Find Event Pool","id":"64c6edf5-16cb-416a-8b49-a24cff11ff85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{http}}://{{domain}}/api/v1/events/pools/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","pools","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"aae85d07-7775-41a0-8d46-1fc2af0c5252","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/events/pools/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 11:35:08 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiNDI1MTk0MTkyYWQ4MjE4OTNjZWM2MzA3OTZiNzY2OGIiLCJpYXQiOjE2NDgyMDgxMDgsIm5iZiI6MTY0ODIwODEwOCwiZXhwIjoxNjQ4MjA4NzA4LCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.WMdRGTusIkLGaLfcYandyUF_hC0kNF-q3bz4BaNnGLU"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"GET\",\n        \"path\": \"api/v1/events/pools/1\",\n        \"args\": []\n    },\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"General Event Pool\",\n        \"description\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner\"\n        },\n        \"agency\": {\n            \"id\": 1,\n            \"name\": \"Agency\"\n        },\n        \"client\": {\n            \"id\": 3,\n            \"name\": \"Client\"\n        },\n        \"user_id\": 4,\n        \"user_full_name\": \"Admin [Admin]\",\n        \"created_at\": \"2021-09-21T13:45:29+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"64c6edf5-16cb-416a-8b49-a24cff11ff85"},{"name":"Add Event Pool","id":"0fbbb4e0-4200-4398-80f6-b05c1f5c8968","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Pool test\",\n    \"description\": \"Alarms \",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": {{client_id}}\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/pools","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","pools"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"429d63f9-e92c-47e2-871a-9bf950350fe4","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Alarm Pool\",\n    \"description\": \"Alarms \",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 264\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/pools"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 11:41:36 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiNzA4NzU2YTMyMjE3NTIyOWI5YTQ3MDZkY2Y5NGE2N2QiLCJpYXQiOjE2NDgyMDg0OTYsIm5iZiI6MTY0ODIwODQ5NiwiZXhwIjoxNjQ4MjA5MDk2LCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.6eXxPyFZr5n4f6hV6uRkXwBmUnXVFBgzVFQp4k-C-tY"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"POST\",\n        \"path\": \"api/v1/events/pools\",\n        \"args\": {\n            \"name\": \"Alarm Pool\",\n            \"description\": \"Alarms\",\n            \"partner_id\": 1,\n            \"agency_id\": null,\n            \"client_id\": 264\n        }\n    },\n    \"notices\": [\n        \"Created Event Pool: Alarm Pool\"\n    ],\n    \"data\": {\n        \"id\": 10,\n        \"name\": \"Alarm Pool\",\n        \"description\": \"Alarms\",\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client\": {\n            \"id\": 264,\n            \"name\": \"Client\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"Admin\",\n        \"created_at\": \"2022-03-25T13:41:36+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"0fbbb4e0-4200-4398-80f6-b05c1f5c8968"},{"name":"Update Event Pool","id":"16e343d0-3323-44a2-9917-78b24c93df8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"New Pool Name\",\n    \"description\": \"Generic pool for generic stuff\",\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": {{client_id}}\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/pools/118","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","pools","118"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"52b6b518-1eff-4f08-87b3-4ccd7261aabc","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 9,\n    \"name\": \"Pools\",\n    \"description\": null,\n    \"partner_id\": 1,\n    \"agency_id\": null,\n    \"client_id\": 264\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/events/pools/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 11:44:01 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiYmU5YmI4M2M2NjJhOTY5NjI4OWJiN2FjM2M0ZDNkYzUiLCJpYXQiOjE2NDgyMDg2NDEsIm5iZiI6MTY0ODIwODY0MSwiZXhwIjoxNjQ4MjA5MjQxLCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.s2l1FQdr4sweXqCJ5d80THYSzp-OL7OjXM_tZ9ookc8"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"PUT\",\n        \"path\": \"api/v1/events/pools/1\",\n        \"args\": {\n            \"id\": 1,\n            \"name\": \"Pools\",\n            \"description\": null,\n            \"partner_id\": 1,\n            \"agency_id\": null,\n            \"client_id\": 264\n        }\n    },\n    \"notices\": [\n        \"Updated Event Pool: Pools\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Pools\",\n        \"description\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client\": {\n            \"id\": 264,\n            \"name\": \"Client\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"Admin\",\n        \"created_at\": \"2021-09-21T13:45:29+02:00\",\n        \"updated_at\": \"2022-03-25T13:44:01+02:00\"\n    }\n}"}],"_postman_id":"16e343d0-3323-44a2-9917-78b24c93df8f"},{"name":"Delete Event Pool","id":"18c31a98-e1db-4641-bbff-d57db677cc1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/events/pools/118","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","events","pools","118"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"b32f815c-aaac-4e05-8f37-d60a4e3787d2","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":"{{http}}://{{domain}}/api/v1/events/pools/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 25 Mar 2022 11:46:08 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwianRpIjoiN2ZmYzA5NWQxOWYyMTYzYjI3ZTUyOTQyM2I2OTcwODYiLCJpYXQiOjE2NDgyMDg3NjgsIm5iZiI6MTY0ODIwODc2OCwiZXhwIjoxNjQ4MjA5MzY4LCJzdWIiOiI2Iiwib2F0IjoxNjQ4MTk3MjU4fQ.nrgJRHH9tvZHx3JJ3nWnThNNxz_k4I7OA3iyEstx5KA"}],"cookie":[],"responseTime":null,"body":"{\n    \"debug\": {\n        \"method\": \"DELETE\",\n        \"path\": \"api/v1/events/pools/1\",\n        \"args\": []\n    },\n    \"notices\": [\n        \"Deleted Event Pool: Pools\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Pools\",\n        \"description\": null,\n        \"partner\": {\n            \"id\": 1,\n            \"name\": \"Partner\"\n        },\n        \"agency\": {\n            \"id\": null,\n            \"name\": null\n        },\n        \"client\": {\n            \"id\": 264,\n            \"name\": \"Client\"\n        },\n        \"user_id\": 6,\n        \"user_full_name\": \"Admin\",\n        \"created_at\": \"2021-09-21T13:45:29+02:00\",\n        \"updated_at\": \"2022-03-25T13:44:01+02:00\"\n    }\n}"}],"_postman_id":"18c31a98-e1db-4641-bbff-d57db677cc1d"}],"id":"05f62273-20da-455f-8b4e-ee5a0b6815d4","_postman_id":"05f62273-20da-455f-8b4e-ee5a0b6815d4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"Client Points of Interest","item":[{"name":"POI Listing By Client","id":"a17a4b95-29b4-4983-bcfd-c4b3c3ad55de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/client/poi/listing/by-client/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","client","poi","listing","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"25757a1a-51b0-4989-92b8-9b35c38df253","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/client/poi/listing/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 22 Aug 2023 12:19:33 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjkyNzA2NzczLCJuYmYiOjE2OTI3MDY3NzMsImV4cCI6MTY5MjcwNzM3Mywic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTY5MjcwNjc3M30.JkHV4RkQNtUsZPbfbDr1oZYTfbGlvQfyogS-NXcpF_E"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Main Depot\",\n            \"latitude\": -34.178292,\n            \"longitude\": 19.351919,\n            \"zoom_level\": 13,\n            \"icon\": \"icon.png\",\n            \"color\": null\n        }\n    ]\n}"}],"_postman_id":"a17a4b95-29b4-4983-bcfd-c4b3c3ad55de"},{"name":"Find POI By Client","id":"76da8600-bd41-4764-881e-2d02e7274d84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/client/poi/by-client/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","client","poi","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"2bd3b587-a144-454f-91c5-fb2954e1983c","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/client/poi/by-client/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 22 Aug 2023 12:20:07 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjkyNzA2ODA3LCJuYmYiOjE2OTI3MDY4MDcsImV4cCI6MTY5MjcwNzQwNywic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTY5MjcwNjgwN30.VH4lvOJKKiusTbRK1nyPs6FtS0bjM55gdA7aStpVBsQ"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Main Depot\",\n            \"latitude\": -34.178292,\n            \"longitude\": 19.351919,\n            \"zoom_level\": 13,\n            \"icon\": \"icon.png\",\n            \"color\": null,\n            \"client\": {\n                \"id\": 1,\n                \"name\": \"MERC CARRIERS\"\n            },\n            \"by_user_id\": 4,\n            \"by_full_name\": \"Don Schoeman [Admin]\",\n            \"created_at\": \"2023-08-22T14:19:28+02:00\",\n            \"updated_at\": null\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 30,\n        \"prev_page_url\": null,\n        \"next_page_url\": null,\n        \"first_item\": 1,\n        \"last_item\": 1\n    }\n}"}],"_postman_id":"76da8600-bd41-4764-881e-2d02e7274d84"},{"name":"Get Client POI Create Form Data","id":"05af74b0-2737-4ec6-96a8-f20d0824b8a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/client/poi/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","client","poi","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"c7d47b45-1dee-41e8-88d3-24b7c7f7dad5","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/client/poi/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 22 Aug 2023 12:20:43 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjkyNzA2ODQzLCJuYmYiOjE2OTI3MDY4NDMsImV4cCI6MTY5MjcwNzQ0Mywic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTY5MjcwNjg0M30.ZNZDGDrkqgGG5sx_UEyzVb6YgbD8rDl1uxE4AWRZDNo"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": []\n}"}],"_postman_id":"05af74b0-2737-4ec6-96a8-f20d0824b8a4"},{"name":"Get Client POI Edit Form Data","id":"25653920-fe68-49c9-9a4a-7972b2257d12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/client/poi/1/edit/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","client","poi","1","edit",""],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"acb4bf5e-3972-4ce9-ab79-39929eefd773","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/client/poi/1/edit/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 22 Aug 2023 12:21:18 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjkyNzA2ODc4LCJuYmYiOjE2OTI3MDY4NzgsImV4cCI6MTY5MjcwNzQ3OCwic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTY5MjcwNjg3OH0.LELxnd10mMBc0FstrRqinAg3pDf_b_sAUnL6AgUWEcg"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Main Depot\",\n        \"latitude\": -34.178292,\n        \"longitude\": 19.351919,\n        \"zoom_level\": 13,\n        \"icon\": \"icon.png\",\n        \"color\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"MERC CARRIERS\"\n        },\n        \"by_user_id\": 4,\n        \"by_full_name\": \"Don Schoeman [Admin]\",\n        \"created_at\": \"2023-08-22T14:19:28+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"25653920-fe68-49c9-9a4a-7972b2257d12"},{"name":"Add Client POI","id":"32b7a16d-4920-420c-abb5-7fc84166f9ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": 1,\n    \"name\": \"Main Depot\",\n    \"latitude\": -34.178292,\n    \"longitude\": 19.351919,\n    \"zoom_level\": 13,\n    \"icon\": \"icon.png\",\n    \"color\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/client/poi","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","client","poi"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"b0627d64-4e29-4c1d-8232-4cd6504b5489","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": 1,\n    \"name\": \"Main Depot\",\n    \"latitude\": -34.178292,\n    \"longitude\": 19.351919,\n    \"zoom_level\": 13,\n    \"icon\": \"icon.png\",\n    \"color\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/client/poi"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 22 Aug 2023 12:19:28 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjkyNzA2NzY4LCJuYmYiOjE2OTI3MDY3NjgsImV4cCI6MTY5MjcwNzM2OCwic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTY5MjcwNjc2OH0.AWQqA_0yAKXpMgqV2Hxy3DdU0srA7kd5GOR8_kRnd1k"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Created Point of Interest: Main Depot\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Main Depot\",\n        \"latitude\": -34.178292,\n        \"longitude\": 19.351919,\n        \"zoom_level\": 13,\n        \"icon\": \"icon.png\",\n        \"color\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"MERC CARRIERS\"\n        },\n        \"by_user_id\": 4,\n        \"by_full_name\": \"Don Schoeman [Admin]\",\n        \"created_at\": \"2023-08-22T14:19:28+02:00\",\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"32b7a16d-4920-420c-abb5-7fc84166f9ec"},{"name":"Update Client POI","id":"3d55fd1f-3e9f-4494-a028-5255b1107406","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Main Depot\",\n    \"latitude\": -34.178292,\n    \"longitude\": 19.351919,\n    \"zoom_level\": 13,\n    \"icon\": \"icon.png\",\n    \"color\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/client/poi/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","client","poi","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"fbf6e9a5-56fe-4d00-be74-5ea33758b216","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Main Depot\",\n    \"latitude\": -34.178292,\n    \"longitude\": 19.351919,\n    \"zoom_level\": 13,\n    \"icon\": \"icon.png\",\n    \"color\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/client/poi/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 22 Aug 2023 12:21:59 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjkyNzA2OTE5LCJuYmYiOjE2OTI3MDY5MTksImV4cCI6MTY5MjcwNzUxOSwic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTY5MjcwNjkxOX0.mTxyIDLhZ-qRoZ63NyqRsOspsFxOYpXDw81WsL3vAzA"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Updated Point of Interest: Main Depot\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Main Depot\",\n        \"latitude\": -34.178292,\n        \"longitude\": 19.351919,\n        \"zoom_level\": 13,\n        \"icon\": \"icon.png\",\n        \"color\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"MERC CARRIERS\"\n        },\n        \"by_user_id\": 4,\n        \"by_full_name\": \"Don Schoeman [Admin]\",\n        \"created_at\": \"2023-08-22T14:19:28+02:00\",\n        \"updated_at\": \"2023-08-22T14:21:59+02:00\"\n    }\n}"}],"_postman_id":"3d55fd1f-3e9f-4494-a028-5255b1107406"},{"name":"Delete Client POI","id":"602c7ddd-5588-4e1f-8d56-68a1240f6aef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/client/poi/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","client","poi","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"2ebc6685-3d94-49d3-9be2-3696a17e287f","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/client/poi/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 22 Aug 2023 12:22:21 GMT"},{"key":"Authorization","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3d3cuZGVzdGlueS50ZXN0IiwiaWF0IjoxNjkyNzA2OTQxLCJuYmYiOjE2OTI3MDY5NDEsImV4cCI6MTY5MjcwNzU0MSwic3ViIjoiNCIsImVtbCI6InRhLm1heGltdXMrZG9uLmFkbWluQGdtYWlsLmNvbSIsIm9hdCI6MTY5MjcwNjk0MX0.4a5tVTR1dz3KufC_ZR-pRxe3zYaVMa62NRVjPcuwPTw"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"notices\": [\n        \"Deleted Point of Interest: Main Depot\"\n    ],\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Main Depot\",\n        \"latitude\": -34.178292,\n        \"longitude\": 19.351919,\n        \"zoom_level\": 13,\n        \"icon\": \"icon.png\",\n        \"color\": null,\n        \"client\": {\n            \"id\": 1,\n            \"name\": \"MERC CARRIERS\"\n        },\n        \"by_user_id\": 4,\n        \"by_full_name\": \"Don Schoeman [Admin]\",\n        \"created_at\": \"2023-08-22T14:19:28+02:00\",\n        \"updated_at\": \"2023-08-22T14:21:59+02:00\"\n    }\n}"}],"_postman_id":"602c7ddd-5588-4e1f-8d56-68a1240f6aef"}],"id":"c700d6e8-822e-4bc1-8bf7-109fac800a2b","_postman_id":"c700d6e8-822e-4bc1-8bf7-109fac800a2b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"SIM Cards","item":[{"name":"SIM Card Listing","id":"0dba6fac-879d-4409-a37b-aadebb1007dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/sim-cards/listing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","sim-cards","listing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0dba6fac-879d-4409-a37b-aadebb1007dc"},{"name":"SIM Card Listing By Client","id":"7c2ec9b0-d00b-421b-8000-6de1c124d7c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/sim-cards/listing/by-client/{{client_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","sim-cards","listing","by-client","{{client_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c2ec9b0-d00b-421b-8000-6de1c124d7c9"},{"name":"Get SIM Card Create Form Data","id":"ee97aab4-48ba-4f82-91b7-6865d0d052f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/sim-cards/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","sim-cards","create"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee97aab4-48ba-4f82-91b7-6865d0d052f2"},{"name":"Get SIM Card Edit Form Data","id":"ca3aa4ab-02a8-4eee-8113-a2bcc6f50230","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/sim-cards/1/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","sim-cards","1","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca3aa4ab-02a8-4eee-8113-a2bcc6f50230"},{"name":"Get A SIM Card","id":"03f840ce-da34-4294-823e-d0da916bee46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"03f840ce-da34-4294-823e-d0da916bee46"},{"name":"Find SIM Cards","id":"757cb131-ae7a-4795-9a54-44a31c3d07c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/sim-cards","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","sim-cards"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"757cb131-ae7a-4795-9a54-44a31c3d07c1"},{"name":"Add a SIM Card","id":"9545fc1b-1810-432e-990f-c4c1e84aff34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"partner_id\": 1,\n    \"agency_id\": 1,\n    \"client_id\": 2,\n    \"cell_no\": \"+27836708665678\",\n    \"iccid\": \"22987634556884567890\",\n    \"sim_card_provider_id\": 1,\n    \"sim_card_network_id\": 2,\n    \"unit_id\": 530,\n    \"note\": \"This is a test SIM card\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/sim-cards","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","sim-cards"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9545fc1b-1810-432e-990f-c4c1e84aff34"},{"name":"Update a SIM Card","id":"69cf058f-5c23-4952-af81-3f7a380c5965","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"partner_id\": 1,\n    \"agency_id\": 1,\n    \"client_id\": 2,\n    \"cell_no\": \"+278212345678\",\n    \"iccid\": \"22345678901234567890\",\n    \"sim_card_provider_id\": 1,\n    \"sim_card_network_id\": 2,\n    \"unit_id\": 128,\n    \"note\": \"This is a test SIM card\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/sim-cards/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","sim-cards","1"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"69cf058f-5c23-4952-af81-3f7a380c5965"},{"name":"Un-assign SIM Card From Unit","id":"9603d8c2-ad6f-4bc5-ac44-b422254af410","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/sim-cards/1/unassign","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","sim-cards","1","unassign"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9603d8c2-ad6f-4bc5-ac44-b422254af410"}],"id":"f1b36647-4718-451f-84aa-e036f33b2744","_postman_id":"f1b36647-4718-451f-84aa-e036f33b2744","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}},{"name":"GDSPO","item":[{"name":"SIM Cards","item":[{"name":"Find GDSPO SIM Cards","id":"ac44fd2f-2ad9-41d0-a04c-9022af826b8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gdspo/sim-cards","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","gdspo","sim-cards"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac44fd2f-2ad9-41d0-a04c-9022af826b8c"},{"name":"Get a GDSPO SIM Card","id":"f4e4ef98-26bc-4dc0-9bd9-c8e7c006c2b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gdspo/sim-cards/{{gdspo_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","gdspo","sim-cards","{{gdspo_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f4e4ef98-26bc-4dc0-9bd9-c8e7c006c2b7"},{"name":"Get GDSPO SIM Card Edit Form Data","id":"b7c23926-27dc-4049-8faa-c4032f5daf0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{http}}://{{domain}}/api/v1/gdspo/sim-cards/{{gdspo_id}}/edit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","gdspo","sim-cards","{{gdspo_id}}","edit"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7c23926-27dc-4049-8faa-c4032f5daf0c"},{"name":"Update a GDSPO SIM Card","id":"b0d778e1-0bae-4dfe-8612-a3c4027e05c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"partner_id\": 1,\n    \"agency_id\": 1,\n    \"client_id\": 1,\n    \"unit_id\": 1,\n    \"label\": \"Sample SIM Card\",\n    \"note\": \"This is a test SIM card\"\n}","options":{"raw":{"language":"json"}}},"url":"{{http}}://{{domain}}/api/v1/gdspo/sim-cards/{{gdspo_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}},"urlObject":{"protocol":"{{http}}","path":["api","v1","gdspo","sim-cards","{{gdspo_id}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0d778e1-0bae-4dfe-8612-a3c4027e05c6"}],"id":"e791fb6a-2db5-49b9-b6c3-1636e1a63717","_postman_id":"e791fb6a-2db5-49b9-b6c3-1636e1a63717","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}}],"id":"9640f3c4-cdfe-4065-bebc-78db3410158a","_postman_id":"9640f3c4-cdfe-4065-bebc-78db3410158a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","id":"d3c80dc7-0134-4c17-b9f1-0b02c2cffcb4","name":"Destiny HTTP API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"a38df5fe-b13e-4b6d-ba68-52dc00ace983","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"b743d15f-750f-4a70-bb31-ce6d11971827","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"event_profile_id","value":"","type":"default"}]}