{"info":{"_postman_id":"ed14a40f-fc94-4de3-8292-2c017effae44","name":"CAB9 ThirdParty API","description":"<html><head></head><body><p>Third Party API integration for Cab9.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4475931","collectionId":"ed14a40f-fc94-4de3-8292-2c017effae44","publishedId":"SzKTwJtu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-02-20T17:32:28.000Z"},"item":[{"name":"GetToken","event":[{"listen":"test","script":{"id":"bb2d38f1-4583-4c87-bf2d-ecb415bcf8f7","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\",jsonData.access_token);"],"type":"text/javascript","packages":{}}}],"id":"e64203eb-168d-4275-8018-bf82abae4f61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/token","description":"<p><strong>The endpoint is used to get the authorisation token which will enable user gain access to the CAB9 Api.</strong>\n<br /><br />\nA specific username and password will have to be used to login to the API to get the token. Each token will be live only for a period of <code>8 hours</code>, after which the user has to hit this API again to get a new token. \n<br /><br />\nThe token provided by the API needs be passed in the authorisation header of the other APIs as: Bearer <code>{token}</code>.</p>\n","urlObject":{"path":["token"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"d449f321-e5b3-475b-81a2-b09286c59d52","name":"GetToken","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"{{username}}","description":"[Required] The username of the user.","type":"text"},{"key":"password","value":"{{password}}","description":"[Required] The password of the user.","type":"text"},{"key":"grant_type","value":"password","description":"[Required]","type":"text"}]},"url":"{{domain}}/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1622"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Wed, 28 Sep 2022 09:57:15 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"cab9.auth=nQ5uf8hILqkhqhJo5R6tKJdfGbGl2EN6oZk2JKm82NQ9K15V3MUlykzqXSC0ZXM_uJbGOhoXymlmReTQ48INKeww_pzKbvFlZQrGTgnEKBkebFfl9fJIoJxEbRmFxpXYBOKVLNY6evoihLD5N4IcoKm4sQ22UHpdjcuaeCUmydfWDQumdGnMJpt0yCqonqF9g6Cgfhbjb60LUAepEZSOYBpp9Kru8oi1maqoKrsPllY0YJDsbn1YtpYeXHYjHyyZmNvluhaUD6rmR2RmCk55CjEdRg_h89_XmaB8uslAQgtnHW--Xifls9tWzJjIh6K6ytZ-B-AhPkQxSX8pQjgrhCm6UcxbxqPHq1S2ex7zraA67HPZHbUevpqDgDFl-r8KpqxHtQp511mwjeuKwljrscGj1f79MVX_Pqj6NztpqjV_FePJd8ncVgtLuJI23Sd9_6Y22xV01i3AEW29QKHsCVQ0551niMEkTdLxvjxcuLqzPOFFHpmsT2ZQeDSMnhuv9-DI39ZpwHZqjVQjMsKahpZWTB1d8_UNTQoltGYt4bnXVNvXzH5lFEj1bEQ_wfTDWpqzyfQS5WK5tC_xZxdyCrqquXSyJ5B1nJ-UGraJ6Wi5QcWjqM49TsqnghlYiV4RjhExvfcvN897rixVuekxKxY2RDs268z_2tBxP5aUV7yjPJzZ13Gc8NJ8I5_tW2jJMnmZLDgLa56qz0Jp290h1DoR34VYGQ2lu6Jy3a_3yQdCwzu3F2UFyVHVjYsFTiJdbC30PLyXy4rtuLLtXD_zi-4I06CajRefcy_iU4hYjQjcHfE2oKIiZ6_EWVAIoSdsw_3ur6tfQV3_YNEDQzi08lrAMzjcgcaBqYAlYKKwBNqAcLaX1VAvLcWQDG7jXqeY4EfZRp9VXUo-_fYUW3WF2Q; path=/; secure; HttpOnly"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:9c8e290c-1cec-47a9-aec0-51e6ecef0955"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"dpFHJR1qcepgTGx_7C9u28Sdios4ldIW3Y4MCX2GLLCBzMO6NtHwXWlY......ge43d3f3gdfw3DKJENw\",\n    \"token_type\": \"bearer\",\n    \"expires_in\": 604799, //expiry time in seconds\n    \"UserId\": \"27f4c1c9-33e4-4922-993f-ddfdfbee0d75\",\n    \"UserName\": \"john.smith@e9.co.uk\",\n    \"Name\": \"John Smith\",\n    \"ImageUrl\": \"\",\n    \"Email\": \"john.smith@e9.co.uk\",\n    \"TenantId\": \"50f56597-c049-e611-80c7-14187728d133\",\n    \"Claims\": \"TenantId:50f56597-c049-e611-80c7-14187728d133|ClientId:8ba3daec-1171-e611-80ca-14187728d133|ClientStaffId:56a0a2b8-0bd0-ea11-8b03-0003ffe94e8b\",\n    \"GoogleApiKey\": \"AIzaSyAYTVGCLsDABNl6CJZ1nUg0o58XSEyZWwA\",\n    \"DefaultLocale\": \"en-gb\",\n    \"DefaultTimezone\": \"Europe/London\",\n    \"ChauffeurModeActive\": \"True\",\n    \"UseMetric\": \"False\",\n    \"CurrentServerTime\": \"2022-09-28T10:57:16+01:00\",\n    \".issued\": \"Wed, 28 Sep 2022 09:57:16 GMT\",\n    \".expires\": \"Wed, 05 Oct 2022 09:57:16 GMT\"\n}"}],"_postman_id":"e64203eb-168d-4275-8018-bf82abae4f61"},{"name":"Create Staff","id":"90821ce0-9978-4113-9ec8-4e6b959987ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"<p>[Required] The authorization header including the token received earlier to gain access to the API.</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"Firstname\":\"David\",\r\n    \"Surname\":\"Beech\",\r\n    \"Mobile\":\"+447720202174\",\r\n    \"Email\":\"David.Beech@here.com\",\r\n    \"Phone\":null,              \r\n    \"Fax\":null\r\n}\r\n"},"url":"{{domain}}/api/integrations/tp/staff","description":"<p><strong>The endpoint is used to add a new Client Staff to CAB9. </strong>\n<br /><br />\nEvery booking needs a <code>ClientStaffId</code>. \n<br /><br />\nClient Staff in CAB9 are treated as bookers. For web bookings we recommend creating a single booker and attaching it to all the bookings.</p>\n<p><em>Body Parameters</em></p>\n<table>\n  <tr>\n    <td>Sl.No</td>\n    <td>Property</td>\n    <td>Type</td>\n    <td>Required</td>\n    <td>Description</td>\n  </tr>\n  <tr>\n    <td>1</td>\n    <td>Firstname</td>\n    <td>String</td>\n    <td>true</td>\n    <td>Firstname of the staff.</td>\n  </tr>\n  <tr>\n    <td>2</td>\n    <td>Surname</td>\n    <td>String</td>\n    <td>true</td>\n    <td>Surname of the staff.</td>\n  </tr>\n  <tr>\n    <td>3</td>\n    <td>Mobile</td>\n    <td>String</td>\n    <td>true</td>\n    <td>Mobile number the staff.</td>\n  </tr>\n  <tr>\n    <td>4</td>\n    <td>Email</td>\n    <td>String</td>\n    <td>true</td>\n    <td>Email id of the staff.</td>\n  </tr>\n  <tr>\n    <td>5</td>\n    <td>Phone</td>\n    <td>String</td>\n    <td>false</td>\n    <td>Phone number of the staff.</td>\n  </tr>\n  <tr>\n    <td>6</td>\n    <td>Fax</td>\n    <td>String</td>\n    <td>false</td>\n    <td>Fax number of the staff.</td>\n  </tr>\n\n</table>","urlObject":{"path":["api","integrations","tp","staff"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"6b1061e0-02e1-45bc-b98b-f4cddad095f2","name":"Create Staff","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"[Required] The authorization header including the token received earlier to gain access to the API."},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"Firstname\":\"Christin\",\r\n    \"Surname\":\"Allushi\",\r\n    \"Mobile\":\"+447902995333\",\r\n    \"Email\":\"ca@e9.co.uk\",\r\n    \"Phone\":null,              \r\n    \"Fax\":null\r\n}\r\n"},"url":"{{domain}}/api/integrations/tp/staff"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"254"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 28 Sep 2022 09:57:11 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:9c8e290c-1cec-47a9-aec0-51e6ecef0955"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"a697ee6f-023d-ed11-b49b-0022481ae608\",\n    \"Firstname\": \"John\",\n    \"Surname\": \"Smith\",\n    \"Phone\": null,\n    \"Mobile\": \"+44764667365\",\n    \"Email\": \"js@e9.co.uk\",\n    \"Fax\": null\n}"}],"_postman_id":"90821ce0-9978-4113-9ec8-4e6b959987ba"},{"name":"Create Passenger","id":"14caa50a-be49-4dbd-8a29-c3b819f111e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"<p>[Required] The authorization header including the token received earlier to gain access to the API.</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"Firstname\":\"David\",\r\n    \"Surname\":\"Beech\",\r\n    \"Mobile\":\"+447720202174\",\r\n    \"Email\":\"David.Beech@here.com\",\r\n    \"Phone\":null,              \r\n    \"VIP\":true\r\n}\r\n"},"url":"{{domain}}/api/integrations/tp/passenger","description":"<p><strong>The endpoint is used to add a new passenger to CAB9.</strong>  </p>\n<p>Passengers are required while creating a new booking and needs to be attached to the property <code>LeadPassengerId</code>.  </p>\n<p>Please reuse the PassengerId for same passengers instead of creating a new passenger everytime.</p>\n<p><em>Body Parameters</em></p>\n<table><tbody><tr><td>Sl.No</td><td>Property</td><td>Type</td><td>Required</td><td>Description</td></tr><tr><td>1</td><td>Firstname</td><td>String</td><td>true</td><td>Firstname of the passenger.</td></tr><tr><td>2</td><td>Surname</td><td>String</td><td>true</td><td>Surname of the passenger.</td></tr><tr><td>3</td><td>Mobile</td><td>String</td><td>true</td><td>Mobile number of the passenger.</td></tr><tr><td>4</td><td>Email</td><td>String</td><td>true</td><td>Email id of the passenger.</td></tr><tr><td>5</td><td>Phone</td><td>String</td><td>false</td><td>Phone number of the passenger.</td></tr><tr><td>6</td><td>Fax</td><td>String</td><td>false</td><td>Fax number of the passenger.</td></tr><tr><td>7</td><td>VIP</td><td>Boolean</td><td>false</td><td>VIP Status of the passenger.</td></tr></tbody></table>","urlObject":{"path":["api","integrations","tp","passenger"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"adccb463-2841-4a03-96ac-77d167814daa","name":"Create Passenger","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"[Required] The authorization header including the token received earlier to gain access to the API."},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"Firstname\":\"John\",\r\n    \"Surname\":\"Smith\",\r\n    \"Mobile\":\"+447745336678\",\r\n    \"Email\":\"js@e9.co.uk\",\r\n    \"Phone\":null,              \r\n    \"VIP\":true\r\n}\r\n"},"url":"{{domain}}/api/integrations/tp/passenger"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"250"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 28 Sep 2022 10:06:40 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:9c8e290c-1cec-47a9-aec0-51e6ecef0955"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"e4fd4339-153f-ed11-b49b-0022481ae608\",\n    \"Firstname\": \"John\",\n    \"Surname\": \"Smith\",\n    \"Mobile\": \"+447745336678\",\n    \"Fax\": null,\n    \"Phone\": null,\n    \"Email\": \"js@e9.co.uk\"\n}"}],"_postman_id":"14caa50a-be49-4dbd-8a29-c3b819f111e7"},{"name":"Vehicle Types","id":"20397416-d6b9-447f-be18-d58cdd65480c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"<p>[Required] The authorization header including the token received earlier to gain access to the API.</p>\n"}],"url":"{{domain}}/api/integrations/tp/vehicletypes","description":"<p><strong>The endpoint is used to get the list of vehicles available to book at a given time. </strong>\n<br /><br />\nDetails also include the maximum number of passengers and bags one can accomodate.</p>\n","urlObject":{"path":["api","integrations","tp","vehicletypes"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"25db2702-9e0e-4c48-9fc7-f633ce0302b0","name":"Vehicle Types","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"[Required] The authorization header including the token received earlier to gain access to the API."}],"url":"{{domain}}/api/integrations/tp/vehicletypes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"261"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 28 Sep 2022 10:06:56 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:9c8e290c-1cec-47a9-aec0-51e6ecef0955"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"Id\": \"3aa172ef-c349-e611-80c7-14187728d133\",\n        \"Name\": \"Passenger\",\n        \"MaxPax\": 3,\n        \"MaxBax\": 3\n    },\n    {\n        \"Id\": \"035d1a84-6a5d-e611-80c8-14187728d133\",\n        \"Name\": \"Executive\",\n        \"MaxPax\": 3,\n        \"MaxBax\": 3\n    },\n    {\n        \"Id\": \"2669358e-6a5d-e611-80c8-14187728d133\",\n        \"Name\": \"MPV\",\n        \"MaxPax\": 5,\n        \"MaxBax\": 6\n    }\n]"}],"_postman_id":"20397416-d6b9-447f-be18-d58cdd65480c"},{"name":"Nearby Drivers","id":"46d18008-7cdb-41df-a644-860329581ba2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"<p>[Required] The authorization header including the token received earlier to gain access to the API.</p>\n"},{"key":"Content-Type","value":"application/json"}],"url":"{{domain}}/api/integrations/tp/driversnearby?latitude=51.504770&longitude=0.024190","description":"<p><strong>The endpoint is used to retrieve the list of 5 nearest drivers for the given coordinate in <code>latitude</code> and <code>longitude</code>.</strong></p>\n","urlObject":{"path":["api","integrations","tp","driversnearby"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>[Required] The latitude of the location.</p>\n","type":"text/plain"},"key":"latitude","value":"51.504770"},{"description":{"content":"<p>[Required] The longitude of the location.</p>\n","type":"text/plain"},"key":"longitude","value":"0.024190"}],"variable":[]}},"response":[{"id":"625fefe1-a584-4263-a10b-99be3e37646e","name":"Nearby Drivers","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"[Required] The authorization header including the token received earlier to gain access to the API."},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{domain}}/api/integrations/tp/driversnearby?latitude=51.493623&longitude=0.010358","host":["{{domain}}"],"path":["api","integrations","tp","driversnearby"],"query":[{"key":"latitude","value":"51.493623","description":"[Required] The latitude of the location."},{"key":"longitude","value":"0.010358","description":"[Required] The longitude of the location."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"336"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 28 Sep 2022 10:07:47 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:9c8e290c-1cec-47a9-aec0-51e6ecef0955"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"Latitude\": 51.5228889695,\n        \"Longitude\": -0.0405298787,\n        \"VehicleTypeId\": \"035d1a84-6a5d-e611-80c8-14187728d133\"\n    },\n    {\n        \"Latitude\": 51.5146201548,\n        \"Longitude\": -0.0587965486,\n        \"VehicleTypeId\": \"3aa172ef-c349-e611-80c7-14187728d133\"\n    },\n    {\n        \"Latitude\": 51.5273475344,\n        \"Longitude\": -0.0567179231,\n        \"VehicleTypeId\": \"3aa172ef-c349-e611-80c7-14187728d133\"\n    },\n    {\n        \"Latitude\": 51.521213404,\n        \"Longitude\": -0.0848797512,\n        \"VehicleTypeId\": \"035d1a84-6a5d-e611-80c8-14187728d133\"\n    },\n    {\n        \"Latitude\": 51.5024116584,\n        \"Longitude\": -0.0956611842,\n        \"VehicleTypeId\": \"3aa172ef-c349-e611-80c7-14187728d133\"\n    }\n]"}],"_postman_id":"46d18008-7cdb-41df-a644-860329581ba2"},{"name":"Quote","id":"05b796a7-fc9a-442b-a2d6-5f1bca4d9b3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"<p>[Required] The authorization header including the token received earlier to gain access to the API.</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"VendorRef\":\"59edb04400d3a705fd398496\",\n  \"BookedDateTime\": \"2023-09-14T11:03:00.603+0130\", \n  \"VehicleTypeCode\": \"3aa172ef-c349-e611-80c7-14187728d133\",\n  \"BookingStops\": [\n    {\n      \"Longitude\": -0.1233867309597931, \n      \"StopSummary\": \"Grange Buckingham Hotel\",\n      \"Address1\" : \"39-40 Bedford Pl\",\n      \"TownCity\": \"London\",\n      \"Postcode\": \"WC1B 5JT\",\n      \"Type\": \"PickUp\", \n      \"Latitude\": 51.51973715924275,\n      \"StopOrder\": 1\n    },\n    {\n      \"Longitude\": -0.13045036654129968,\n      \"StopSummary\": \"Zedwell Underground Tottenham Court Road\",\n      \"Address1\" : \"112a Great Russell St\",\n      \"TownCity\": \"London\",\n      \"Postcode\": \"WC1B 3NQ\",\n      \"Type\": \"DropOff\",\n      \"Latitude\": 51.51738891746408,\n      \"StopOrder\": 2\n    }\n  ]\n}"},"url":"{{domain}}/api/integrations/tp/quote","description":"<p><strong>The endpoint is used for retreiving the quote of the vehicle type provided by the user.</strong></p>\n<p><em>Body Parameters</em></p>\n<table><tbody><tr><td>Sl.No</td><td>Property</td><td>Type</td><td>Required</td><td>Description</td></tr><tr><td>1</td><td>VendorRef</td><td>String</td><td>true</td><td>Guid supplied by CAB9.</td></tr><tr><td>2</td><td>BookedDateTime</td><td>DateTime</td><td>true</td><td>The time and day of the booking.</td></tr><tr><td>3</td><td>VehicleTypeCode</td><td>String</td><td>true</td><td>The vehicletype retrieved from Vehicle Types endpoint.</td></tr><tr><td>4</td><td>ChauffeurMode</td><td>Bool</td><td>false</td><td>To generate quote based on hours</td></tr><tr><td>5</td><td>EstimatedMins</td><td>Int</td><td>false</td><td>The estimated mins to quote based on hours</td></tr><tr><td>4</td><td>BookingStops</td><td>Array</td><td>true</td><td>List of the pickup and the dropoff locations.</td></tr></tbody></table>\n\n  \n<p><strong>Booking Stops:</strong></p>\n<table><tbody><tr><td>Sl.No</td><td>Property</td><td>Type</td><td>Required</td><td>Descrription</td></tr><tr><td>1</td><td>Type</td><td>String</td><td>true</td><td>Type of stop(Pickup or dropoff).</td></tr><tr><td>2</td><td>Address1</td><td>String</td><td>false</td><td>The line1 of the address.</td></tr><tr><td>3</td><td>Address2</td><td>String</td><td>false</td><td>The line2 of the address.</td></tr><tr><td>4</td><td>TownCity</td><td>String</td><td>false</td><td>The town of city of the address.</td></tr><tr><td>5</td><td>Postcode</td><td>String</td><td>false</td><td>The postcode of the address.</td></tr><tr><td>6</td><td>StopSummary</td><td>String</td><td>true</td><td>The viewable summary of the address.</td></tr><tr><td>7</td><td>Longitude</td><td>Decimal</td><td>true</td><td>Longitude of the pickup and the dropoff.</td></tr><tr><td>8</td><td>Latitude</td><td>Decimal</td><td>true</td><td>Latitude of the pickup and the dropoff.</td></tr><tr><td>9</td><td>StopOrder</td><td>Int</td><td>true</td><td>Order of the stops where stoporder 1 corresponds to a pickup and the others as dropoff.</td></tr></tbody></table>","urlObject":{"path":["api","integrations","tp","quote"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"c176182f-cb43-428b-a771-cc290acd476a","name":"Quote","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"[Required] The authorization header including the token received earlier to gain access to the API."},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"VendorRef\":\"59edb04400d3a705fd398496\",\n  \"BookedDateTime\": \"2022-09-28T20:40:17.603+0130\", \n  \"VehicleTypeCode\": \"035d1a84-6a5d-e611-80c8-14187728d133\",\n  \"BookingStops\": [\n    {\n      \"Longitude\": -0.025870, \n      \"StopSummary\": \"188 Westferry Road, London E14 3RY\",\n      \"Address1\" : \"188 Westferry Road\",\n      \"TownCity\": \"London\",\n      \"Postcode\": \"E14 3RY\",\n      \"Type\": \"PickUp\", \n      \"Latitude\": 51.497940,\n      \"StopOrder\": 1\n    },\n    {\n      \"Longitude\": -0.146190,\n      \"StopSummary\": \"111 Buckingham Palace Road, London SW1W 0SR\",\n      \"Address1\" : \"111 Buckingham Palace Road\",\n      \"TownCity\": \"London\",\n      \"Postcode\": \"SW1W 0SR\",\n      \"Type\": \"DropOff\",\n      \"Latitude\": 51.494930,\n      \"StopOrder\": 2\n    }\n  ]\n}"},"url":"{{domain}}/api/integrations/tp/quote"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1080"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 28 Sep 2022 10:08:03 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:9c8e290c-1cec-47a9-aec0-51e6ecef0955"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"BookedDateTime\": \"2022-09-28T20:40:17.603+01:30\",\n    \"Directions\": {\n        \"Distance\": 11031.692,\n        \"EncodedRoute\": \"ceiyHt`DeL`@yCA{H_@{Ca@a@Di@GcCCWBg@Pg@^mA~AU`@ETE^Ap@Kl@KTUVMH]DOCWOg@k@SGuCj@_A@o@DSRGXANT|AP~A@v@AvBC~@IbAUpAYjA_@bAe@|@o@x@o@d@mB~@mChBcBx@}@r@c@d@cAlB[z@_@zASvAObBClB@bBJxAR|ATfAfBbFXdATnAJr@L|BJzDNfBD`BHzAVtJL|ARlAXrATdBFnABzDArCBbEX|UBjEAlAQpG@~CZzHl@nLBrC?`FB~GIzG?r@D|@JbAf@tCn@nCh@vCz@xJ?ZAr@G`@sBrIGN}@nAu@x@g@bBKn@Ab@XxATbBNlBLlFCx@OlBKrCAfAB^D^HXJJn@lBF\\\\DP?d@LtABl@DT?ZEbA{B`_@WrCcBzK[|CaA|He@nG[~FIxGIfLLhJFpCNpBDfBE`@E``@EhA@jUVzHp@|HNtAT~Aj@rDvA|Gh@lB|@|BtBtDv@fArC~BbDxBrAbA_@`DMpAMZs@~Hq@pFAt@GhAB\\\\LTJb@@VN`@dAnBL^PnA`@vAn@pBhG|SjPxh@NO\\\\El@HHDN@JENO\\\\QlBsBJEV@LTZbGHz@jC~INZrBzAn@VbJbGt@XfNtIGX_DqB\",\n        \"Success\": true,\n        \"Time\": 21,\n        \"TimeInSeconds\": 1301,\n        \"Source\": \"DirectionsService\"\n    },\n    \"EstimatedDistance\": 6.8684985077056685374,\n    \"EstimatedMins\": 21,\n    \"FinalCost\": 46.4,\n    \"TaxAmount\": 0,\n    \"Total\": 46.4\n}"}],"_postman_id":"05b796a7-fc9a-442b-a2d6-5f1bca4d9b3d"},{"name":"Booking (New/Amend)","id":"35efe412-8c4d-423c-a7fa-a62bfd2a2466","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"<p>[Required] The authorization header including the token received earlier to gain access to the API.</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"BookingRef\":\"999J\",                                   \r\n    \"VendorRef\":\"59edb04400d3a705fd398496\",           \r\n    \"BookedDateTime\": \"2023-12-18T12:00:00.000+0000\", \r\n    \"VehicleTypeCode\": \"3aa172ef-c349-e611-80c7-14187728d133\",\r\n    \"ClientStaffId\": \"9886d42e-8498-ee11-8925-6045bd0cec8f\",               \r\n    \"Pax\": 2,                          \r\n    \"Bax\": 2,                                               \r\n    \"LeadPassengerId\": \"45917d45-1a4a-ed11-819a-0022481ae699\",\r\n     \"BookingStops\": [\r\n    {\r\n      \"Longitude\": -0.1233867309597931, \r\n      \"StopSummary\": \"Grange Buckingham Hotel\",\r\n      \"Address1\" : \"39-40 Bedford Pl\",\r\n      \"TownCity\": \"London\",\r\n      \"Postcode\": \"WC1B 5JT\",\r\n      \"Type\": \"PickUp\", \r\n      \"Latitude\": 51.51973715924275,\r\n      \"StopOrder\": 2\r\n    },\r\n    {\r\n            \"StopOrder\": 1,\r\n            \"StopSummary\": \"20, Maybank Avenue, Wembley, HA0 2TH\",\r\n            \"Postcode\": \"HA0 2TH\",\r\n            \"Country\": \"United Kingdom\",\r\n            \"Latitude\": 51.5558,\r\n            \"Longitude\": -0.3286\r\n        }\r\n  ],\r\n    \"DriverNotes\": \"Do not talk with the passenger David.\"\r\n}"},"url":"{{domain}}/api/integrations/tp/booking","description":"<p><strong>The endpoint is used for both creating new bookings and amending bookings.</strong></p>\n<p><em>Body Parameters</em></p>\n<table><tbody><tr><td>Sl.No</td><td>Property</td><td>Type</td><td>Required</td><td>Description</td></tr><tr><td>1</td><td>BookingRef</td><td>String</td><td>true</td><td>Vendor's unique Id for the booking.</td></tr><tr><td>2</td><td>VendorRef</td><td>String</td><td>true</td><td>Vendor reference supplied by CAB9.</td></tr><tr><td>3</td><td>BookedDateTime</td><td>DateTime</td><td>true</td><td>The ISO2601 format time and date of the booking with timezone information e.g, `2019-05-20T20:15:00+01:00` .</td></tr><tr><td>4</td><td>ClientStaffId</td><td>String</td><td>true</td><td>The ClientStaffId for this booking.</td></tr><tr><td>5</td><td>VehicleTypeCode</td><td>String</td><td>true</td><td>The name of the vehicle that the booking needs to be made for.</td></tr><tr><td>6</td><td>Pax</td><td>Int</td><td>true</td><td>The number of passengers for the booking.</td></tr><tr><td>7</td><td>Bax</td><td>Int</td><td>true</td><td>The number of bags for the booking.</td></tr><tr><td>8</td><td>LeadPassengerId</td><td>String</td><td>true</td><td>The passenger for whom the booking is created.</td></tr><tr><td>9</td><td>ActualCost</td><td>Decimal</td><td>false</td><td>The journey cost of the booking.</td></tr><tr><td>10</td><td>FlightNo</td><td>String</td><td>false</td><td>The flight number on the booking. If the flight number matches the pickup airport and the booking date it will be tracked live by CAB9.</td></tr><tr><td>11</td><td>BookingStops</td><td>Array</td><td>true</td><td>List of dropoff and pickup locations.</td></tr><tr><td>12</td><td>DriverNotes</td><td>String</td><td>false</td><td>The notes for the driver to whom the booking is assigned.</td></tr><tr><td>13</td><td>ChauffeurMode</td><td>Bool</td><td>false</td><td>To generate quote based on hours</td></tr><tr><td>14</td><td>EstimatedMins</td><td>Int</td><td>false</td><td>The estimated mins to quote based on hours</td></tr></tbody></table>\n\n<p><strong>Booking Stops:</strong></p>\n<table><tbody><tr><td>Sl.No</td><td>Property</td><td>Type</td><td>Required</td><td>Descrription</td></tr><tr><td>1</td><td>Type</td><td>String</td><td>true</td><td>Type of stop(Pickup or dropoff).</td></tr><tr><td>2</td><td>Address1</td><td>String</td><td>false</td><td>The line1 of the address.</td></tr><tr><td>3</td><td>Address2</td><td>String</td><td>false</td><td>The line2 of the address.</td></tr><tr><td>4</td><td>TownCity</td><td>String</td><td>false</td><td>The town of city of the address.</td></tr><tr><td>5</td><td>Postcode</td><td>String</td><td>false</td><td>The postcode of the address.</td></tr><tr><td>6</td><td>StopSummary</td><td>String</td><td>true</td><td>The viewable summary of the address.</td></tr><tr><td>7</td><td>Longitude</td><td>Decimal</td><td>true</td><td>Longitude of the pickup and the dropoff.</td></tr><tr><td>8</td><td>Latitude</td><td>Decimal</td><td>true</td><td>Latitude of the pickup and the dropoff.</td></tr><tr><td>9</td><td>StopOrder</td><td>Int</td><td>true</td><td>Order of the stops where stoporder 1 corresponds to a pickup and the others as dropoff.</td></tr></tbody></table>","urlObject":{"path":["api","integrations","tp","booking"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"7523eb9a-183c-47ff-9a37-24798e8aedd8","name":"Booking (New/Amend)","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"[Required] The authorization header including the token received earlier to gain access to the API."},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"BookingRef\":\"f56hy30s\",                                   \r\n    \"VendorRef\":\"59edb04400d3a705fd398496\",           \r\n    \"BookedDateTime\": \"2022-09-28T20:45:00+01:00\",\r\n    \"ClientStaffId\": \"a697ee6f-023d-ed11-b49b-0022481ae608\",  \r\n    \"VehicleTypeCode\": \"035d1a84-6a5d-e611-80c8-14187728d133\",               \r\n    \"Pax\": 2,                          \r\n    \"Bax\": 2,                                               \r\n    \"LeadPassengerId\": \"39bc5f9f-023d-ed11-b49b-0022481ae608\",\r\n    \"BookingStops\": [{\r\n    \t\"Type\": \"Pickup\",\r\n        \"LocationType\": \"AIRPORT\",\r\n        \"StopOrder\": 1,\r\n        \"StopSummary\": \"London Heathrow Airport Terminal 3\",\r\n        \"Latitude\": 51.470744,\r\n        \"Longitude\": -0.456847\r\n    },\r\n    {\r\n        \"Type\": \"Via\",\r\n        \"LocationType\": \"OFFICE\",\r\n        \"StopOrder\": 2,\r\n        \"StopSummary\": \"27 Farm Street, London, London, W1J 5RJ, Greater London, United Kingdom\",\r\n        \"Address1\": \"27 Farm Street\",\r\n        \"Address2\": \"\",\r\n        \"Area\": \"London\",\r\n        \"TownCity\": \"London\",\r\n        \"County\": \"Greater London\",\r\n        \"Postcode\": \"W1J 5RJ\",\r\n        \"Country\": \"United Kingdom\",\r\n        \"Latitude\": 51.5095053,\r\n        \"Longitude\": -0.1484987\r\n    }],\r\n    \"DriverNotes\": \"Do not talk with the passenger Chrisitn.\"\r\n}"},"url":"{{domain}}/api/integrations/tp/booking"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1162"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 28 Sep 2022 10:09:35 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:9c8e290c-1cec-47a9-aec0-51e6ecef0955"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"10edc9a1-153f-ed11-b49b-0022481ae608\",\n    \"LocalId\": 2437765,\n    \"BookingStatus\": \"Incoming\",\n    \"NextStop\": null,\n    \"BookedDateTime\": \"2022-09-28T20:45:00+01:00\",\n    \"DriverOnRouteDateTime\": null,\n    \"DriverArrivedDateTime\": null,\n    \"POBDateTime\": null,\n    \"JobClearDateTime\": null,\n    \"VehicleId\": null,\n    \"Vehicle\": null,\n    \"FlightInfoId\": null,\n    \"FlightInfo\": null,\n    \"VehicleTypeId\": \"035d1a84-6a5d-e611-80c8-14187728d133\",\n    \"VehicleType\": {\n        \"Id\": \"035d1a84-6a5d-e611-80c8-14187728d133\",\n        \"Name\": \"Executive\",\n        \"MaxPax\": 3,\n        \"MaxBax\": 3\n    },\n    \"Pax\": 2,\n    \"Bax\": 2,\n    \"LeadPassengerId\": \"39bc5f9f-023d-ed11-b49b-0022481ae608\",\n    \"LeadPassenger\": {\n        \"Id\": \"39bc5f9f-023d-ed11-b49b-0022481ae608\",\n        \"Firstname\": \"Christin\",\n        \"Surname\": \"Allushi\",\n        \"Mobile\": \"+447902995333\",\n        \"Fax\": null,\n        \"Phone\": null,\n        \"Email\": \"ca@e9.co.uk\"\n    },\n    \"DriverId\": null,\n    \"Driver\": null,\n    \"PassengerNotes\": null,\n    \"DriverNotes\": \"Do not talk with the passenger Chrisitn.\",\n    \"OfficeNotes\": \"\",\n    \"EstimatedCost\": 82.9,\n    \"EstimatedDistance\": 16.4094902182741859194,\n    \"EstimatedDuration\": null,\n    \"ActualCost\": 82.9,\n    \"WaitingCost\": null,\n    \"EstimatedMins\": 36,\n    \"PaymentMethod\": \"OnAccount\",\n    \"WaitAndReturn\": false,\n    \"GeneralReference\": \"f56hy30s\",\n    \"TextOnArrival\": false,\n    \"CallOnArrival\": false,\n    \"ClientStaffId\": \"a697ee6f-023d-ed11-b49b-0022481ae608\",\n    \"ClientStaff\": null,\n    \"WaitingTime\": 0,\n    \"TextConfirmation\": false,\n    \"BookingRef\": null,\n    \"PartnerDriverId\": null,\n    \"PartnerVehicleId\": null,\n    \"BookingStops\": [\n        {\n            \"Id\": \"14edc9a1-153f-ed11-b49b-0022481ae608\",\n            \"StopOrder\": 1,\n            \"Type\": \"PickUp\",\n            \"LocationType\": \"AIRPORT\",\n            \"WaitTime\": null,\n            \"WaitTimeChargable\": null,\n            \"StopSummary\": \"London Heathrow Airport Terminal 3\",\n            \"Address1\": null,\n            \"Address2\": null,\n            \"Area\": null,\n            \"TownCity\": null,\n            \"County\": null,\n            \"Postcode\": null,\n            \"Country\": null,\n            \"Latitude\": 51.470744,\n            \"Longitude\": -0.456847,\n            \"Note\": null\n        },\n        {\n            \"Id\": \"15edc9a1-153f-ed11-b49b-0022481ae608\",\n            \"StopOrder\": 2,\n            \"Type\": \"Via\",\n            \"LocationType\": \"OFFICE\",\n            \"WaitTime\": null,\n            \"WaitTimeChargable\": null,\n            \"StopSummary\": \"27 Farm Street, London, London, W1J 5RJ, Greater London, United Kingdom\",\n            \"Address1\": \"27 Farm Street\",\n            \"Address2\": \"\",\n            \"Area\": \"London\",\n            \"TownCity\": \"London\",\n            \"County\": \"Greater London\",\n            \"Postcode\": \"W1J 5RJ\",\n            \"Country\": \"United Kingdom\",\n            \"Latitude\": 51.5095053,\n            \"Longitude\": -0.1484987,\n            \"Note\": null\n        }\n    ],\n    \"Expenses\": null\n}"}],"_postman_id":"35efe412-8c4d-423c-a7fa-a62bfd2a2466"},{"name":"Booking","id":"e7ae3a79-6621-4c4e-a540-acfa0fa6ece6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"<p>[Required] The authorization header including the token received earlier to gain access to the API.</p>\n"}],"url":"{{domain}}/api/integrations/tp/booking?bookingId={{bookingId}}","description":"<p><strong>The endpoint is used to get the details of the booking by its <code>Id</code></strong></p>\n","urlObject":{"path":["api","integrations","tp","booking"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>[Required]The Id of the booking in CAB9. The complete details for the booking is provided in the response for its bookingId.</p>\n","type":"text/plain"},"key":"bookingId","value":"{{bookingId}}"}],"variable":[]}},"response":[{"id":"dae00beb-95b3-401d-81d9-af032f089263","name":"Booking","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"[Required] The authorization header including the token received earlier to gain access to the API."}],"url":{"raw":"{{domain}}/api/integrations/tp/booking?bookingId=ffe87795-033d-ed11-b49b-0022481ae608","host":["{{domain}}"],"path":["api","integrations","tp","booking"],"query":[{"key":"bookingId","value":"ffe87795-033d-ed11-b49b-0022481ae608","description":"[Required]The Id of the booking in CAB9. The complete details for the booking is provided in the response for its bookingId."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1478"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 25 Sep 2022 19:09:43 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:9c8e290c-1cec-47a9-aec0-51e6ecef0955"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"ffe87795-033d-ed11-b49b-0022481ae608\",\n    \"LocalId\": 2424383,\n    \"BookingStatus\": \"Cancelled\",\n    \"NextStop\": 1,\n    \"BookedDateTime\": \"2022-09-25T20:45:00+01:00\",\n    \"DriverOnRouteDateTime\": \"2022-09-25T18:56:56.1266667+00:00\",\n    \"DriverArrivedDateTime\": \"2022-09-25T18:57:25.91+00:00\",\n    \"POBDateTime\": null,\n    \"JobClearDateTime\": null,\n    \"VehicleId\": \"f463777f-d46b-e611-80ca-14187728d133\",\n    \"Vehicle\": {\n        \"Id\": \"f463777f-d46b-e611-80ca-14187728d133\",\n        \"Make\": \"Jaguar\",\n        \"Model\": \"XF\",\n        \"Colour\": \"Grey\",\n        \"Registration\": \"HV66 BPX\",\n        \"Description\": null,\n        \"Pax\": 4,\n        \"Bax\": 1,\n        \"Wheelchairs\": 0,\n        \"Electric\": false\n    },\n    \"FlightInfoId\": null,\n    \"FlightInfo\": null,\n    \"VehicleTypeId\": \"035d1a84-6a5d-e611-80c8-14187728d133\",\n    \"VehicleType\": {\n        \"Id\": \"035d1a84-6a5d-e611-80c8-14187728d133\",\n        \"Name\": \"Executive\",\n        \"MaxPax\": 3,\n        \"MaxBax\": 3\n    },\n    \"Pax\": 2,\n    \"Bax\": 2,\n    \"LeadPassengerId\": \"39bc5f9f-023d-ed11-b49b-0022481ae608\",\n    \"LeadPassenger\": {\n        \"Id\": \"39bc5f9f-023d-ed11-b49b-0022481ae608\",\n        \"Firstname\": \"Christin\",\n        \"Surname\": \"Allushi\",\n        \"Mobile\": \"+447902995333\",\n        \"Fax\": null,\n        \"Phone\": null,\n        \"Email\": \"ca@e9.co.uk\"\n    },\n    \"DriverId\": \"42a4ea0f-d46b-e611-80ca-14187728d133\",\n    \"Driver\": {\n        \"Id\": \"42a4ea0f-d46b-e611-80ca-14187728d133\",\n        \"Firstname\": \"Apple\",\n        \"Surname\": \"Test\",\n        \"Callsign\": \"AST12\",\n        \"Mobile\": \"+447512085158\",\n        \"PCO\": null,\n        \"ImageUrl\": \"https://cab9livedata.blob.core.windows.net/50f56597-c049-e611-80c7-14187728d133/Driver/42a4ea0f-d46b-e611-80ca-14187728d133/Images/latest.jpg\"\n    },\n    \"PassengerNotes\": null,\n    \"DriverNotes\": \"Do not talk with the passenger Chrisitn.\",\n    \"OfficeNotes\": \"\",\n    \"EstimatedCost\": 0,\n    \"EstimatedDistance\": 16.4,\n    \"EstimatedDuration\": null,\n    \"ActualCost\": 0,\n    \"WaitingCost\": 0,\n    \"EstimatedMins\": 36,\n    \"PaymentMethod\": \"OnAccount\",\n    \"WaitAndReturn\": false,\n    \"GeneralReference\": \"1032324341232232424320000002\",\n    \"TextOnArrival\": false,\n    \"CallOnArrival\": false,\n    \"ClientStaffId\": \"a697ee6f-023d-ed11-b49b-0022481ae608\",\n    \"ClientStaff\": {\n        \"Id\": \"a697ee6f-023d-ed11-b49b-0022481ae608\",\n        \"Firstname\": \"Christin\",\n        \"Surname\": \"Allushi\",\n        \"Phone\": null,\n        \"Mobile\": \"+447902995333\",\n        \"Email\": null,\n        \"Fax\": null\n    },\n    \"WaitingTime\": 0,\n    \"TextConfirmation\": false,\n    \"BookingRef\": \"1032324341232232424320000002\",\n    \"PartnerDriverId\": null,\n    \"PartnerVehicleId\": null,\n    \"BookingStops\": [\n        {\n            \"Id\": \"00e97795-033d-ed11-b49b-0022481ae608\",\n            \"StopOrder\": 1,\n            \"Type\": \"PickUp\",\n            \"LocationType\": \"AIRPORT\",\n            \"WaitTime\": 0,\n            \"WaitTimeChargable\": 0,\n            \"StopSummary\": \"London Heathrow Airport Terminal 3\",\n            \"Address1\": null,\n            \"Address2\": null,\n            \"Area\": null,\n            \"TownCity\": null,\n            \"County\": null,\n            \"Postcode\": null,\n            \"Country\": null,\n            \"Latitude\": 51.470744,\n            \"Longitude\": -0.456847,\n            \"Note\": null\n        },\n        {\n            \"Id\": \"01e97795-033d-ed11-b49b-0022481ae608\",\n            \"StopOrder\": 2,\n            \"Type\": \"Via\",\n            \"LocationType\": \"OFFICE\",\n            \"WaitTime\": 0,\n            \"WaitTimeChargable\": 0,\n            \"StopSummary\": \"27 Farm Street, London, London, W1J 5RJ, Greater London, United Kingdom\",\n            \"Address1\": \"27 Farm Street\",\n            \"Address2\": \"\",\n            \"Area\": \"London\",\n            \"TownCity\": \"London\",\n            \"County\": \"Greater London\",\n            \"Postcode\": \"W1J 5RJ\",\n            \"Country\": \"United Kingdom\",\n            \"Latitude\": 51.5095053,\n            \"Longitude\": -0.1484987,\n            \"Note\": null\n        }\n    ],\n    \"Expenses\": []\n}"},{"id":"6ae4b7d2-8f67-48d2-817d-4d68cc60beb7","name":"Booking","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"[Required] The authorization header including the token received earlier to gain access to the API."}],"url":{"raw":"{{domain}}/api/integrations/tp/booking?bookingId=10edc9a1-153f-ed11-b49b-0022481ae608","host":["{{domain}}"],"path":["api","integrations","tp","booking"],"query":[{"key":"bookingId","value":"10edc9a1-153f-ed11-b49b-0022481ae608","description":"[Required]The Id of the booking in CAB9. The complete details for the booking is provided in the response for its bookingId."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1501"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 28 Sep 2022 10:15:08 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:9c8e290c-1cec-47a9-aec0-51e6ecef0955"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"10edc9a1-153f-ed11-b49b-0022481ae608\",\n    \"LocalId\": 2437765,\n    \"BookingStatus\": \"Inprogress\",\n    \"NextStop\": null,\n    \"BookedDateTime\": \"2022-09-28T20:45:00+01:00\",\n    \"DriverOnRouteDateTime\": null,\n    \"DriverArrivedDateTime\": null,\n    \"POBDateTime\": null,\n    \"JobClearDateTime\": \"2022-09-28T10:15:03.0066667+00:00\",\n    \"VehicleId\": \"f463777f-d46b-e611-80ca-14187728d133\",\n    \"Vehicle\": {\n        \"Id\": \"f463777f-d46b-e611-80ca-14187728d133\",\n        \"Make\": \"Jaguar\",\n        \"Model\": \"XF\",\n        \"Colour\": \"Grey\",\n        \"Registration\": \"HV66 BPX\",\n        \"Description\": null,\n        \"Pax\": 4,\n        \"Bax\": 1,\n        \"Wheelchairs\": 0,\n        \"Electric\": false\n    },\n    \"FlightInfoId\": null,\n    \"FlightInfo\": null,\n    \"VehicleTypeId\": \"035d1a84-6a5d-e611-80c8-14187728d133\",\n    \"VehicleType\": {\n        \"Id\": \"035d1a84-6a5d-e611-80c8-14187728d133\",\n        \"Name\": \"Executive\",\n        \"MaxPax\": 3,\n        \"MaxBax\": 3\n    },\n    \"Pax\": 2,\n    \"Bax\": 2,\n    \"LeadPassengerId\": \"39bc5f9f-023d-ed11-b49b-0022481ae608\",\n    \"LeadPassenger\": {\n        \"Id\": \"39bc5f9f-023d-ed11-b49b-0022481ae608\",\n        \"Firstname\": \"Christin\",\n        \"Surname\": \"Allushi\",\n        \"Mobile\": \"+447902995333\",\n        \"Fax\": null,\n        \"Phone\": null,\n        \"Email\": \"ca@e9.co.uk\"\n    },\n    \"DriverId\": \"42a4ea0f-d46b-e611-80ca-14187728d133\",\n    \"Driver\": {\n        \"Id\": \"42a4ea0f-d46b-e611-80ca-14187728d133\",\n        \"Firstname\": \"Apple\",\n        \"Surname\": \"Test\",\n        \"Callsign\": \"AST12\",\n        \"Mobile\": \"+447512085158\",\n        \"PCO\": null,\n        \"ImageUrl\": \"https://cab9livedata.blob.core.windows.net/50f56597-c049-e611-80c7-14187728d133/Driver/42a4ea0f-d46b-e611-80ca-14187728d133/Images/latest.jpg\"\n    },\n    \"PassengerNotes\": null,\n    \"DriverNotes\": \"Do not talk with the passenger Chrisitn.\",\n    \"OfficeNotes\": \"\",\n    \"EstimatedCost\": 82.9,\n    \"EstimatedDistance\": 16.4,\n    \"EstimatedDuration\": null,\n    \"ActualCost\": 82.9,\n    \"WaitingCost\": null,\n    \"EstimatedMins\": 36,\n    \"PaymentMethod\": \"OnAccount\",\n    \"WaitAndReturn\": false,\n    \"GeneralReference\": \"f56hy30s\",\n    \"TextOnArrival\": false,\n    \"CallOnArrival\": false,\n    \"ClientStaffId\": \"a697ee6f-023d-ed11-b49b-0022481ae608\",\n    \"ClientStaff\": {\n        \"Id\": \"a697ee6f-023d-ed11-b49b-0022481ae608\",\n        \"Firstname\": \"Christin\",\n        \"Surname\": \"Allushi\",\n        \"Phone\": null,\n        \"Mobile\": \"+447902995333\",\n        \"Email\": null,\n        \"Fax\": null\n    },\n    \"WaitingTime\": 0,\n    \"TextConfirmation\": false,\n    \"BookingRef\": \"f56hy30s\",\n    \"PartnerDriverId\": null,\n    \"PartnerVehicleId\": null,\n    \"BookingStops\": [\n        {\n            \"Id\": \"14edc9a1-153f-ed11-b49b-0022481ae608\",\n            \"StopOrder\": 1,\n            \"Type\": \"PickUp\",\n            \"LocationType\": \"AIRPORT\",\n            \"WaitTime\": 0,\n            \"WaitTimeChargable\": 0,\n            \"StopSummary\": \"London Heathrow Airport Terminal 3\",\n            \"Address1\": null,\n            \"Address2\": null,\n            \"Area\": null,\n            \"TownCity\": null,\n            \"County\": null,\n            \"Postcode\": null,\n            \"Country\": null,\n            \"Latitude\": 51.470744,\n            \"Longitude\": -0.456847,\n            \"Note\": null\n        },\n        {\n            \"Id\": \"15edc9a1-153f-ed11-b49b-0022481ae608\",\n            \"StopOrder\": 2,\n            \"Type\": \"Via\",\n            \"LocationType\": \"OFFICE\",\n            \"WaitTime\": 0,\n            \"WaitTimeChargable\": 0,\n            \"StopSummary\": \"27 Farm Street, London, London, W1J 5RJ, Greater London, United Kingdom\",\n            \"Address1\": \"27 Farm Street\",\n            \"Address2\": \"\",\n            \"Area\": \"London\",\n            \"TownCity\": \"London\",\n            \"County\": \"Greater London\",\n            \"Postcode\": \"W1J 5RJ\",\n            \"Country\": \"United Kingdom\",\n            \"Latitude\": 51.5095053,\n            \"Longitude\": -0.1484987,\n            \"Note\": null\n        }\n    ],\n    \"Expenses\": [\n        {\n            \"Expense\": \"Congestion Charge\",\n            \"Amount\": 1.8\n        },\n        {\n            \"Expense\": \"Car Park\",\n            \"Amount\": 12\n        }\n    ]\n}"}],"_postman_id":"e7ae3a79-6621-4c4e-a540-acfa0fa6ece6"},{"name":"Get Booking Status","id":"52fbd687-2b0b-44bf-a527-8811f5564d70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"<p>[Required] The authorization header including the token received earlier to gain access to the API.</p>\n"}],"url":"{{domain}}/api/integrations/tp/bookingstatus?bookingId={{bookingId}}","description":"<p><strong>The endpoint is used for retrieving  the status of a booking by its <code>Id</code></strong></p>\n","urlObject":{"path":["api","integrations","tp","bookingstatus"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>[Required]The Id of the booking in CAB9. Id is provided in the response when a booking is created/amended.</p>\n","type":"text/plain"},"key":"bookingId","value":"{{bookingId}}"}],"variable":[]}},"response":[{"id":"63a492bc-99ce-4f1d-8443-4051a873b987","name":"Get Booking Status","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"[Required] The authorization header including the token received earlier to gain access to the API."}],"url":{"raw":"{{domain}}/api/integrations/tp/bookingstatus?bookingId=10edc9a1-153f-ed11-b49b-0022481ae608","host":["{{domain}}"],"path":["api","integrations","tp","bookingstatus"],"query":[{"key":"bookingId","value":"10edc9a1-153f-ed11-b49b-0022481ae608","description":"[Required]The Id of the booking in CAB9. Id is provided in the response when a booking is created/amended."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"183"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 28 Sep 2022 10:13:48 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:9c8e290c-1cec-47a9-aec0-51e6ecef0955"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"10edc9a1-153f-ed11-b49b-0022481ae608\",\n    \"Status\": \"Arrived\"\n}"}],"_postman_id":"52fbd687-2b0b-44bf-a527-8811f5564d70"},{"name":"Get Driver Location","id":"3046a000-c5e6-4dcb-85b0-06aefbeabee4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"<p>[Required] The authorization header including the token received earlier to gain access to the API.</p>\n"}],"url":"{{domain}}/api/integrations/tp/driverlocation?bookingId={{bookingId}}","description":"<p><strong>This endpoint is used in retrieving the last known location of the driver for a booking in <code>latitude</code> and <code>longitude</code>.</strong></p>\n","urlObject":{"path":["api","integrations","tp","driverlocation"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>[Required]The Id of the booking in CAB9. Id is provided in the response when a booking is created/amended.</p>\n","type":"text/plain"},"key":"bookingId","value":"{{bookingId}}"}],"variable":[]}},"response":[{"id":"f9f25cb8-89b4-431e-9210-f02dd1e90117","name":"Get Driver Location","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","description":"[Required] The authorization header including the token received earlier to gain access to the API."}],"url":{"raw":"{{domain}}/api/integrations/tp/driverlocation?bookingId=10edc9a1-153f-ed11-b49b-0022481ae608","host":["{{domain}}"],"path":["api","integrations","tp","driverlocation"],"query":[{"key":"bookingId","value":"10edc9a1-153f-ed11-b49b-0022481ae608","description":"[Required]The Id of the booking in CAB9. Id is provided in the response when a booking is created/amended."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"183"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 25 Sep 2022 18:57:32 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:9c8e290c-1cec-47a9-aec0-51e6ecef0955"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"Latitude\": 51.4961161148,\n    \"Longitude\": 0.0103138328,\n    \"VehicleTypeId\": null\n}"}],"_postman_id":"3046a000-c5e6-4dcb-85b0-06aefbeabee4"},{"name":"Cancel Booking","id":"4396f7d6-1a24-4f82-a620-ee14119cacdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>[Required] The authorization header including the token received earlier to gain access to the API.</p>\n","key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{domain}}/api/integrations/tp/booking?BookingId={{bookingId}}","description":"<p>The endpoint is used to cancel an already existing booking by its <code>BookingId</code>.</p>\n","urlObject":{"path":["api","integrations","tp","booking"],"host":["{{domain}}"],"query":[{"key":"BookingId","value":"{{bookingId}}"}],"variable":[]}},"response":[{"id":"9aefa4cb-81ce-4523-9ce2-900938a93cd1","name":"Cancel Booking","originalRequest":{"method":"DELETE","header":[{"description":"[Required] The authorization header including the token received earlier to gain access to the API.","key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{domain}}/api/integrations/tp/booking?BookingId=8f464dbb-163f-ed11-b49b-0022481ae608","host":["{{domain}}"],"path":["api","integrations","tp","booking"],"query":[{"key":"BookingId","value":"8f464dbb-163f-ed11-b49b-0022481ae608"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Wed, 28 Sep 2022 10:17:46 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:9c8e290c-1cec-47a9-aec0-51e6ecef0955"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"4396f7d6-1a24-4f82-a620-ee14119cacdd"}],"event":[{"listen":"prerequest","script":{"id":"9e144690-b680-4d3b-a4f7-34ec31a6ac9a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f1f8d82b-94a1-46c9-8382-b33b0d1eb9fc","type":"text/javascript","exec":[""]}}]}