{"info":{"_postman_id":"7a761605-8ba0-40c2-92cb-bf33d9f96508","name":"V2 Gobrax Public Full Positions API","description":"<html><head></head><body><h3 id=\"authentication\">Authentication</h3>\n<p>All authenticated requests are verified by API key present in <em>Authentication</em> header. Client needs to inform the key provided by Gobrax as follows:</p>\n<blockquote>\n<p>Authorization: Bearer YOUR-KEY</p>\n</blockquote>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"17914053","collectionId":"7a761605-8ba0-40c2-92cb-bf33d9f96508","publishedId":"2s9YJhyLDm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-10-10T18:20:22.000Z"},"item":[{"name":"Vehicles Positions","id":"6022fe02-7378-48df-b7b2-70c5d9d2ab8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://gateway-v3.gobrax.com.br:8889/api/v2/positions?startDate=2023-08-10T00:00:00-0300&endDate=2021-08-10T23:59:59-0300","description":"<h1 id=\"vehicles-positions\">Vehicles Positions</h1>\n<p>This API endpoint retrieves position data for vehicles within a specified time range.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<ul>\n<li>(required): The start date and time for the query in the format \"2006-01-02T15:04:05-0300\".</li>\n<li>(required): The end date and time for the query in the format \"2006-01-02T15:04:05-0300\"</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<p>Response is limited by 20 records for each vehicle.</p>\n<p>The following data is available for every record:</p>\n<h3 id=\"position\">Position</h3>\n<p>The response is a JSON object containing the following fields:</p>\n<ul>\n<li><code>success</code> (boolean): Indicates whether the request was successful.</li>\n<li><code>data</code> (array): An array of objects, each representing position data for a vehicle.</li>\n</ul>\n<h3 id=\"vehicle-object\">Vehicle Object</h3>\n<p>Each vehicle object has the following fields:</p>\n<ul>\n<li><code>identification</code> (string): The identification code of the vehicle.</li>\n<li><code>positions</code> (array): An array of position objects for the vehicle.</li>\n</ul>\n<h3 id=\"position-object\">Position Object</h3>\n<p>Each position object has the following fields:</p>\n<ul>\n<li><code>date</code> (string): The date and time of the position in the format \"YYYY-MM-DD HH:mm:ss\".</li>\n<li><code>lat</code> (float): The latitude coordinate of the position.</li>\n<li><code>lon</code> (float): The longitude coordinate of the position.</li>\n<li><code>speed</code>(int): GPS speed recorded for the position.</li>\n</ul>\n","urlObject":{"protocol":"https","port":"8889","path":["api","v2","positions"],"host":["gateway-v3","gobrax","com","br"],"query":[{"description":{"content":"<p>(required) The start date time of the position in format YYYY-MM-DDTHH:MM:SS-0300 (ISO 8601). Should be expressed in GMT-3. </p>\n","type":"text/plain"},"key":"startDate","value":"2023-08-10T00:00:00-0300"},{"description":{"content":"<p>(required) The end date time of the position in format YYYY-MM-DDTHH:MM:SS-0300 (ISO 8601). Should be expressed in GMT-3.</p>\n","type":"text/plain"},"key":"endDate","value":"2021-08-10T23:59:59-0300"}],"variable":[]}},"response":[{"id":"60085b9e-f6e1-41f6-a8a8-f9008fd3b1ab","name":"OK - Vehicle Full Positions successfully retrieved for all vehicles","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://gateway-v3.gobrax.com.br:8888/api/v2/positions?startDate=2023-10-08T00:00:00-0300&endDate=2021-10-08T23:59:59-0300","protocol":"http","host":["gateway-v3","gobrax","com","br"],"port":"8888","path":["api","v2","positions"],"query":[{"key":"startDate","value":"2023-10-08T00:00:00-0300"},{"key":"endDate","value":"2021-10-08T23:59:59-0300"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"identification\": \"GBX1234\",\n            \"positions\": [\n                {\n                    \"date\": \"2023-08-28 11:41:07\",\n                    \"lat\": -6.323385,\n                    \"lon\": -47.440385,\n                    \"speed\": 60\n                },\n                {\n                    \"date\": \"2023-08-28 11:51:07\",\n                    \"lat\": -6.323385,\n                    \"lon\": -47.44039,\n                    \"speed\": 45\n                },\n                {\n                    \"date\": \"2023-08-28 12:01:07\",\n                    \"lat\": -6.323387,\n                    \"lon\": -47.440392,\n                    \"speed\": 70\n                },\n                {\n                    \"date\": \"2023-08-28 12:11:07\",\n                    \"lat\": -6.323385,\n                    \"lon\": -47.440392,\n                    \"speed\": 55\n                },\n                {\n                    \"date\": \"2023-08-28 12:21:07\",\n                    \"lat\": -6.323388,\n                    \"lon\": -47.440392,\n                    \"speed\": 62\n                },\n                {\n                    \"date\": \"2023-08-28 12:31:07\",\n                    \"lat\": -6.323388,\n                    \"lon\": -47.440392,\n                    \"speed\": 49\n                },\n                {\n                    \"date\": \"2023-08-28 12:41:07\",\n                    \"lat\": -6.323388,\n                    \"lon\": -47.440392,\n                    \"speed\": 67\n                },\n                {\n                    \"date\": \"2023-08-28 12:51:07\",\n                    \"lat\": -6.323385,\n                    \"lon\": -47.440392,\n                    \"speed\": 52\n                },\n                {\n                    \"date\": \"2023-08-28 13:01:07\",\n                    \"lat\": -6.323385,\n                    \"lon\": -47.440392,\n                    \"speed\": 68\n                },\n                {\n                    \"date\": \"2023-08-28 13:11:07\",\n                    \"lat\": -6.323383,\n                    \"lon\": -47.440392,\n                    \"speed\": 53\n                },\n                {\n                    \"date\": \"2023-08-28 13:21:07\",\n                    \"lat\": -6.32338,\n                    \"lon\": -47.440393,\n                    \"speed\": 72\n                },\n                {\n                    \"date\": \"2023-08-28 13:31:07\",\n                    \"lat\": -6.323377,\n                    \"lon\": -47.440393,\n                    \"speed\": 47\n                },\n                {\n                    \"date\": \"2023-08-28 13:41:07\",\n                    \"lat\": -6.323377,\n                    \"lon\": -47.440395,\n                    \"speed\": 66\n                },\n                {\n                    \"date\": \"2023-08-28 13:51:07\",\n                    \"lat\": -6.323377,\n                    \"lon\": -47.440395,\n                    \"speed\": 51\n                },\n                {\n                    \"date\": \"2023-08-28 14:01:07\",\n                    \"lat\": -6.323375,\n                    \"lon\": -47.440395,\n                    \"speed\": 69\n                },\n                {\n                    \"date\": \"2023-08-28 14:11:07\",\n                    \"lat\": -6.323382,\n                    \"lon\": -47.440383,\n                    \"speed\": 54\n                },\n                {\n                    \"date\": \"2023-08-28 14:21:07\",\n                    \"lat\": -6.323373,\n                    \"lon\": -47.44038,\n                    \"speed\": 74\n                },\n                {\n                    \"date\": \"2023-08-28 14:31:07\",\n                    \"lat\": -6.323383,\n                    \"lon\": -47.44038,\n                    \"speed\": 59\n                },\n                {\n                    \"date\": \"2023-08-28 14:41:07\",\n                    \"lat\": -6.32338,\n                    \"lon\": -47.440383,\n                    \"speed\": 65\n                },\n                {\n                    \"date\": \"2023-08-28 14:51:07\",\n                    \"lat\": -6.32338,\n                    \"lon\": -47.440383,\n                    \"speed\": 50\n                }\n            ]\n        },\n        {\n            \"identification\": \"GBX5678\",\n            \"positions\": [\n                {\n                    \"date\": \"2023-10-10 10:58:49\",\n                    \"lat\": -2.16785,\n                    \"lon\": -48.803885,\n                    \"speed\": 63\n                },\n                {\n                    \"date\": \"2023-10-10 10:59:19\",\n                    \"lat\": -2.170588,\n                    \"lon\": -48.8036,\n                    \"speed\": 48\n                },\n                {\n                    \"date\": \"2023-10-10 10:59:49\",\n                    \"lat\": -2.173572,\n                    \"lon\": -48.803295,\n                    \"speed\": 70\n                },\n                {\n                    \"date\": \"2023-10-10 11:00:19\",\n                    \"lat\": -2.175355,\n                    \"lon\": -48.803462,\n                    \"speed\": 55\n                },\n                {\n                    \"date\": \"2023-10-10 11:00:49\",\n                    \"lat\": -2.175458,\n                    \"lon\": -48.805442,\n                    \"speed\": 62\n                },\n                {\n                    \"date\": \"2023-10-10 11:01:19\",\n                    \"lat\": -2.177412,\n                    \"lon\": -48.805417,\n                    \"speed\": 47\n                },\n                {\n                    \"date\": \"2023-10-10 11:01:49\",\n                    \"lat\": -2.180293,\n                    \"lon\": -48.80505,\n                    \"speed\": 69\n                },\n                {\n                    \"date\": \"2023-10-10 11:02:19\",\n                    \"lat\": -2.183342,\n                    \"lon\": -48.804668,\n                    \"speed\": 54\n                },\n                {\n                    \"date\": \"2023-10-10 11:02:49\",\n                    \"lat\": -2.185785,\n                    \"lon\": -48.804358,\n                    \"speed\": 73\n                },\n                {\n                    \"date\": \"2023-10-10 11:03:19\",\n                    \"lat\": -2.188135,\n                    \"lon\": -48.80405,\n                    \"speed\": 58\n                },\n                {\n                    \"date\": \"2023-10-10 11:03:49\",\n                    \"lat\": -2.190482,\n                    \"lon\": -48.803782,\n                    \"speed\": 66\n                },\n                {\n                    \"date\": \"2023-10-10 11:04:19\",\n                    \"lat\": -2.192348,\n                    \"lon\": -48.803548,\n                    \"speed\": 51\n                },\n                {\n                    \"date\": \"2023-10-10 11:04:49\",\n                    \"lat\": -2.194297,\n                    \"lon\": -48.80329,\n                    \"speed\": 70\n                },\n                {\n                    \"date\": \"2023-10-10 11:05:19\",\n                    \"lat\": -2.196718,\n                    \"lon\": -48.802948,\n                    \"speed\": 56\n                },\n                {\n                    \"date\": \"2023-10-10 11:05:49\",\n                    \"lat\": -2.199475,\n                    \"lon\": -48.802578,\n                    \"speed\": 72\n                },\n                {\n                    \"date\": \"2023-10-10 11:06:19\",\n                    \"lat\": -2.201933,\n                    \"lon\": -48.802393,\n                    \"speed\": 53\n                },\n                {\n                    \"date\": \"2023-10-10 11:06:49\",\n                    \"lat\": -2.203912,\n                    \"lon\": -48.802737,\n                    \"speed\": 68\n                },\n                {\n                    \"date\": \"2023-10-10 11:07:19\",\n                    \"lat\": -2.204762,\n                    \"lon\": -48.803205,\n                    \"speed\": 45\n                },\n                {\n                    \"date\": \"2023-10-10 11:07:49\",\n                    \"lat\": -2.205273,\n                    \"lon\": -48.804562,\n                    \"speed\": 63\n                },\n                {\n                    \"date\": \"2023-10-10 11:08:19\",\n                    \"lat\": -2.205807,\n                    \"lon\": -48.806013,\n                    \"speed\": 57\n                }\n            ]\n        },\n        {\n            \"identification\": \"GBX4444\",\n            \"positions\": [\n                {\n                    \"date\": \"2023-10-10 10:56:39\",\n                    \"lat\": -2.961223,\n                    \"lon\": -47.449547,\n                    \"speed\": 61\n                },\n                {\n                    \"date\": \"2023-10-10 10:57:38\",\n                    \"lat\": -2.972107,\n                    \"lon\": -47.45218,\n                    \"speed\": 49\n                },\n                {\n                    \"date\": \"2023-10-10 10:58:08\",\n                    \"lat\": -2.977757,\n                    \"lon\": -47.453542,\n                    \"speed\": 70\n                },\n                {\n                    \"date\": \"2023-10-10 10:58:38\",\n                    \"lat\": -2.983245,\n                    \"lon\": -47.454862,\n                    \"speed\": 53\n                },\n                {\n                    \"date\": \"2023-10-10 10:59:08\",\n                    \"lat\": -2.985,\n                    \"lon\": -47.455687,\n                    \"speed\": 68\n                },\n                {\n                    \"date\": \"2023-10-10 10:59:38\",\n                    \"lat\": -2.985515,\n                    \"lon\": -47.45555,\n                    \"speed\": 47\n                },\n                {\n                    \"date\": \"2023-10-10 11:00:08\",\n                    \"lat\": -2.987123,\n                    \"lon\": -47.455805,\n                    \"speed\": 65\n                },\n                {\n                    \"date\": \"2023-10-10 11:00:38\",\n                    \"lat\": -2.99136,\n                    \"lon\": -47.456818,\n                    \"speed\": 55\n                },\n                {\n                    \"date\": \"2023-10-10 11:01:08\",\n                    \"lat\": -2.995325,\n                    \"lon\": -47.457793,\n                    \"speed\": 70\n                },\n                {\n                    \"date\": \"2023-10-10 11:01:38\",\n                    \"lat\": -2.99556,\n                    \"lon\": -47.457862,\n                    \"speed\": 51\n                },\n                {\n                    \"date\": \"2023-10-10 11:02:08\",\n                    \"lat\": -2.995573,\n                    \"lon\": -47.457862,\n                    \"speed\": 72\n                },\n                {\n                    \"date\": \"2023-10-10 11:02:38\",\n                    \"lat\": -2.996387,\n                    \"lon\": -47.458053,\n                    \"speed\": 49\n                },\n                {\n                    \"date\": \"2023-10-10 11:03:08\",\n                    \"lat\": -2.996565,\n                    \"lon\": -47.457648,\n                    \"speed\": 65\n                },\n                {\n                    \"date\": \"2023-10-10 11:03:38\",\n                    \"lat\": -2.997107,\n                    \"lon\": -47.45657,\n                    \"speed\": 53\n                },\n                {\n                    \"date\": \"2023-10-10 11:04:08\",\n                    \"lat\": -2.997243,\n                    \"lon\": -47.456327,\n                    \"speed\": 71\n                },\n                {\n                    \"date\": \"2023-10-10 11:07:09\",\n                    \"lat\": -2.997383,\n                    \"lon\": -47.456003,\n                    \"speed\": 56\n                },\n                {\n                    \"date\": \"2023-10-10 11:07:39\",\n                    \"lat\": -2.997322,\n                    \"lon\": -47.456178,\n                    \"speed\": 75\n                },\n                {\n                    \"date\": \"2023-10-10 11:08:09\",\n                    \"lat\": -2.996897,\n                    \"lon\": -47.456828,\n                    \"speed\": 59\n                },\n                {\n                    \"date\": \"2023-10-10 11:08:39\",\n                    \"lat\": -2.99644,\n                    \"lon\": -47.457927,\n                    \"speed\": 64\n                }\n            ]\n        }\n    ]\n}\n"},{"id":"2954cd17-cc5e-48e5-9ff2-3e9af40d8e9b","name":"OK - Vehicle Full Positions successfully retrieved for specific vehicle","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://gateway-v3.gobrax.com.br:8888/api/v2/positions/GBX1234?startDate=2023-10-08T00:00:00-0300&endDate=2021-10-08T23:59:59-0300","protocol":"http","host":["gateway-v3","gobrax","com","br"],"port":"8888","path":["api","v2","positions","GBX1234"],"query":[{"key":"startDate","value":"2023-10-08T00:00:00-0300"},{"key":"endDate","value":"2021-10-08T23:59:59-0300"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"success\": true,\n\t\"data\": [\n\t\t{\n            \"identification\": \"GBX1234\",\n            \"positions\": [\n                {\n                    \"date\": \"2023-08-28 11:41:07\",\n                    \"lat\": -6.323385,\n                    \"lon\": -47.440385,\n                    \"speed\": 60\n                },\n                {\n                    \"date\": \"2023-08-28 11:51:07\",\n                    \"lat\": -6.323385,\n                    \"lon\": -47.44039,\n                    \"speed\": 45\n                },\n                {\n                    \"date\": \"2023-08-28 12:01:07\",\n                    \"lat\": -6.323387,\n                    \"lon\": -47.440392,\n                    \"speed\": 70\n                },\n                {\n                    \"date\": \"2023-08-28 12:11:07\",\n                    \"lat\": -6.323385,\n                    \"lon\": -47.440392,\n                    \"speed\": 55\n                },\n                {\n                    \"date\": \"2023-08-28 12:21:07\",\n                    \"lat\": -6.323388,\n                    \"lon\": -47.440392,\n                    \"speed\": 62\n                },\n                {\n                    \"date\": \"2023-08-28 12:31:07\",\n                    \"lat\": -6.323388,\n                    \"lon\": -47.440392,\n                    \"speed\": 49\n                },\n                {\n                    \"date\": \"2023-08-28 12:41:07\",\n                    \"lat\": -6.323388,\n                    \"lon\": -47.440392,\n                    \"speed\": 67\n                },\n                {\n                    \"date\": \"2023-08-28 12:51:07\",\n                    \"lat\": -6.323385,\n                    \"lon\": -47.440392,\n                    \"speed\": 52\n                },\n                {\n                    \"date\": \"2023-08-28 13:01:07\",\n                    \"lat\": -6.323385,\n                    \"lon\": -47.440392,\n                    \"speed\": 68\n                },\n                {\n                    \"date\": \"2023-08-28 13:11:07\",\n                    \"lat\": -6.323383,\n                    \"lon\": -47.440392,\n                    \"speed\": 53\n                },\n                {\n                    \"date\": \"2023-08-28 13:21:07\",\n                    \"lat\": -6.32338,\n                    \"lon\": -47.440393,\n                    \"speed\": 72\n                },\n                {\n                    \"date\": \"2023-08-28 13:31:07\",\n                    \"lat\": -6.323377,\n                    \"lon\": -47.440393,\n                    \"speed\": 47\n                },\n                {\n                    \"date\": \"2023-08-28 13:41:07\",\n                    \"lat\": -6.323377,\n                    \"lon\": -47.440395,\n                    \"speed\": 66\n                },\n                {\n                    \"date\": \"2023-08-28 13:51:07\",\n                    \"lat\": -6.323377,\n                    \"lon\": -47.440395,\n                    \"speed\": 51\n                },\n                {\n                    \"date\": \"2023-08-28 14:01:07\",\n                    \"lat\": -6.323375,\n                    \"lon\": -47.440395,\n                    \"speed\": 69\n                },\n                {\n                    \"date\": \"2023-08-28 14:11:07\",\n                    \"lat\": -6.323382,\n                    \"lon\": -47.440383,\n                    \"speed\": 54\n                },\n                {\n                    \"date\": \"2023-08-28 14:21:07\",\n                    \"lat\": -6.323373,\n                    \"lon\": -47.44038,\n                    \"speed\": 74\n                },\n                {\n                    \"date\": \"2023-08-28 14:31:07\",\n                    \"lat\": -6.323383,\n                    \"lon\": -47.44038,\n                    \"speed\": 59\n                },\n                {\n                    \"date\": \"2023-08-28 14:41:07\",\n                    \"lat\": -6.32338,\n                    \"lon\": -47.440383,\n                    \"speed\": 65\n                },\n                {\n                    \"date\": \"2023-08-28 14:51:07\",\n                    \"lat\": -6.32338,\n                    \"lon\": -47.440383,\n                    \"speed\": 50\n                }\n            ]\n        }\n\t]\n}"},{"id":"3a6e6390-9ec7-4075-b1ad-856a866aa526","name":"Bad Request - Failed to get Vehicle Last Position due missing start date","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://gateway-v3.gobrax.com.br:8888/api/v2/positions?endDate=2021-12-15T12:00:00-0300","protocol":"http","host":["gateway-v3","gobrax","com","br"],"port":"8888","path":["api","v2","positions"],"query":[{"key":"endDate","value":"2021-12-15T12:00:00-0300"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"400-2\",\n    \"errorDescription\": \"Start Date not provided\"\n}"},{"id":"ff1f78d7-1d0f-4606-90a6-647e83d4f969","name":"Bad Request - Failed to get Vehicle Last Position due missing end date","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://gateway-v3.gobrax.com.br:8888/api/v2/positions?startDate=2021-12-15T12:00:00-0300","protocol":"http","host":["gateway-v3","gobrax","com","br"],"port":"8888","path":["api","v2","positions"],"query":[{"key":"startDate","value":"2021-12-15T12:00:00-0300"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"400-3\",\n    \"errorDescription\": \"End Date not provided\"\n}"}],"_postman_id":"6022fe02-7378-48df-b7b2-70c5d9d2ab8d"},{"name":"Vehicle Positions for specific vehicle","id":"9187315c-2e04-41c6-abab-0967adf1efbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://gateway-v3.gobrax.com.br:8889/api/v2/positions/GBX-1234?startDate=2023-08-10T00:00:00-0300&endDate=2021-08-10T23:59:59-0300","description":"<h1 id=\"vehicles-positions\">Vehicles Positions</h1>\n<p>This API endpoint retrieves position data for vehicles within a specified time range.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<ul>\n<li><p>(required): The start date and time for the query in the format \"YYYY-MM-DD HH:mm:ss\".</p>\n</li>\n<li><p>(required): The end date and time for the query in the format \"YYYY-MM-DD HH:mm:ss\"</p>\n</li>\n<li><p>(optional): Filter positions by vehicle identification.</p>\n</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<p>Response is limited by 20 records for each vehicle.</p>\n<p>The following data is available for every record:</p>\n<h3 id=\"position\">Position</h3>\n<p>The response is a JSON object containing the following fields:</p>\n<ul>\n<li><p><code>success</code> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><code>data</code> (array): An array of objects, each representing position data for a vehicle.</p>\n</li>\n</ul>\n<h3 id=\"vehicle-object\">Vehicle Object</h3>\n<p>Each vehicle object has the following fields:</p>\n<ul>\n<li><p><code>identification</code> (string): The identification code of the vehicle.</p>\n</li>\n<li><p><code>positions</code> (array): An array of position objects for the vehicle.</p>\n</li>\n</ul>\n<h3 id=\"position-object\">Position Object</h3>\n<p>Each position object has the following fields:</p>\n<ul>\n<li><p><code>date</code> (string): The date and time of the position in the format \"YYYY-MM-DD HH:mm:ss\".</p>\n</li>\n<li><p><code>lat</code> (float): The latitude coordinate of the position.</p>\n</li>\n<li><p><code>lon</code> (float): The longitude coordinate of the position.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","port":"8889","path":["api","v2","positions","GBX-1234"],"host":["gateway-v3","gobrax","com","br"],"query":[{"description":{"content":"<p>(required) The start date time of the statistic in format YYYY-MM-DD HH:MM:SS. Should be expressed in UTC.</p>\n","type":"text/plain"},"key":"startDate","value":"2023-08-10T00:00:00-0300"},{"description":{"content":"<p>(required) The end date time of the statistic in format YYYY-MM-DD HH:MM:SS. Should be expressed in UTC.</p>\n","type":"text/plain"},"key":"endDate","value":"2021-08-10T23:59:59-0300"}],"variable":[]}},"response":[{"id":"59e32c64-701c-4da3-bb0d-f755eb5b153c","name":"OK - Vehicle Full Positions successfully retrieved for all vehicles","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://gateway-v3.gobrax.com.br:8888/api/v2/positions?startDate=2023-10-08T00:00:00-0300&endDate=2021-10-08T23:59:59-0300","protocol":"http","host":["gateway-v3","gobrax","com","br"],"port":"8888","path":["api","v2","positions"],"query":[{"key":"startDate","value":"2023-10-08T00:00:00-0300"},{"key":"endDate","value":"2021-10-08T23:59:59-0300"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"success\": true,\n\t\"data\": [\n\t\t{\n\t\t\t\"identification\": \"GBX1234\",\n\t\t\t\"positions\": [\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 11:41:07\",\n\t\t\t\t\t\"lat\": -6.323385,\n\t\t\t\t\t\"lon\": -47.440385\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 11:51:07\",\n\t\t\t\t\t\"lat\": -6.323385,\n\t\t\t\t\t\"lon\": -47.44039\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 12:01:07\",\n\t\t\t\t\t\"lat\": -6.323387,\n\t\t\t\t\t\"lon\": -47.440392\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 12:11:07\",\n\t\t\t\t\t\"lat\": -6.323385,\n\t\t\t\t\t\"lon\": -47.440392\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 12:21:07\",\n\t\t\t\t\t\"lat\": -6.323388,\n\t\t\t\t\t\"lon\": -47.440392\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 12:31:07\",\n\t\t\t\t\t\"lat\": -6.323388,\n\t\t\t\t\t\"lon\": -47.440392\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 12:41:07\",\n\t\t\t\t\t\"lat\": -6.323388,\n\t\t\t\t\t\"lon\": -47.440392\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 12:51:07\",\n\t\t\t\t\t\"lat\": -6.323385,\n\t\t\t\t\t\"lon\": -47.440392\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 13:01:07\",\n\t\t\t\t\t\"lat\": -6.323385,\n\t\t\t\t\t\"lon\": -47.440392\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 13:11:07\",\n\t\t\t\t\t\"lat\": -6.323383,\n\t\t\t\t\t\"lon\": -47.440392\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 13:21:07\",\n\t\t\t\t\t\"lat\": -6.32338,\n\t\t\t\t\t\"lon\": -47.440393\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 13:31:07\",\n\t\t\t\t\t\"lat\": -6.323377,\n\t\t\t\t\t\"lon\": -47.440393\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 13:41:07\",\n\t\t\t\t\t\"lat\": -6.323377,\n\t\t\t\t\t\"lon\": -47.440395\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 13:51:07\",\n\t\t\t\t\t\"lat\": -6.323377,\n\t\t\t\t\t\"lon\": -47.440395\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 14:01:07\",\n\t\t\t\t\t\"lat\": -6.323375,\n\t\t\t\t\t\"lon\": -47.440395\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 14:11:07\",\n\t\t\t\t\t\"lat\": -6.323382,\n\t\t\t\t\t\"lon\": -47.440383\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 14:21:07\",\n\t\t\t\t\t\"lat\": -6.323373,\n\t\t\t\t\t\"lon\": -47.44038\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 14:31:07\",\n\t\t\t\t\t\"lat\": -6.323383,\n\t\t\t\t\t\"lon\": -47.44038\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 14:41:07\",\n\t\t\t\t\t\"lat\": -6.32338,\n\t\t\t\t\t\"lon\": -47.440383\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-08-28 14:51:07\",\n\t\t\t\t\t\"lat\": -6.32338,\n\t\t\t\t\t\"lon\": -47.440383\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t\"identification\": \"GBX5678\",\n\t\t\t\"positions\": [\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 10:58:49\",\n\t\t\t\t\t\"lat\": -2.16785,\n\t\t\t\t\t\"lon\": -48.803885\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 10:59:19\",\n\t\t\t\t\t\"lat\": -2.170588,\n\t\t\t\t\t\"lon\": -48.8036\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 10:59:49\",\n\t\t\t\t\t\"lat\": -2.173572,\n\t\t\t\t\t\"lon\": -48.803295\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:00:19\",\n\t\t\t\t\t\"lat\": -2.175355,\n\t\t\t\t\t\"lon\": -48.803462\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:00:49\",\n\t\t\t\t\t\"lat\": -2.175458,\n\t\t\t\t\t\"lon\": -48.805442\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:01:19\",\n\t\t\t\t\t\"lat\": -2.177412,\n\t\t\t\t\t\"lon\": -48.805417\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:01:49\",\n\t\t\t\t\t\"lat\": -2.180293,\n\t\t\t\t\t\"lon\": -48.80505\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:02:19\",\n\t\t\t\t\t\"lat\": -2.183342,\n\t\t\t\t\t\"lon\": -48.804668\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:02:49\",\n\t\t\t\t\t\"lat\": -2.185785,\n\t\t\t\t\t\"lon\": -48.804358\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:03:19\",\n\t\t\t\t\t\"lat\": -2.188135,\n\t\t\t\t\t\"lon\": -48.80405\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:03:49\",\n\t\t\t\t\t\"lat\": -2.190482,\n\t\t\t\t\t\"lon\": -48.803782\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:04:19\",\n\t\t\t\t\t\"lat\": -2.192348,\n\t\t\t\t\t\"lon\": -48.803548\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:04:49\",\n\t\t\t\t\t\"lat\": -2.194297,\n\t\t\t\t\t\"lon\": -48.80329\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:05:19\",\n\t\t\t\t\t\"lat\": -2.196718,\n\t\t\t\t\t\"lon\": -48.802948\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:05:49\",\n\t\t\t\t\t\"lat\": -2.199475,\n\t\t\t\t\t\"lon\": -48.802578\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:06:19\",\n\t\t\t\t\t\"lat\": -2.201933,\n\t\t\t\t\t\"lon\": -48.802393\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:06:49\",\n\t\t\t\t\t\"lat\": -2.203912,\n\t\t\t\t\t\"lon\": -48.802737\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:07:19\",\n\t\t\t\t\t\"lat\": -2.204762,\n\t\t\t\t\t\"lon\": -48.803205\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:07:49\",\n\t\t\t\t\t\"lat\": -2.205273,\n\t\t\t\t\t\"lon\": -48.804562\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:08:19\",\n\t\t\t\t\t\"lat\": -2.205807,\n\t\t\t\t\t\"lon\": -48.806013\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t\"identification\": \"GBX4444\",\n\t\t\t\"positions\": [\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 10:56:39\",\n\t\t\t\t\t\"lat\": -2.961223,\n\t\t\t\t\t\"lon\": -47.449547\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 10:57:38\",\n\t\t\t\t\t\"lat\": -2.972107,\n\t\t\t\t\t\"lon\": -47.45218\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 10:58:08\",\n\t\t\t\t\t\"lat\": -2.977757,\n\t\t\t\t\t\"lon\": -47.453542\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 10:58:38\",\n\t\t\t\t\t\"lat\": -2.983245,\n\t\t\t\t\t\"lon\": -47.454862\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 10:59:08\",\n\t\t\t\t\t\"lat\": -2.985,\n\t\t\t\t\t\"lon\": -47.455687\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 10:59:38\",\n\t\t\t\t\t\"lat\": -2.985515,\n\t\t\t\t\t\"lon\": -47.45555\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:00:08\",\n\t\t\t\t\t\"lat\": -2.987123,\n\t\t\t\t\t\"lon\": -47.455805\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:00:38\",\n\t\t\t\t\t\"lat\": -2.99136,\n\t\t\t\t\t\"lon\": -47.456818\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:01:08\",\n\t\t\t\t\t\"lat\": -2.995325,\n\t\t\t\t\t\"lon\": -47.457793\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:01:38\",\n\t\t\t\t\t\"lat\": -2.99556,\n\t\t\t\t\t\"lon\": -47.457862\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:02:08\",\n\t\t\t\t\t\"lat\": -2.995573,\n\t\t\t\t\t\"lon\": -47.457862\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:02:38\",\n\t\t\t\t\t\"lat\": -2.996387,\n\t\t\t\t\t\"lon\": -47.458053\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:03:08\",\n\t\t\t\t\t\"lat\": -2.996565,\n\t\t\t\t\t\"lon\": -47.457648\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:03:38\",\n\t\t\t\t\t\"lat\": -2.997107,\n\t\t\t\t\t\"lon\": -47.45657\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:04:08\",\n\t\t\t\t\t\"lat\": -2.997243,\n\t\t\t\t\t\"lon\": -47.456327\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:07:09\",\n\t\t\t\t\t\"lat\": -2.997383,\n\t\t\t\t\t\"lon\": -47.456003\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:07:39\",\n\t\t\t\t\t\"lat\": -2.997322,\n\t\t\t\t\t\"lon\": -47.456178\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:08:09\",\n\t\t\t\t\t\"lat\": -2.996897,\n\t\t\t\t\t\"lon\": -47.456828\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"date\": \"2023-10-10 11:08:39\",\n\t\t\t\t\t\"lat\": -2.99644,\n\t\t\t\t\t\"lon\": -47.457927\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t]\n}"},{"id":"2a4b2c0b-7e51-4fd3-8aaf-79695487cd29","name":"Bad Request - Failed to get Vehicle Last Position due missing start date","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://gateway-v3.gobrax.com.br:8888/api/v2/positions?endDate=2021-12-15T12:00:00-0300","protocol":"http","host":["gateway-v3","gobrax","com","br"],"port":"8888","path":["api","v2","positions"],"query":[{"key":"endDate","value":"2021-12-15T12:00:00-0300"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"400-2\",\n    \"errorDescription\": \"Start Date not provided\"\n}"},{"id":"e427c129-18cd-4401-bab2-a31a8a3d9856","name":"Bad Request - Failed to get Vehicle Last Position due missing end date","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://gateway-v3.gobrax.com.br:8888/api/v2/positions?startDate=2021-12-15T12:00:00-0300","protocol":"http","host":["gateway-v3","gobrax","com","br"],"port":"8888","path":["api","v2","positions"],"query":[{"key":"startDate","value":"2021-12-15T12:00:00-0300"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"400-3\",\n    \"errorDescription\": \"End Date not provided\"\n}"}],"_postman_id":"9187315c-2e04-41c6-abab-0967adf1efbf"}]}