{"_id":"573914fdd5b6db0e00729c54","parentDoc":null,"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"},"githubsync":"","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"},"__v":1,"editedParams":true,"editedParams2":true,"project":"543005c87d487022005b3fa8","user":"543005a67d487022005b3fa7","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-16T00:31:57.903Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"post","results":{"codes":[{"name":"Success","language":"json","code":"{\n    \"LGW\": {\n        \"lat\": \"51.148056\",\n        \"lon\": \"-0.190278\",\n        \"text\": \"LGW - Gatwick, London\"\n    },\n    \"LHR\": {\n        \"lat\": \"51.477501\",\n        \"lon\": \"-0.461389\",\n        \"text\": \"LHR - Heathrow, London\"\n    },\n    \"api_log_id\": 1568547\n}"},{"language":"json","code":"{\n    \"error\": \"Invalid Hash ID \"\n}","name":"Failure"}]},"settings":"","auth":"never","params":[{"_id":"543f15c615d0560800502849","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":"573915179042980e00ad1a93","ref":"","in":"body","required":false,"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"}],"url":"/airports.json"},"isReference":false,"order":3,"body":"When placing the booking you should use the default airport text found in the airports return.","excerpt":"This provides a list of authorized airports for pickup and drop off.","slug":"airports2","type":"endpoint","title":"airports"}

postairports

This provides a list of authorized airports for pickup and drop off.

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:
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).

Result Format


Documentation

When placing the booking you should use the default airport text found in the airports return.

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 }}