{"info":{"_postman_id":"fb74f283-d025-4cba-bb6a-c8c6c634537f","name":"Tujaus Broker Api Documentation","description":"<html><head></head><body><h2 id=\"overview\">Overview</h2>\n<p>This API allows broker partners to integrate with our car rental system programmatically.</p>\n<p>Most recent API -version is 01.</p>\n<p>Key functionalities include:</p>\n<ul>\n<li><p>Fetch available office locations</p>\n</li>\n<li><p>Fetch available rental vehicles</p>\n</li>\n<li><p>Fetch additional equipment for vehicles</p>\n</li>\n<li><p>Creating new bookings</p>\n</li>\n<li><p>Fetch booking details</p>\n</li>\n<li><p>Cancelling existing bookings</p>\n</li>\n</ul>\n<p>The API follows a RESTful design and communicates using standard HTTP requests with JSON responses.</p>\n<h3 id=\"authentication\">Authentication</h3>\n<p>Authentication is handled using two required GET parameters:</p>\n<ul>\n<li><p><code>apikey</code> — your partner identifier</p>\n</li>\n<li><p><code>apisecret</code> — your secret key</p>\n</li>\n</ul>\n<p>These parameters must be included in <strong>every request</strong> as URL query parameters. Example:</p>\n<p>GET /api/broker01/json_locations.php?apikey={{yourKey}}&amp;apisecret={{yourSecret}}</p>\n<blockquote>\n<p>⚠️ <strong>Important:</strong> Never expose your API credentials in public or client-side applications. </p>\n</blockquote>\n<h3 id=\"standard-workflow\">Standard workflow:</h3>\n<p>Fetch office locations -&gt; json_locations.php</p>\n<p>Fetch available vehicles -&gt; json_vehavailrate.php</p>\n<p>Fetch additional equipments and services -&gt; json_equipments.php</p>\n<p>Save booking -&gt; json_vehres.php</p>\n<p>post-booking operations:</p>\n<p>Fetch booking details -&gt; json_vehretres.php</p>\n<p>Cancel booking -&gt;json_vehcancel.php</p>\n<h3 id=\"general-notes\">General Notes</h3>\n<ul>\n<li><p>All responses are in JSON format.</p>\n</li>\n<li><p>Ensure proper error handling and retries for failed requests.</p>\n</li>\n</ul>\n<p>For questions, onboarding, or troubleshooting, please contact our technical support team at <a href=\"https://mailto:support@tujaus.io\">support@tujaus.io</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"8958413","collectionId":"fb74f283-d025-4cba-bb6a-c8c6c634537f","publishedId":"2sB2jAb7qX","public":true,"customColor":{"top-bar":"ffffff","right-sidebar":"303030","highlight":"006Cff"},"publishDate":"2025-05-13T07:09:06.000Z"},"item":[{"name":"Office Locations","item":[{"name":"Fetch Office Locations","event":[{"listen":"test","script":{"id":"42be0e0c-056d-4421-9b90-1fd75ad34a7f","exec":[""],"type":"text/javascript","packages":{}}}],"id":"7190688c-57e0-4f9a-85c5-a19e440ab123","request":{"method":"GET","header":[],"url":"serverBaseUrl/api/broker01/json_locations.php?apikey=yourApiKey&apisecret=yourApiSecret","description":"<p>Gets information about the authenticated user.</p>\n","urlObject":{"path":["api","broker01","json_locations.php"],"host":["serverBaseUrl"],"query":[{"key":"apikey","value":"yourApiKey"},{"key":"apisecret","value":"yourApiSecret"}],"variable":[]}},"response":[{"id":"75ad041a-0a8d-4045-b041-28818a1b3424","name":"Office Locations Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"serverBaseUrl/api/broker01/json_locations.php?apikey=yourApiKey&apisecret=yourApiSecret","host":["serverBaseUrl"],"path":["api","broker01","json_locations.php"],"query":[{"key":"apikey","value":"yourApiKey"},{"key":"apisecret","value":"yourApiSecret"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 12 May 2025 07:57:13 GMT"},{"key":"Server","value":"Apache/2.4.59 (Debian)"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"2700"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json;charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"Locations\": [\n    {\n      \"Code\": \"HELA\",\n      \"Name\": \"Helsinki-Vantaa Airport\",\n      \"Type\": \"Airport\",\n      \"Address\": \"Lentoasemantie 1\",\n      \"City\": \"Vantaa\",\n      \"PostalCode\": \"01530\",\n      \"Country\": \"Finland\",\n      \"Phone\": \"+35820014636\",\n      \"Email\": \"name@finavia.fi\",\n      \"MonOpen\": \"08:00\",\n      \"MonClose\": \"16:00\",\n      \"TueOpen\": \"08:00\",\n      \"TueClose\": \"16:00\",\n      \"WedOpen\": \"08:00\",\n      \"WedClose\": \"16:00\",\n      \"ThuOpen\": \"08:00\",\n      \"ThuClose\": \"16:00\",\n      \"FriOpen\": \"08:00\",\n      \"FriClose\": \"16:00\",\n      \"SatOpen\": \"09:00\",\n      \"SatClose\": \"16:00\",\n      \"SunOpen\": \"00:00\",\n      \"SunClose\": \"00:00\",\n      \"Service24h\": \"1\"\n    },\n    {\n      \"Code\": \"HELC\",\n      \"Name\": \"Helsinki City\",\n      \"Type\": \"City\",\n      \"Address\": \"Pohjoisesplanadi 11-13\",\n      \"City\": \"Helsinki\",\n      \"PostalCode\": \"00099\",\n      \"Country\": \"Finland\",\n      \"Phone\": \"+358931011111\",\n      \"Email\": \"name@hel.fi\",\n      \"MonOpen\": \"08:00\",\n      \"MonClose\": \"16:00\",\n      \"TueOpen\": \"08:00\",\n      \"TueClose\": \"16:00\",\n      \"WedOpen\": \"08:00\",\n      \"WedClose\": \"16:00\",\n      \"ThuOpen\": \"08:00\",\n      \"ThuClose\": \"16:00\",\n      \"FriOpen\": \"08:00\",\n      \"FriClose\": \"16:00\",\n      \"SatOpen\": \"00:00\",\n      \"SatClose\": \"00:00\",\n      \"SunOpen\": \"00:00\",\n      \"SunClose\": \"00:00\",\n      \"Service24h\": \"0\"\n    }\n  ]\n}"}],"_postman_id":"7190688c-57e0-4f9a-85c5-a19e440ab123"}],"id":"f2034e01-8d6d-4adb-bb89-ed625e0c0550","description":"<p>Represents an office location with opening hours and contact information.</p>\n<h4 id=\"fields\">Fields:</h4>\n<ul>\n<li><p><code>Code</code> (string): ID of the office</p>\n</li>\n<li><p><code>Name</code> (string): Name of the office</p>\n</li>\n<li><p><code>Type</code> (string): Type of the office — one of <code>city</code>, <code>airport</code>, or <code>rws</code> (railway station)</p>\n</li>\n<li><p><code>Address</code> (string): Street/postal address of the office</p>\n</li>\n<li><p><code>City</code> (string): City where the office is located</p>\n</li>\n<li><p><code>PostalCode</code> (string): Postal code of the office</p>\n</li>\n<li><p><code>Country</code> (string): Country of the office</p>\n</li>\n<li><p><code>Phone</code> (string): Phone number of the office</p>\n</li>\n<li><p><code>Email</code> (string): Email address of the office</p>\n</li>\n</ul>\n<h4 id=\"opening-hours\">Opening hours:</h4>\n<ul>\n<li><p><code>MonOpen</code>, <code>MonClose</code> (string): Monday opening and closing times</p>\n</li>\n<li><p><code>TueOpen</code>, <code>TueClose</code> (string): Tuesday opening and closing times</p>\n</li>\n<li><p><code>WedOpen</code>, <code>WedClose</code> (string): Wednesday opening and closing times</p>\n</li>\n<li><p><code>ThuOpen</code>, <code>ThuClose</code> (string): Thursday opening and closing times</p>\n</li>\n<li><p><code>FriOpen</code>, <code>FriClose</code> (string): Friday opening and closing times</p>\n</li>\n<li><p><code>SatOpen</code>, <code>SatClose</code> (string): Saturday opening and closing times</p>\n</li>\n<li><p><code>SunOpen</code>, <code>SunClose</code> (string): Sunday opening and closing times</p>\n</li>\n</ul>\n<blockquote>\n<p>Time format: <code>HH:mm</code> (24-hour clock, e.g., <code>\"08:00\"</code>) </p>\n</blockquote>\n<h4 id=\"additional\">Additional:</h4>\n<ul>\n<li><code>Service24h</code> (integer): Indicates if 24-hour pickup/return is available outside office hours (<code>0</code> = No, <code>1</code> = Yes)</li>\n</ul>\n","_postman_id":"f2034e01-8d6d-4adb-bb89-ed625e0c0550"},{"name":"Vehicle Availability","item":[{"name":"Fetch Vehicle Availability","event":[{"listen":"test","script":{"id":"42be0e0c-056d-4421-9b90-1fd75ad34a7f","exec":[""],"type":"text/javascript","packages":{}}}],"id":"d3ea7746-c1c5-469c-a300-cb8864390835","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"PickUpTime\":\"2025-06-01 16:46:40\",\n  \"ReturnTime\":\"2025-06-02 16:46:40\",\n  \"PickUpLocationCode\":\"4\",\n  \"ReturnLocationCode\":\"4\"\n} ","options":{"raw":{"language":"json"}}},"url":"serverBaseUrl/api/broker01/json_vehavailrate.php?apikey=yourApiKey&apisecret=yourApiSecret","description":"<p>Gets information about the authenticated user.</p>\n","urlObject":{"path":["api","broker01","json_vehavailrate.php"],"host":["serverBaseUrl"],"query":[{"key":"apikey","value":"yourApiKey"},{"key":"apisecret","value":"yourApiSecret"}],"variable":[]}},"response":[{"id":"453bb063-d16e-4aaf-8246-bc6041f63f67","name":"Vehicle Availability Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"PickUpTime\":\"2025-06-01 16:46:40\",\n  \"ReturnTime\":\"2025-06-02 16:46:40\",\n  \"PickUpLocationCode\":\"4\",\n  \"ReturnLocationCode\":\"4\"\n} ","options":{"raw":{"language":"json"}}},"url":{"raw":"serverBaseUrl/api/broker01/json_vehavailrate.php?apikey=yourApiKey&apisecret=yourApiSecret","host":["serverBaseUrl"],"path":["api","broker01","json_vehavailrate.php"],"query":[{"key":"apikey","value":"yourApiKey"},{"key":"apisecret","value":"yourApiSecret"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 12 May 2025 08:21:34 GMT"},{"key":"Server","value":"Apache/2.4.59 (Debian)"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json;charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"Details\": {\n    \"PickUpTime\": \"2025-06-01 16:46:40\",\n    \"ReturnTime\": \"2025-06-02 16:46:40\",\n    \"Days\": 1,\n    \"PickUpLocationCode\": \"4\",\n    \"ReturnLocationCode\": \"4\"\n  },\n  \"Vehicles\": [\n  {\n    \"RateId\": \"102854\",\n    \"VehClassId\": \"4\",\n    \"VehClassName\": \"A\",\n    \"VehClassType\": \"1\",\n    \"VehClassPassengers\": \"4\",\n    \"PricePrepaid\": 95,\n    \"PricePOA\": 102.6,\n    \"DamageExcess\": 500,\n    \"TheftExcess\": 500,\n    \"DamageExcessWithExtraCover\": 200,\n    \"TheftExcessWithExtraCover\": 200,\n    \"ExtraCoverPrice\": 20,\n    \"StatusName\": \"Available\",\n    \"Details\": {\n      \"ClassName\": \"A\",\n      \"Passengers\": \"5\",\n      \"Doors\": \"3\",\n      \"Aircon\": \"1\",\n      \"TowHitch\": \"0\",\n      \"4wd\": \"0\",\n      \"BootSize\": \"180\",\n      \"BootSmallLuggage\": \"1\",\n      \"BootBigLuggage\": \"0\",\n      \"Consumption\": \"4.50\",\n      \"CO2\": \"120\",\n      \"LoadLength\": \"\",\n      \"LoadHeight\": \"\",\n      \"LoadWidth\": \"\",\n      \"WidthWheelHousing\": \"\",\n      \"OverallLength\": \"\",\n      \"OverallHeight\": \"\",\n      \"OverallWidth\": \"\",\n      \"Payload\": \"\",\n      \"RoofLoad\": \"\",\n      \"TowingCapacityBraked\": \"\",\n      \"TowingCapacityUnbraked\": \"\",\n      \"TailLift\": \"0\",\n      \"ExampleVeh\": \"Toyota Aygo\",\n      \"PicUrl\": \"https://tujaus.s3.amazonaws.com/e868bc47c1f5748bd670e75a40b130d4_1540373626.jpeg\",\n      \"ExtraInformation\": \"\",\n      \"DrivingLicense\": \"B\",\n      \"Transmission\": \"manual\",\n      \"Fuel\": \"gasoline 95 E10\"\n    }\n  },\n  {\n    \"RateId\": \"102855\",\n    \"VehClassId\": \"2\",\n    \"VehClassName\": \"B\",\n    \"VehClassType\": \"1\",\n    \"PricePrepaid\": 110,\n    \"PricePOA\": 118.8,\n    \"DamageExcess\": 500,\n    \"TheftExcess\": 500,\n    \"StatusName\": \"Available\",\n    \"Details\": {\n      \"Passengers\": \"5\",\n      \"Doors\": \"3\",\n      \"Aircon\": \"1\",\n      \"TowHitch\": \"0\",\n      \"4wd\": \"0\",\n      \"BootSize\": \"300\",\n      \"BootSmallLuggage\": \"2\",\n      \"BootBigLuggage\": \"1\",\n      \"Consumption\": \"6.00\",\n      \"CO2\": \"120\",\n      \"LoadLength\": \"\",\n      \"LoadHeight\": \"\",\n      \"LoadWidth\": \"\",\n      \"WidthWheelHousing\": \"\",\n      \"OverallLength\": \"\",\n      \"OverallHeight\": \"\",\n      \"OverallWidth\": \"\",\n      \"Payload\": \"\",\n      \"RoofLoad\": \"\",\n      \"TowingCapacityBraked\": \"\",\n      \"TowingCapacityUnbraked\": \"\",\n      \"TailLift\": \"0\",\n      \"ExampleVeh\": \"Ford Fiesta\",\n      \"PicUrl\": \"https://tujaus.s3.amazonaws.com/e868bc47c1f5748bd670e75a40b130d4_1540373650.jpeg\",\n      \"ExtraInformation\": \"\",\n      \"DrivingLicense\": \"B\",\n      \"Transmission\": \"manual\",\n      \"Fuel\": \"gasoline 95 E10\"\n    }\n  },\n  {\n    \"RateId\": \"102856\",\n    \"VehClassId\": \"1\",\n    \"VehClassName\": \"C\",\n    \"VehClassType\": \"1\",\n    \"PricePrepaid\": 130,\n    \"PricePOA\": 140.4,\n    \"DamageExcess\": 500,\n    \"TheftExcess\": 500,\n    \"StatusName\": \"Available\",\n    \"Details\": {\n      \"Passengers\": \"5\",\n      \"Doors\": \"5\",\n      \"Aircon\": \"1\",\n      \"TowHitch\": \"1\",\n      \"4wd\": \"0\",\n      \"BootSize\": \"500\",\n      \"BootSmallLuggage\": \"3\",\n      \"BootBigLuggage\": \"2\",\n      \"Consumption\": \"6.50\",\n      \"CO2\": \"125\",\n      \"LoadLength\": \"\",\n      \"LoadHeight\": \"\",\n      \"LoadWidth\": \"\",\n      \"WidthWheelHousing\": \"\",\n      \"OverallLength\": \"\",\n      \"OverallHeight\": \"\",\n      \"OverallWidth\": \"\",\n      \"Payload\": \"\",\n      \"RoofLoad\": \"\",\n      \"TowingCapacityBraked\": \"\",\n      \"TowingCapacityUnbraked\": \"\",\n      \"TailLift\": \"0\",\n      \"ExampleVeh\": \"Ford Focus\",\n      \"PicUrl\": \"https://tujaus.s3.amazonaws.com/e868bc47c1f5748bd670e75a40b130d4_1540987239.jpeg\",\n      \"ExtraInformation\": \"\",\n      \"DrivingLicense\": \"B\",\n      \"Transmission\": \"automatic\",\n      \"Fuel\": \"gasoline 95 E10\"\n    }\n  },\n  {\n    \"RateId\": \"102857\",\n    \"VehClassId\": \"3\",\n    \"VehClassName\": \"P\",\n    \"VehClassType\": \"2\",\n    \"PricePrepaid\": 178.2,\n    \"PricePOA\": 192.46,\n    \"DamageExcess\": 1000,\n    \"TheftExcess\": 1000,\n    \"StatusName\": \"Available\",\n    \"Details\": {\n      \"Passengers\": \"9\",\n      \"Doors\": \"4\",\n      \"Aircon\": \"1\",\n      \"TowHitch\": \"1\",\n      \"4wd\": \"1\",\n      \"BootSize\": \"7000\",\n      \"BootSmallLuggage\": \"0\",\n      \"BootBigLuggage\": \"0\",\n      \"Consumption\": \"15.00\",\n      \"CO2\": \"155\",\n      \"LoadLength\": \"2543\",\n      \"LoadHeight\": \"1643\",\n      \"LoadWidth\": \"1692\",\n      \"WidthWheelHousing\": \"1585\",\n      \"OverallLength\": \"4890\",\n      \"OverallHeight\": \"2165\",\n      \"OverallWidth\": \"1904\",\n      \"Payload\": \"2670\",\n      \"RoofLoad\": \"150\",\n      \"TowingCapacityBraked\": \"2000\",\n      \"TowingCapacityUnbraked\": \"250\",\n      \"TailLift\": \"0\",\n      \"ExampleVeh\": \"VW Transporter\",\n      \"PicUrl\": \"https://tujaus.s3.amazonaws.com/e868bc47c1f5748bd670e75a40b130d4_1540373737.jpeg\",\n      \"ExtraInformation\": \"3 seats removable\",\n      \"DrivingLicense\": \"C\",\n      \"Transmission\": \"manual\",\n      \"Fuel\": \"diesel\"\n    }\n  }\n  ]\n}"}],"_postman_id":"d3ea7746-c1c5-469c-a300-cb8864390835"}],"id":"18005175-ecae-4be3-81c5-935ccc24c687","description":"<h2 id=\"description\">Description</h2>\n<p>Returns all available vehicle classes for the specified rental period and office locations. The response includes pricing information, reservation references, and detailed vehicle specifications.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PickUpTime</code></td>\n<td>datetime</td>\n<td>Yes</td>\n<td>Start time of the rental (ISO 8601 format)</td>\n</tr>\n<tr>\n<td><code>ReturnTime</code></td>\n<td>datetime</td>\n<td>Yes</td>\n<td>End time of the rental (ISO 8601 format)</td>\n</tr>\n<tr>\n<td><code>PickUpLocationCode</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>ID of the pickup office location from json_locations endpoint</td>\n</tr>\n<tr>\n<td><code>ReturnLocationCode</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>ID of the return office location from json_locations endpoint</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-structure\">Response Structure</h3>\n<h4 id=\"general-reservation-details\">General Reservation Details</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PickUpTime</code></td>\n<td>datetime</td>\n<td>Time of the pickup</td>\n</tr>\n<tr>\n<td><code>ReturnTime</code></td>\n<td>datetime</td>\n<td>Time of the return</td>\n</tr>\n<tr>\n<td><code>Days</code></td>\n<td>integer</td>\n<td>Length of the reservation in days</td>\n</tr>\n<tr>\n<td><code>PickUpLocationCode</code></td>\n<td>string</td>\n<td>Pickup office ID</td>\n</tr>\n<tr>\n<td><code>ReturnLocationCode</code></td>\n<td>string</td>\n<td>Return office ID</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"vehicles-array-of-available-options\">Vehicles (Array of Available Options)</h4>\n<h5 id=\"vehicle-pricing--class-info\">Vehicle Pricing &amp; Class Info</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>RateId</code></td>\n<td>integer</td>\n<td>Reservation reference ID</td>\n</tr>\n<tr>\n<td><code>VehClassId</code></td>\n<td>integer</td>\n<td>Vehicle class ID</td>\n</tr>\n<tr>\n<td><code>VehClassName</code></td>\n<td>string</td>\n<td>Name of the vehicle class</td>\n</tr>\n<tr>\n<td><code>VehClassType</code></td>\n<td>string</td>\n<td>Type of vehicle class</td>\n</tr>\n<tr>\n<td><code>VehClassPassengers</code></td>\n<td>string</td>\n<td>Number of passenger seats</td>\n</tr>\n<tr>\n<td><code>PricePrepaid</code></td>\n<td>float</td>\n<td>Price when paid in advance</td>\n</tr>\n<tr>\n<td><code>PricePOA</code></td>\n<td>float</td>\n<td>Price when paid on arrival</td>\n</tr>\n<tr>\n<td><code>DamageExcess</code></td>\n<td>float</td>\n<td>Damage liability without extra cover</td>\n</tr>\n<tr>\n<td><code>TheftExcess</code></td>\n<td>float</td>\n<td>Theft liability without extra cover</td>\n</tr>\n<tr>\n<td><code>DamageExcessWithExtraCover</code></td>\n<td>float</td>\n<td>Damage liability with extra cover</td>\n</tr>\n<tr>\n<td><code>TheftExcessWithExtraCover</code></td>\n<td>float</td>\n<td>Theft liability with extra cover</td>\n</tr>\n<tr>\n<td><code>ExtraCoverPrice</code></td>\n<td>float</td>\n<td>Price of extra insurance coverage</td>\n</tr>\n<tr>\n<td><code>StatusName</code></td>\n<td>string</td>\n<td>Availability status (e.g. Available, Unavailable)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h5 id=\"vehicle-technical-details\">Vehicle Technical Details</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ClassName</code></td>\n<td>string</td>\n<td>Name of the vehicle class</td>\n</tr>\n<tr>\n<td><code>Passengers</code></td>\n<td>string</td>\n<td>Passenger capacity</td>\n</tr>\n<tr>\n<td><code>Doors</code></td>\n<td>string</td>\n<td>Number of doors</td>\n</tr>\n<tr>\n<td><code>Aircon</code></td>\n<td>string</td>\n<td>Air conditioning available (0 = no, 1 = yes)</td>\n</tr>\n<tr>\n<td><code>TowHitch</code></td>\n<td>string</td>\n<td>Tow hitch available (0/1)</td>\n</tr>\n<tr>\n<td><code>4wd</code></td>\n<td>string</td>\n<td>Four-wheel drive (0/1)</td>\n</tr>\n<tr>\n<td><code>BootSize</code></td>\n<td>string</td>\n<td>Size of the trunk/boot</td>\n</tr>\n<tr>\n<td><code>BootSmallLuggage</code></td>\n<td>string</td>\n<td>Number of small luggage items fitting in the boot</td>\n</tr>\n<tr>\n<td><code>BootBigLuggage</code></td>\n<td>string</td>\n<td>Number of big luggage items fitting in the boot</td>\n</tr>\n<tr>\n<td><code>Consumption</code></td>\n<td>string</td>\n<td>Fuel consumption (e.g. L/100km)</td>\n</tr>\n<tr>\n<td><code>CO2</code></td>\n<td>string</td>\n<td>CO₂ emissions</td>\n</tr>\n<tr>\n<td><code>LoadLength</code></td>\n<td>string</td>\n<td>Length of the loading space</td>\n</tr>\n<tr>\n<td><code>LoadHeight</code></td>\n<td>string</td>\n<td>Height of the loading space</td>\n</tr>\n<tr>\n<td><code>LoadWidth</code></td>\n<td>string</td>\n<td>Width of the loading space</td>\n</tr>\n<tr>\n<td><code>WidthWheelHousing</code></td>\n<td>string</td>\n<td>Width at the wheel housing</td>\n</tr>\n<tr>\n<td><code>OverallLength</code></td>\n<td>string</td>\n<td>External vehicle length</td>\n</tr>\n<tr>\n<td><code>OverallHeight</code></td>\n<td>string</td>\n<td>External vehicle height</td>\n</tr>\n<tr>\n<td><code>OverallWidth</code></td>\n<td>string</td>\n<td>External vehicle width</td>\n</tr>\n<tr>\n<td><code>Payload</code></td>\n<td>string</td>\n<td>Maximum payload (kg)</td>\n</tr>\n<tr>\n<td><code>RoofLoad</code></td>\n<td>string</td>\n<td>Maximum roof load</td>\n</tr>\n<tr>\n<td><code>TowingCapacityBraked</code></td>\n<td>string</td>\n<td>Towing capacity with brakes</td>\n</tr>\n<tr>\n<td><code>TowingCapacityUnbraked</code></td>\n<td>string</td>\n<td>Towing capacity without brakes</td>\n</tr>\n<tr>\n<td><code>TailLift</code></td>\n<td>string</td>\n<td>Tail lift capacity</td>\n</tr>\n<tr>\n<td><code>ExampleVeh</code></td>\n<td>string</td>\n<td>Example vehicle in the class</td>\n</tr>\n<tr>\n<td><code>PicUrl</code></td>\n<td>string</td>\n<td>Image URL of the vehicle class</td>\n</tr>\n<tr>\n<td><code>ExtraInformation</code></td>\n<td>string</td>\n<td>Additional notes or information</td>\n</tr>\n<tr>\n<td><code>DrivingLicense</code></td>\n<td>string</td>\n<td>Required driving license category</td>\n</tr>\n<tr>\n<td><code>Transmission</code></td>\n<td>string</td>\n<td>Transmission type (e.g. manual, automatic)</td>\n</tr>\n<tr>\n<td><code>Fuel</code></td>\n<td>string</td>\n<td>Fuel type (e.g. petrol, diesel, electric)</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"18005175-ecae-4be3-81c5-935ccc24c687"},{"name":"Vehicle Equipments","item":[{"name":"Fetch Vehicle Equipments","event":[{"listen":"test","script":{"id":"42be0e0c-056d-4421-9b90-1fd75ad34a7f","exec":[""],"type":"text/javascript","packages":{}}}],"id":"0412893c-ca20-4ab8-8e52-a7da2e27a84c","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"PickUpTime\":\"2025-06-01 16:46:40\",\n    \"ReturnTime\":\"2025-06-01 16:46:40\",\n    \"VehClassId\":2\n}","options":{"raw":{"language":"json"}}},"url":"serverBaseUrl/api/broker01/json_equipments.php?apikey=yourApiKey&apisecret=yourApiSecret","description":"<p>Gets information about the authenticated user.</p>\n","urlObject":{"path":["api","broker01","json_equipments.php"],"host":["serverBaseUrl"],"query":[{"key":"apikey","value":"yourApiKey"},{"key":"apisecret","value":"yourApiSecret"}],"variable":[]}},"response":[{"id":"47479034-98ad-4df8-9763-1f67f4748607","name":"Fetch Vehicle Availability","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"PickUpTime\":\"2025-06-01 16:46:40\",\n    \"ReturnTime\":\"2025-06-01 16:46:40\",\n    \"VehClassId\":2\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"serverBaseUrl/api/broker01/json_equipments.php?apikey=yourApiKey&apisecret=yourApiSecret","host":["serverBaseUrl"],"path":["api","broker01","json_equipments.php"],"query":[{"key":"apikey","value":"yourApiKey"},{"key":"apisecret","value":"yourApiSecret"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 12 May 2025 08:35:55 GMT"},{"key":"Server","value":"Apache/2.4.59 (Debian)"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"741"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json;charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"Equipments\": [\n    {\n      \"Id\": 1,\n      \"Name\": \"Child seat\",\n      \"Type\": \"number\",\n      \"Description\": \"Seat for 15-20kg child\",\n      \"Price\": 30\n    },\n    {\n      \"Id\": 3,\n      \"Name\": \"Navigator\",\n      \"Type\": \"checkbox\",\n      \"Description\": \"Navigator included\",\n      \"Price\": 15\n    },\n    {\n      \"Id\": 7,\n      \"Name\": \"Load straps\",\n      \"Type\": \"number\",\n      \"Description\": \" \",\n      \"Price\": \"3.00\"\n    }\n  ]\n}\n"}],"_postman_id":"0412893c-ca20-4ab8-8e52-a7da2e27a84c"}],"id":"eec0d752-ca39-47cc-a3a4-1399477312ff","description":"<h2 id=\"description\">Description</h2>\n<p>Returns available equipment options for the selected vehicle class and rental time range. This includes the type, name, and price of each selectable equipment item.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PickUpTime</code></td>\n<td>datetime</td>\n<td>Yes</td>\n<td>Pickup time of the vehicle</td>\n</tr>\n<tr>\n<td><code>ReturnTime</code></td>\n<td>datetime</td>\n<td>Yes</td>\n<td>Return time of the vehicle</td>\n</tr>\n<tr>\n<td><code>VehClassId</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>ID number of the vehicle class</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-structure\">Response Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Id</code></td>\n<td>integer</td>\n<td>ID number of the equipment</td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>string</td>\n<td>Name of the equipment</td>\n</tr>\n<tr>\n<td><code>Type</code></td>\n<td>string</td>\n<td>Type of the equipment selection (<code>number</code> or <code>checkbox</code>)</td>\n</tr>\n<tr>\n<td><code>Description</code></td>\n<td>string</td>\n<td>Description of the equipment</td>\n</tr>\n<tr>\n<td><code>Price</code></td>\n<td>float</td>\n<td>Price of the equipment</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"eec0d752-ca39-47cc-a3a4-1399477312ff"},{"name":"Save Booking","item":[{"name":"Save Booking","event":[{"listen":"test","script":{"id":"42be0e0c-056d-4421-9b90-1fd75ad34a7f","exec":[""],"type":"text/javascript","packages":{}}}],"id":"a494679a-7190-4a63-b717-a1833e885eef","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"Rate\": {\n    \"RateId\":\"1804563\"\n  },\n  \"Reservation\": {\n    \"PickUpTime\":\"2025-06-01 18:00:00\",\n    \"PickUpLocationCode\":\"4\",\n    \"ReturnTime\":\"2025-06-02 18:00:00\",\n    \"ReturnLocationCode\":\"4\",\n    \"FlightNumber\":\"AY1575\",\n    \"Reference\":\"RR20211\"\n  },\n  \"Customer\": {\n    \"GivenName\": \"John\",\n    \"SurName\": \"Doe\",\n    \"Address\": \"Booking street 12 A 6\",\n    \"City\": \"Imaginarium\",\n    \"PostalCode\": \"12345\",\n    \"Phone\": \"+358 55 555 55555\",\n    \"Email\": \"john@doe.com\"\n  },\n  \"Driver\": {\n    \"GivenName\": \"Jane\",\n    \"SurName\": \"Doe\",\n    \"Address\": \"Booking street 12 A 6\",\n    \"City\": \"Imaginarium\",\n    \"PostalCode\": \"12345\",\n    \"Phone\": \"+358 55 555 55555\",\n    \"Email\": \"jane@doe.com\"\n  },\n  \"Vehicle\": {\n    \"VehClassId\": \"6\",\n    \"PricePrepaid\": 127.5,\n    \"PricePOA\": 0\n  },\n  \"Equipments\": [\n  {\n    \"Id\": 39,\n    \"Amount\": 1,\n    \"PricePrepaid\": 0,\n    \"PricePOA\": 10\n  },\n  {\n    \"Id\": 45,\n    \"Amount\": 2,\n    \"PricePrepaid\": 0,\n    \"PricePOA\": 12.4\n  }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"serverBaseUrl/api/broker01/json_vehres.php?apikey=yourApiKey&apisecret=yourApiSecret","description":"<p>Gets information about the authenticated user.</p>\n","urlObject":{"path":["api","broker01","json_vehres.php"],"host":["serverBaseUrl"],"query":[{"key":"apikey","value":"yourApiKey"},{"key":"apisecret","value":"yourApiSecret"}],"variable":[]}},"response":[{"id":"9522c423-e237-4051-9efe-0b2cbaffc0af","name":"Save Booking Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"Rate\": {\n    \"RateId\":\"1804563\"\n  },\n  \"Reservation\": {\n    \"PickUpTime\":\"2025-06-01 18:00:00\",\n    \"PickUpLocationCode\":\"4\",\n    \"ReturnTime\":\"2025-06-02 18:00:00\",\n    \"ReturnLocationCode\":\"4\",\n    \"FlightNumber\":\"AY1575\",\n    \"Reference\":\"RR20211\"\n  },\n  \"Customer\": {\n    \"GivenName\": \"John\",\n    \"SurName\": \"Doe\",\n    \"Address\": \"Booking street 12 A 6\",\n    \"City\": \"Imaginarium\",\n    \"PostalCode\": \"12345\",\n    \"Phone\": \"+358 55 555 55555\",\n    \"Email\": \"john@doe.com\"\n  },\n  \"Driver\": {\n    \"GivenName\": \"Jane\",\n    \"SurName\": \"Doe\",\n    \"Address\": \"Booking street 12 A 6\",\n    \"City\": \"Imaginarium\",\n    \"PostalCode\": \"12345\",\n    \"Phone\": \"+358 55 555 55555\",\n    \"Email\": \"jane@doe.com\"\n  },\n  \"Vehicle\": {\n    \"VehClassId\": \"6\",\n    \"PricePrepaid\": 127.5,\n    \"PricePOA\": 0\n  },\n  \"Equipments\": [\n  {\n    \"Id\": 39,\n    \"Amount\": 1,\n    \"PricePrepaid\": 0,\n    \"PricePOA\": 10\n  },\n  {\n    \"Id\": 45,\n    \"Amount\": 2,\n    \"PricePrepaid\": 0,\n    \"PricePOA\": 12.4\n  }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"serverBaseUrl/api/broker01/json_vehres.php?apikey=yourApiKey&apisecret=yourApiSecret","host":["serverBaseUrl"],"path":["api","broker01","json_vehres.php"],"query":[{"key":"apikey","value":"yourApiKey"},{"key":"apisecret","value":"yourApiSecret"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 12 May 2025 08:56:20 GMT"},{"key":"Server","value":"Apache/2.4.59 (Debian)"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"43"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json;charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"ReservationId\": \"250894\",\n    \"Status\": \"saved\"\n}"}],"_postman_id":"a494679a-7190-4a63-b717-a1833e885eef"}],"id":"942f9c52-49e0-45bb-b69a-09937ea098dc","description":"<h2 id=\"description\">Description</h2>\n<p>Saves reservation details including rate, reservation time/location, customer, driver, vehicle, and equipment selections. Returns a reservation ID and status.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<h4 id=\"rate\">Rate</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>RateId</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Rate reference from <code>json_vehavailrate.php</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"reservation\">Reservation</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PickUpTime</code></td>\n<td>datetime</td>\n<td>Yes</td>\n<td>Pickup time of the vehicle</td>\n</tr>\n<tr>\n<td><code>PickUpLocationCode</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Location code of the pickup place</td>\n</tr>\n<tr>\n<td><code>ReturnTime</code></td>\n<td>datetime</td>\n<td>Yes</td>\n<td>Return time of the vehicle</td>\n</tr>\n<tr>\n<td><code>ReturnLocationCode</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Location code of the return place</td>\n</tr>\n<tr>\n<td><code>FlightNumber</code></td>\n<td>string</td>\n<td>No</td>\n<td>Flight number (if customer arrives by air)</td>\n</tr>\n<tr>\n<td><code>Reference</code></td>\n<td>string</td>\n<td>No</td>\n<td>Voucher or booking reference number</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"customer\">Customer</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>GivenName</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>First name of the customer</td>\n</tr>\n<tr>\n<td><code>SurName</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Last name of the customer</td>\n</tr>\n<tr>\n<td><code>Address</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Address of the customer</td>\n</tr>\n<tr>\n<td><code>City</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>City where the customer lives</td>\n</tr>\n<tr>\n<td><code>PostalCode</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Postal code of the customer's city</td>\n</tr>\n<tr>\n<td><code>Phone</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Customer's phone number</td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Customer's email address</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"driver-optional\">Driver (Optional)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>GivenName</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>First name of the driver</td>\n</tr>\n<tr>\n<td><code>SurName</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Last name of the driver</td>\n</tr>\n<tr>\n<td><code>Address</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Address of the driver</td>\n</tr>\n<tr>\n<td><code>City</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>City where the driver lives</td>\n</tr>\n<tr>\n<td><code>PostalCode</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Postal code of the driver's city</td>\n</tr>\n<tr>\n<td><code>Phone</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Driver's phone number</td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Driver's email address</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"vehicle\">Vehicle</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>VehClassId</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>ID of the selected vehicle class</td>\n</tr>\n<tr>\n<td><code>PricePrepaid</code></td>\n<td>float</td>\n<td>Yes</td>\n<td>Price when paid in advance</td>\n</tr>\n<tr>\n<td><code>PricePOA</code></td>\n<td>float</td>\n<td>Yes</td>\n<td>Price when paid on arrival</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"equipments-array\">Equipments (array)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Id</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>ID of the selected equipment</td>\n</tr>\n<tr>\n<td><code>Amount</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>Quantity of the selected equipment</td>\n</tr>\n<tr>\n<td><code>PricePrepaid</code></td>\n<td>float</td>\n<td>Yes</td>\n<td>Price per item when paid in advance</td>\n</tr>\n<tr>\n<td><code>PricePOA</code></td>\n<td>float</td>\n<td>Yes</td>\n<td>Price per item when paid on arrival</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-parameters\">Response Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ReservationId</code></td>\n<td>string</td>\n<td>Unique ID of the reservation</td>\n</tr>\n<tr>\n<td><code>Status</code></td>\n<td>string</td>\n<td>Result of the operation</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"942f9c52-49e0-45bb-b69a-09937ea098dc"},{"name":"Fetch Booking Details","item":[{"name":"Fetch Booking Details","event":[{"listen":"test","script":{"id":"42be0e0c-056d-4421-9b90-1fd75ad34a7f","exec":[""],"type":"text/javascript","packages":{}}}],"id":"68a9a130-18b4-4fb6-9df8-87e1d4834bf2","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ReservationId\":\"250894\",\n    \"SurName\":\"Doe\"\n}","options":{"raw":{"language":"json"}}},"url":"serverBaseUrl/api/broker01/json_vehretres.php?apikey=yourApiKey&apisecret=yourApiSecret","description":"<p>Gets information about the authenticated user.</p>\n","urlObject":{"path":["api","broker01","json_vehretres.php"],"host":["serverBaseUrl"],"query":[{"key":"apikey","value":"yourApiKey"},{"key":"apisecret","value":"yourApiSecret"}],"variable":[]}},"response":[{"id":"6a5db3d2-4b8f-499e-a99b-9de2947e7f3f","name":"Fetch Vehicle Equipments","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ReservationId\":\"250894\",\n    \"SurName\":\"Doe\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"serverBaseUrl/api/broker01/json_vehretres.php?apikey=yourApiKey&apisecret=yourApiSecret","host":["serverBaseUrl"],"path":["api","broker01","json_vehretres.php"],"query":[{"key":"apikey","value":"yourApiKey"},{"key":"apisecret","value":"yourApiSecret"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 12 May 2025 09:05:33 GMT"},{"key":"Server","value":"Apache/2.4.59 (Debian)"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"2352"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json;charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"Reservation\": {\n    \"ReservationId\":\"250894\",\n    \"PickUpTime\":\"2025-06-01 18:00:00\",\n    \"ReturnTime\":\"2025-06-02 18:00:00\",\n    \"Reference\":\"RR20211\",\n    \"FlightNumber\":\"AY1575\"\n  },\n    \"PickupLocation\": {\n      \"Code\": \"4\",\n      \"Name\": \"Helsinki-Vantaa Airport\",\n      \"Address\": \"Lentotie 1\",\n      \"City\": \"Vantaa\",\n      \"PostalCode\": \"01530\",\n      \"Phone\": \"010 555 55555\",\n      \"Email\": \"email@rentalcompany.fi\"\n    },\n    \"ReturnLocation\": {\n      \"Code\": \"4\",\n      \"Name\": \"Helsinki-Vantaa Airport\",\n      \"Address\": \"Lentotie 1\",\n      \"City\": \"Vantaa\",\n      \"PostalCode\": \"01530\",\n      \"Phone\": \"010 555 55555\",\n      \"Email\": \"email@rentalcompany.fi\"\n    },\n    \"Customer\": {\n      \"GivenName\": \"John\",\n      \"SurName\": \"Doe\",\n      \"Address\": \"Booking street 12 A 6\",\n      \"City\": \"Imaginarium\",\n      \"PostalCode\": \"12345\",\n      \"Phone\": \"+358 55 555 55555\",\n      \"Email\": \"john@doe.com\"\n    },\n    \"Driver\": {\n      \"GivenName\": \"Jane\",\n      \"SurName\": \"Doe\",\n      \"Address\": \"Booking street 12 A 6\",\n      \"City\": \"Imaginarium\",\n      \"PostalCode\": \"12345\",\n      \"Phone\": \"+358 55 555 55555\",\n      \"Email\": \"jane@doe.com\"\n    },\n    \"Vehicle\": {\n      \"VehClassId\": \"6\",\n      \"VehClassName\": \"D\",\n      \"PricePrepaid\": 127.5,\n      \"PricePOA\": 0,\n      \"DamageExcess\": 1000,\n      \"TheftExcess\": 1000,\n      \"Details\": {\n        \"ClassName\": \"D\",\n        \"Passengers\": \"5\",\n        \"Doors\": \"5\",\n        \"Aircon\": \"1\",\n        \"TowHitch\": \"0\",\n        \"4wd\": \"0\",\n        \"BootSize\": \"500\",\n        \"BootSmallLuggage\": \"3\",\n        \"BootBigLuggage\": \"2\",\n        \"Consumption\": \"7.00\",\n        \"CO2\": \"125\",\n        \"LoadLength\": \"\",\n        \"LoadHeight\": \"\",\n        \"LoadWidth\": \"\",\n        \"WidthWheelHousing\": \"\",\n        \"OverallLength\": \"\",\n        \"OverallHeight\": \"\",\n        \"OverallWidth\": \"\",\n        \"Payload\": \"\",\n        \"RoofLoad\": \"\",\n        \"TowingCapacityBraked\": \"\",\n        \"TowingCapacityUnbraked\": \"\",\n        \"TailLift\": \"0\",\n        \"ExampleVeh\": \"BMW 318\",\n        \"PicUrl\": \"https://tujaus.s3.amazonaws.com/e868bc47c1f5748bd670e75a40b130d4_1540987255.jpeg\",\n        \"ExtraInformation\": \"\",\n        \"DrivingLicense\": \"B\",\n        \"Transmission\": \"automatic\",\n        \"Fuel\": \"gasoline 95 E10\"\n        }\n  },\n    \"Equipments\": [\n    {\n      \"Id\": 39,\n      \"Name\": \"Child Seat\",\n      \"Amount\": 1,\n      \"UnitPrice\": 10,\n      \"PricePrepaid\": 0,\n      \"PricePOA\": 10\n    },\n    {\n      \"Id\": 45,\n      \"Name\": \"GPS\",\n      \"Amount\": 2,\n      \"UnitPrice\": 6.2,\n      \"PricePrepaid\": 0,\n      \"PricePOA\": 12.4\n    }\n    ]\n  }"}],"_postman_id":"68a9a130-18b4-4fb6-9df8-87e1d4834bf2"}],"id":"bae748d2-4cc5-49f6-9494-ee475960ec47","description":"<h2 id=\"description\">Description</h2>\n<p>Returns detailed information for a specific reservation based on reservation ID and customer's last name. Includes times, customer/driver info, vehicle class, and selected equipment.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ReservationId</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>ID of the reservation</td>\n</tr>\n<tr>\n<td><code>SurName</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Last name of the customer</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-structure\">Response Structure</h3>\n<h4 id=\"reservation\">Reservation</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ReservationId</code></td>\n<td>string</td>\n<td>ID of the reservation</td>\n</tr>\n<tr>\n<td><code>PickUpTime</code></td>\n<td>datetime</td>\n<td>Pickup time of the vehicle</td>\n</tr>\n<tr>\n<td><code>ReturnTime</code></td>\n<td>datetime</td>\n<td>Return time of the vehicle</td>\n</tr>\n<tr>\n<td><code>Reference</code></td>\n<td>string</td>\n<td>Voucher number</td>\n</tr>\n<tr>\n<td><code>FlightNumber</code></td>\n<td>string</td>\n<td>Flight number (if arriving by air)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"pickup-location\">Pickup Location</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Code</code></td>\n<td>string</td>\n<td>Code of the pickup location</td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>string</td>\n<td>Name of the pickup location</td>\n</tr>\n<tr>\n<td><code>Address</code></td>\n<td>string</td>\n<td>Address of the pickup location</td>\n</tr>\n<tr>\n<td><code>City</code></td>\n<td>string</td>\n<td>City of the pickup location</td>\n</tr>\n<tr>\n<td><code>PostalCode</code></td>\n<td>string</td>\n<td>Postal code of the pickup</td>\n</tr>\n<tr>\n<td><code>Phone</code></td>\n<td>string</td>\n<td>Phone number of the pickup</td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>string</td>\n<td>Email address of the pickup</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"return-location\">Return Location</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Code</code></td>\n<td>string</td>\n<td>Code of the return location</td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>string</td>\n<td>Name of the return location</td>\n</tr>\n<tr>\n<td><code>Address</code></td>\n<td>string</td>\n<td>Address of the return location</td>\n</tr>\n<tr>\n<td><code>City</code></td>\n<td>string</td>\n<td>City of the return location</td>\n</tr>\n<tr>\n<td><code>PostalCode</code></td>\n<td>string</td>\n<td>Postal code of the return</td>\n</tr>\n<tr>\n<td><code>Phone</code></td>\n<td>string</td>\n<td>Phone number of the return</td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>string</td>\n<td>Email address of the return</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"customer\">Customer</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>GivenName</code></td>\n<td>string</td>\n<td>First name of the customer</td>\n</tr>\n<tr>\n<td><code>SurName</code></td>\n<td>string</td>\n<td>Last name of the customer</td>\n</tr>\n<tr>\n<td><code>Address</code></td>\n<td>string</td>\n<td>Address of the customer</td>\n</tr>\n<tr>\n<td><code>City</code></td>\n<td>string</td>\n<td>City where the customer lives</td>\n</tr>\n<tr>\n<td><code>PostalCode</code></td>\n<td>string</td>\n<td>Postal code of the customer's city</td>\n</tr>\n<tr>\n<td><code>Phone</code></td>\n<td>string</td>\n<td>Customer's phone number</td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>string</td>\n<td>Customer's email address</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"driver\">Driver</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>GivenName</code></td>\n<td>string</td>\n<td>First name of the driver</td>\n</tr>\n<tr>\n<td><code>SurName</code></td>\n<td>string</td>\n<td>Last name of the driver</td>\n</tr>\n<tr>\n<td><code>Address</code></td>\n<td>string</td>\n<td>Address of the driver</td>\n</tr>\n<tr>\n<td><code>City</code></td>\n<td>string</td>\n<td>City where the driver lives</td>\n</tr>\n<tr>\n<td><code>PostalCode</code></td>\n<td>string</td>\n<td>Postal code of the driver's city</td>\n</tr>\n<tr>\n<td><code>Phone</code></td>\n<td>string</td>\n<td>Driver's phone number</td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>string</td>\n<td>Driver's email address</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"vehicle\">Vehicle</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>VehClassId</code></td>\n<td>integer</td>\n<td>ID of the vehicle class</td>\n</tr>\n<tr>\n<td><code>VehClassName</code></td>\n<td>string</td>\n<td>Name of the vehicle class</td>\n</tr>\n<tr>\n<td><code>PricePrepaid</code></td>\n<td>float</td>\n<td>Price when paid in advance</td>\n</tr>\n<tr>\n<td><code>PricePOA</code></td>\n<td>float</td>\n<td>Price when paid on arrival</td>\n</tr>\n<tr>\n<td><code>DamageExcess</code></td>\n<td>float</td>\n<td>Charge in case of damage</td>\n</tr>\n<tr>\n<td><code>TheftExcess</code></td>\n<td>float</td>\n<td>Charge in case of theft</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"vehicle-details\">Vehicle Details</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ClassName</code></td>\n<td>string</td>\n<td>Name of the vehicle class</td>\n</tr>\n<tr>\n<td><code>Passengers</code></td>\n<td>string</td>\n<td>Number of passenger seats</td>\n</tr>\n<tr>\n<td><code>Doors</code></td>\n<td>string</td>\n<td>Number of doors</td>\n</tr>\n<tr>\n<td><code>Aircon</code></td>\n<td>string</td>\n<td>Air conditioning available (yes/no)</td>\n</tr>\n<tr>\n<td><code>TowHitch</code></td>\n<td>string</td>\n<td>Tow hitch availability</td>\n</tr>\n<tr>\n<td><code>4wd</code></td>\n<td>string</td>\n<td>Four-wheel drive capability</td>\n</tr>\n<tr>\n<td><code>BootSize</code></td>\n<td>string</td>\n<td>Size of the boot/trunk</td>\n</tr>\n<tr>\n<td><code>BootSmallLuggage</code></td>\n<td>string</td>\n<td>Small luggage capacity in trunk</td>\n</tr>\n<tr>\n<td><code>BootBigLuggage</code></td>\n<td>string</td>\n<td>Big luggage capacity in trunk</td>\n</tr>\n<tr>\n<td><code>Consumption</code></td>\n<td>string</td>\n<td>Fuel consumption</td>\n</tr>\n<tr>\n<td><code>CO2</code></td>\n<td>string</td>\n<td>CO₂ emissions</td>\n</tr>\n<tr>\n<td><code>LoadLength</code></td>\n<td>string</td>\n<td>Length of the loading space</td>\n</tr>\n<tr>\n<td><code>LoadHeight</code></td>\n<td>string</td>\n<td>Height of the loading space</td>\n</tr>\n<tr>\n<td><code>LoadWidth</code></td>\n<td>string</td>\n<td>Width of the loading space</td>\n</tr>\n<tr>\n<td><code>WidthWheelHousing</code></td>\n<td>string</td>\n<td>Width at wheel housing</td>\n</tr>\n<tr>\n<td><code>OverallLength</code></td>\n<td>string</td>\n<td>Overall external length</td>\n</tr>\n<tr>\n<td><code>OverallHeight</code></td>\n<td>string</td>\n<td>Overall external height</td>\n</tr>\n<tr>\n<td><code>OverallWidth</code></td>\n<td>string</td>\n<td>Overall external width</td>\n</tr>\n<tr>\n<td><code>Payload</code></td>\n<td>string</td>\n<td>Payload capacity</td>\n</tr>\n<tr>\n<td><code>RoofLoad</code></td>\n<td>string</td>\n<td>Roof load capacity</td>\n</tr>\n<tr>\n<td><code>TowingCapacityBraked</code></td>\n<td>string</td>\n<td>Towing capacity (braked trailer)</td>\n</tr>\n<tr>\n<td><code>TowingCapacityUnbraked</code></td>\n<td>string</td>\n<td>Towing capacity (unbraked trailer)</td>\n</tr>\n<tr>\n<td><code>TailLift</code></td>\n<td>string</td>\n<td>Tail lift capacity</td>\n</tr>\n<tr>\n<td><code>ExampleVeh</code></td>\n<td>string</td>\n<td>Example vehicle model</td>\n</tr>\n<tr>\n<td><code>PicUrl</code></td>\n<td>string</td>\n<td>Image URL of the vehicle</td>\n</tr>\n<tr>\n<td><code>ExtraInformation</code></td>\n<td>string</td>\n<td>Additional information</td>\n</tr>\n<tr>\n<td><code>DrivingLicense</code></td>\n<td>string</td>\n<td>Required driving license category</td>\n</tr>\n<tr>\n<td><code>Transmission</code></td>\n<td>string</td>\n<td>Gearbox type (manual/automatic)</td>\n</tr>\n<tr>\n<td><code>Fuel</code></td>\n<td>string</td>\n<td>Fuel type (petrol/diesel/electric)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"equipments-array\">Equipments (array)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Id</code></td>\n<td>integer</td>\n<td>ID of the selected equipment</td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>string</td>\n<td>Name of the equipment</td>\n</tr>\n<tr>\n<td><code>Amount</code></td>\n<td>string</td>\n<td>Quantity of the selected equipment</td>\n</tr>\n<tr>\n<td><code>UnitPrice</code></td>\n<td>float</td>\n<td>Price per equipment unit</td>\n</tr>\n<tr>\n<td><code>PricePrepaid</code></td>\n<td>float</td>\n<td>Price when paid in advance</td>\n</tr>\n<tr>\n<td><code>PricePOA</code></td>\n<td>float</td>\n<td>Price when paid on arrival</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"bae748d2-4cc5-49f6-9494-ee475960ec47"},{"name":"Cancel Booking","item":[{"name":"Cancel Booking","event":[{"listen":"test","script":{"id":"42be0e0c-056d-4421-9b90-1fd75ad34a7f","exec":[""],"type":"text/javascript","packages":{}}}],"id":"15528762-87ee-4326-b435-8d30865bf0b8","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ReservationId\":\"250894\",\n    \"SurName\":\"Doe\"\n}","options":{"raw":{"language":"json"}}},"url":"serverBaseUrl/api/broker01/json_vehcancel.php?apikey=yourApiKey&apisecret=yourApiSecret","description":"<p>Gets information about the authenticated user.</p>\n","urlObject":{"path":["api","broker01","json_vehcancel.php"],"host":["serverBaseUrl"],"query":[{"key":"apikey","value":"yourApiKey"},{"key":"apisecret","value":"yourApiSecret"}],"variable":[]}},"response":[{"id":"2178db60-f4bc-4f52-933e-266765e1156c","name":"Fetch Booking Details","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ReservationId\":\"250894\",\n    \"SurName\":\"Doe\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"serverBaseUrl/api/broker01/json_vehcancel.php?apikey=yourApiKey&apisecret=yourApiSecret","host":["serverBaseUrl"],"path":["api","broker01","json_vehcancel.php"],"query":[{"key":"apikey","value":"yourApiKey"},{"key":"apisecret","value":"yourApiSecret"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 12 May 2025 09:13:31 GMT"},{"key":"Server","value":"Apache/2.4.59 (Debian)"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"47"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json;charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"ReservationId\": \"250894\",\n    \"Status\": \"cancelled\"\n}"}],"_postman_id":"15528762-87ee-4326-b435-8d30865bf0b8"}],"id":"23cbf535-7d30-45c1-b9b1-b026be39a566","description":"<h2 id=\"description\">Description</h2>\n<p>Cancels an existing reservation.<br />Reservation modifications are not supported — to make changes, cancel the existing reservation and create a new one.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ReservationId</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>ID of the reservation</td>\n</tr>\n<tr>\n<td><code>SurName</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Last name of the customer</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-parameters\">Response Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ReservationId</code></td>\n<td>string</td>\n<td>ID of the cancelled reservation</td>\n</tr>\n<tr>\n<td><code>Status</code></td>\n<td>string</td>\n<td>Result of the operation (e.g. \"cancelled\")</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"23cbf535-7d30-45c1-b9b1-b026be39a566"}],"event":[{"listen":"prerequest","script":{"id":"5cb561e1-bb6a-4e43-8a4f-e93f4f80c0bb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"51c29ab4-a9ad-4bfe-b8a6-cd8874cfe3b6","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"serverBaseUrl","type":"string"},{"key":"version","value":"01","type":"string"},{"key":"apikey","value":"yourApiKey","type":"string"},{"key":"apisecret","value":"yourApiSecret","type":"string"}]}