{"info":{"_postman_id":"00df99f8-5904-4998-b80a-2c04be5120d2","name":"Elektra Channel API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"27317077","collectionId":"00df99f8-5904-4998-b80a-2c04be5120d2","publishedId":"2sAXjGdZgD","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-08-27T13:19:26.000Z"},"item":[{"name":"Availability, Rates and Restrictions API","item":[{"name":"Price","id":"39799ddc-4d3f-4612-b54c-4146e1864728","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://***.com/price","description":"<h1 id=\"introduction\">Introduction</h1>\n<p>Price request structure to set and update prices on channel panel.</p>\n<h1 id=\"prerequisites\">Prerequisites</h1>\n<ul>\n<li>Create an endpoint that supports the following request format:</li>\n</ul>\n<p>Endpoint: <code>https://**.com/price</code></p>\n<p>Method: <code>POST</code></p>\n<p>Content-Type: <code>application/json</code></p>\n<p>Body: A stringified JSON object containing the pricing information</p>\n<ul>\n<li><p>Provide username password for authentication purposes specific to test hotel.</p>\n</li>\n<li><p>Whitelist our IP address.</p>\n</li>\n</ul>\n<h1 id=\"request-structure\">Request Structure</h1>\n<h3 id=\"main-structure\">Main Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>username</td>\n<td>string</td>\n<td>The master username for authentication</td>\n<td>Yes</td>\n<td>None</td>\n<td>-</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>The master password for authentication</td>\n<td>Yes</td>\n<td>None</td>\n<td>-</td>\n</tr>\n<tr>\n<td>hotelId</td>\n<td>string</td>\n<td>Unique identifier for the hotel</td>\n<td>Yes</td>\n<td>None</td>\n<td>-</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>The currency used for pricing</td>\n<td>Yes</td>\n<td>None</td>\n<td>-</td>\n</tr>\n<tr>\n<td>rooms</td>\n<td>Array</td>\n<td>List of room objects</td>\n<td>Yes</td>\n<td>None</td>\n<td>See \"Room Structure\" table</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"room-structure\">Room Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>roomId</td>\n<td>string</td>\n<td>Unique identifier for the room</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>data</td>\n<td>Array</td>\n<td>List of data objects for the room</td>\n<td>Yes</td>\n<td>-</td>\n<td>See \"Data Structure\" table</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"data-structure\">Data Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>rateId</td>\n<td>string</td>\n<td>Unique identifier for the rate</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>fromDate</td>\n<td>string</td>\n<td>Start date for the rate period</td>\n<td>Yes</td>\n<td>-</td>\n<td>Format: YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>toDate</td>\n<td>string</td>\n<td>End date for the rate period</td>\n<td>Yes</td>\n<td>-</td>\n<td>Format: YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>roomPrice</td>\n<td>number</td>\n<td>Price for the room</td>\n<td>No (roomPrice or occupancyBasedPrices must be used)</td>\n<td>Mutually exclusive with occupancyBasedPrices</td>\n<td>Used when pricing is not occupancy-based</td>\n</tr>\n<tr>\n<td>occupancyBasedPrices</td>\n<td>Array</td>\n<td>List of occupancy based prices objects</td>\n<td>No (roomPrice or occupancyBasedPrices must be used)</td>\n<td>Mutually exclusive with roomBasedPrice</td>\n<td>See \"Occupancy-Based Prices\" table</td>\n</tr>\n<tr>\n<td>childPrices</td>\n<td>Object</td>\n<td>Prices for different child categories</td>\n<td>No</td>\n<td>Requires occupancyBasedPrices</td>\n<td>See \"Child Prices\" table. Can only be used with occupancyBasedPrices</td>\n</tr>\n<tr>\n<td>exBedAdult</td>\n<td>number</td>\n<td>Price for extra beds</td>\n<td>No</td>\n<td>Requires occupancyBasedPrices</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"occupancy-based-prices\">Occupancy-Based Prices</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>numberOfGuests</td>\n<td>number</td>\n<td>Number of guests for this price</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>price</td>\n<td>number</td>\n<td>Price for the specified number of guests</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"child-prices\">Child Prices</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>elderChild1</td>\n<td>number</td>\n<td>Price for the first elder child</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>youngerChild1</td>\n<td>number</td>\n<td>Price for the first younger child</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>baby1</td>\n<td>number</td>\n<td>Price for the first baby</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>elderChild2</td>\n<td>number</td>\n<td>Price for each of the remaining elder children</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>youngerChild2</td>\n<td>number</td>\n<td>Price for each of the remaining younger children</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>baby2</td>\n<td>number</td>\n<td>Price for each of the remaining baby</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"additional-notes\">Additional Notes</h1>\n<ol>\n<li><p>Either <code>roomPrice</code> or <code>occupancyBasedPrices</code> will be provided, but not both.</p>\n</li>\n<li><p>data will be grouped under their respective <code>rooms</code>. For example, all data for Room 1 will be listed under Room 1.</p>\n</li>\n<li><p><code>childPrices</code> and <code>exBedAdult</code> are only applicable when <code>occupancyBasedPrices</code> is present; they are not included when <code>roomPrice</code> is used.</p>\n</li>\n<li><p>The date range specified by <code>fromDate</code> and <code>toDate</code> is inclusive of both dates.</p>\n</li>\n</ol>\n<h1 id=\"examples\">Examples</h1>\n<h3 id=\"occupancy-based-pricing-example\">Occupancy-Based pricing example:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"username\": \"elektraweb\",\n  \"password\": \"***\",\n  \"hotelId\": \"1\",\n  \"currency\": \"EUR\",\n  \"rooms\": [\n    {\n      \"roomId\": \"1\",\n      \"data\": [\n        {\n          \"rateId\": \"165\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"occupancyBasedPrices\": [\n            {\n              \"numberOfGuests\": 1,\n              \"price\": 21.56\n            },\n            {\n              \"numberOfGuests\": 2,\n              \"price\": 28.74\n            }\n          ],\n          \"childPrices\": {\n            \"elderChild1\": 14.37,\n            \"youngerChild1\": 5.75,\n            \"baby1\": 0,\n            \"elderChild2\": 17.25,\n            \"youngerChild2\": 11.5,\n            \"baby2\": 0\n          },\n          \"exBedAdult\": 57.48\n        },\n        {\n          \"rateId\": \"2\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"occupancyBasedPrices\": [\n            {\n              \"numberOfGuests\": 1,\n              \"price\": 19.4\n            },\n            {\n              \"numberOfGuests\": 2,\n              \"price\": 25.87\n            }\n          ],\n          \"exBedAdult\": 51.74\n        }\n      ]\n    },\n    {\n      \"roomId\": \"2\",\n      \"data\": [\n        {\n          \"rateId\": \"1609\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"occupancyBasedPrices\": [\n            {\n              \"numberOfGuests\": 1,\n              \"price\": 51.57\n            },\n            {\n              \"numberOfGuests\": 2,\n              \"price\": 77.77\n            }\n          ],\n          \"exBedAdult\": 64.25\n        },\n        {\n          \"rateId\": \"3\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"occupancyBasedPrices\": [\n            {\n              \"numberOfGuests\": 1,\n              \"price\": 34.24\n            },\n            {\n              \"numberOfGuests\": 2,\n              \"price\": 45.65\n            },\n            {\n              \"numberOfGuests\": 3,\n              \"price\": 61.63\n            },\n            {\n              \"numberOfGuests\": 4,\n              \"price\": 45.65\n            },\n            {\n              \"numberOfGuests\": 5,\n              \"price\": 50\n            },\n            {\n              \"numberOfGuests\": 6,\n              \"price\": 60\n            },\n            {\n              \"numberOfGuests\": 7,\n              \"price\": 70\n            },\n            {\n              \"numberOfGuests\": 8,\n              \"price\": 80\n            },\n            {\n              \"numberOfGuests\": 9,\n              \"price\": 90\n            },\n            {\n              \"numberOfGuests\": 10,\n              \"price\": 100\n            },\n            {\n              \"numberOfGuests\": 11,\n              \"price\": 110\n            },\n            {\n              \"numberOfGuests\": 12,\n              \"price\": 120\n            },\n            {\n              \"numberOfGuests\": 13,\n              \"price\": 130\n            },\n            {\n              \"numberOfGuests\": 14,\n              \"price\": 140\n            },\n            {\n              \"numberOfGuests\": 15,\n              \"price\": 150\n            }\n          ],\n          \"childPrices\": {\n            \"elderChild1\": 22.82,\n            \"youngerChild1\": 22.82,\n            \"baby1\": 0,\n            \"elderChild2\": 0,\n            \"youngerChild2\": 0,\n            \"baby2\": 0\n          },\n          \"exBedAdult\": 45.65\n        }\n      ]\n    },\n    {\n      \"roomId\": \"8\",\n      \"data\": [\n        {\n          \"rateId\": \"1070\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"occupancyBasedPrices\": [\n            {\n              \"numberOfGuests\": 1,\n              \"price\": 51.74\n            },\n            {\n              \"numberOfGuests\": 2,\n              \"price\": 73.04\n            },\n            {\n              \"numberOfGuests\": 3,\n              \"price\": 100.43\n            }\n          ],\n          \"exBedAdult\": 27.39\n        },\n        {\n          \"rateId\": \"1071\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"occupancyBasedPrices\": [\n            {\n              \"numberOfGuests\": 1,\n              \"price\": 45.65\n            },\n            {\n              \"numberOfGuests\": 2,\n              \"price\": 60.87\n            },\n            {\n              \"numberOfGuests\": 3,\n              \"price\": 82.17\n            }\n          ],\n          \"childPrices\": {\n            \"elderChild1\": 30.43,\n            \"youngerChild1\": 0,\n            \"baby1\": 0,\n            \"elderChild2\": 30.43,\n            \"youngerChild2\": 30.43,\n            \"baby2\": 0\n          },\n          \"exBedAdult\": 21.3\n        }\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"room-based-pricing-example\">Room-Based pricing example:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"username\": \"elektraweb\",\n  \"password\": \"***\",\n  \"hotelId\": \"1\",\n  \"currency\": \"EUR\",\n  \"rooms\": [\n    {\n      \"roomId\": \"1\",\n      \"data\": [\n        {\n          \"rateId\": \"165\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"roomPrice\": 28.74\n        },\n        {\n          \"rateId\": \"2\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"roomPrice\": 25.87\n        }\n      ]\n    },\n    {\n      \"roomId\": \"2\",\n      \"data\": [\n        {\n          \"rateId\": \"1609\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"roomPrice\": 77.77\n        },\n        {\n          \"rateId\": \"3\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"roomPrice\": 45.65\n        }\n      ]\n    },\n    {\n      \"roomId\": \"8\",\n      \"data\": [\n        {\n          \"rateId\": \"1070\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"roomPrice\": 73.04\n        },\n        {\n          \"rateId\": \"1071\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"roomPrice\": 60.87\n        }\n      ]\n    }\n  ]\n}\n\n</code></pre>\n","urlObject":{"protocol":"http","path":["price"],"host":["***","com"],"query":[],"variable":[]}},"response":[{"id":"7f91abed-1617-4e83-8b50-6615e3e5bad8","name":"Price","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"elektraweb\",\n  \"password\": \"***\",\n  \"hotelId\": \"1\",\n  \"currency\": \"EUR\",\n  \"rooms\": [\n    {\n      \"roomId\": \"1\",\n      \"data\": [\n        {\n          \"rateId\": \"165\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"occupancyBasedPrices\": [\n            {\n              \"numberOfGuests\": 1,\n              \"price\": 21.56\n            },\n            {\n              \"numberOfGuests\": 2,\n              \"price\": 28.74\n            }\n          ],\n          \"childPrices\": {\n            \"elderChild1\": 14.37,\n            \"youngerChild1\": 5.75,\n            \"baby1\": 0,\n            \"elderChild2\": 17.25,\n            \"youngerChild2\": 11.5,\n            \"baby2\": 0\n          },\n          \"exBedAdult\": 57.48\n        },\n        {\n          \"rateId\": \"2\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"occupancyBasedPrices\": [\n            {\n              \"numberOfGuests\": 1,\n              \"price\": 19.4\n            },\n            {\n              \"numberOfGuests\": 2,\n              \"price\": 25.87\n            }\n          ],\n          \"exBedAdult\": 51.74\n        }\n      ]\n    },\n    {\n      \"roomId\": \"2\",\n      \"data\": [\n        {\n          \"rateId\": \"1609\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"occupancyBasedPrices\": [\n            {\n              \"numberOfGuests\": 1,\n              \"price\": 51.57\n            },\n            {\n              \"numberOfGuests\": 2,\n              \"price\": 77.77\n            }\n          ],\n          \"exBedAdult\": 64.25\n        },\n        {\n          \"rateId\": \"3\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"occupancyBasedPrices\": [\n            {\n              \"numberOfGuests\": 1,\n              \"price\": 34.24\n            },\n            {\n              \"numberOfGuests\": 2,\n              \"price\": 45.65\n            },\n            {\n              \"numberOfGuests\": 3,\n              \"price\": 61.63\n            },\n            {\n              \"numberOfGuests\": 4,\n              \"price\": 45.65\n            },\n            {\n              \"numberOfGuests\": 5,\n              \"price\": 50\n            },\n            {\n              \"numberOfGuests\": 6,\n              \"price\": 60\n            },\n            {\n              \"numberOfGuests\": 7,\n              \"price\": 70\n            },\n            {\n              \"numberOfGuests\": 8,\n              \"price\": 80\n            },\n            {\n              \"numberOfGuests\": 9,\n              \"price\": 90\n            },\n            {\n              \"numberOfGuests\": 10,\n              \"price\": 100\n            },\n            {\n              \"numberOfGuests\": 11,\n              \"price\": 110\n            },\n            {\n              \"numberOfGuests\": 12,\n              \"price\": 120\n            },\n            {\n              \"numberOfGuests\": 13,\n              \"price\": 130\n            },\n            {\n              \"numberOfGuests\": 14,\n              \"price\": 140\n            },\n            {\n              \"numberOfGuests\": 15,\n              \"price\": 150\n            }\n          ],\n          \"childPrices\": {\n            \"elderChild1\": 22.82,\n            \"youngerChild1\": 22.82,\n            \"baby1\": 0,\n            \"elderChild2\": 0,\n            \"youngerChild2\": 0,\n            \"baby2\": 0\n          },\n          \"exBedAdult\": 45.65\n        }\n      ]\n    },\n    {\n      \"roomId\": \"8\",\n      \"data\": [\n        {\n          \"rateId\": \"1070\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"occupancyBasedPrices\": [\n            {\n              \"numberOfGuests\": 1,\n              \"price\": 51.74\n            },\n            {\n              \"numberOfGuests\": 2,\n              \"price\": 73.04\n            },\n            {\n              \"numberOfGuests\": 3,\n              \"price\": 100.43\n            }\n          ],\n          \"exBedAdult\": 27.39\n        },\n        {\n          \"rateId\": \"1071\",\n          \"fromDate\": \"2023-08-02\",\n          \"toDate\": \"2023-08-05\",\n          \"occupancyBasedPrices\": [\n            {\n              \"numberOfGuests\": 1,\n              \"price\": 45.65\n            },\n            {\n              \"numberOfGuests\": 2,\n              \"price\": 60.87\n            },\n            {\n              \"numberOfGuests\": 3,\n              \"price\": 82.17\n            }\n          ],\n          \"childPrices\": {\n            \"elderChild1\": 30.43,\n            \"youngerChild1\": 0,\n            \"baby1\": 0,\n            \"elderChild2\": 30.43,\n            \"youngerChild2\": 30.43,\n            \"baby2\": 0\n          },\n          \"exBedAdult\": 21.3\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"http://***.com/price"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"errors\": []\n}"}],"_postman_id":"39799ddc-4d3f-4612-b54c-4146e1864728"},{"name":"Availability","id":"5b229d5c-8c76-43e3-8ff9-48fc8aa09763","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://***.com/availability","description":"<h1 id=\"introduction\">Introduction</h1>\n<p>Availability request structure to set and update availabilities on channel panel.</p>\n<h1 id=\"prerequisites\">Prerequisites</h1>\n<ul>\n<li>Create an endpoint that supports the following request format:</li>\n</ul>\n<p>Endpoint: <code>https://**.com/availability</code></p>\n<p>Method: <code>POST</code></p>\n<p>Content-Type: <code>application/json</code></p>\n<p>Body: A stringified JSON object containing the availability information</p>\n<ul>\n<li><p>Provide username password for authentication purposes specific to test hotel.</p>\n</li>\n<li><p>Whitelist our IP address.</p>\n</li>\n</ul>\n<h1 id=\"request-structure\">Request Structure</h1>\n<h3 id=\"main-structure\">Main Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>username</td>\n<td>string</td>\n<td>The master username for authentication</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>The master password for authentication</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>hotelId</td>\n<td>string</td>\n<td>Unique identifier for the hotel</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>rooms</td>\n<td>Array</td>\n<td>List of room objects</td>\n<td>Yes</td>\n<td>-</td>\n<td>See \"Room Structure\" table</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"room-structure\">Room Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>roomId</td>\n<td>string</td>\n<td>Unique identifier for the room</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>data</td>\n<td>Array</td>\n<td>List of data objects for the room</td>\n<td>Yes</td>\n<td>-</td>\n<td>See \"Data Structure\" table</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"data-structure\">Data Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fromDate</td>\n<td>string</td>\n<td>Start date for the availability period</td>\n<td>Yes</td>\n<td>-</td>\n<td>Format: YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>toDate</td>\n<td>string</td>\n<td>End date for the availability period</td>\n<td>Yes</td>\n<td>-</td>\n<td>Format: YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>roomCount</td>\n<td>number</td>\n<td>Number of rooms available for this type</td>\n<td>Yes</td>\n<td>-</td>\n<td>Must be 0 or greater</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"additional-notes\">Additional Notes:</h3>\n<ol>\n<li><p>The <code>rooms</code> array contains availability information for each room type in the hotel.</p>\n</li>\n<li><p>data will be sent as grouped in <code>rooms</code>. For example: Every data of Room 1 will be sent under it.</p>\n</li>\n<li><p>The <code>roomCount</code> field indicates the number of rooms available for the specified room type during the given date range. A value of 0 indicates no availability.</p>\n</li>\n<li><p>The date range specified by <code>fromDate</code> and <code>toDate</code> is inclusive of both dates.</p>\n</li>\n</ol>\n<h1 id=\"examples\">Examples</h1>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"username\": \"elektraweb\",\n  \"password\": \"***\",\n  \"hotelId\": \"1\",\n  \"rooms\": [\n    {\n      \"roomId\": \"1\",\n      \"data\": [\n        {\n          \"fromDate\": \"2023-08-04\",\n          \"toDate\": \"2023-08-08\",\n          \"roomCount\": 5\n        },\n        {\n          \"fromDate\": \"2023-08-09\",\n          \"toDate\": \"2023-08-09\",\n          \"roomCount\": 3\n        }\n      ]\n    },\n    {\n      \"roomId\": \"2\",\n      \"data\": [\n        {\n          \"fromDate\": \"2023-08-04\",\n          \"toDate\": \"2023-08-04\",\n          \"roomCount\": 4\n        },\n        {\n          \"fromDate\": \"2023-08-05\",\n          \"toDate\": \"2023-08-05\",\n          \"roomCount\": 17\n        },\n        {\n          \"fromDate\": \"2023-08-06\",\n          \"toDate\": \"2023-08-06\",\n          \"roomCount\": 16\n        },\n        {\n          \"fromDate\": \"2023-08-07\",\n          \"toDate\": \"2023-08-07\",\n          \"roomCount\": 17\n        },\n        {\n          \"fromDate\": \"2023-08-08\",\n          \"toDate\": \"2023-08-09\",\n          \"roomCount\": 5\n        }\n      ]\n    },\n    {\n      \"roomId\": \"8\",\n      \"data\": [\n        {\n          \"fromDate\": \"2023-08-04\",\n          \"toDate\": \"2023-08-07\",\n          \"roomCount\": 4\n        },\n        {\n          \"fromDate\": \"2023-08-08\",\n          \"toDate\": \"2023-08-09\",\n          \"roomCount\": 2\n        }\n      ]\n    }\n  ]\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["availability"],"host":["***","com"],"query":[],"variable":[]}},"response":[{"id":"1e388f8e-8154-4047-bc6e-aed95843bd94","name":"Availability","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"elektraweb\",\n  \"password\": \"***\",\n  \"hotelId\": \"1\",\n  \"rooms\": [\n    {\n      \"roomId\": \"1\",\n      \"data\": [\n        {\n          \"fromDate\": \"2023-08-04\",\n          \"toDate\": \"2023-08-08\",\n          \"roomCount\": 5\n        },\n        {\n          \"fromDate\": \"2023-08-09\",\n          \"toDate\": \"2023-08-09\",\n          \"roomCount\": 3\n        }\n      ]\n    },\n    {\n      \"roomId\": \"2\",\n      \"data\": [\n        {\n          \"fromDate\": \"2023-08-04\",\n          \"toDate\": \"2023-08-04\",\n          \"roomCount\": 4\n        },\n        {\n          \"fromDate\": \"2023-08-05\",\n          \"toDate\": \"2023-08-05\",\n          \"roomCount\": 17\n        },\n        {\n          \"fromDate\": \"2023-08-06\",\n          \"toDate\": \"2023-08-06\",\n          \"roomCount\": 16\n        },\n        {\n          \"fromDate\": \"2023-08-07\",\n          \"toDate\": \"2023-08-07\",\n          \"roomCount\": 17\n        },\n        {\n          \"fromDate\": \"2023-08-08\",\n          \"toDate\": \"2023-08-09\",\n          \"roomCount\": 5\n        }\n      ]\n    },\n    {\n      \"roomId\": \"8\",\n      \"data\": [\n        {\n          \"fromDate\": \"2023-08-04\",\n          \"toDate\": \"2023-08-07\",\n          \"roomCount\": 4\n        },\n        {\n          \"fromDate\": \"2023-08-08\",\n          \"toDate\": \"2023-08-09\",\n          \"roomCount\": 2\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://***.com/availability"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"errors\": []\n}"}],"_postman_id":"5b229d5c-8c76-43e3-8ff9-48fc8aa09763"},{"name":"Restriction","id":"a6bc1ebb-811d-4a23-a520-b03a44036a09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://***.com/restriction","description":"<h1 id=\"introduction\">Introduction</h1>\n<p>Restriction request structure to set and update restrictions on channel panel.</p>\n<h1 id=\"prerequisites\">Prerequisites</h1>\n<ul>\n<li>Create an endpoint that supports the following request format:</li>\n</ul>\n<p>Endpoint: <code>https://**.com/restriction</code></p>\n<p>Method: <code>POST</code></p>\n<p>Content-Type: <code>application/json</code></p>\n<p>Body: A stringified JSON object containing the restriction information</p>\n<ul>\n<li><p>Provide username password for authentication purposes.</p>\n</li>\n<li><p>Whitelist our IP address.</p>\n</li>\n</ul>\n<h1 id=\"request-structure\">Request Structure</h1>\n<h3 id=\"main-structure\">Main Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>username</td>\n<td>string</td>\n<td>The master username for authentication</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>The master password for authentication</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>hotelId</td>\n<td>string</td>\n<td>Unique identifier for the hotel</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>rooms</td>\n<td>Array</td>\n<td>List of room objects</td>\n<td>Yes</td>\n<td>-</td>\n<td>See \"Room Structure\" table</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"room-structure\">Room Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>roomId</td>\n<td>string</td>\n<td>Unique identifier for the room</td>\n<td>Yes</td>\n<td>None</td>\n<td>-</td>\n</tr>\n<tr>\n<td>data</td>\n<td>Array</td>\n<td>List of rate objects for the room</td>\n<td>No</td>\n<td>Rate Based Restrictions Only</td>\n<td>See \"Rate Structure\" table</td>\n</tr>\n<tr>\n<td>fromDate</td>\n<td>string</td>\n<td>Start date for restrictions</td>\n<td>Yes (IF USING ROOM BASED RESTRICTIONS)</td>\n<td>Room Based Restrictions Only</td>\n<td>Format: YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>toDate</td>\n<td>string</td>\n<td>End date for restrictions</td>\n<td>Yes (IF USING ROOM BASED RESTRICTIONS)</td>\n<td>Room Based Restrictions Only</td>\n<td>Format: YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>closed</td>\n<td>boolean</td>\n<td>Indicates if the rate is closed</td>\n<td>No</td>\n<td>Room Based Restrictions Only</td>\n<td>-</td>\n</tr>\n<tr>\n<td>cta</td>\n<td>boolean</td>\n<td>Close to arrival</td>\n<td>No</td>\n<td>Room Based Restrictions Only</td>\n<td>-</td>\n</tr>\n<tr>\n<td>ctd</td>\n<td>boolean</td>\n<td>Close to departure</td>\n<td>No</td>\n<td>Room Based Restrictions Only</td>\n<td>-</td>\n</tr>\n<tr>\n<td>minStay</td>\n<td>number</td>\n<td>Minimum stay requirement</td>\n<td>No</td>\n<td>Room Based Restrictions Only</td>\n<td>-</td>\n</tr>\n<tr>\n<td>maxStay</td>\n<td>number</td>\n<td>Maximum stay requirement</td>\n<td>No</td>\n<td>Room Based Restrictions Only</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"data-structure\">Data Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>rateId</td>\n<td>string</td>\n<td>Unique identifier for the rate</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>fromDate</td>\n<td>string</td>\n<td>Start date for restrictions</td>\n<td>Yes</td>\n<td>-</td>\n<td>Format: YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>toDate</td>\n<td>string</td>\n<td>End date for restrictions</td>\n<td>Yes</td>\n<td>-</td>\n<td>Format: YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>closed</td>\n<td>boolean</td>\n<td>Indicates if the rate is closed</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>cta</td>\n<td>boolean</td>\n<td>Close to arrival</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>ctd</td>\n<td>boolean</td>\n<td>Close to departure</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>minStay</td>\n<td>number</td>\n<td>Minimum stay requirement</td>\n<td>No</td>\n<td>-</td>\n<td>If sent as 1, minStay will be removed</td>\n</tr>\n<tr>\n<td>maxStay</td>\n<td>number</td>\n<td>Maximum stay requirement</td>\n<td>No</td>\n<td>-</td>\n<td>Maximum value is 99</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"additional-notes\">Additional Notes:</h3>\n<ol>\n<li><p>data will be sent as grouped in rooms for Rate Based Restrictions. For example: Every data of Room 1 will be sent under it.</p>\n</li>\n<li><p>If a field is not provided in the Request JSON, it means no change should be made to that restriction.</p>\n</li>\n</ol>\n<h1 id=\"examples\">Examples</h1>\n<h3 id=\"rate-based-restrictions\">Rate Based Restrictions</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"username\": \"elektraweb\",\n  \"password\": \"***\",\n  \"hotelId\": \"1\",\n  \"rooms\": [\n    {\n      \"roomId\": \"1\",\n      \"data\": [\n        {\n          \"rateId\": \"165\",\n          \"fromDate\": \"2023-11-23\",\n          \"toDate\": \"2023-11-25\",\n          \"closed\": false,\n          \"minStay\": 3\n        },\n        {\n          \"rateId\": \"165\",\n          \"fromDate\": \"2023-11-26\",\n          \"toDate\": \"2023-11-30\",\n          \"minStay\": 3\n        },\n        {\n          \"rateId\": \"2\",\n          \"fromDate\": \"2023-11-23\",\n          \"toDate\": \"2023-11-25\",\n          \"closed\": false,\n          \"minStay\": 3\n        },\n        {\n          \"rateId\": \"2\",\n          \"fromDate\": \"2023-11-26\",\n          \"toDate\": \"2023-11-30\",\n          \"minStay\": 3\n        }\n      ]\n    },\n    {\n      \"roomId\": \"2\",\n      \"data\": [\n        {\n          \"rateId\": \"3\",\n          \"fromDate\": \"2023-11-23\",\n          \"toDate\": \"2023-11-25\",\n          \"closed\": false,\n          \"minStay\": 3\n        },\n        {\n          \"rateId\": \"3\",\n          \"fromDate\": \"2023-11-26\",\n          \"toDate\": \"2023-11-30\",\n          \"minStay\": 3\n        }\n      ]\n    },\n    {\n      \"roomId\": \"8\",\n      \"data\": [\n        {\n          \"rateId\": \"1071\",\n          \"fromDate\": \"2023-11-23\",\n          \"toDate\": \"2023-11-25\",\n          \"closed\": false,\n          \"minStay\": 3\n        },\n        {\n          \"rateId\": \"1071\",\n          \"fromDate\": \"2023-11-26\",\n          \"toDate\": \"2023-11-27\",\n          \"minStay\": 3\n        },\n        {\n          \"rateId\": \"1071\",\n          \"fromDate\": \"2023-11-28\",\n          \"toDate\": \"2023-11-28\",\n          \"closed\": false,\n          \"minStay\": 3\n        },\n        {\n          \"rateId\": \"1071\",\n          \"fromDate\": \"2023-11-29\",\n          \"toDate\": \"2023-11-30\",\n          \"minStay\": 3\n        }\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"room-based-restrictions-example\">Room Based Restrictions Example:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{  \n  \"username\": \"elektraweb\",  \n  \"password\": \"***\",  \n  \"hotelId\": \"1\",  \n  \"rooms\": [  \n    {  \n      \"roomId\": \"1\",  \n      \"fromDate\": \"2023-11-23\",  \n      \"toDate\": \"2023-11-25\",  \n      \"closed\": false,  \n      \"minStay\": 3  \n    },  \n    {  \n      \"roomId\": \"1\",  \n      \"fromDate\": \"2023-11-26\",  \n      \"toDate\": \"2023-11-28\",  \n      \"closed\": true,  \n      \"minStay\": 3,  \n      \"maxStay\": 5  \n    },  \n    {  \n      \"roomId\": \"2\",  \n      \"fromDate\": \"2023-11-28\",  \n      \"toDate\": \"2023-11-28\",  \n      \"closed\": false,  \n      \"minStay\": 3  \n    }  \n  ]  \n}\n\n</code></pre>\n","urlObject":{"protocol":"http","path":["restriction"],"host":["***","com"],"query":[],"variable":[]}},"response":[{"id":"c90e7c4a-242f-4c80-a50e-6623c5ca588c","name":"Restriction","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"username\": \"elektraweb\",\n  \"password\": \"***\",\n  \"hotelId\": \"1\",\n  \"rooms\": [\n    {\n      \"roomId\": \"1\",\n      \"rates\": [\n        {\n          \"rateId\": \"165\",\n          \"fromDate\": \"2023-11-23\",\n          \"toDate\": \"2023-11-25\",\n          \"closed\": false,\n          \"cta\": false,\n          \"ctd\": false,\n          \"minStay\": 1,\n          \"maxStay\": 3\n        },\n        {\n          \"rateId\": \"165\",\n          \"fromDate\": \"2023-11-26\",\n          \"toDate\": \"2023-11-30\",\n          \"closed\": false,\n          \"cta\": true,\n          \"ctd\": true,\n          \"minStay\": 2,\n          \"maxStay\": 4\n        },\n        {\n          \"rateId\": \"2\",\n          \"fromDate\": \"2023-11-23\",\n          \"toDate\": \"2023-11-25\",\n          \"closed\": true,\n          \"cta\": false,\n          \"ctd\": false,\n          \"minStay\": 3\n        },\n        {\n          \"rateId\": \"2\",\n          \"fromDate\": \"2023-11-26\",\n          \"toDate\": \"2023-11-30\",\n          \"cta\": true\n        }\n      ]\n    },\n    {\n      \"roomId\": \"8\",\n      \"rates\": [\n        {\n          \"rateId\": \"1071\",\n          \"fromDate\": \"2023-11-23\",\n          \"toDate\": \"2023-11-25\",\n          \"closed\": true\n        },\n        {\n          \"rateId\": \"1071\",\n          \"fromDate\": \"2023-11-26\",\n          \"toDate\": \"2023-11-27\",\n          \"cta\": true,\n          \"ctd\": false\n        },\n        {\n          \"rateId\": \"1071\",\n          \"fromDate\": \"2023-11-28\",\n          \"toDate\": \"2023-11-28\",\n          \"closed\": false,\n          \"cta\": false,\n          \"ctd\": true\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"http://***.com/restriction"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"errors\": []\n}"}],"_postman_id":"a6bc1ebb-811d-4a23-a520-b03a44036a09"}],"id":"8f00d591-e9a7-432e-9490-55d5b8bdc739","_postman_id":"8f00d591-e9a7-432e-9490-55d5b8bdc739","description":""},{"name":"Reservation API","item":[{"name":"Push Reservation","id":"91122c24-3fe8-4c7e-8612-b3e9c07e199a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://***.com/channelname?action=push","description":"<h3 id=\"reservation-root-structure\">Reservation Root Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>hotelId</td>\n<td>string</td>\n<td>Unique identifier for the hotel</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>voucherNo</td>\n<td>string</td>\n<td>Unique identifier number for the reservation</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status of the reservation</td>\n<td>Yes</td>\n<td>-</td>\n<td>Possible values: 'Book', 'Modify', 'Cancel'</td>\n</tr>\n<tr>\n<td>createDateTime</td>\n<td>string</td>\n<td>Creation date and time of the reservation</td>\n<td>Yes</td>\n<td>-</td>\n<td>Format: YYYY-MM-DDTHH:mm:ss</td>\n</tr>\n<tr>\n<td>lastModifyDateTime</td>\n<td>string</td>\n<td>Last modification date and time</td>\n<td>Yes</td>\n<td>-</td>\n<td>Format: YYYY-MM-DDTHH:mm:ss</td>\n</tr>\n<tr>\n<td>subChannel</td>\n<td>string</td>\n<td>Sub-channel information</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>reservationRooms</td>\n<td>Array</td>\n<td>Array of room stay objects</td>\n<td>Yes</td>\n<td>-</td>\n<td>See \"ElektraChannelApiRoomStayObject Structure\" table</td>\n</tr>\n<tr>\n<td>contactInfo</td>\n<td>Object</td>\n<td>Contact information for the reservation</td>\n<td>Yes</td>\n<td>-</td>\n<td>See \"Contact Info Structure\" table</td>\n</tr>\n<tr>\n<td>ccInfo</td>\n<td>Object</td>\n<td>Credit card information</td>\n<td>No</td>\n<td>-</td>\n<td>See \"Credit Card Info Structure\" table</td>\n</tr>\n<tr>\n<td>paidBy</td>\n<td>string</td>\n<td>Entity responsible for payment</td>\n<td>Yes</td>\n<td>-</td>\n<td>Possible values: 'Agency', 'Guest'</td>\n</tr>\n<tr>\n<td>paymentType</td>\n<td>string</td>\n<td>Type of payment</td>\n<td>Yes</td>\n<td>-</td>\n<td>Possible values: 'CityLedger', 'Cash', 'CreditCard', 'BankTransfer', 'PayByLink'</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"contact-info-structure\">Contact Info Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contactName</td>\n<td>string</td>\n<td>First name of contact</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>contactLName</td>\n<td>string</td>\n<td>Last name of contact</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>contactEmail</td>\n<td>string</td>\n<td>Email of contact</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>contactPhone</td>\n<td>string</td>\n<td>Phone number of contact</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"credit-card-info-structure\">Credit Card Info Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ccNo</td>\n<td>string</td>\n<td>Credit card number</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>ccCVV</td>\n<td>string</td>\n<td>Credit card CVV</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>ccMonth</td>\n<td>string</td>\n<td>Credit card expiration month</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>ccYear</td>\n<td>string</td>\n<td>Credit card expiration year</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>ccName</td>\n<td>string</td>\n<td>Name on the credit card</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"reservation-room-structure\">Reservation Room Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>roomReservationId</td>\n<td>string</td>\n<td>Unique identifier for room reservation</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>checkInDate</td>\n<td>string</td>\n<td>Check-in date</td>\n<td>Yes</td>\n<td>-</td>\n<td>Format: YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>checkOutDate</td>\n<td>string</td>\n<td>Check-out date</td>\n<td>Yes</td>\n<td>-</td>\n<td>Format: YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>roomTypeId</td>\n<td>string</td>\n<td>Identifier for room type</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>rateTypeId</td>\n<td>string</td>\n<td>Identifier for rate type</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>guestCounts</td>\n<td>Object</td>\n<td>Count of different guest types</td>\n<td>Yes</td>\n<td>-</td>\n<td>See \"Guest Counts Structure\" table</td>\n</tr>\n<tr>\n<td>guests</td>\n<td>Array</td>\n<td>Array of guest information</td>\n<td>Yes</td>\n<td>-</td>\n<td>See \"Guest Structure\" table</td>\n</tr>\n<tr>\n<td>amountWithoutCommission</td>\n<td>number</td>\n<td>Total price amount for the room. Commission not included. Tax is always included.</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>amountWithCommission</td>\n<td>number</td>\n<td>Total price amount for the room. Commission is included. Tax is always included.</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>commissionAmount</td>\n<td>number</td>\n<td>Total commission amount for the room</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>commissionPercent</td>\n<td>number</td>\n<td>Percentage of commission for the room</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>roomDailyPrices</td>\n<td>Array</td>\n<td>Array of daily room prices</td>\n<td>Yes</td>\n<td>-</td>\n<td>See \"Room Daily Prices Structure\" table</td>\n</tr>\n<tr>\n<td>discounts</td>\n<td>Array</td>\n<td>Array of discount information</td>\n<td>No</td>\n<td>-</td>\n<td>See \"Discount Information Structure\" table</td>\n</tr>\n<tr>\n<td>notes</td>\n<td>Array</td>\n<td>Array of notes</td>\n<td>No</td>\n<td>-</td>\n<td>See \"Note Structure\" table</td>\n</tr>\n<tr>\n<td>nationality</td>\n<td>string</td>\n<td>Nationality of the guests</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Currency used for pricing</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"guest-counts-structure\">Guest Counts Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>adultCount</td>\n<td>number</td>\n<td>Number of adults</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>childElderCount</td>\n<td>number</td>\n<td>Number of elder children</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>childYoungerCount</td>\n<td>number</td>\n<td>Number of younger children</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>babyCount</td>\n<td>number</td>\n<td>Number of babies</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"guest-structure\">Guest Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>First name of guest</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>surname</td>\n<td>string</td>\n<td>Last name of guest</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>age</td>\n<td>number</td>\n<td>Age of guest</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>birthDate</td>\n<td>string</td>\n<td>Birth date of guest</td>\n<td>No</td>\n<td>-</td>\n<td>Format: YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td>Country of guest</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"room-daily-prices-structure\">Room Daily Prices Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>stayDate</td>\n<td>string</td>\n<td>Date of stay</td>\n<td>Yes</td>\n<td>-</td>\n<td>Format: YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>amountWithoutCommission</td>\n<td>number</td>\n<td>Price amount for the day. Commission not included. Tax is always included.</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>amountWithCommission</td>\n<td>number</td>\n<td>Price amount for the day. Commission is included. Tax is always included.</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"note-structure\">Note Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>noteTypeId</td>\n<td>number</td>\n<td>Type of note</td>\n<td>Yes</td>\n<td>-</td>\n<td>Check \"Note Types\" table for possible values.</td>\n</tr>\n<tr>\n<td>note</td>\n<td>string</td>\n<td>Content of note</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"note-types\">Note Types</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type Id</th>\n<th>Type Name</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Extra Request</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Reservation Note</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Check-In Note</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Check-Out Note</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Room Note</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Cancel Note</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Payment Info</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Price Info</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"additional-notes\">Additional Notes:</h3>\n<ol>\n<li><p>The <code>Reservation Root Structure</code> represents the main reservation object, which can contain multiple room stay but can only contain one reservation.</p>\n</li>\n<li><p>The <code>Reservation Room Structure</code> represents detailed information about each room reservation.</p>\n</li>\n<li><p>Prices are always tax included.</p>\n</li>\n</ol>\n<h1 id=\"reservation-request-examples\">Reservation Request Examples</h1>\n<h3 id=\"1-room-reservation\">1 Room Reservation</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"hotelId\": \"1\",\n  \"voucherNo\": \"voucher1\",\n  \"status\": \"Book\",\n  \"reservationRooms\": [\n    {\n      \"roomReservationId\": \"room1\",\n      \"checkInDate\": \"2024-10-01\",\n      \"checkOutDate\": \"2024-10-03\",\n      \"roomTypeId\": \"12345\",\n      \"rateTypeId\": \"678\",\n      \"guestCounts\": {\n        \"adultCount\": 1,\n        \"childElderCount\": 0,\n        \"childYoungerCount\": 0,\n        \"babyCount\": 0\n      },\n      \"guests\": [\n        {\n          \"name\": \"John\",\n          \"surname\": \"Doe\",\n          \"age\": 30,\n          \"birthDate\": \"1994-01-01\",\n          \"country\": \"TR\"\n        }\n      ],\n      \"amountWithoutCommission\": 180,\n      \"amountWithCommission\": 200,\n      \"commissionPercent\": 10,\n      \"commissionAmount\": 20,\n      \"currency\": \"EUR\",\n      \"nationality\": \"TR\",\n      \"roomDailyPrices\": [\n        {\n          \"stayDate\": \"2024-10-01\",\n          \"amountWithoutCommission\": 90,\n          \"amountWithCommission\": 100\n        },\n        {\n          \"stayDate\": \"2024-10-02\",\n          \"amountWithoutCommission\": 90,\n          \"amountWithCommission\": 100\n        }\n      ],\n      \"notes\": [\n        {\n          \"noteTypeId\": 1,\n          \"note\": \"Extra request note\"\n        },\n        {\n          \"noteTypeId\": 7,\n          \"note\": \"Payment note\"\n        }\n      ],\n      \"discounts\": [\n        {\n          \"discountType\": \"Promotion\",\n          \"discountAmount\": 10,\n          \"discountPercent\": 2\n        },\n        {\n          \"discountType\": \"Early Booking\",\n          \"discountAmount\": 5,\n          \"discountPercent\": 1\n        }\n      ]\n    }\n  ],\n  \"contactInfo\": {\n    \"contactName\": \"John\",\n    \"contactLName\": \"Doe\",\n    \"contactEmail\": \"johndoe@john.com\",\n    \"contactPhone\": \"+1234567890\"\n  },\n  \"ccInfo\": {\n    \"ccNo\": \"4444-4444-4444-4444\",\n    \"ccMonth\": \"11\",\n    \"ccYear\": \"2026\",\n    \"ccCVV\": \"123\",\n    \"ccName\": \"John Doe\"\n  },\n  \"paidBy\": \"Agency\",\n  \"paymentType\": \"CreditCard\"\n}\n\n</code></pre>\n<h3 id=\"2-room-reservation\">2 Room Reservation</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"hotelId\": \"1\",\n  \"voucherNo\": \"voucher1\",\n  \"status\": \"Book\",\n  \"reservationRooms\": [\n    {\n      \"roomReservationId\": \"room1\",\n      \"checkInDate\": \"2024-10-01\",\n      \"checkOutDate\": \"2024-10-03\",\n      \"roomTypeId\": \"12345\",\n      \"rateTypeId\": \"678\",\n      \"guestCounts\": {\n        \"adultCount\": 2,\n        \"childElderCount\": 0,\n        \"childYoungerCount\": 0,\n        \"babyCount\": 0\n      },\n      \"guests\": [\n        {\n          \"name\": \"John\",\n          \"surname\": \"Doe\",\n          \"age\": 30,\n          \"birthDate\": \"1994-01-01\",\n          \"country\": \"TR\"\n        },\n        {\n          \"name\": \"Jane\",\n          \"surname\": \"Doe\",\n          \"age\": 29,\n          \"birthDate\": \"1995-01-01\",\n          \"country\": \"TR\"\n        }\n      ],\n      \"amountWithoutCommission\": 180,\n      \"amountWithCommission\": 200,\n      \"commissionPercent\": 10,\n      \"commissionAmount\": 20,\n      \"currency\": \"EUR\",\n      \"nationality\": \"TR\",\n      \"roomDailyPrices\": [\n        {\n          \"stayDate\": \"2024-10-01\",\n          \"amountWithoutCommission\": 90,\n          \"amountWithCommission\": 100\n        },\n        {\n          \"stayDate\": \"2024-10-02\",\n          \"amountWithoutCommission\": 90,\n          \"amountWithCommission\": 100\n        }\n      ],\n      \"notes\": [\n        {\n          \"noteTypeId\": 1,\n          \"note\": \"Extra request note\"\n        },\n        {\n          \"noteTypeId\": 7,\n          \"note\": \"Payment note\"\n        }\n      ],\n      \"discounts\": [\n        {\n          \"discountType\": \"Promotion\",\n          \"discountAmount\": 10,\n          \"discountPercent\": 2\n        },\n        {\n          \"discountType\": \"Early Booking\",\n          \"discountAmount\": 5,\n          \"discountPercent\": 1\n        }\n      ]\n    },\n    {\n      \"roomReservationId\": \"room2\",\n      \"checkInDate\": \"2024-10-01\",\n      \"checkOutDate\": \"2024-10-03\",\n      \"roomTypeId\": \"123\",\n      \"rateTypeId\": \"456\",\n      \"guestCounts\": {\n        \"adultCount\": 2,\n        \"childElderCount\": 2,\n        \"childYoungerCount\": 0,\n        \"babyCount\": 0\n      },\n      \"guests\": [\n        {\n          \"name\": \"John\",\n          \"surname\": \"Doe\",\n          \"age\": 30,\n          \"birthDate\": \"1994-01-01\",\n          \"country\": \"TR\"\n        },\n        {\n          \"name\": \"Jane\",\n          \"surname\": \"Doe\",\n          \"age\": 29,\n          \"birthDate\": \"1995-01-01\",\n          \"country\": \"TR\"\n        },\n        {\n          \"name\": \"Nancy\",\n          \"surname\": \"Doe\",\n          \"age\": 16,\n          \"birthDate\": \"2008-01-01\",\n          \"country\": \"TR\"\n        },\n        {\n          \"name\": \"Tom\",\n          \"surname\": \"Doe\",\n          \"age\": 17,\n          \"birthDate\": \"2007-01-01\",\n          \"country\": \"TR\"\n        }\n      ],\n      \"amountWithoutCommission\": 180,\n      \"amountWithCommission\": 200,\n      \"commissionPercent\": 10,\n      \"commissionAmount\": 20,\n      \"currency\": \"EUR\",\n      \"nationality\": \"TR\",\n      \"roomDailyPrices\": [\n        {\n          \"stayDate\": \"2024-10-01\",\n          \"amountWithoutCommission\": 90,\n          \"amountWithCommission\": 100\n        },\n        {\n          \"stayDate\": \"2024-10-02\",\n          \"amountWithoutCommission\": 90,\n          \"amountWithCommission\": 100\n        }\n      ],\n      \"notes\": [],\n      \"discounts\": []\n    }\n  ],\n  \"contactInfo\": {\n    \"contactName\": \"John\",\n    \"contactLName\": \"Doe\",\n    \"contactEmail\": \"johndoe@john.com\",\n    \"contactPhone\": \"+1234567890\"\n  },\n  \"ccInfo\": {\n    \"ccNo\": \"4444-4444-4444-4444\",\n    \"ccMonth\": \"11\",\n    \"ccYear\": \"2026\",\n    \"ccCVV\": \"123\",\n    \"ccName\": \"John Doe\"\n  },\n  \"paidBy\": \"Agency\",\n  \"paymentType\": \"CreditCard\"\n}\n\n\n</code></pre>\n<h1 id=\"reservation-response-examples\">Reservation Response Examples</h1>\n<h3 id=\"reservation-success-response\">Reservation Success Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"Success\": true,\n  \"LogId\": \"123456789\",\n  \"Message\": \"OK\"\n}\n\n</code></pre>\n<h3 id=\"reservation-error-response\">Reservation Error Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ \n  \"Success\": false, \n  \"LogId\": null, \n  \"Message\": \"Reservation error reason message\" \n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["channelname"],"host":["***","com"],"query":[{"key":"action","value":"push"}],"variable":[]}},"response":[{"id":"c3066fc8-7732-4353-a8f1-88f9b23b70cd","name":"Push Reservation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"hotelId\": \"1\",\n  \"voucherNo\": \"voucher1\",\n  \"status\": \"Book\",\n  \"reservationRooms\": [\n    {\n      \"roomReservationId\": \"room1\",\n      \"checkInDate\": \"2024-10-01\",\n      \"checkOutDate\": \"2024-10-03\",\n      \"roomTypeId\": \"12345\",\n      \"rateTypeId\": \"678\",\n      \"guestCounts\": {\n        \"adultCount\": 1,\n        \"childElderCount\": 0,\n        \"childYoungerCount\": 0,\n        \"babyCount\": 0\n      },\n      \"guests\": [\n        {\n          \"name\": \"John\",\n          \"surname\": \"Doe\",\n          \"age\": 30,\n          \"birthDate\": \"1994-01-01\",\n          \"country\": \"TR\"\n        }\n      ],\n      \"amountWithoutCommission\": 180,\n      \"amountWithCommission\": 200,\n      \"commissionPercent\": 10,\n      \"commissionAmount\": 20,\n      \"currency\": \"EUR\",\n      \"nationality\": \"TR\",\n      \"roomDailyPrices\": [\n        {\n          \"stayDate\": \"2024-10-01\",\n          \"amountWithoutCommission\": 90,\n          \"amountWithCommission\": 100\n        },\n        {\n          \"stayDate\": \"2024-10-02\",\n          \"amountWithoutCommission\": 90,\n          \"amountWithCommission\": 100\n        }\n      ],\n      \"notes\": [\n        {\n          \"noteTypeId\": 1,\n          \"note\": \"Extra request note\"\n        },\n        {\n          \"noteTypeId\": 7,\n          \"note\": \"Payment note\"\n        }\n      ],\n      \"discounts\": [\n        {\n          \"discountType\": \"Promotion\",\n          \"discountAmount\": 10,\n          \"discountPercent\": 2\n        },\n        {\n          \"discountType\": \"Early Booking\",\n          \"discountAmount\": 5,\n          \"discountPercent\": 1\n        }\n      ]\n    }\n  ],\n  \"contactInfo\": {\n    \"contactName\": \"John\",\n    \"contactLName\": \"Doe\",\n    \"contactEmail\": \"johndoe@john.com\",\n    \"contactPhone\": \"+1234567890\"\n  },\n  \"ccInfo\": {\n    \"ccNo\": \"4444-4444-4444-4444\",\n    \"ccMonth\": \"11\",\n    \"ccYear\": \"2026\",\n    \"ccCVV\": \"123\",\n    \"ccName\": \"John Doe\"\n  },\n  \"paidBy\": \"Agency\",\n  \"paymentType\": \"CreditCard\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://***.com/channelname?action=push","protocol":"https","host":["***","com"],"path":["channelname"],"query":[{"key":"action","value":"push"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Success\": true,\n    \"LogId\": \"123456789\",\n    \"Message\": \"OK\"\n}"}],"_postman_id":"91122c24-3fe8-4c7e-8612-b3e9c07e199a"}],"id":"de7ac8ce-2009-4f4a-8029-2bae2a1ac9f7","_postman_id":"de7ac8ce-2009-4f4a-8029-2bae2a1ac9f7","description":""},{"name":"Content API","item":[{"name":"Get Hotel Rooms and Rates","id":"f00baa02-4e8c-4d23-a9c5-d1dcda63d67a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://***.com/mapping","description":"<h3 id=\"mapping-response-main-structure\">Mapping Response Main Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>-</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>success</td>\n<td>boolean</td>\n<td>Indicates if the request was successful</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>errorMessage</td>\n<td>string or null</td>\n<td>Error message if request failed</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>hotelInfo</td>\n<td>Object</td>\n<td>Information about the hotel</td>\n<td>Yes</td>\n<td>-</td>\n<td>See \"Hotel Info Structure\" table</td>\n</tr>\n<tr>\n<td>roomTypes</td>\n<td>Array</td>\n<td>List of room types</td>\n<td>Yes</td>\n<td>-</td>\n<td>See \"Room Type Structure\" table</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"hotel-info-structure\">Hotel Info Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>hotelName</td>\n<td>string</td>\n<td>Name of the hotel</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>hotelId</td>\n<td>string</td>\n<td>Unique identifier for hotel</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Currency used by the hotel</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"room-type-structure\">Room Type Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>roomTypeId</td>\n<td>string</td>\n<td>Unique identifier for room type</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>roomTypeName</td>\n<td>string</td>\n<td>Name of the room type</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>derived</td>\n<td>boolean</td>\n<td>Indicates if room type is derived/inactive</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>rateTypes</td>\n<td>Array</td>\n<td>List of rate types for room</td>\n<td>Yes</td>\n<td>-</td>\n<td>See \"Rate Type Structure\" table</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"rate-type-structure\">Rate Type Structure</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>rateTypeId</td>\n<td>string</td>\n<td>Unique identifier for rate type</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>rateTypeName</td>\n<td>string</td>\n<td>Name of the rate type</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>rateMinBed</td>\n<td>number</td>\n<td>Minimum number of beds for rate</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>rateMaxBed</td>\n<td>number</td>\n<td>Maximum number of beds for rate</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>totalChildCapacity</td>\n<td>number</td>\n<td>Total child capacity for rate</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>paidChildCapacity</td>\n<td>number</td>\n<td>Child capacity for the rate that will be charged</td>\n<td>No</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>derived</td>\n<td>boolean</td>\n<td>Indicates if rate type is derived/inactive</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>pricingModel</td>\n<td>string</td>\n<td>Pricing model used for rate</td>\n<td>Yes</td>\n<td>-</td>\n<td>Possible values: 'occupancy' or 'room'</td>\n</tr>\n<tr>\n<td>paxForRoomPrice</td>\n<td>number</td>\n<td>Number of guests for room price</td>\n<td>Yes</td>\n<td>Requires pricingModel to be room</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"additional-notes\">Additional Notes:</h3>\n<ol>\n<li><code>paxForRoomPrice</code> requires <code>pricingModel</code> to be as <code>room</code>.</li>\n</ol>\n","urlObject":{"protocol":"https","path":["mapping"],"host":["***","com"],"query":[],"variable":[]}},"response":[{"id":"98ff89c0-95fa-4174-8b96-e9d098bf622c","name":"Mapping","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"elektraweb\",\n    \"password\": \"password\",\n    \"hotelId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://***.com/mapping"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"errorMessage\": null,\n  \"hotelInfo\": {\n    \"hotelName\": \"Test Hotel\",\n    \"hotelId\": \"1\",\n    \"currency\": \"EUR\"\n  },\n  \"roomTypes\": [\n    {\n      \"roomTypeId\": \"111\",\n      \"roomTypeName\": \"Single Room\",\n      \"derived\": false,\n      \"rateTypes\": [\n        {\n          \"rateTypeId\": \"10\",\n          \"rateTypeName\": \"Single\",\n          \"rateMinBed\": 1,\n          \"rateMaxBed\": 1,\n          \"totalChildCapacity\": 2,\n          \"paidChildCapacity\": 1,\n          \"derived\": false,\n          \"paxForRoomPrice\": 1,\n          \"pricingModel\": \"occupancy\"\n        }\n      ]\n    },\n    {\n      \"roomTypeId\": \"222\",\n      \"roomTypeName\": \"Double Room\",\n      \"derived\": false,\n      \"rateTypes\": [\n        {\n          \"rateTypeId\": \"10\",\n          \"rateTypeName\": \"Single\",\n          \"rateMinBed\": 1,\n          \"rateMaxBed\": 1,\n          \"totalChildCapacity\": 1,\n          \"paidChildCapacity\": 1,\n          \"derived\": false,\n          \"paxForRoomPrice\": 1,\n          \"pricingModel\": \"occupancy\"\n        },\n        {\n          \"rateTypeId\": \"20\",\n          \"rateTypeName\": \"Double\",\n          \"rateMinBed\": 1,\n          \"rateMaxBed\": 2,\n          \"totalChildCapacity\": 1,\n          \"paidChildCapacity\": 1,\n          \"derived\": false,\n          \"paxForRoomPrice\": 2,\n          \"pricingModel\": \"occupancy\"\n        }\n      ]\n    },\n    {\n      \"roomTypeId\": \"333\",\n      \"roomTypeName\": \"Suite\",\n      \"derived\": false,\n      \"rateTypes\": [\n        {\n          \"rateTypeId\": \"30\",\n          \"rateTypeName\": \"Suite\",\n          \"rateMinBed\": 1,\n          \"rateMaxBed\": 4,\n          \"totalChildCapacity\": 2,\n          \"paidChildCapacity\": 2,\n          \"derived\": false,\n          \"paxForRoomPrice\": 2,\n          \"pricingModel\": \"room\"\n        }\n      ]\n    },\n    {\n      \"roomTypeId\": \"444\",\n      \"roomTypeName\": \"Deluxe\",\n      \"derived\": true,\n      \"rateTypes\": [\n        {\n          \"rateTypeId\": \"40\",\n          \"rateTypeName\": \"Suite\",\n          \"rateMinBed\": 1,\n          \"rateMaxBed\": 4,\n          \"totalChildCapacity\": 2,\n          \"paidChildCapacity\": 2,\n          \"derived\": true,\n          \"paxForRoomPrice\": 2,\n          \"pricingModel\": \"room\"\n        }\n      ]\n    }\n  ]\n}"}],"_postman_id":"f00baa02-4e8c-4d23-a9c5-d1dcda63d67a"}],"id":"2fc72dba-06e8-4381-80f1-9d9d96c95b0f","_postman_id":"2fc72dba-06e8-4381-80f1-9d9d96c95b0f","description":""},{"name":"Responses and Error Codes","item":[],"id":"5f90b67c-902d-466b-8a1b-2fe181df8f5f","description":"<h1 id=\"introduction\">Introduction</h1>\n<p>Response structure, error codes and descriptions, examples responses for Price, Availability and Restriction requests.</p>\n<h1 id=\"api-response-structure\">API Response Structure</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>success</td>\n<td>boolean</td>\n<td>Indicates whether the operation was successful</td>\n<td>Yes</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>errors</td>\n<td>Array of Error Objects</td>\n<td>Contains error information if the operation was not successful</td>\n<td>Yes</td>\n<td>-</td>\n<td>Empty array if success is true.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-object-structure\">Error Object Structure</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n<th>Mandatory</th>\n<th>Dependencies</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>string</td>\n<td>Error code identifying the type of error</td>\n<td>Yes if there is an error.</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>message</td>\n<td>string</td>\n<td>Human-readable error message</td>\n<td>Yes if there is an error.</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>roomTypeId</td>\n<td>string</td>\n<td>Identifier of the room associated with the error</td>\n<td>No</td>\n<td>-</td>\n<td>Only present for room-specific errors</td>\n</tr>\n<tr>\n<td>rateTypeId</td>\n<td>string</td>\n<td>Identifier of the rate associated with the error</td>\n<td>No</td>\n<td>-</td>\n<td>Only present for rate-specific errors</td>\n</tr>\n<tr>\n<td>hotelId</td>\n<td>string</td>\n<td>Identifier of the hotel associated with the error</td>\n<td>No</td>\n<td>-</td>\n<td>Only present for hotel-specific errors</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"error-codes-and-descriptions\">Error Codes and Descriptions</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Error Message</th>\n<th>Description</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>10</td>\n<td>Access denied: IP Address is not whitelisted</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>11</td>\n<td>Access denied: Invalid username or password</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>19</td>\n<td>Below minimum price</td>\n<td>Sent price update is below minimum price definition.</td>\n<td>Send rateTypeId and roomTypeId values in error object.</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Currency code mismatch: Expected EXPECTEDCURRENCYCODE, Received RECEIVEDCURRECYCODE</td>\n<td></td>\n<td>See \"Response Examples\" below.</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Invalid Rate Type</td>\n<td></td>\n<td>Send rateTypeId value in error object.</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Inactive Rate Type</td>\n<td></td>\n<td>Send rateTypeId value in error object.</td>\n</tr>\n<tr>\n<td>30</td>\n<td>Invalid Room Type</td>\n<td></td>\n<td>Send roomTypeId value in error object</td>\n</tr>\n<tr>\n<td>31</td>\n<td>Inactive Room Type</td>\n<td></td>\n<td>Send roomTypeId value in error object</td>\n</tr>\n<tr>\n<td>35</td>\n<td>Invalid Hotel Id</td>\n<td></td>\n<td>Send hotelId value in error object.</td>\n</tr>\n<tr>\n<td>36</td>\n<td>Inactive Hotel Id</td>\n<td></td>\n<td>Send hotelId value in error object.</td>\n</tr>\n<tr>\n<td>40</td>\n<td>Pricing model mismatch: Expected EXPECTEDPRICINGMODEL, Received RECEIVEDPRICINGMODEL</td>\n<td></td>\n<td>Send rateTypeId value in error object. See \"Response Examples\" below.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"response-examples\">Response Examples</h1>\n<h3 id=\"success-response\">Success Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"errors\": []\n}\n\n</code></pre>\n<h3 id=\"error-response\">Error Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{  \n  \"success\": false,  \n  \"errors\": [  \n    {  \n      \"code\": \"10\",  \n      \"message\": \"Access denied: IP Address is not whitelisted\"  \n    },  \n    {  \n      \"code\": \"20\",  \n      \"message\": \"Currency code mismatch: Expected EUR, Received TRY\"  \n    },  \n    {  \n      \"code\": \"21\",  \n      \"message\": \"Invalid Rate Type\",  \n      \"rateTypeId\": \"12345\"  \n    },  \n    {  \n      \"code\": \"31\",  \n      \"message\": \"Inactive Room Type\",  \n      \"roomTypeId\": \"67890\"  \n    },  \n    {  \n      \"code\": \"36\",  \n      \"message\": \"Inactive Hotel Id\",  \n      \"hotelId\": \"9999\"  \n    },\n    {\n      \"code\": \"40\",\n      \"message\": \"Pricing model mismatch: Expected occupancy, Received room\",\n      \"rateTypeId\": \"12345\"\n    }\n  ]  \n}\n\n</code></pre>\n","_postman_id":"5f90b67c-902d-466b-8a1b-2fe181df8f5f"}]}