{"info":{"_postman_id":"90584c4a-1f8f-4e31-9970-6eb851e7c930","name":"FLEETDESK - API PUBLICA","description":"<html><head></head><body><p>Descrição</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"29768910","collectionId":"90584c4a-1f8f-4e31-9970-6eb851e7c930","publishedId":"2sA3s4kq2K","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-08-12T14:09:06.000Z"},"item":[{"name":"Trips","item":[{"name":"Index","id":"4968a42d-f0f6-4526-8ec4-b82e483d671b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/trips?start_time=2024-01-01 00:00:00","description":"<p>Teste</p>\n","urlObject":{"host":["https://api.fleetdesk.io/api/v1/trips"],"query":[{"key":"start_time","value":"2024-01-01 00:00:00"},{"disabled":true,"key":"filter","value":"{\"vehicles_id\": [1], \"drivers_id\": [1]}"}],"variable":[]}},"response":[],"_postman_id":"4968a42d-f0f6-4526-8ec4-b82e483d671b"},{"name":"Positions","id":"aa3a5d00-169d-4439-8d86-ec41ddcf00b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/trips/:vehicle_license_plate?start_time=2024-01-01 00:00:00&order={\"datetime_write\": \"asc\"}","urlObject":{"path":[":vehicle_license_plate"],"host":["https://api.fleetdesk.io/api/v1/trips"],"query":[{"key":"start_time","value":"2024-01-01 00:00:00"},{"key":"order","value":"{\"datetime_write\": \"asc\"}"}],"variable":[{"id":"ae97e089-e6e9-49f0-8275-3bb123eec856","type":"any","value":"2051","key":"vehicle_license_plate"}]}},"response":[],"_postman_id":"aa3a5d00-169d-4439-8d86-ec41ddcf00b1"}],"id":"acacc76c-a7ee-428c-9757-0bad1d9fc0cf","_postman_id":"acacc76c-a7ee-428c-9757-0bad1d9fc0cf","description":""},{"name":"Company","item":[{"name":"Configuração","id":"762879d1-46d9-45db-992c-b79ca528f9b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/company/configure","urlObject":{"path":["configure"],"host":["https://api.fleetdesk.io/api/v1/company"],"query":[],"variable":[]}},"response":[],"_postman_id":"762879d1-46d9-45db-992c-b79ca528f9b7"},{"name":"Configuração","id":"84dccbbb-c5a3-40be-9ac9-675820a18881","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/company/configure","description":"<p>Teste</p>\n","urlObject":{"path":["configure"],"host":["https://api.fleetdesk.io/api/v1/company"],"query":[],"variable":[]}},"response":[],"_postman_id":"84dccbbb-c5a3-40be-9ac9-675820a18881"}],"id":"b6e00f72-a81e-4b14-922c-44c25ddcf1ba","_postman_id":"b6e00f72-a81e-4b14-922c-44c25ddcf1ba","description":""},{"name":"Geofences","item":[{"name":"Index","id":"866c10ef-f252-4aa1-aaeb-727b03218475","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/geofences","description":"<p>Teste</p>\n","urlObject":{"host":["https://api.fleetdesk.io/api/v1/geofences"],"query":[],"variable":[]}},"response":[],"_postman_id":"866c10ef-f252-4aa1-aaeb-727b03218475"},{"name":"show","id":"e935098c-7a8d-4f8c-813b-5c9a2ec561fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/geofences/1626","description":"<p>Teste</p>\n","urlObject":{"path":["1626"],"host":["https://api.fleetdesk.io/api/v1/geofences"],"query":[],"variable":[]}},"response":[],"_postman_id":"e935098c-7a8d-4f8c-813b-5c9a2ec561fe"},{"name":"store","id":"4cffd025-6b26-4b8e-8918-db8c2d0a218c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Rota Teste DANIEL 2023-11-30\",\n    \"geofence_group_id\": 3,\n    \"type\": \"circle\",\n    \"weekdays\": [\n        0,\n        1,\n        2,\n        3,\n        4,\n        5,\n        6\n    ],\n    \"points\":[\n        {\n            \"latitude\": 1,\n            \"longitude\": 1,\n            \"radius\": 1,\n            \"address\": null,\n            \"complement\": null,\n            \"burgh\": null,\n            \"city\": null,\n            \"state\": null,\n            \"zipcode\": null\n        }\n    ],\n    \"start_time\":\"01:00\",\n    \"end_time\":\"23:59\",\n    \"notify_on_entry\":\"1\",\n    \"notify_on_exit\":\"1\",\n    \"stay_longer_than\":\"1\",\n    \"stay_less_than\":\"2\",\n    \"speed_greater_than\":\"1\",\n    \"notify_on_monitoring\":\"1\",\n    \"notify_by_email\":[],\n    \"notify_by_sms\":\"\",\n    // \"tags\":[\n    //     1,\n    //     2,\n    //     32,\n    //     33\n    // ],\n    \"vehicles\": [\n        290\n    ]\n}"},"url":"https://api.fleetdesk.io/api/v1/geofences/","description":"<p>Teste</p>\n","urlObject":{"path":[""],"host":["https://api.fleetdesk.io/api/v1/geofences"],"query":[],"variable":[]}},"response":[],"_postman_id":"4cffd025-6b26-4b8e-8918-db8c2d0a218c"},{"name":"Associate","id":"6e85011a-885f-457a-a4a0-1a7227dddd5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"vehicles\": [1],\n    \"tags\": []\n}"},"url":"https://api.fleetdesk.io/api/v1/geofences/1626/associate","description":"<p>Teste</p>\n","urlObject":{"path":["1626","associate"],"host":["https://api.fleetdesk.io/api/v1/geofences"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e85011a-885f-457a-a4a0-1a7227dddd5e"},{"name":"Ativar/Desativar","id":"f6e77d2d-065e-443c-b60c-e300082857df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"active\": 1\n}"},"url":"https://api.fleetdesk.io/api/v1/geofences/1626/activate-deactivate","description":"<p>Teste</p>\n","urlObject":{"path":["1626","activate-deactivate"],"host":["https://api.fleetdesk.io/api/v1/geofences"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6e77d2d-065e-443c-b60c-e300082857df"}],"id":"61b4de76-f574-411f-b1f8-b1f6af99b5ab","_postman_id":"61b4de76-f574-411f-b1f8-b1f6af99b5ab","description":""},{"name":"Job","item":[{"name":"Task","item":[{"name":"Store","id":"876ec3cd-b808-4a00-b457-d5345a53fe01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"jobs\": [\n        {\n            \"document_number\": \"TesteStefanyAPI-2\",\n            \"job_type_id\": 1,\n            \"average_service_time\": \"00:10:00\",\n            \"address\": null,\n            \"number\": null,\n            \"state\": null,\n            \"city\": null,\n            \"burgh\": null,\n            \"complement\": null,\n            \"zipcode\": null,\n            \"customer\": \"Stefany\",\n            \"customer_phone\": null,\n            \"latitude\": -23.5636153601,\n            \"longitude\": -46.93053436082,\n            \"weight\": 1,\n            \"volume\": 1,\n            \"amount\": 1,\n            \"observation\": null\n        }\n    ]\n} "},"url":"https://api.fleetdesk.io/api/v1/jobs/store-task","urlObject":{"path":["store-task"],"host":["https://api.fleetdesk.io/api/v1/jobs"],"query":[],"variable":[]}},"response":[],"_postman_id":"876ec3cd-b808-4a00-b457-d5345a53fe01"}],"id":"a0bd1c03-d161-476d-b6cf-00578065eac1","_postman_id":"a0bd1c03-d161-476d-b6cf-00578065eac1","description":""},{"name":"Show status job documents","id":"21e829e7-b875-4274-a6fe-ce9ecceca38f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"document_number\": [\n        // \"0987.243567.7485998.107\",\n        // \"995\",\n        \"Numero NOTA FISCAL 22\"\n    ]\n}"},"url":"https://api.fleetdesk.io/api/v1/jobs/status-document","urlObject":{"path":["status-document"],"host":["https://api.fleetdesk.io/api/v1/jobs"],"query":[],"variable":[]}},"response":[],"_postman_id":"21e829e7-b875-4274-a6fe-ce9ecceca38f"},{"name":"Show status job documents with job","id":"dc5302f5-11e0-4070-adc9-87e9124b844b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"document_number\": [\n        // \"0987.243567.7485998.107\",\n        // \"995\",\n        \"Numero NOTA FISCAL 22\"\n    ]\n}"},"url":"https://api.fleetdesk.io/api/v1/jobs/status-document-with-job","urlObject":{"path":["status-document-with-job"],"host":["https://api.fleetdesk.io/api/v1/jobs"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc5302f5-11e0-4070-adc9-87e9124b844b"},{"name":"Store Job","id":"843589cd-009c-4166-b4d6-bd85df48aec6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"[\n    //  {\n    //     \"type\": \"start\", // JOB | START | END | BREAK\n        \n    //     \"job_type_id\": 1,\n    //     \"driver_id\": 5, //ID DO MOTORISTA\n    //     \"vehicle_id\": 2, //ID DO VEICULO\n    //     \"route_id\": 197580, //ID DA ROTA\n    //     \"delivery_order\": 1, //ID DA ORDEM DE ENTREGA\n    //     \"average_service_time\": \"00:10:00\", //TEMPO DE SERVIÇO\n    //     \"address\": null,\n    //     \"number\": null,\n    //     \"state\": null,\n    //     \"city\": null,\n    //     \"burgh\": null,\n    //     \"complement\": null,\n    //     \"zipcode\": null,\n    //     \"customer\": \"Stefany\",\n    //     \"customer_phone\": null,\n    //     \"latitude\": -23.5636153601,\n    //     \"longitude\": -46.93053436082,\n    //     \"delivery_start_date\": \"2024-04-01 08:00:00\",\n    //     \"delivery_end_date\": \"2024-04-01 08:10:00\",\n    //     \"sequence_order\": 1, // ORDEM\n    //     \"weight\": 1,\n    //     \"volume\": 1,\n    //     \"amount\": 1,\n    //     \"observation\": null,\n    //     \"geofence_name\" : null // Se null nao cria\n    // }\n    {\n        \"type\": \"job\", // JOB | START | END | BREAK\n        \"documents_number\": [\n            {\n                \"number\": \"Numero DOCUMENTO\", // DOCUMENT NUMBER\n                \"number_second\": \"Numero NOTA FISCAL 197574\", // BAR CODE\n                \"status_id\": 1 //Ativo\n            },\n            {\n                \"number\": \"Numero NOTA FISCAL 197574-2\",\n                \"status_id\": 1 //Ativo\n            }\n        ],\n        \"job_type_id\": 1,\n        \"driver_id\": 5, //ID DO MOTORISTA\n        \"vehicle_id\": 2, //ID DO VEICULO\n        \"route_id\": 197580, //ID DA ROTA\n        \"delivery_order\": 1, //ID DA ORDEM DE ENTREGA\n        \"average_service_time\": \"00:10:00\", //TEMPO DE SERVIÇO\n        \"address\": null,\n        \"number\": null,\n        \"state\": null,\n        \"city\": null,\n        \"burgh\": null,\n        \"complement\": null,\n        \"zipcode\": null,\n        \"customer\": \"Stefany\",\n        \"customer_phone\": null,\n        \"latitude\": -23.5636153601,\n        \"longitude\": -46.93053436082,\n        \"delivery_start_date\": \"2024-04-01 12:00:00\",\n        \"delivery_end_date\": \"2024-04-01 12:10:00\",\n        \"sequence_order\": 1, // ORDEM\n        \"weight\": 1,\n        \"volume\": 1,\n        \"amount\": 1,\n        \"observation\": null,\n        \"geofence_name\" : \"NAME GEOFENCE\" // Se null nao cria\n    }\n\n    // {\n    //     \"type\": \"end\", // JOB | START | END | BREAK\n        \n    //     \"job_type_id\": 1,\n    //     \"driver_id\": 5, //ID DO MOTORISTA\n    //     \"vehicle_id\": 2, //ID DO VEICULO\n    //     \"route_id\": 214377, //ID DA ROTA\n    //     \"delivery_order\": 0, //ID DA ORDEM DE ENTREGA\n    //     \"average_service_time\": \"00:10:00\", //TEMPO DE SERVIÇO\n    //     \"address\": null,\n    //     \"number\": null,\n    //     \"state\": null,\n    //     \"city\": null,\n    //     \"burgh\": null,\n    //     \"complement\": null,\n    //     \"zipcode\": null,\n    //     \"customer\": \"Stefany\",\n    //     \"customer_phone\": null,\n    //     \"latitude\": -23.5636153601,\n    //     \"longitude\": -46.93053436082,\n    //     \"delivery_start_date\": \"2024-04-09 18:00:00\",\n    //     \"delivery_end_date\": \"2024-04-09 18:10:00\",\n    //     \"sequence_order\": 3, // ORDEM\n    //     \"weight\": 1,\n    //     \"volume\": 1,\n    //     \"amount\": 1,\n    //     \"observation\": null,\n    //     \"geofence_name\" : null // Se null nao cria\n    // }\n]"},"url":"https://api.fleetdesk.io/api/v1/jobs","urlObject":{"host":["https://api.fleetdesk.io/api/v1/jobs"],"query":[],"variable":[]}},"response":[],"_postman_id":"843589cd-009c-4166-b4d6-bd85df48aec6"},{"name":"Update Sequence Delivery Order","id":"d3f0212b-5b11-427b-b565-ada4e9c26148","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"jobs\": [\n        {\n            \"document\": \"XPTO1\",\n            \"delivery_order\": 20,\n            \"sequence_order\": 20\n        },\n        {\n            \"document\": \"XPTO2\",\n            \"delivery_order\": 10,\n            \"sequence_order\": 10\n        }\n    ]\n}"},"url":"https://api.fleetdesk.io/api/v1/jobs/update-delivery-order-sequence","urlObject":{"path":["update-delivery-order-sequence"],"host":["https://api.fleetdesk.io/api/v1/jobs"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3f0212b-5b11-427b-b565-ada4e9c26148"}],"id":"dfffb140-c230-45f2-bbd3-75313314bbf0","_postman_id":"dfffb140-c230-45f2-bbd3-75313314bbf0","description":""},{"name":"Route","item":[{"name":"Store Route","id":"1d20d22f-37cd-4927-9e7b-a5ace4902e47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"vehicle_id\": 1, //ID DO VEICULO\n        \"delivery_start_date\": \"2024-04-09 08:00:00\",\n        \"delivery_end_date\": \"2024-04-09 18:10:00\",\n        \"total_distance_meters\": 3377, // PERMITE NULL\n        \"geometry\": null,\n        \"description\": \"Descrição 1\"\n    }\n]"},"url":"https://api.fleetdesk.io/api/v1/routes/","urlObject":{"path":[""],"host":["https://api.fleetdesk.io/api/v1/routes"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d20d22f-37cd-4927-9e7b-a5ace4902e47"}],"id":"e1da6c1f-a9f6-46dd-b896-01c269f4282b","_postman_id":"e1da6c1f-a9f6-46dd-b896-01c269f4282b","description":""},{"name":"Alerts","item":[{"name":"Index","id":"85e7af5a-5b24-46ec-b987-34f0da02c24f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/alerts","description":"<p>Teste</p>\n","urlObject":{"host":["https://api.fleetdesk.io/api/v1/alerts"],"query":[{"disabled":true,"key":"filter","value":"{\"alert_type_id\":[1,2], \"vehicle_id\":[1,2,3], \"driver_id\": [1,2,3], \"route_id\":[1,2], \"module\":[\"Sensores\", \"Câmeras\"], \"id_more\": 1}"},{"disabled":true,"key":"order","value":"{\"id\": \"asc\", \"created_at\": \"asc\"}"}],"variable":[]}},"response":[],"_postman_id":"85e7af5a-5b24-46ec-b987-34f0da02c24f"},{"name":"Types","id":"b3ff881e-0a6a-4968-b6bf-fc6d07a983d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/alerts/types","description":"<p>Teste</p>\n","urlObject":{"path":["types"],"host":["https://api.fleetdesk.io/api/v1/alerts"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3ff881e-0a6a-4968-b6bf-fc6d07a983d2"}],"id":"c3b7c363-bfc6-46ea-8afb-912420fe0410","_postman_id":"c3b7c363-bfc6-46ea-8afb-912420fe0410","description":""},{"name":"Commands","item":[{"name":"Tipos","id":"eb716dc1-c0e8-4810-a946-04f67ba39985","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/commands/types","urlObject":{"path":["types"],"host":["https://api.fleetdesk.io/api/v1/commands"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb716dc1-c0e8-4810-a946-04f67ba39985"},{"name":"Index","id":"03f18c27-b931-4a8a-9809-42adf637ffc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/commands","urlObject":{"host":["https://api.fleetdesk.io/api/v1/commands"],"query":[],"variable":[]}},"response":[],"_postman_id":"03f18c27-b931-4a8a-9809-42adf637ffc6"},{"name":"Store","id":"41bb9582-8e19-4ed5-9717-c98e6022de58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"vehicle_id\": 1,\n    \"network\": \"gsm\",\n    \"command_type_constant\": \"FUEL_BLOCK\",\n    \"action\": 1\n}"},"url":"https://api.fleetdesk.io/api/v1/commands","urlObject":{"host":["https://api.fleetdesk.io/api/v1/commands"],"query":[],"variable":[]}},"response":[],"_postman_id":"41bb9582-8e19-4ed5-9717-c98e6022de58"},{"name":"Show","id":"1eda5161-d799-408c-8f03-5ed0de0563e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"vehicle_id\": 1,\n    \"network\": \"gsm\",\n    \"command_type_constant\": \"FUEL_BLOCK\",\n    \"action\": 1\n}"},"url":"https://api.fleetdesk.io/api/v1/commands/2125","urlObject":{"path":["2125"],"host":["https://api.fleetdesk.io/api/v1/commands"],"query":[],"variable":[]}},"response":[],"_postman_id":"1eda5161-d799-408c-8f03-5ed0de0563e7"},{"name":"Logs","id":"f22e1a54-521a-4221-92fd-1292f1138c13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"vehicle_id\": 1,\n    \"network\": \"gsm\",\n    \"command_type_constant\": \"FUEL_BLOCK\",\n    \"action\": 1\n}"},"url":"https://api.fleetdesk.io/api/v1/commands/2125/logs","urlObject":{"path":["2125","logs"],"host":["https://api.fleetdesk.io/api/v1/commands"],"query":[],"variable":[]}},"response":[],"_postman_id":"f22e1a54-521a-4221-92fd-1292f1138c13"}],"id":"14f5576c-478d-4da3-a62d-357af5544089","_postman_id":"14f5576c-478d-4da3-a62d-357af5544089","description":""},{"name":"Survey","item":[{"name":"Type","id":"b078ad4f-1943-452a-a75e-ca361b47649a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/surveys/jobs","urlObject":{"path":["jobs"],"host":["https://api.fleetdesk.io/api/v1/surveys"],"query":[],"variable":[]}},"response":[],"_postman_id":"b078ad4f-1943-452a-a75e-ca361b47649a"}],"id":"f546fd1d-ba86-4dd5-83ec-40fdfc464e62","_postman_id":"f546fd1d-ba86-4dd5-83ec-40fdfc464e62","description":""},{"name":"Fleetmate","item":[{"name":"Leitura de todos os sensores do veiculo da empresa","id":"8de875c2-6790-42f6-bf40-cad1e147d8f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/fleetmate-sensors/reads?id_more=0&per_page=1","urlObject":{"path":["reads"],"host":["https://api.fleetdesk.io/api/v1/fleetmate-sensors"],"query":[{"key":"id_more","value":"0"},{"key":"per_page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"8de875c2-6790-42f6-bf40-cad1e147d8f7"},{"name":"Ultima leitura do veículo","id":"ab2b3fdc-877b-47cd-8375-133911427f4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/fleetmate-sensors/last-read-vehicle/1","urlObject":{"path":["last-read-vehicle","1"],"host":["https://api.fleetdesk.io/api/v1/fleetmate-sensors"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab2b3fdc-877b-47cd-8375-133911427f4d"}],"id":"f6b6afba-60e7-4238-8c7b-7ba04e3b7f50","_postman_id":"f6b6afba-60e7-4238-8c7b-7ba04e3b7f50","description":""},{"name":"Vehicles","item":[{"name":"Jobs","item":[{"name":"Listar","id":"3c26c16a-c6ab-4649-813b-65ba34b64db7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/vehicles/5/jobs","urlObject":{"path":["5","jobs"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c26c16a-c6ab-4649-813b-65ba34b64db7"},{"name":"Show","id":"262a097d-e74d-4ba4-b9e3-0e951008dbd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/vehicles/5/jobs/57","urlObject":{"path":["5","jobs","57"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"262a097d-e74d-4ba4-b9e3-0e951008dbd1"},{"name":"Store","id":"45daa7e3-8a89-4805-8e10-b83e2977d4fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"job_type_id\": 1,\n        \"status_id\": 1,\n        \"average_service_time\": 1,\n        \"average_waiting_time\": 1,\n        \"allowed_speed\": 1,\n        \"delivery_order\": 1,\n        \"address\": \"QI 12 BLOCO T - GUARA 1\",\n        \"number\": \"S/N\",\n        \"state\": \"DF\",\n        \"city\": \"BRASILIA\",\n        \"burgh\": \"Guara 1\",\n        \"complement\": \"AP.207\",\n        \"zipcode\": \"71010209\",\n        \"cod_customer\": \"AUG2\",\n        \"customer\": \"AUGUSTO\",\n        \"latitude\": 1,\n        \"longitude\": 1,\n        \"distance\": 1,\n        \"weight\": 1,\n        \"volume\": 1,\n        \"amount\": 1,\n        \"delivery_start_date\": \"2023-06-26 00:00:00\",\n        \"delivery_end_date\": \"2023-06-26 01:00:00\",\n        \"route_start_date\": \"2023-06-26 00:00:00\",\n        \"route_end_date\": \"2023-06-26 23:00:00\"\n    }\n]"},"url":"https://api.fleetdesk.io/api/v1/vehicles/1/jobs","urlObject":{"path":["1","jobs"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"45daa7e3-8a89-4805-8e10-b83e2977d4fa"},{"name":"Update","id":"76dd539e-a63a-425c-9b19-f13ae6a04584","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"job_type_id\": 1,\n    \"status_id\": 1,\n    \"average_service_time\": 1,\n    \"average_waiting_time\": 1,\n    \"allowed_speed\": 1,\n    \"delivery_order\": 1,\n    \"address\": \"Rua Tenente Tomaz Nunes\",\n    \"number\": \"126\",\n    \"state\": \"SP\",\n    \"city\": \"Piracicaba\",\n    \"burgh\": \"Monumento\",\n    \"complement\": \"\",\n    \"zipcode\": \"13405175\",\n    \"cod_customer\": \"AUG1\",\n    \"customer\": \"AUGUSTO\",\n    \"latitude\": 1,\n    \"longitude\": 1,\n    \"distance\": 1,\n    \"weight\": 1,\n    \"volume\": 1,\n    \"amount\": 1,\n    \"delivery_start_date\": \"2023-06-26 00:00:00\",\n    \"delivery_end_date\": \"2023-06-26 01:00:00\",\n    \"route_start_date\": \"2023-06-26 00:00:00\",\n    \"route_end_date\": \"2023-06-26 23:00:00\"\n}"},"url":"https://api.fleetdesk.io/api/v1/vehicles/5/jobs/5748","urlObject":{"path":["5","jobs","5748"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"76dd539e-a63a-425c-9b19-f13ae6a04584"},{"name":"Delete","id":"7bf1def9-c38c-40bd-8b8b-1cd68af95c36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"url":"https://api.fleetdesk.io/api/v1/vehicles/5/jobs/5749","urlObject":{"path":["5","jobs","5749"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"7bf1def9-c38c-40bd-8b8b-1cd68af95c36"},{"name":"Status","id":"1684a299-faf9-46b0-a474-47dfbe1160af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"job_type_id\": 1,\n        \"status_id\": 1,\n        \"average_service_time\": 1,\n        \"average_waiting_time\": 1,\n        \"allowed_speed\": 1,\n        \"delivery_order\": 1,\n        \"address\": \"Rua Tenente Tomaz Nunes\",\n        \"number\": \"126\",\n        \"state\": \"SP\",\n        \"city\": \"Piracicaba\",\n        \"burgh\": \"Monumento\",\n        \"complement\": \"\",\n        \"zipcode\": \"13405175\",\n        \"cod_customer\": \"AUG1\",\n        \"customer\": \"AUGUSTO\",\n        \"latitude\": 1,\n        \"longitude\": 1,\n        \"distance\": 1,\n        \"weight\": 1,\n        \"volume\": 1,\n        \"amount\": 1,\n        \"delivery_start_date\": \"2023-06-26 00:00:00\",\n        \"delivery_end_date\": \"2023-06-26 01:00:00\",\n        \"route_start_date\": \"2023-06-26 00:00:00\",\n        \"route_end_date\": \"2023-06-26 23:00:00\"\n    }\n]"},"url":"https://api.fleetdesk.io/api/v1/vehicles/5/jobs/5750/status","urlObject":{"path":["5","jobs","5750","status"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"1684a299-faf9-46b0-a474-47dfbe1160af"},{"name":"Get status","id":"81d85b4d-ba26-4daf-87cf-e7eda36f905d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"job_type_id\": 1,\n        \"status_id\": 1,\n        \"average_service_time\": 1,\n        \"average_waiting_time\": 1,\n        \"allowed_speed\": 1,\n        \"delivery_order\": 1,\n        \"address\": \"Rua Tenente Tomaz Nunes\",\n        \"number\": \"126\",\n        \"state\": \"SP\",\n        \"city\": \"Piracicaba\",\n        \"burgh\": \"Monumento\",\n        \"complement\": \"\",\n        \"zipcode\": \"13405175\",\n        \"cod_customer\": \"AUG1\",\n        \"customer\": \"AUGUSTO\",\n        \"latitude\": 1,\n        \"longitude\": 1,\n        \"distance\": 1,\n        \"weight\": 1,\n        \"volume\": 1,\n        \"amount\": 1,\n        \"delivery_start_date\": \"2023-06-26 00:00:00\",\n        \"delivery_end_date\": \"2023-06-26 01:00:00\",\n        \"route_start_date\": \"2023-06-26 00:00:00\",\n        \"route_end_date\": \"2023-06-26 23:00:00\"\n    }\n]"},"url":"https://api.fleetdesk.io/api/v1/vehicles/5/jobs/5750/status/2","urlObject":{"path":["5","jobs","5750","status","2"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"81d85b4d-ba26-4daf-87cf-e7eda36f905d"}],"id":"c7c52bae-116f-4fdb-8477-0529c8fa3b5b","_postman_id":"c7c52bae-116f-4fdb-8477-0529c8fa3b5b","description":""},{"name":"Vehicles Types","id":"01293b6a-6417-4e22-92e5-a00374947fca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/vehicles/type","urlObject":{"path":["type"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"01293b6a-6417-4e22-92e5-a00374947fca"},{"name":"Listar","id":"018af571-ca20-44d7-9d75-66c8e863ce21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/vehicles?filter={\"search\": \"cm\"}","urlObject":{"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[{"key":"filter","value":"{\"search\": \"cm\"}"}],"variable":[]}},"response":[],"_postman_id":"018af571-ca20-44d7-9d75-66c8e863ce21"},{"name":"Show","id":"e327e0f5-ed2f-406f-b364-3d29a6f749a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/vehicles/1","urlObject":{"path":["1"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"e327e0f5-ed2f-406f-b364-3d29a6f749a0"},{"name":"Show license plate","id":"04f36071-a478-479c-bd39-cb854a4d7e91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/vehicles/license-plate/JND-0001","urlObject":{"path":["license-plate","JND-0001"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"04f36071-a478-479c-bd39-cb854a4d7e91"},{"name":"Store","id":"9b22ef1f-2315-4782-9a1e-6016b2c45159","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"total_amount\": 100.00,\n    \"total_volume\": 100.00,\n    \"total_weight\": 100.00,\n    \"value_by_km\": 100.00,\n    \"available\": 1,\n    \"vehicle_type_id\": 1,\n    \"license_plate\": \"API-3103\",\n    \"active\": 1\n}"},"url":"https://api.fleetdesk.io/api/v1/vehicles","urlObject":{"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b22ef1f-2315-4782-9a1e-6016b2c45159"},{"name":"Update","id":"4c1bb9ba-3af0-48e1-ba63-3fc5300a870c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"vehicle_type_id\": 1,\n    \"license_plate\": \"API-3102\",\n    \"total_weight\": 6458.65,\n    \"total_volume\": 1000,\n    \"total_amount\": 50000.5,\n    \"value_by_km\": 156.54,\n    \"observations\": \"Veiculo com baú furado\",\n    \"active\": 1,\n    \"tags\": [\n        32\n    ]\n}"},"url":"https://api.fleetdesk.io/api/v1/vehicles/350","urlObject":{"path":["350"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c1bb9ba-3af0-48e1-ba63-3fc5300a870c"},{"name":"Ultima Posição","id":"3dbeb2bc-23d2-47bc-ae1a-af8c407548df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/vehicles/1/position","urlObject":{"path":["1","position"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"3dbeb2bc-23d2-47bc-ae1a-af8c407548df"},{"name":"Todas posicoes","id":"d3c2f122-3d33-4c28-b591-a6e2080b5fff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/vehicles/1/all-positions","urlObject":{"path":["1","all-positions"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[{"disabled":true,"key":"id_more","value":"1000"},{"disabled":true,"key":"per_page","value":"10000"}],"variable":[]}},"response":[],"_postman_id":"d3c2f122-3d33-4c28-b591-a6e2080b5fff"},{"name":"Todas posicoes de todos os vehicles","id":"fe97c910-81ba-4954-ae8f-e94159b9ea1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/vehicles/positions","urlObject":{"path":["positions"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[{"disabled":true,"key":"id_more","value":"1000"},{"disabled":true,"key":"per_page","value":"10000"}],"variable":[]}},"response":[],"_postman_id":"fe97c910-81ba-4954-ae8f-e94159b9ea1e"},{"name":"Alertas","id":"34f74fca-7f9f-4222-bc3a-26f6110cafa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/vehicles/1/alerts","urlObject":{"path":["1","alerts"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"34f74fca-7f9f-4222-bc3a-26f6110cafa3"},{"name":"Get Fleetmate","id":"d07d2a28-24ec-412b-82d8-d0c56c5ba902","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/vehicles/1/fleetmate","urlObject":{"path":["1","fleetmate"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"d07d2a28-24ec-412b-82d8-d0c56c5ba902"},{"name":"Get Fleetmate Atuador Sensor","id":"b4f43dcc-2e85-475b-8062-45fd6b509634","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/vehicles/1/fleetmate-sensors","urlObject":{"path":["1","fleetmate-sensors"],"host":["https://api.fleetdesk.io/api/v1/vehicles"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4f43dcc-2e85-475b-8062-45fd6b509634"}],"id":"19d1a67d-9e68-4023-9d64-11c41aecd100","_postman_id":"19d1a67d-9e68-4023-9d64-11c41aecd100","description":""},{"name":"Sensors","item":[{"name":"Listar","id":"3cf15b0a-0460-49e9-9296-5d10cf2490b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/sensors","urlObject":{"host":["https://api.fleetdesk.io/api/v1/sensors"],"query":[{"disabled":true,"key":"per_page","value":"10"},{"disabled":true,"key":"order","value":"{\"date_time\": \"desc\". \"sensor_id\": \"desc\"}"}],"variable":[]}},"response":[],"_postman_id":"3cf15b0a-0460-49e9-9296-5d10cf2490b5"},{"name":"types","id":"454ec81d-0053-4337-b040-7345b0a4e730","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/sensors/types","urlObject":{"path":["types"],"host":["https://api.fleetdesk.io/api/v1/sensors"],"query":[],"variable":[]}},"response":[],"_postman_id":"454ec81d-0053-4337-b040-7345b0a4e730"},{"name":"Last Record","id":"3db25f12-a0e4-4faa-abb2-fc3ff0ad37b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/sensors/13205101/lastrecord","urlObject":{"path":["13205101","lastrecord"],"host":["https://api.fleetdesk.io/api/v1/sensors"],"query":[],"variable":[]}},"response":[],"_postman_id":"3db25f12-a0e4-4faa-abb2-fc3ff0ad37b5"},{"name":"List reads","id":"e480aa62-67f3-4459-837a-27144e4258b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/sensors/13205101/reads","urlObject":{"path":["13205101","reads"],"host":["https://api.fleetdesk.io/api/v1/sensors"],"query":[{"disabled":true,"key":"limit","value":"10"},{"disabled":true,"key":"offset","value":"1"},{"disabled":true,"key":"order","value":"date_time"}],"variable":[]}},"response":[],"_postman_id":"e480aa62-67f3-4459-837a-27144e4258b4"}],"id":"8e9e8a8c-b426-4365-be9f-a0d4ca1adbe7","_postman_id":"8e9e8a8c-b426-4365-be9f-a0d4ca1adbe7","description":""},{"name":"Drivers","item":[{"name":"Listar","id":"3e7256fc-04a1-4bfe-87d4-4c26e021566f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/drivers","urlObject":{"host":["https://api.fleetdesk.io/api/v1/drivers"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e7256fc-04a1-4bfe-87d4-4c26e021566f"},{"name":"Show","id":"0354aefe-7cde-4059-b49e-28143e1a884f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/drivers/1","urlObject":{"path":["1"],"host":["https://api.fleetdesk.io/api/v1/drivers"],"query":[],"variable":[]}},"response":[],"_postman_id":"0354aefe-7cde-4059-b49e-28143e1a884f"},{"name":"Listar Alertas","id":"e01b49fd-f2cc-4236-bd28-01816df6cea5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/drivers/1/alerts","urlObject":{"path":["1","alerts"],"host":["https://api.fleetdesk.io/api/v1/drivers"],"query":[],"variable":[]}},"response":[],"_postman_id":"e01b49fd-f2cc-4236-bd28-01816df6cea5"},{"name":"Attach","id":"5ad6f029-3955-4084-b0fe-9007139a9cd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/drivers/48/attach","urlObject":{"path":["48","attach"],"host":["https://api.fleetdesk.io/api/v1/drivers"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ad6f029-3955-4084-b0fe-9007139a9cd7"},{"name":"Dettach","id":"f0615bbb-ea86-4877-a5cd-f5a4c95fb5c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/drivers/48/detach","urlObject":{"path":["48","detach"],"host":["https://api.fleetdesk.io/api/v1/drivers"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0615bbb-ea86-4877-a5cd-f5a4c95fb5c3"}],"id":"c98449ad-a565-4fbf-859e-49ad7014ec63","_postman_id":"c98449ad-a565-4fbf-859e-49ad7014ec63","description":""},{"name":"Subcontractor","item":[{"name":"index Contratadas","id":"6ac88aac-06fe-44cb-89a9-14314df64d34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/subcontractor/hired","urlObject":{"path":["hired"],"host":["https://api.fleetdesk.io/api/v1/subcontractor"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ac88aac-06fe-44cb-89a9-14314df64d34"},{"name":"Show","id":"152d0191-9437-41b2-840c-ea82c69f35c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/subcontractor/contract/1","urlObject":{"path":["contract","1"],"host":["https://api.fleetdesk.io/api/v1/subcontractor"],"query":[{"disabled":true,"key":"order","value":"sensor_id"}],"variable":[]}},"response":[],"_postman_id":"152d0191-9437-41b2-840c-ea82c69f35c1"},{"name":"SearchCompany","id":"b69a3d5b-38dc-4d12-8aa6-97230b40b44a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/subcontractor/search-company/20281037000144","urlObject":{"path":["search-company","20281037000144"],"host":["https://api.fleetdesk.io/api/v1/subcontractor"],"query":[{"disabled":true,"key":"order","value":"sensor_id"}],"variable":[]}},"response":[],"_postman_id":"b69a3d5b-38dc-4d12-8aa6-97230b40b44a"},{"name":"Index contratante","id":"16dc1564-77e5-451a-8955-ab4b2d260c00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.fleetdesk.io/api/v1/subcontractor/contractor","urlObject":{"path":["contractor"],"host":["https://api.fleetdesk.io/api/v1/subcontractor"],"query":[{"disabled":true,"key":"order","value":"sensor_id"}],"variable":[]}},"response":[],"_postman_id":"16dc1564-77e5-451a-8955-ab4b2d260c00"},{"name":"Associate vehicle contract","id":"21fe6f3b-ee1a-4c4e-829e-2b8d14e279db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"contract_id\": 1,\n    \"tags_id\": [32, 33],\n    \"vehicles_id\": [1]\n    \n}"},"url":"https://api.fleetdesk.io/api/v1/subcontractor/associate-vehicle","urlObject":{"path":["associate-vehicle"],"host":["https://api.fleetdesk.io/api/v1/subcontractor"],"query":[],"variable":[]}},"response":[],"_postman_id":"21fe6f3b-ee1a-4c4e-829e-2b8d14e279db"},{"name":"Store Contract","id":"78aa145a-5fa6-49f2-8875-dcd54bf3f3e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"company_hired_id\": 70\n}"},"url":"https://api.fleetdesk.io/api/v1/subcontractor/store","urlObject":{"path":["store"],"host":["https://api.fleetdesk.io/api/v1/subcontractor"],"query":[],"variable":[]}},"response":[],"_postman_id":"78aa145a-5fa6-49f2-8875-dcd54bf3f3e8"},{"name":"Aprovar contrato","id":"06e6743e-5304-4edc-9632-6eb9b7da5bce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"contract_id\": 1\n}"},"url":"https://api.fleetdesk.io/api/v1/subcontractor/approve","urlObject":{"path":["approve"],"host":["https://api.fleetdesk.io/api/v1/subcontractor"],"query":[],"variable":[]}},"response":[],"_postman_id":"06e6743e-5304-4edc-9632-6eb9b7da5bce"},{"name":"Reprovar contrato","id":"f5ea08a0-62af-4902-b064-ec60d349bfa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"contract_id\": 1\n}"},"url":"https://api.fleetdesk.io/api/v1/subcontractor/disapprove","urlObject":{"path":["disapprove"],"host":["https://api.fleetdesk.io/api/v1/subcontractor"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5ea08a0-62af-4902-b064-ec60d349bfa6"}],"id":"819d5b7e-83d9-45ef-8fb9-662c72777ec2","_postman_id":"819d5b7e-83d9-45ef-8fb9-662c72777ec2","description":""},{"name":"Gerar Token","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"token\", \"Bearer \" + jsonData.data.api_token);","console.log(jsonData.token);",""],"type":"text/javascript","packages":{},"id":"1db10f3b-7c02-4ec7-9ed4-172619b2ace9"}}],"id":"f19e0e53-2c5d-482b-a85c-7690898242c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Client-Id","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\" : \"master\",\n    \"api_secret\": \"f2bf9dde-8049-47fe-b3b7-5cf633e2b95b\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.fleetdesk.io/api/v1/authentication/generate","urlObject":{"path":["generate"],"host":["https://api.fleetdesk.io/api/v1/authentication"],"query":[],"variable":[]}},"response":[],"_postman_id":"f19e0e53-2c5d-482b-a85c-7690898242c2"}],"event":[{"listen":"prerequest","script":{"id":"3b664c61-8bca-4a29-945a-ef0608c450d3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d8cbbf3a-d314-4842-aca8-8fc9b003afaa","type":"text/javascript","exec":[""]}}],"variable":[{"key":"url","value":"http://localhost:8802/api/v1/","type":"string","disabled":true},{"key":"token","value":"Bearer","type":"string"},{"key":"api_secret","value":"f2bf9dde-8049-47fe-b3b7-5cf633e2b95b","type":"string"},{"key":"clientId","value":"1","type":"string"},{"key":"url","value":"https://api.fleetdesk.io/api/v1/","type":"string"},{"key":"token","value":"Bearer","type":"string","disabled":true},{"key":"url","value":"https://hml.api.fleetdesk.io/api/v1/","type":"string","disabled":true},{"key":"token","value":"Bearer","type":"string","disabled":true}]}