{"_id":"545a7fae1d018b1400227eff","category":{"_id":"543ee0c055bb1008000955b6","__v":21,"pages":["543ee1d615d0560800502749","543ee5c015d0560800502758","543ee87715d0560800502763","543ee9e315d056080050276c","543f003c55bb100800095624","543f030555bb10080009563f","543f0b3e15d05608005027ee","543f0d0755bb10080009566d","543f0e8415d056080050281b","543f0f8f55bb10080009567e","543f109055bb100800095689","543f11d315d056080050282b","543f15c615d0560800502845","544aec7fa761f90800c41d32","545a7fae1d018b1400227eff","545e9dc97e32310e00f400ca","5603c5dde416560d00fa63ad","564ed2eb9209cf0d001d6917","56cb2acb245b841300806ea4","56e05f414685db1700d9480b","56e063e4f97d422900d639bf"],"project":"543005c87d487022005b3fa8","version":"543005c87d487022005b3fab","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-15T21:01:52.185Z","from_sync":false,"order":1,"slug":"iwebcab-api-tools","title":"Gazoop Internal API"},"githubsync":"","editedParams":true,"parentDoc":null,"user":"543005a67d487022005b3fa7","__v":2,"is_link":false,"editedParams2":true,"project":"543005c87d487022005b3fa8","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"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-11-05T19:51:10.521Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","examples":{"codes":[]},"method":"post","try":true,"basic_auth":false,"results":{"codes":[{"code":"{\n    \"874659\": {\n        \"status\": \"V\",\n        \"pickup\": \"Bentalls Shopping Centre,  Clarence Street\",\n        \"dropoff\": \"Wimbledon Station Car Park,  London\",\n        \"time\": \"28th April at 12:21\"\n    },\n    \"876165\": {\n        \"status\": \"V\",\n        \"pickup\": \"Denton,  TX\",\n        \"dropoff\": \"132 E 15th St,  Plano\",\n        \"time\": \"29th April at 10:06\"\n    },\n    \"878237\": {\n        \"status\": \"V\",\n        \"pickup\": \"Wood St,  Kingston upon Thames\",\n        \"dropoff\": \"Victoria Rd,  Surbiton KT6 4PE\",\n        \"time\": \"30th April at 11:33\"\n    },\n    \"881381\": {\n        \"status\": \"V\",\n        \"pickup\": \"805 Flat Shoals Rd SE,  Conyers\",\n        \"dropoff\": \"555 N Indian Creek Dr,  Clarkston\",\n        \"time\": \"2nd May at 15:27\"\n    },\n    \"881762\": {\n        \"status\": \"V\",\n        \"pickup\": \"1805 Flat Shoals Rd SE,  Conyers\",\n        \"dropoff\": \"132 E 15th St,  Plano\",\n        \"time\": \"2nd May at 22:58\"\n    },\n    \"882361\": {\n        \"status\": \"V\",\n        \"pickup\": \"Green Leaf Cars,  Commerce Road\",\n        \"dropoff\": \"Peterborough Station,  Station Road\",\n        \"time\": \"3rd May at 15:00\"\n    },\n    \"882479\": {\n        \"status\": \"V\",\n        \"pickup\": \"Ikea,  Peterborough\",\n        \"dropoff\": \"Peterborough Station,  Station Road\",\n        \"time\": \"4th May at 15:30\"\n    },\n    \"882862\": {\n        \"status\": \"V\",\n        \"pickup\": \"2308 Cornell Cir,  McDonough\",\n        \"dropoff\": \"Midtown,  Atlanta\",\n        \"time\": \"3rd May at 13:43\"\n    },\n    \"883266\": {\n        \"status\": \"V\",\n        \"pickup\": \"Edinburgh EH12 9DN,  United Kingdom\",\n        \"dropoff\": \"Forth View Cres,  Danderhall\",\n        \"time\": \"3rd May at 18:56\"\n    },\n    \"884742\": {\n        \"status\": \"V\",\n        \"pickup\": \"1316 Winslow Cir,  Woodstock\",\n        \"dropoff\": \"132 E 15th St,  Plano\",\n        \"time\": \"4th May at 16:57\"\n    },\n    \"884750\": {\n        \"status\": \"W\",\n        \"pickup\": \"1350 Winslow Cir,  Woodstock\",\n        \"dropoff\": \"1580 N Clybourn Ave,  Chicago\",\n        \"time\": \"25th May at 17:00\"\n    },\n    \"885493\": {\n        \"status\": \"W\",\n        \"pickup\": \"150 Piccadilly,  London W1J 9BR\",\n        \"dropoff\": \"Stamford Bridge,  Fulham Rd\",\n        \"time\": \"5th May at 07:18\"\n    },\n    \"892438\": {\n        \"status\": \"W\",\n        \"pickup\": \"1600 State Avenue,  Cincinnati\",\n        \"dropoff\": \"Cincinnati International Airport,  Terminal Drive\",\n        \"time\": \"9th May at 16:07\"\n    },\n    \"898106\": {\n        \"status\": \"V\",\n        \"pickup\": \"995 Beechmeadow Lane,  Cincinnati\",\n        \"dropoff\": \"McDonald's,  Delhi Park Road\",\n        \"time\": \"13th May at 11:55\"\n    },\n    \"899416\": {\n        \"status\": \"W\",\n        \"pickup\": \"The Bentall Centre,  Wood Street\",\n        \"dropoff\": \"Surbiton Station,  Victoria Road\",\n        \"time\": \"14th May at 07:20\"\n    },\n    \"api_log_id\": 1942662\n}","language":"json","status":200,"name":""},{"name":"","code":"{\n    \"result\": \"invalid\"\n}","language":"json","status":400}]},"auth":"never","params":[{"_id":"545a7fae1d018b1400227f03","ref":"","in":"body","required":true,"desc":"This is a 25 alphanumeric hash code provided to you by the fleet.","default":"","type":"string","name":"api_key"},{"_id":"545a7fae1d018b1400227f01","ref":"","in":"body","required":true,"desc":"Phone number linked to the customers account.","default":"","type":"int","name":"phone_number"},{"_id":"545a7fae1d018b1400227f00","ref":"","in":"body","required":false,"desc":"You can also send the customers PIN number for verification, if this fails, the API command will fail. If left blank, no validation is done on the authenticity of the customer ID.","default":"","type":"int","name":"customer_pin"}],"url":"/customer_bookings.json"},"isReference":false,"order":20,"body":"[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Data Limits\",\n  \"body\": \"Currently this tool is limited to the last 25 bookings on the customers account.\"\n}\n[/block]","excerpt":"","slug":"customer_bookings","type":"endpoint","title":"customer_bookings"}

postcustomer_bookings


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.
phone_number:
required
integer
Phone number linked to the customers account.
customer_pin:
integer
You can also send the customers PIN number for verification, if this fails, the API command will fail. If left blank, no validation is done on the authenticity of the customer ID.

Result Format


Documentation

[block:callout] { "type": "info", "title": "Data Limits", "body": "Currently this tool is limited to the last 25 bookings on the customers account." } [/block]

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