{"_id":"57390e2d4dea9d0e000519af","editedParams2":true,"__v":1,"editedParams":true,"parentDoc":null,"project":"543005c87d487022005b3fa8","user":"543005a67d487022005b3fa7","version":{"_id":"543005c87d487022005b3fab","__v":6,"project":"543005c87d487022005b3fa8","createdAt":"2014-10-04T14:35:52.362Z","releaseDate":"2014-10-04T14:35:52.362Z","categories":["543005c87d487022005b3fac","54345156edce04080040964e","543ee0c055bb1008000955b6","54c82a78ab706219009e0656","57390d0e1f4b740e00b06cb2","5741d5ab28f5fb0e0063ed36"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"57390d0e1f4b740e00b06cb2","project":"543005c87d487022005b3fa8","__v":0,"version":"543005c87d487022005b3fab","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-05-15T23:58:06.028Z","from_sync":false,"order":9999,"slug":"iwebcab-customer-api","title":"Gazoop Customer API"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-16T00:02:53.163Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","examples":{"codes":[]},"method":"post","results":{"codes":[{"name":"Failure","code":"{\n    \"error\": \"Authentication Failed\"\n}","language":"json"},{"language":"json","name":"Success","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  \"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  \"online\": \"Y\"\n}"}]},"auth":"never","params":[{"_id":"543eb372fd81651c008e4d50","ref":"","in":"body","required":true,"desc":"This is the username for the customer account (generally a phone number in international format, excluding the + or 00)","default":"","type":"string","name":"username"},{"_id":"57390fbb9042980e00ad1a8a","ref":"","in":"body","required":true,"desc":"This is the password for the customer account (generally a PIN number of a minimum 4 digit length, and up to 12 digits long).","default":"","type":"string","name":"password"},{"_id":"543eb372fd81651c008e4d4f","ref":"","in":"body","required":true,"desc":"This is the command or tool you wish to access or execute. For example, in order to place a booking you would use “instant_booking”.","default":"drivers","type":"string","name":"command"},{"_id":"543eb372fd81651c008e4d4e","ref":"","in":"body","required":false,"desc":"If TRUE, all keys are returned in uppercase.","default":"false","type":"boolean","name":"uppercase"}],"url":"/live.json"},"isReference":false,"order":0,"body":"An API Request contains the following:\n\n  * Connection Parameters\n  * User Parameters\n  * Parameters specific to the type of transaction, such as a new booking or cancellation. \n\nCurrently our API only supports name-value pairs via the POST/GET method.","excerpt":"","slug":"basic-api-transaction-2","type":"endpoint","title":"Basic API Transaction"}

postBasic API Transaction


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

username:
required
string
This is the username for the customer account (generally a phone number in international format, excluding the + or 00)
password:
required
string
This is the password for the customer account (generally a PIN number of a minimum 4 digit length, and up to 12 digits long).
command:
required
stringdrivers
This is the command or tool you wish to access or execute. For example, in order to place a booking you would use “instant_booking”.
uppercase:
booleanfalse
If TRUE, all keys are returned in uppercase.

Result Format


Documentation

An API Request contains the following: * Connection Parameters * User Parameters * Parameters specific to the type of transaction, such as a new booking or cancellation. Currently our API only supports name-value pairs via the POST/GET method.

User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}