{"info":{"_postman_id":"08d49cc6-b872-435a-a9de-aa7f6222da6d","name":"V2 Gobrax Public Drivers 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":"27100945","collectionId":"08d49cc6-b872-435a-a9de-aa7f6222da6d","publishedId":"2s93eU4FGG","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-05-02T22:47:46.000Z"},"item":[{"name":"Drivers","id":"9c2f0647-b5f0-4c29-bb21-f9c0be4585f7","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/drivers/{{$driverId}}","description":"<h3 id=\"drivers\">Drivers</h3>\n<p>Drivers endpoint api</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>driverId</td>\n<td>int</td>\n<td>id of the driver received on creation</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","port":"8889","path":["api","v2","drivers","{{$driverId}}"],"host":["gateway-v3","gobrax","com","br"],"query":[],"variable":[]}},"response":[{"id":"a3f3678f-e580-4aae-a7a4-3eac432fa3b1","name":"OK - Get driver from specific ID","originalRequest":{"method":"GET","header":[],"url":"https://gateway-v3.gobrax.com.br:8889/api/v2/drivers/{{$driverId}}"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 00001,\n    \"driverDocument\": \"0000000000\",\n    \"companyName\": \"Nome da compania LTDA\",\n    \"companyDocument\": \"00.111.000/0001-10\",\n    \"email\": \"email@gobrax.com\",\n    \"phone\": \"0102030405\",\n    \"birthDate\": \"DD/MM/YYY\",\n    \"observation\": \"\",\n    \"canLink\": true,\n    \"name\": \"Nome do motorista\"\n}"}],"_postman_id":"9c2f0647-b5f0-4c29-bb21-f9c0be4585f7"},{"name":"Drivers","id":"d423c119-8feb-42c5-b76b-e87a688b2f3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://gateway-v3.gobrax.com.br:8889/api/v2/drivers/{{$driverId}}","description":"<h3 id=\"drivers\">Drivers</h3>\n<p>Drivers endpoint api</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>driverId</td>\n<td>int</td>\n<td>id of the driver returned on creation</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","port":"8889","path":["api","v2","drivers","{{$driverId}}"],"host":["gateway-v3","gobrax","com","br"],"query":[],"variable":[]}},"response":[{"id":"2414beca-dce1-4cf7-9a11-89dac290b8d3","name":"OK - Remove driver from specific Id","originalRequest":{"method":"GET","header":[],"url":"http://gateway-v3.gobrax.com.br:8888/api/v2/drivers/0"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Driver deleted successfully\"\n}"}],"_postman_id":"d423c119-8feb-42c5-b76b-e87a688b2f3a"},{"name":"Drivers Copy","id":"4e496f0d-d066-4259-b26f-250615b4ba83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"driverDocument\": \"0000000000\",\n    \"email\": \"email@gobrax.com\",\n    \"phone\": \"0102030405\",\n    \"birthDate\": \"DD/MM/YYY\",\n    \"observation\": \"\",\n    \"canLink\": true,\n    \"name\": \"Nome do motorista\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway-v3.gobrax.com.br:8889/api/v2/drivers","description":"<h3 id=\"drivers\">Drivers</h3>\n<p>Drivers endpoint api</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>driverDocument</td>\n<td>string</td>\n<td><strong>(required)</strong> Identification of the driver (CPF)</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>Driver email</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>Driver cell phone 55 XXXXX XXXX</td>\n</tr>\n<tr>\n<td>birthDate</td>\n<td>floatstring</td>\n<td>Driver birth date <strong>DD/MM/YYYY</strong></td>\n</tr>\n<tr>\n<td>observation</td>\n<td>string</td>\n<td>Free text to observation (max 255 chars)</td>\n</tr>\n<tr>\n<td>canLink</td>\n<td>boolean</td>\n<td><strong>(required)</strong>  <br /><strong>true</strong>: driver is able to associate with a vehicle  <br /><strong>false</strong>: driver cannot associate.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><strong>(required)</strong> Driver name and surname</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","port":"8889","path":["api","v2","drivers"],"host":["gateway-v3","gobrax","com","br"],"query":[],"variable":[]}},"response":[{"id":"a8cc2627-ae50-486d-8897-afda67880636","name":"OK - Create new driver","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"driverDocument\": \"0000000000\",\n    \"companyName\": \"Nome da compania LTDA\",\n    \"companyDocument\": \"00.111.000/0001-10\",\n    \"email\": \"email@gobrax.com\",\n    \"phone\": \"0102030405\",\n    \"birthDate\": \"DD/MM/YYY\",\n    \"observation\": \"\",\n    \"canLink\": true,\n    \"name\": \"Nome do motorista\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gateway-v3.gobrax.com.br:8889/api/v2/drivers/{{$driverId}}"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 00001,\n    \"driverDocument\": \"0000000000\",\n    \"companyName\": \"Nome da compania LTDA\",\n    \"companyDocument\": \"00.111.000/0001-10\",\n    \"email\": \"email@gobrax.com\",\n    \"phone\": \"0102030405\",\n    \"birthDate\": \"DD/MM/YYY\",\n    \"observation\": \"\",\n    \"canLink\": true,\n    \"name\": \"Nome do motorista\"\n}"}],"_postman_id":"4e496f0d-d066-4259-b26f-250615b4ba83"}],"event":[{"listen":"prerequest","script":{"id":"c636b409-3836-4848-b0ec-20a4cfa3bc5a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2af3f809-9f52-4254-9bdf-3aa685f55cae","type":"text/javascript","exec":[""]}}],"variable":[{"key":"driverId","value":"0","type":"string"}]}