{"info":{"_postman_id":"f1c929d0-7279-451c-8e80-a50674862c5a","name":"Gobrax API - Performances","description":"<html><head></head><body><h3 id=\"autenticação\">Autenticação</h3>\n<p>A verificação de segurança é feita em toda requisição através do token de API.</p>\n<p>O token deve estar presente em todas as requisições.</p>\n<p>O token será fornecido pela Gobrax após a assinatura de contrato de uso da API, mande um email para <a href=\"https://mailto:suporte@gobrax.com.br\">suporte@gobrax.com.br</a> tanto para criação quanto para manutenção do seu token.</p>\n<p>O token de segurança deve estar presente no header (cabeçalho) das requisições e seguir o padrão, como no exemplo abaixo sem as aspas ou espaços antes ou depois:</p>\n<blockquote>\n<p>Authorization: Bearer your-token-here</p>\n</blockquote>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"27100945","collectionId":"f1c929d0-7279-451c-8e80-a50674862c5a","publishedId":"2s93eU4FLe","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-05-02T23:16:03.000Z"},"item":[{"name":"Vehicles Performance","id":"3444cbe0-febe-4908-ac61-461d9e0e6268","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/v1/vehicle-performance?startDate=2026-08-01 00:00:00&endDate=2026-08-01 23:59:59&vehicleIdentification=","description":"<h3 id=\"vehicles-performance\">Vehicles Performance</h3>\n<p>Vehicle performance represents the driving indicators computed for a tracked vehicle in the requested period, together with the drivers assigned to the vehicle in that period.</p>\n<p>When <code>vehicleIdentification</code> is informed, only that vehicle is returned. When it is omitted, the vehicles of the authenticated customer are returned. Vehicles without data in the period are returned with zeroed indicators. <code>records</code> is <code>null</code> when no vehicle could be returned (e.g. the customer has no vehicles). There is no pagination and the order of the records is not guaranteed.</p>\n<p>The following data is available for every record:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>vehicleIdentification</td>\n<td>string</td>\n<td>Identification of the vehicle present on our systems (either the plate or a name).</td>\n</tr>\n<tr>\n<td>startDate</td>\n<td>string</td>\n<td>The start date time of the request in format <em>YYYY-MM-DD HH:MM:SS</em>.</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td>string</td>\n<td>The end date time of the request in format <em>YYYY-MM-DD HH:MM:SS</em>.</td>\n</tr>\n<tr>\n<td>drivers</td>\n<td>array</td>\n<td>Drivers assigned to the vehicle in the period. <strong>It is <code>null</code> when there is no assigned driver</strong>.</td>\n</tr>\n<tr>\n<td>drivers.driverName</td>\n<td>string</td>\n<td>Name of the driver.</td>\n</tr>\n<tr>\n<td>drivers.cpf</td>\n<td>string</td>\n<td>CPF (document number) of the driver.</td>\n</tr>\n<tr>\n<td>drivers.startDate</td>\n<td>string</td>\n<td>The start date time of the driver assignment in format <em>YYYY-MM-DDTHH:MM:SS±hhmm</em> (UTC).  <br />The period is clipped to the requested window: for an assignment started before the requested <code>startDate</code>, it is the requested <code>startDate</code>. Drivers are ordered by the assignment start, most recent first.</td>\n</tr>\n<tr>\n<td>drivers.endDate</td>\n<td>string</td>\n<td>The end date time of the driver assignment in format <em>YYYY-MM-DDTHH:MM:SS±hhmm</em> (UTC).  <br />The period is clipped to the requested window: for an assignment still open, it is the requested <code>endDate</code>.</td>\n</tr>\n<tr>\n<td>indicators</td>\n<td>object</td>\n<td>Performance indicators of the vehicle in the period (see below).</td>\n</tr>\n</tbody>\n</table>\n</div><p>The <code>indicators</code> object contains the following indicators:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>movement</td>\n<td>object</td>\n<td>Vehicle in movement.</td>\n</tr>\n<tr>\n<td>greenRange</td>\n<td>object</td>\n<td>Driving inside the green range.</td>\n</tr>\n<tr>\n<td>extraEconomicRange</td>\n<td>object</td>\n<td>Driving in the beginning of the green range.</td>\n</tr>\n<tr>\n<td>economicRange</td>\n<td>object</td>\n<td>Driving in the economic range.</td>\n</tr>\n<tr>\n<td>powerRange</td>\n<td>object</td>\n<td>Driving above the green range.</td>\n</tr>\n<tr>\n<td>leverage</td>\n<td>object</td>\n<td>Use of momentum (coasting).</td>\n</tr>\n<tr>\n<td>speeding</td>\n<td>object</td>\n<td>Driving above the speed limit.</td>\n</tr>\n<tr>\n<td>engineBrake</td>\n<td>object</td>\n<td>Use of the engine brake.</td>\n</tr>\n<tr>\n<td>cruiseControl</td>\n<td>object</td>\n<td>Use of the cruise control.</td>\n</tr>\n<tr>\n<td>ecoRoll</td>\n<td>object</td>\n<td>Use of Eco Roll / I-Roll.</td>\n</tr>\n<tr>\n<td>idle</td>\n<td>object</td>\n<td>Engine on with the vehicle stopped.</td>\n</tr>\n<tr>\n<td>pedalPressureOnLow</td>\n<td>object</td>\n<td>Low accelerator pedal pressure.</td>\n</tr>\n<tr>\n<td>pedalPressureOnMid</td>\n<td>object</td>\n<td>Medium accelerator pedal pressure.</td>\n</tr>\n<tr>\n<td>pedalPressureOnHig</td>\n<td>object</td>\n<td>High accelerator pedal pressure. <strong>The field name is <code>pedalPressureOnHig</code> (without the final \"h\")</strong>.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Every indicator contains:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>duration</td>\n<td>float</td>\n<td>Duration recorded for the indicator in the period.</td>\n</tr>\n<tr>\n<td>percentage</td>\n<td>float</td>\n<td>Percentage related to the indicator in the period.</td>\n</tr>\n<tr>\n<td>score</td>\n<td>integer</td>\n<td>Score of the indicator.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","port":"8889","path":["api","v1","vehicle-performance"],"host":["gateway-v3","gobrax","com","br"],"query":[{"description":{"content":"<p>(required) The start date time of the query in format YYYY-MM-DD HH:MM:SS.</p>\n","type":"text/plain"},"key":"startDate","value":"2026-08-01 00:00:00"},{"description":{"content":"<p>(required) The end date time of the query in format YYYY-MM-DD HH:MM:SS.</p>\n","type":"text/plain"},"key":"endDate","value":"2026-08-01 23:59:59"},{"description":{"content":"<p>(optional) Plate of the vehicle present on our systems. When omitted, all vehicles of the customer are returned.</p>\n","type":"text/plain"},"key":"vehicleIdentification","value":""}],"variable":[]}},"response":[{"id":"fafb8740-4046-473d-a51f-a335be368958","name":"OK - Vehicle Performance successfully retrieved for all vehicles","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer YOUR-KEY","type":"text"}],"url":{"raw":"https://gateway-v3.gobrax.com.br:8889/api/v1/vehicle-performance?startDate=2026-08-01 00:00:00&endDate=2026-08-01 23:59:59","protocol":"https","host":["gateway-v3","gobrax","com","br"],"port":"8889","path":["api","v1","vehicle-performance"],"query":[{"key":"startDate","value":"2026-08-01 00:00:00"},{"key":"endDate","value":"2026-08-01 23:59:59"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": [\n        {\n            \"vehicleIdentification\": \"ABC1234\",\n            \"startDate\": \"2026-08-01 00:00:00\",\n            \"endDate\": \"2026-08-01 23:59:59\",\n            \"drivers\": [\n                {\n                    \"driverName\": \"John Doe\",\n                    \"cpf\": \"55566677788\",\n                    \"startDate\": \"2026-08-01T13:00:00+0000\",\n                    \"endDate\": \"2026-08-01T23:59:59+0000\"\n                },\n                {\n                    \"driverName\": \"James Smith\",\n                    \"cpf\": \"11122233344\",\n                    \"startDate\": \"2026-08-01T00:00:00+0000\",\n                    \"endDate\": \"2026-08-01T12:00:00+0000\"\n                }\n            ],\n            \"indicators\": {\n                \"movement\": {\n                    \"duration\": 390.0,\n                    \"percentage\": 100,\n                    \"score\": 0\n                },\n                \"greenRange\": {\n                    \"duration\": 341.11,\n                    \"percentage\": 87.46,\n                    \"score\": 4\n                },\n                \"extraEconomicRange\": {\n                    \"duration\": 197.1,\n                    \"percentage\": 50.53,\n                    \"score\": 5\n                },\n                \"economicRange\": {\n                    \"duration\": 144.01,\n                    \"percentage\": 36.92,\n                    \"score\": 4\n                },\n                \"powerRange\": {\n                    \"duration\": 12.5,\n                    \"percentage\": 3.2,\n                    \"score\": 2\n                },\n                \"leverage\": {\n                    \"duration\": 82.98,\n                    \"percentage\": 21.27,\n                    \"score\": 5\n                },\n                \"speeding\": {\n                    \"duration\": 24.05,\n                    \"percentage\": 6.16,\n                    \"score\": 2\n                },\n                \"engineBrake\": {\n                    \"duration\": 33.48,\n                    \"percentage\": 8.58,\n                    \"score\": 2\n                },\n                \"cruiseControl\": {\n                    \"duration\": 45.2,\n                    \"percentage\": 11.59,\n                    \"score\": 4\n                },\n                \"ecoRoll\": {\n                    \"duration\": 2.5,\n                    \"percentage\": 0.64,\n                    \"score\": 3\n                },\n                \"idle\": {\n                    \"duration\": 14.5,\n                    \"percentage\": 3.71,\n                    \"score\": 3\n                },\n                \"pedalPressureOnLow\": {\n                    \"duration\": 250.0,\n                    \"percentage\": 64.1,\n                    \"score\": 5\n                },\n                \"pedalPressureOnMid\": {\n                    \"duration\": 127.5,\n                    \"percentage\": 32.69,\n                    \"score\": 3\n                },\n                \"pedalPressureOnHig\": {\n                    \"duration\": 12.5,\n                    \"percentage\": 3.2,\n                    \"score\": 2\n                }\n            }\n        },\n        {\n            \"vehicleIdentification\": \"DEF5G67\",\n            \"startDate\": \"2026-08-01 00:00:00\",\n            \"endDate\": \"2026-08-01 23:59:59\",\n            \"drivers\": null,\n            \"indicators\": {\n                \"movement\": {\n                    \"duration\": 195.0,\n                    \"percentage\": 100,\n                    \"score\": 0\n                },\n                \"greenRange\": {\n                    \"duration\": 170.56,\n                    \"percentage\": 87.46,\n                    \"score\": 4\n                },\n                \"extraEconomicRange\": {\n                    \"duration\": 98.55,\n                    \"percentage\": 50.53,\n                    \"score\": 5\n                },\n                \"economicRange\": {\n                    \"duration\": 72.0,\n                    \"percentage\": 36.92,\n                    \"score\": 4\n                },\n                \"powerRange\": {\n                    \"duration\": 6.25,\n                    \"percentage\": 3.2,\n                    \"score\": 2\n                },\n                \"leverage\": {\n                    \"duration\": 41.49,\n                    \"percentage\": 21.27,\n                    \"score\": 5\n                },\n                \"speeding\": {\n                    \"duration\": 12.03,\n                    \"percentage\": 6.16,\n                    \"score\": 2\n                },\n                \"engineBrake\": {\n                    \"duration\": 16.74,\n                    \"percentage\": 8.58,\n                    \"score\": 2\n                },\n                \"cruiseControl\": {\n                    \"duration\": 22.6,\n                    \"percentage\": 11.59,\n                    \"score\": 4\n                },\n                \"ecoRoll\": {\n                    \"duration\": 1.25,\n                    \"percentage\": 0.64,\n                    \"score\": 3\n                },\n                \"idle\": {\n                    \"duration\": 7.25,\n                    \"percentage\": 3.71,\n                    \"score\": 3\n                },\n                \"pedalPressureOnLow\": {\n                    \"duration\": 125.0,\n                    \"percentage\": 64.1,\n                    \"score\": 5\n                },\n                \"pedalPressureOnMid\": {\n                    \"duration\": 63.75,\n                    \"percentage\": 32.69,\n                    \"score\": 3\n                },\n                \"pedalPressureOnHig\": {\n                    \"duration\": 6.25,\n                    \"percentage\": 3.2,\n                    \"score\": 2\n                }\n            }\n        }\n    ]\n}"},{"id":"6fa0d7ce-47e8-4c57-926a-38b6e7ba4d47","name":"OK - Vehicle Performance successfully retrieved for a specific vehicle","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer YOUR-KEY","type":"text"}],"url":{"raw":"https://gateway-v3.gobrax.com.br:8889/api/v1/vehicle-performance?startDate=2026-08-01 00:00:00&endDate=2026-08-01 23:59:59&vehicleIdentification=ABC1234","protocol":"https","host":["gateway-v3","gobrax","com","br"],"port":"8889","path":["api","v1","vehicle-performance"],"query":[{"key":"startDate","value":"2026-08-01 00:00:00"},{"key":"endDate","value":"2026-08-01 23:59:59"},{"key":"vehicleIdentification","value":"ABC1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": [\n        {\n            \"vehicleIdentification\": \"ABC1234\",\n            \"startDate\": \"2026-08-01 00:00:00\",\n            \"endDate\": \"2026-08-01 23:59:59\",\n            \"drivers\": [\n                {\n                    \"driverName\": \"John Doe\",\n                    \"cpf\": \"55566677788\",\n                    \"startDate\": \"2026-08-01T13:00:00+0000\",\n                    \"endDate\": \"2026-08-01T23:59:59+0000\"\n                },\n                {\n                    \"driverName\": \"James Smith\",\n                    \"cpf\": \"11122233344\",\n                    \"startDate\": \"2026-08-01T00:00:00+0000\",\n                    \"endDate\": \"2026-08-01T12:00:00+0000\"\n                }\n            ],\n            \"indicators\": {\n                \"movement\": {\n                    \"duration\": 390.0,\n                    \"percentage\": 100,\n                    \"score\": 0\n                },\n                \"greenRange\": {\n                    \"duration\": 341.11,\n                    \"percentage\": 87.46,\n                    \"score\": 4\n                },\n                \"extraEconomicRange\": {\n                    \"duration\": 197.1,\n                    \"percentage\": 50.53,\n                    \"score\": 5\n                },\n                \"economicRange\": {\n                    \"duration\": 144.01,\n                    \"percentage\": 36.92,\n                    \"score\": 4\n                },\n                \"powerRange\": {\n                    \"duration\": 12.5,\n                    \"percentage\": 3.2,\n                    \"score\": 2\n                },\n                \"leverage\": {\n                    \"duration\": 82.98,\n                    \"percentage\": 21.27,\n                    \"score\": 5\n                },\n                \"speeding\": {\n                    \"duration\": 24.05,\n                    \"percentage\": 6.16,\n                    \"score\": 2\n                },\n                \"engineBrake\": {\n                    \"duration\": 33.48,\n                    \"percentage\": 8.58,\n                    \"score\": 2\n                },\n                \"cruiseControl\": {\n                    \"duration\": 45.2,\n                    \"percentage\": 11.59,\n                    \"score\": 4\n                },\n                \"ecoRoll\": {\n                    \"duration\": 2.5,\n                    \"percentage\": 0.64,\n                    \"score\": 3\n                },\n                \"idle\": {\n                    \"duration\": 14.5,\n                    \"percentage\": 3.71,\n                    \"score\": 3\n                },\n                \"pedalPressureOnLow\": {\n                    \"duration\": 250.0,\n                    \"percentage\": 64.1,\n                    \"score\": 5\n                },\n                \"pedalPressureOnMid\": {\n                    \"duration\": 127.5,\n                    \"percentage\": 32.69,\n                    \"score\": 3\n                },\n                \"pedalPressureOnHig\": {\n                    \"duration\": 12.5,\n                    \"percentage\": 3.2,\n                    \"score\": 2\n                }\n            }\n        }\n    ]\n}"},{"id":"1d2a2151-0580-4ac7-9726-36fa1dbad111","name":"OK - No vehicles returned","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer YOUR-KEY","type":"text"}],"url":{"raw":"https://gateway-v3.gobrax.com.br:8889/api/v1/vehicle-performance?startDate=2026-08-01 00:00:00&endDate=2026-08-01 23:59:59","protocol":"https","host":["gateway-v3","gobrax","com","br"],"port":"8889","path":["api","v1","vehicle-performance"],"query":[{"key":"startDate","value":"2026-08-01 00:00:00"},{"key":"endDate","value":"2026-08-01 23:59:59"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": null\n}"},{"id":"8c2bf558-b525-4f01-84a9-c82de8fbc4b5","name":"Bad Request - Failed to get Vehicle Performance due missing authorization","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://gateway-v3.gobrax.com.br:8889/api/v1/vehicle-performance?startDate=2026-08-01 00:00:00&endDate=2026-08-01 23:59:59&vehicleIdentification=ABC1234","protocol":"https","host":["gateway-v3","gobrax","com","br"],"port":"8889","path":["api","v1","vehicle-performance"],"query":[{"key":"startDate","value":"2026-08-01 00:00:00"},{"key":"endDate","value":"2026-08-01 23:59:59"},{"key":"vehicleIdentification","value":"ABC1234"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"266a0853-00ed-43c0-a381-194b6223e1b5","name":"Bad Request - Failed to get Vehicle Performance due invalid token","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer INVALID-KEY","type":"text"}],"url":{"raw":"https://gateway-v3.gobrax.com.br:8889/api/v1/vehicle-performance?startDate=2026-08-01 00:00:00&endDate=2026-08-01 23:59:59&vehicleIdentification=ABC1234","protocol":"https","host":["gateway-v3","gobrax","com","br"],"port":"8889","path":["api","v1","vehicle-performance"],"query":[{"key":"startDate","value":"2026-08-01 00:00:00"},{"key":"endDate","value":"2026-08-01 23:59:59"},{"key":"vehicleIdentification","value":"ABC1234"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 61,\n    \"description\": \"Token inválido\",\n    \"reference\": \"https://documenter.getpostman.com/view/27100945/2s93eU4FLe\"\n}"},{"id":"a3e562ad-b475-4fc2-a008-690db1c6db00","name":"Bad Request - Failed to get Vehicle Performance due invalid date format","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://gateway-v3.gobrax.com.br:8889/api/v1/vehicle-performance?startDate=2026-08-01T00:00:00&endDate=2026-08-01 23:59:59&vehicleIdentification=ABC1234","protocol":"https","host":["gateway-v3","gobrax","com","br"],"port":"8889","path":["api","v1","vehicle-performance"],"query":[{"key":"startDate","value":"2026-08-01T00:00:00"},{"key":"endDate","value":"2026-08-01 23:59:59"},{"key":"vehicleIdentification","value":"ABC1234"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Layout\": \"2006-01-02 15:04:05\",\n    \"Value\": \"2026-08-01T00:00:00\",\n    \"LayoutElem\": \" \",\n    \"ValueElem\": \"T00:00:00\",\n    \"Message\": \"\"\n}"},{"id":"ce65e784-8d5f-4348-8b86-760f09bbf59c","name":"Not Found - Failed to get Vehicle Performance due missing vehicle","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer YOUR-KEY","type":"text"}],"url":{"raw":"https://gateway-v3.gobrax.com.br:8889/api/v1/vehicle-performance?startDate=2026-08-01 00:00:00&endDate=2026-08-01 23:59:59&vehicleIdentification=NONE-1","protocol":"https","host":["gateway-v3","gobrax","com","br"],"port":"8889","path":["api","v1","vehicle-performance"],"query":[{"key":"startDate","value":"2026-08-01 00:00:00"},{"key":"endDate","value":"2026-08-01 23:59:59"},{"key":"vehicleIdentification","value":"NONE-1"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 1,\n    \"description\": \"Veículo não identificado\",\n    \"reference\": \"https://documenter.getpostman.com/view/27100945/2s93eU4FLe\"\n}"}],"_postman_id":"3444cbe0-febe-4908-ac61-461d9e0e6268"}]}