{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/drivers.json","auth":"never","try":true,"basic_auth":false,"method":"post","params":[{"name":"api_key","type":"string","default":"","desc":"This is a 25 alphanumeric hash code provided to you by the fleet.","required":true,"in":"body","ref":"","_id":"543f109055bb10080009568b"},{"name":"vehicle_preference","type":"string","default":"","desc":"This is the vehicle preference specified when placing the booking. Please look at the list further down on this page for available values.","required":false,"in":"body","ref":"","_id":"543f109055bb10080009568a"}],"results":{"codes":[{"language":"json","code":"{\n \"taxi_id\": \"134\",\n \"lat\": \"43.066586\",\n \"long\": \"-37.061775\",\n \"first_name\": \"Mike\",\n \"last_name\": \"Bloggs\",\n \"status\": \"Busy\",\n \"car_type\": \"MPV\",\n \"online\": \"Y\"\n},\n{\n \"taxi_id\": \"543\",\n \"lat\": \"43.102894\",\n \"long\": \"-36.809235\",\n \"first_name\": \"Adam\",\n \"last_name\": \"Doe\",\n \"status\": \"Away\",\n \"car_type\": \"SALOON\",\n \"online\": \"Y\"\n}","name":"Success"},{"language":"json","code":"{\n \"error\": \"Invalid Hash ID\"\n}","name":"Failure"}]},"settings":""},"next":{"description":"","pages":[]},"title":"drivers","type":"endpoint","slug":"drivers","excerpt":"Get all the available drivers last locations and statuses.","body":"This chapter describes how to grab all currently available driver locations by using the DRIVERS command. This can be used for mobile applications that use a cache of this data to obtain the location of available drivers. We suggest grabbing this data in no less than 15 second increments and use a cache to prevent hitting Acceptable Use API breach restrictions.\n[block:api-header]\n{\n \"type\": \"basic\",\n \"title\": \"Vehicle Preferences\"\n}\n[/block]\nYou can use any of the below for the vehicle preference option:\n\n * NA = Not Applicable / No Preference\n * SALOON = Saloon Car\n * ESTATE = Estate Car\n * EXEC = Executive Car\n * MPV = MPV\n * MPVPLUS = MPV Plus\n * 8SEATER = 8 Seater Vehicle\n * MINIBUS = Mini Bus\n * LIMO = Limousine\n * BUS = Bus\n * COACH = Coach\n \nThe default setting is NA.","updates":[],"order":15,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"543f109055bb100800095689","project":"543005c87d487022005b3fa8","githubsync":"","__v":0,"editedParams":true,"editedParams2":true,"parentDoc":null,"user":"543005a67d487022005b3fa7","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["543005c87d487022005b3fac","54345156edce04080040964e","543ee0c055bb1008000955b6","54c82a78ab706219009e0656","57390d0e1f4b740e00b06cb2","5741d5ab28f5fb0e0063ed36","5d1e4140522cd702b31b544b","5e321f8b5517b00012831b6a"],"_id":"543005c87d487022005b3fab","__v":8,"createdAt":"2014-10-04T14:35:52.362Z","releaseDate":"2014-10-04T14:35:52.362Z","project":"543005c87d487022005b3fa8"},"category":{"sync":{"isSync":false,"url":""},"pages":["543ee1d615d0560800502749","543ee5c015d0560800502758","543ee87715d0560800502763","543ee9e315d056080050276c","543f003c55bb100800095624","543f030555bb10080009563f","543f0b3e15d05608005027ee","543f0d0755bb10080009566d","543f0e8415d056080050281b","543f0f8f55bb10080009567e","543f109055bb100800095689","543f11d315d056080050282b","543f15c615d0560800502845","544aec7fa761f90800c41d32","545a7fae1d018b1400227eff","545e9dc97e32310e00f400ca","5603c5dde416560d00fa63ad","564ed2eb9209cf0d001d6917","56cb2acb245b841300806ea4","56e05f414685db1700d9480b","56e063e4f97d422900d639bf"],"title":"Gazoop Internal API","slug":"iwebcab-api-tools","order":1,"from_sync":false,"reference":false,"_id":"543ee0c055bb1008000955b6","__v":21,"createdAt":"2014-10-15T21:01:52.185Z","project":"543005c87d487022005b3fa8","version":"543005c87d487022005b3fab"},"createdAt":"2014-10-16T00:25:52.838Z","is_link":false}
postdrivers
Get all the available drivers last locations and statuses.
Definition
{{ api_url }}{{ page_api_url }}
Parameters
Body Params
api_key:
required
string
This is a 25 alphanumeric hash code provided to you by the fleet.
vehicle_preference:
string
This is the vehicle preference specified when placing the booking. Please look at the list further down on this page for available values.