{"info":{"_postman_id":"24daf4d6-5c42-4c52-bb48-50eb02d3d08b","name":"ARI Push – Channel Manager APIs","description":"<html><head></head><body><h2 id=\"introduction\">Introduction</h2>\n<p>ARI Push – Channel Manager APIs are a set of APIs that allow iOLX to receive hotels' ARI (Availability, Rates, and Inventory) data. Using these APIs, iOLX can receive hotels' rates and availabilities and store them for customer searches. They support two rate models: Daily and LOS (Length of Stay).</p>\n<p>Channel managers can use the <strong>Ping API</strong> to check if our endpoint is operational.</p>\n<p>iOLX will use the HotelList &amp; Hotel Products API's to retrieve hotel information from the Channel Manager.</p>\n<p>Meanwhile, the <strong>Hotel API</strong> lets channel managers retrieve the list of active hotels and products from our system. They can use this API to filter ARI data pushes. iOLX will keep hotel and product statuses up to date.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"48381311","collectionId":"24daf4d6-5c42-4c52-bb48-50eb02d3d08b","publishedId":"2sBXcKAxMC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-03-03T07:48:43.000Z"},"item":[{"name":"Ping","item":[],"id":"0a04a8f7-9b9b-43fc-8e65-e95ed5f2fdc9","description":"<p>Channel Managers can use the ping API to check whether the endpoint provided by iOLX is working or not.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /ping HTTP/1.1\nURL: {{endpoint}}/ping\nAuthorization: Bearer 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nAccept-Encoding: gzip\nContent-Encoding: gzip\nContent-Type: application/json;charset=utf-8\n\n</code></pre><h3 id=\"response-example\">Response Example</h3>\n<ul>\n<li>Success Response (HTTP Status 200)</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"ok\"\n\n</code></pre><ul>\n<li>Error Response (HTTP Status 401)</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"error\": \"Key not authorised\"\n}\n\n</code></pre><ul>\n<li>Error Response (HTTP Status 500)</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errorCode\": \"InvalidField\",\n  \"errorMessage\": \"Invalid Message\"\n}\n\n</code></pre>","_postman_id":"0a04a8f7-9b9b-43fc-8e65-e95ed5f2fdc9"},{"name":"Hotel List","item":[],"id":"3b667904-a20b-40df-b19c-aecfb2bcc252","description":"<p>iOLX will use this to query the Channel Manager for a list of active hotels for a specific Supplier.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /hotels/{supplierId} HTTP/1.1\nURL: {{endpoint}}/hotels/{supplierId}\nAuthorization:Bearer 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nAccept-Encoding: gzip\nContent-Encoding: gzip\nContent-Type: application/json;charset=utf-8\n\n</code></pre><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><strong>Description</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>supplierId</td>\n<td>The ID of the supplier in the Channel Manager's system</td>\n<td>Yes</td>\n<td>string</td>\n<td>HILTON</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-example\">Response Example</h3>\n<ul>\n<li>Success Response (HTTP Status 200)</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n  {\n    \"supplierId\": \"HILTON\",\n    \"hotelId\": \"GATHI\",\n    \"hotelName\": \"This is a test hotel\",\n    \"status\": \"Actived\"\n  }\n]\n\n</code></pre><ul>\n<li>Error Response (HTTP Status 401)</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"error\": \"Key not authorised\"\n}\n\n</code></pre><ul>\n<li>Error Response (HTTP Status 500)</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errorCode\": \"InvalidField\",\n  \"errorMessage\": \"Invalid Message\"\n}\n\n</code></pre><h3 id=\"response-specification\">Response Specification</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>supplierId</td>\n<td>string</td>\n<td>Yes</td>\n<td>Supplier ID in Channel Manager's system</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>hotelId</td>\n<td>string</td>\n<td>Yes</td>\n<td>Hotel ID in the supplier‘s system</td>\n<td>GATHI</td>\n</tr>\n<tr>\n<td>hotelName</td>\n<td>string</td>\n<td>Yes</td>\n<td>Hotel name in supplier's system</td>\n<td>This is a test hotel</td>\n</tr>\n<tr>\n<td>status</td>\n<td>enum</td>\n<td>Yes</td>\n<td>Enum: [ Actived, Deactived ]  <br />  <br />Status in iOLX system</td>\n<td>Actived</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"3b667904-a20b-40df-b19c-aecfb2bcc252"},{"name":"Hotel Products","item":[],"id":"ac2062e3-4dc3-48e2-940a-6a7012b0f0c6","description":"<p>iOLX uses this API to pull hotel product lists with their status (Activated or Deactivated) for each hotel from the channel manager.</p>\n<p>The product information required includes</p>\n<ul>\n<li><p>Room Details</p>\n<ul>\n<li><p>Occupancy</p>\n</li>\n<li><p>Name</p>\n</li>\n<li><p>Code</p>\n</li>\n<li><p>Description</p>\n</li>\n</ul>\n</li>\n<li><p>Rate Plan details</p>\n<ul>\n<li><p>Rateplan code</p>\n</li>\n<li><p>Rateplan Name</p>\n</li>\n<li><p>Rateplan description (inclusions)</p>\n</li>\n<li><p>Rateplan Meal basis</p>\n</li>\n<li><p>Package Rate - indicates whether rate must be packaged when sold to end consumer</p>\n</li>\n<li><p>Commission - indicates the commission or discount on BAR</p>\n</li>\n</ul>\n</li>\n<li><p>Fees &amp; Taxes</p>\n<ul>\n<li><p>list of fees and taxes included in the rate</p>\n</li>\n<li><p>List of fee &amp; taxes excluded</p>\n</li>\n<li><p>List of fees &amp; taxes to be collected directly by hotel at check in</p>\n</li>\n</ul>\n</li>\n<li><p>Cancellation Policy</p>\n<ul>\n<li><p>Policy Code</p>\n</li>\n<li><p>Schedule (days before check-in)</p>\n</li>\n<li><p>Charges Type</p>\n<ul>\n<li><p>Percent</p>\n</li>\n<li><p>Amount</p>\n</li>\n<li><p>Nights</p>\n</li>\n</ul>\n</li>\n<li><p>Charges Value</p>\n</li>\n</ul>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /hotel/{supplierId}/{hotelId} HTTP/1.1\nURL: {{endpoint}}/hotel/{supplierId}/{hotelId}\nAuthorization:Bearer 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nAccept-Encoding: gzip\nContent-Encoding: gzip\nContent-Type: application/json;charset=utf-8\n\n</code></pre><h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>supplierId</td>\n<td>The ID of the supplier in Channel Manager's system</td>\n<td>Yes</td>\n<td>string</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>hotelId</td>\n<td>The ID of a hotel in the supplier's system</td>\n<td>Yes</td>\n<td>string</td>\n<td>GATHI</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"hotel-products-response-schema\">Hotel Products Response Schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>hotelId</td>\n<td>string</td>\n<td>Y</td>\n<td>The code that uniquely identifies a Hotel in the hotel suppliers system. Accepted characters only: 1. Digits (0-9) 2. Uppercase letters (A-Z) 3. Hyphen ('-')</td>\n<td>GATHI</td>\n</tr>\n<tr>\n<td>1</td>\n<td>hotelName</td>\n<td>string</td>\n<td>Y</td>\n<td>Hotel name in supplier's system</td>\n<td>This is a test hotel</td>\n</tr>\n<tr>\n<td>1</td>\n<td>supplierId</td>\n<td>string</td>\n<td>Y</td>\n<td>The code that uniquely identifies a supplier in Channel Manager's system</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>1</td>\n<td>status</td>\n<td>enum</td>\n<td>Y</td>\n<td>Enum: [ Actived, Deactived ] Hotel Status provided by hotel suppliers [ Actived, Deactived]: Actived means the hotel is active for the distribution. Deactived means the hotel is NOT active for the distribution. ARI will not flow for deactivated hotels</td>\n<td>Actived</td>\n</tr>\n<tr>\n<td>1</td>\n<td>chainCode</td>\n<td>string</td>\n<td>N</td>\n<td>Unique identifier for the hotel chain or group, assigned by the chain’s central system. e.g., Hyatt, Hilton. Independent hotels don't have Chain codes</td>\n<td>Marriott</td>\n</tr>\n<tr>\n<td>1</td>\n<td>brandCode</td>\n<td>string</td>\n<td>N</td>\n<td>Unique identifier for the hotel brand, assigned by the hotel group’s central system. Represents specific brand (e.g., Courtyard, DoubleTree). Independent hotels don't have Chain codes</td>\n<td>Waldorf</td>\n</tr>\n<tr>\n<td>1</td>\n<td>longitude</td>\n<td>string</td>\n<td>Y</td>\n<td>Geographic coordinate that specifies the east–west position of the hotel on the Earth's surface.</td>\n<td>41.40338</td>\n</tr>\n<tr>\n<td>1</td>\n<td>latitude</td>\n<td>string</td>\n<td>Y</td>\n<td>Geographic coordinate that specifies the north–south position of the hotel on the Earth's surface.</td>\n<td>2.17403</td>\n</tr>\n<tr>\n<td>1</td>\n<td>city</td>\n<td>string</td>\n<td>N</td>\n<td>Name of the city or locality where the hotel is physically located.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>country</td>\n<td>string</td>\n<td>N</td>\n<td>Name of the country where the hotel is physically located.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>state</td>\n<td>string</td>\n<td>N</td>\n<td>Name of the state where the hotel is physically located.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>currency</td>\n<td>string</td>\n<td>N</td>\n<td>The currency code of the hotel.</td>\n<td>USD</td>\n</tr>\n<tr>\n<td>1</td>\n<td>address</td>\n<td>array</td>\n<td>N</td>\n<td>Street address of the hotel, provided as an ordered array of up to five address lines.</td>\n<td>[ \"AddressLine1\", \"AddressLine2\" ]</td>\n</tr>\n<tr>\n<td>1</td>\n<td>phone</td>\n<td>object</td>\n<td>N</td>\n<td>Primary phone number for the hotel, provided by the hotel system.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@countryAccessCode</td>\n<td>string</td>\n<td>C</td>\n<td>International dialing code used to place calls to the country where the hotel is located.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@areaCityCode</td>\n<td>string</td>\n<td>N</td>\n<td>Telephone area or city dialing code used within the country to reach the hotel's geographic region.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@phoneNumber</td>\n<td>string</td>\n<td>C</td>\n<td>Local subscriber phone number of the hotel, excluding the country access code and area/city code.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>ariType</td>\n<td>enum</td>\n<td>Y</td>\n<td>Emun: [ Daily, LOS ] Defines the pricing model applied to a rate amount or value over time.</td>\n<td>Daily</td>\n</tr>\n<tr>\n<td>1</td>\n<td>timezone</td>\n<td>string</td>\n<td>Y</td>\n<td>Time zone in which the hotel is physically located.</td>\n<td>America/Los_Angeles</td>\n</tr>\n<tr>\n<td>1</td>\n<td>rateType</td>\n<td>enum</td>\n<td>Y</td>\n<td>Emun: [ AmountBeforeTax, AmountAfterTax, Both ] Specifies tax-inclusion status of the rate amount.</td>\n<td>AmountBeforeTax</td>\n</tr>\n<tr>\n<td>1</td>\n<td>maxChildAge</td>\n<td>integer</td>\n<td>Y</td>\n<td>Maximum age, in years, that a guest can be classified as a child. Only provided if childRateType is ByAge.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>childRateType</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [ Normal, ByAge, Free, AsAdult ] Indicates which child rate type will be used in ARI OccupancyRate.</td>\n<td>ByAge</td>\n</tr>\n<tr>\n<td>1</td>\n<td>products</td>\n<td>array</td>\n<td>Y</td>\n<td>Collection of product elements offered by the hotel</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>ISO</td>\n<td>String</td>\n<td>Y</td>\n<td>Country Code</td>\n<td>GB</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomId</td>\n<td>string</td>\n<td>Y</td>\n<td>Unique identifier for a room type, assigned by the hotel's system (PMS or CRS).</td>\n<td>King</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateId</td>\n<td>string</td>\n<td>Y</td>\n<td>Unique identifier for a rate plan, assigned by the hotel system (CRS, PMS, or channel manager).</td>\n<td>BAR</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateModel</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [ Retail, Net ] Rate model of the product</td>\n<td>Retail</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>@stayType</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [ OverNightRoom, DayUseRoom ] Indicates if the product is for day-use or regular overnight use. Default is OverNightRoom.</td>\n<td>OverNightRoom</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@status</td>\n<td>enum</td>\n<td>Y</td>\n<td>Enum: [ Actived, Deactived ] Indicates current operational or distribution state of an entity.</td>\n<td>Actived</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomName</td>\n<td>string</td>\n<td>N</td>\n<td>Display name of the room type. Max length: 256</td>\n<td>King Room</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomDescription</td>\n<td>string</td>\n<td>N</td>\n<td>Detailed textual description of the room type.</td>\n<td>Soak in city views...</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateName</td>\n<td>string</td>\n<td>N</td>\n<td>Display name of the rate type. Max length: 256</td>\n<td>Best Available Rate</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateDescription</td>\n<td>string</td>\n<td>N</td>\n<td>Detailed textual description of the rate type.</td>\n<td>Begin your day with a hearty meal</td>\n</tr>\n<tr>\n<td>2</td>\n<td>occupancy</td>\n<td>/</td>\n<td>Y</td>\n<td>Defines the maximum allowed occupancy for a room type, rate plan, or product.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@maxAdult</td>\n<td>integer</td>\n<td>Y</td>\n<td>Maximum number of adult guests allowed in the room type or product.</td>\n<td>3</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@maxChild</td>\n<td>integer</td>\n<td>Y</td>\n<td>Maximum number of child guests allowed in the room type or product.</td>\n<td>2</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@maxOccupancy</td>\n<td>integer</td>\n<td>Y</td>\n<td>Defines the maximum allowed occupancy for a room type, rate plan, or product.</td>\n<td>3</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@paymentType</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [ PayLater, PayNow ] Specifies the payment model associated with the booking.</td>\n<td>PayNow</td>\n</tr>\n<tr>\n<td>2</td>\n<td>guarantee</td>\n<td>/</td>\n<td>N</td>\n<td>Defines the guarantee requirements for holding a reservation.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@guaranteeType</td>\n<td>string</td>\n<td>C</td>\n<td>Guarantee information for this room rate. Refers to standard guarantee type list.</td>\n<td>CCG</td>\n</tr>\n<tr>\n<td>2</td>\n<td>cancelPolicies</td>\n<td>/</td>\n<td>N</td>\n<td>A collection of cancellation policies based on timeframes, dates, or penalty conditions.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>3</td>\n<td>dateRange</td>\n<td>object</td>\n<td>N</td>\n<td>Specifies the date range during which the cancellation policy is applicable.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@startDate</td>\n<td>string</td>\n<td>C</td>\n<td>The starting date of validity. YYYY-MM-DD</td>\n<td>2028-01-01</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@endDate</td>\n<td>string</td>\n<td>C</td>\n<td>The ending date of validity. YYYY-MM-DD</td>\n<td>2028-01-04</td>\n</tr>\n<tr>\n<td>3</td>\n<td>cancelPolicy</td>\n<td>object</td>\n<td>N</td>\n<td>Defines the rules and penalties applied when a guest cancels a reservation.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@code</td>\n<td>string</td>\n<td>C</td>\n<td>Unique identifier for specific cancellation policy. Max Length: 128</td>\n<td>AD100P_100P</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@description</td>\n<td>string</td>\n<td>N</td>\n<td>Explanation of the cancellation policy terms. Max Length: 1024</td>\n<td>Non Refundable</td>\n</tr>\n<tr>\n<td>4</td>\n<td>cancelPenalties</td>\n<td>/</td>\n<td>Y</td>\n<td>Details about the cancellation Penalty</td>\n<td>/</td>\n</tr>\n<tr>\n<td>5</td>\n<td>@noShow</td>\n<td>boolean</td>\n<td>Y</td>\n<td>When true, the penalty charge is applied for No-Show.</td>\n<td>TRUE</td>\n</tr>\n<tr>\n<td>5</td>\n<td>@cancellable</td>\n<td>boolean</td>\n<td>N</td>\n<td>Indicates if cancellation is allowed. If false, it cannot be canceled.</td>\n<td>TRUE</td>\n</tr>\n<tr>\n<td>5</td>\n<td>cancelDeadline</td>\n<td>/</td>\n<td>N</td>\n<td>Specifies the time-based condition to avoid penalty.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>6</td>\n<td>@offsetTimeDropType</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [ BeforeArrival ]</td>\n<td>BeforeArrival</td>\n</tr>\n<tr>\n<td>6</td>\n<td>@offsetTimeUnit</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [ D, H ] (Days or Hours)</td>\n<td>/</td>\n</tr>\n<tr>\n<td>6</td>\n<td>@offsetTimeValue</td>\n<td>number</td>\n<td>N</td>\n<td>The number of hours or days for the offset.</td>\n<td>1</td>\n</tr>\n<tr>\n<td>6</td>\n<td>@deadline</td>\n<td>string</td>\n<td>N</td>\n<td>The cutoff date and time for cancellation in hotel's local time.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>5</td>\n<td>penaltyCharge</td>\n<td>/</td>\n<td>Y</td>\n<td>Defines the charge rule applied as a penalty.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>6</td>\n<td>@chargeBase</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [ FullStay, NightBase ]</td>\n<td>/</td>\n</tr>\n<tr>\n<td>6</td>\n<td>@nights</td>\n<td>number</td>\n<td>N</td>\n<td>Exists if the penalty charge is based on the night.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>6</td>\n<td>@amount</td>\n<td>number</td>\n<td>N</td>\n<td>Exists if the penalty charge is a flat charge.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>6</td>\n<td>@percent</td>\n<td>number</td>\n<td>N</td>\n<td>Exists if the penalty charge is a percent.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>fees</td>\n<td>/</td>\n<td>N</td>\n<td>Represents a list of additional charges (taxes and fees).</td>\n<td>/</td>\n</tr>\n<tr>\n<td>3</td>\n<td>dateRange</td>\n<td>/</td>\n<td>N</td>\n<td>Specifies the date range during which the fees are applicable.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@startDate</td>\n<td>string</td>\n<td>C</td>\n<td>The starting date of validity. YYYY-MM-DD</td>\n<td>2028-01-01</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@endDate</td>\n<td>string</td>\n<td>C</td>\n<td>The ending date of validity. YYYY-MM-DD</td>\n<td>2028-01-04</td>\n</tr>\n<tr>\n<td>3</td>\n<td>fee</td>\n<td>object</td>\n<td>N</td>\n<td>Represents a single fee or tax item.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@name</td>\n<td>string</td>\n<td>C</td>\n<td>The name of the fee or tax</td>\n<td>Service Charge</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@type</td>\n<td>enum</td>\n<td>C</td>\n<td>Enum: [ Inclusive, Exclusive ]</td>\n<td>Exclusive</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@amount</td>\n<td>number</td>\n<td>C</td>\n<td>Amount value of fee or tax</td>\n<td>10</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@amountType</td>\n<td>enum</td>\n<td>C</td>\n<td>Enum: [ Fix, Percent ]</td>\n<td>Percent</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@chargeType</td>\n<td>enum</td>\n<td>C</td>\n<td>Enum: [ PerRoomPerNight, PerPersonPerNight, etc ]</td>\n<td>PerRoomPerNight</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@paymentType</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [ PayLater, PayNow ]</td>\n<td>PayNow</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@collectBy</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [ distributor, Property ]</td>\n<td>Property</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@effectivePerson</td>\n<td>number</td>\n<td>N</td>\n<td>Indicates occupancy level at which fee starts.</td>\n<td>3</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@mealPlan</td>\n<td>String</td>\n<td>N</td>\n<td>Meal Plan Code</td>\n<td>BB</td>\n</tr>\n<tr>\n<td>2</td>\n<td>commissions</td>\n<td>array[object]</td>\n<td>N</td>\n<td>Commission details</td>\n<td>/</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@startDate</td>\n<td>string</td>\n<td>N</td>\n<td>Start date of commission (YYYY-MM-DD).</td>\n<td>2028-01-01</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@endDate</td>\n<td>string</td>\n<td>N</td>\n<td>End date of commission.</td>\n<td>2028-01-04</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@value</td>\n<td>number</td>\n<td>C</td>\n<td>Commission value</td>\n<td>10</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@type</td>\n<td>enum</td>\n<td>C</td>\n<td>Enum: [ Percent, Amount ]</td>\n<td>Percent</td>\n</tr>\n<tr>\n<td>1</td>\n<td>error</td>\n<td>string</td>\n<td>N</td>\n<td>error response</td>\n<td>Key not authorized</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorCode</td>\n<td>string</td>\n<td>C</td>\n<td>error response</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorMessage</td>\n<td>string</td>\n<td>C</td>\n<td>error response</td>\n<td>Invalid Message</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"hotel-products-response-example\">Hotel Products Response Example</h4>\n<p><em><strong>Success Response (HTTP Status 200)</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"hotelId\": \"GATHI\",\n  \"hotelName\": \"This is a test hotel\",\n  \"supplierId\": \"HILTON\",\n  \"status\": \"Actived\",\n  \"chainCode\": \"Hilton\",\n  \"brandCode\": \"Hampton\",\n  \"longitude\": \"41.40338\",\n  \"latitude\": \"2.17403\",\n  \"city\": \"string\",\n  \"country\": \"string\",\n  \"state\": \"string\",\n  \"currency\": \"USD\",\n  \"ISO\": \"GB\" ,\n  \"address\": [\n    \"AddressLine1\",\n    \"AddressLine2\",\n    \"AddressLine3\",\n    \"AddressLine4\",\n    \"AddressLine5\"\n  ],\n  \"phone\": {\n    \"countryAccessCode\": \"string\",\n    \"areaCityCode\": \"string\",\n    \"phoneNumber\": \"string\"\n  },\n  \"ariType\": \"Daily\",\n  \"timezone\": \"America/Los_Angeles\",\n  \"rateType\": \"AmountBeforeTax\",\n  \"maxChildAge\": 17,\n  \"childRateType\": \"ByAge\",\n  \"products\": [\n    {\n      \"roomId\": \"10000101\",\n      \"rateId\": \"123456\",\n      \"stayType\": \"OverNightRoom\",\n      \"status\": \"Actived\",\n      \"roomName\": \"Double Room\",\n      \"roomDescription\": \"Soak in city views in our Deluxe room, which features a well-appointed ensuite bathroom and up-to-date entertainment offerings.\",\n      \"rateName\": \"Bar Rate\",\n      \"rateDescription\": \"Begin your day with a hearty meal.\",\n      \"occupancy\": {\n        \"maxAdult\": 3,\n        \"maxChild\": 2,\n        \"maxOccupancy\": 3\n      },\n      \"paymentType\": \"PayNow\",\n      \"guarantee\": {\n        \"guaranteeType\": \"CCG\"\n      },\n      \"cancelPolicies\": [\n        {\n          \"dateRange\": {\n            \"startDate\": \"2018-01-01\",\n            \"endDate\": \"2018-01-04\"\n          },\n          \"cancelPolicy\": {\n            \"code\": \"1D1N_1N\",\n            \"description\": \"Cancellations or changes to bookings for this room will be charged the first night of the booking in 1 day before arrival date, if no show, will be charged the first night of the booking.\",\n            \"cancelPenalties\": [\n              {\n                \"noShow\": false,\n                \"cancellable\": true,\n                \"cancelDeadline\": {\n                  \"offsetTimeDropType\": \"BeforeArrival\",\n                  \"offsetTimeUnit\": \"D\",\n                  \"offsetTimeValue\": 1\n                },\n                \"penaltyCharge\": {\n                  \"chargeBase\": \"NightBase\",\n                  \"nights\": 1\n                }\n              },\n              {\n                \"noShow\": true,\n                \"penaltyCharge\": {\n                  \"chargeBase\": \"NightBase\",\n                  \"nights\": 1\n                }\n              }\n            ]\n          }\n        }\n      ],\n      \"fees\": [\n        {\n          \"dateRange\": {\n            \"startDate\": \"2018-01-01\",\n            \"endDate\": \"2018-01-04\"\n          },\n          \"fee\": {\n            \"name\": \"Service Charge\",\n            \"type\": \"Exclusive\",\n            \"amount\": 10,\n            \"amountType\": \"Percent\",\n            \"chargeType\": \"PerRoomPerNight\",\n            \"paymentType\": \"PayNow\",\n            \"collectBy\": \"distributor\",\n            \"effectivePerson\": 0\n            \"mealPlan\": BB\n          }\n        },\n        {\n          \"dateRange\": {\n            \"startDate\": \"2018-01-01\",\n            \"endDate\": \"2018-01-04\"\n          },\n          \"fee\": {\n            \"name\": \"City Tax\",\n            \"type\": \"Exclusive\",\n            \"amount\": 5,\n            \"amountType\": \"Fix\",\n            \"chargeType\": \"PerPersonPerNight\",\n            \"paymentType\": \"PayLater\",\n            \"collectBy\": \"Property\",\n            \"effectivePerson\": 0\n            \"mealPlan\": BB\n          }\n        }\n      ]\n        }\n      ]\n    }\n  ]\n}\n\n</code></pre><p><em><strong>Success Response from Retail Rate Model(HTTP Status 200)</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"hotelId\": \"GATHI\",\n  \"hotelName\": \"This is a test hotel\",\n  \"supplierId\": \"HILTON\",\n  \"status\": \"Actived\",\n  \"chainCode\": \"Hilton\",\n  \"brandCode\": \"Hampton\",\n  \"longitude\": \"41.40338\",\n  \"latitude\": \"2.17403\",\n  \"city\": \"string\",\n  \"country\": \"string\",\n  \"state\": \"string\",\n  \"currency\": \"USD\",\n  \"ISO\": \"GB\",\n  \"address\": [\n    \"AddressLine1\",\n    \"AddressLine2\",\n    \"AddressLine3\",\n    \"AddressLine4\",\n    \"AddressLine5\"\n  ],\n  \"phone\": {\n    \"countryAccessCode\": \"string\",\n    \"areaCityCode\": \"string\",\n    \"phoneNumber\": \"string\"\n  },\n  \"ariType\": \"Daily\",\n  \"timezone\": \"America/Los_Angeles\",\n  \"rateType\": \"AmountBeforeTax\",\n  \"maxChildAge\": 17,\n  \"childRateType\": \"ByAge\",\n  \"products\": [\n    {\n      \"roomId\": \"10000101\",\n      \"rateId\": \"123456\",\n      \"rateModel\": \"Retail\",\n      \"stayType\": \"OverNightRoom\",\n      \"status\": \"Actived\",\n      \"roomName\": \"Double Room\",\n      \"roomDescription\": \"Soak in city views in our Deluxe room, which features a well-appointed ensuite bathroom and up-to-date entertainment offerings.\",\n      \"rateName\": \"Bar Rate\",\n      \"rateDescription\": \"Begin your day with a hearty meal.\",\n      \"occupancy\": {\n        \"maxAdult\": 3,\n        \"maxChild\": 2,\n        \"maxOccupancy\": 3\n      },\n      \"paymentType\": \"PayNow\",\n      \"guarantee\": {\n        \"guaranteeType\": \"CCG\"\n      },\n      \"cancelPolicies\": [\n        {\n          \"dateRange\": {\n            \"startDate\": \"2018-01-01\",\n            \"endDate\": \"2018-01-04\"\n          },\n          \"cancelPolicy\": {\n            \"code\": \"1D1N_1N\",\n            \"description\": \"Cancellations or changes to bookings for this room will be charged the first night of the booking in 1 day before arrival date, if no show, will be charged the first night of the booking.\",\n            \"cancelPenalties\": [\n                {\n                    \"noShow\": false,\n                    \"cancellable\": true,\n                    \"cancelDeadline\": {\n                        \"offsetTimeDropType\": \"BeforeArrival\",\n                        \"offsetTimeUnit\": \"D\",\n                        \"offsetTimeValue\": 1\n                    },\n                    \"penaltyCharge\": {\n                        \"chargeBase\": \"NightBase\",\n                        \"nights\": 1\n                    }\n                },\n                {\n                    \"noShow\": true,\n                    \"penaltyCharge\": {\n                        \"chargeBase\": \"NightBase\",\n                        \"nights\": 1\n                    }\n                }\n            ]\n          }\n        }\n      ],\n      \"fees\": [\n        {\n          \"dateRange\": {\n            \"startDate\": \"2018-01-01\",\n            \"endDate\": \"2018-01-04\"\n          },\n          \"fee\": {\n            \"name\": \"Service Charge\",\n            \"type\": \"Exclusive\",\n            \"amount\": 10,\n            \"amountType\": \"Percent\",\n            \"chargeType\": \"PerRoomPerNight\",\n            \"collectBy\": \"distributor\",\n            \"effectivePerson\": 0\n            \"mealPlan\": BB\n          }\n        },\n        {\n          \"dateRange\": {\n            \"startDate\": \"2018-01-01\",\n            \"endDate\": \"2018-01-04\"\n          },\n          \"fee\": {\n            \"name\": \"City Tax\",\n            \"type\": \"Exclusive\",\n            \"amount\": 5,\n            \"amountType\": \"Fix\",\n            \"chargeType\": \"PerPersonPerNight\",\n            \"collectBy\": \"Property\",\n            \"effectivePerson\": 0\n            \"mealPlan\": BB\n          }\n        }\n      ]\n        }\n      ],\n      \"commissions\": [\n        {\n          \"startDate\": \"2018-01-01\",\n          \"endDate\": \"2018-01-04\",\n          \"value\": 10,\n          \"type\": \"Percent\"\n        }\n      ]\n    }\n  ]\n}\n\n</code></pre><p><em><strong>Response from Net Rate Model(HTTP Status 200)</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"hotelId\": \"GATHI\",\n  \"hotelName\": \"This is a test hotel\",\n  \"supplierId\": \"HILTON\",\n  \"status\": \"Actived\",\n  \"chainCode\": \"Hilton\",\n  \"brandCode\": \"Hampton\",\n  \"longitude\": \"41.40338\",\n  \"latitude\": \"2.17403\",\n  \"city\": \"string\",\n  \"country\": \"string\",\n  \"state\": \"string\",\n  \"currency\": \"USD\",\n  \"ISO\": \"GB\",\n  \"address\": [\n    \"AddressLine1\",\n    \"AddressLine2\",\n    \"AddressLine3\",\n    \"AddressLine4\",\n    \"AddressLine5\"\n  ],\n  \"phone\": {\n    \"countryAccessCode\": \"string\",\n    \"areaCityCode\": \"string\",\n    \"phoneNumber\": \"string\"\n  },\n  \"ariType\": \"Daily\",\n  \"timezone\": \"America/Los_Angeles\",\n  \"rateType\": \"AmountBeforeTax\",\n  \"maxChildAge\": 17,\n  \"childRateType\": \"ByAge\",\n  \"products\": [\n    {\n      \"roomId\": \"10000101\",\n      \"rateId\": \"123456\",\n      \"rateModel\": \"Net\",\n      \"stayType\": \"OverNightRoom\",\n      \"status\": \"Actived\",\n      \"roomName\": \"Double Room\",\n      \"roomDescription\": \"Soak in city views in our Deluxe room, which features a well-appointed ensuite bathroom and up-to-date entertainment offerings.\",\n      \"rateName\": \"Bar Rate\",\n      \"rateDescription\": \"Begin your day with a hearty meal.\",\n      \"occupancy\": {\n        \"maxAdult\": 3,\n        \"maxChild\": 2,\n        \"maxOccupancy\": 3\n      },\n      \"paymentType\": \"PayNow\",\n      \"guarantee\": {\n        \"guaranteeType\": \"CCG\"\n      },\n      \"cancelPolicies\": [\n        {\n          \"dateRange\": {\n            \"startDate\": \"2018-01-01\",\n            \"endDate\": \"2018-01-04\"\n          },\n          \"cancelPolicy\": {\n            \"code\": \"1D1N_1N\",\n            \"description\": \"Cancellations or changes to bookings for this room will be charged the first night of the booking in 1 day before arrival date, if no show, will be charged the first night of the booking.\",\n            \"cancelPenalties\": [\n                {\n                    \"noShow\": false,\n                    \"cancellable\": true,\n                    \"cancelDeadline\": {\n                        \"offsetTimeDropType\": \"BeforeArrival\",\n                        \"offsetTimeUnit\": \"D\",\n                        \"offsetTimeValue\": 1\n                    },\n                    \"penaltyCharge\": {\n                        \"chargeBase\": \"NightBase\",\n                        \"nights\": 1\n                    }\n                },\n                {\n                    \"noShow\": true,\n                    \"penaltyCharge\": {\n                        \"chargeBase\": \"NightBase\",\n                        \"nights\": 1\n                    }\n                }\n            ]\n          }\n        }\n      ],\n      \"fees\": [\n        {\n          \"dateRange\": {\n            \"startDate\": \"2018-01-01\",\n            \"endDate\": \"2018-01-04\"\n          },\n          \"fee\": {\n            \"name\": \"Service Charge\",\n            \"type\": \"Exclusive\",\n            \"amount\": 10,\n            \"amountType\": \"Percent\",\n            \"chargeType\": \"PerRoomPerNight\",\n            \"collectBy\": \"distributor\",\n            \"effectivePerson\": 0\n            \"mealPlan\": BB\n          }\n        },\n        {\n          \"dateRange\": {\n            \"startDate\": \"2018-01-01\",\n            \"endDate\": \"2018-01-04\"\n          },\n          \"fee\": {\n            \"name\": \"City Tax\",\n            \"type\": \"Exclusive\",\n            \"amount\": 5,\n            \"amountType\": \"Fix\",\n            \"chargeType\": \"PerPersonPerNight\",\n            \"collectBy\": \"Property\",\n            \"effectivePerson\": 0\n            \"mealPlan\": BB\n          }\n        }\n      ]\n        }\n      ]\n    }\n  ]\n}\n\n</code></pre><p><em><strong>Error Response (HTTP Status 401)</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"error\": \"Key not authorized\"\n}\n\n</code></pre><p><em><strong>Error Response (HTTP Status 500)</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>        {\n    \"errorCode\": \"InvalidField\",\n    \"errorMessage\": \"Invalid Message\"\n}\n\n</code></pre>","_postman_id":"ac2062e3-4dc3-48e2-940a-6a7012b0f0c6"},{"name":"Hotel Activation Push Distributors","item":[],"id":"6367b230-f66c-486f-8ea9-b51b826286ad","description":"<p>The <strong>Hotel Activation (Push) API</strong> is a step that allows iOLX to select the hotels they wish to activate for distribution.</p>\n<p>Through this API, Channel Manager retrieves the list of active hotels for each supplier, ensuring that only the selected hotels are made available for distribution. This optional activation process gives iOLX control over which hotels are included in its distribution scope.</p>\n<p>iOLX can use this API to:</p>\n<ul>\n<li>Select the hotels they wish to activate for distribution from their suppliers.</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /hotels/{supplierId} HTTP/1.1\nURL: {AvailabilityPeer-Endpoint}/hotels/{supplierId}\nAuthorization: 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nAccept-Encoding: gzip\nContent-Encoding: gzip\nContent-Type: application/json;charset=utf-8\n\n</code></pre><h4 id=\"hotel-activation-push-distributors-request-schema\">Hotel Activation Push Distributors Request Schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>supplierId</td>\n<td>string</td>\n<td>Y</td>\n<td>The code that uniquely identifies a supplier in Channel Manager's system.  <br />MaxLength: 32</td>\n<td>HILTON</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"hotel-activation-push-distributors-request-example\">Hotel Activation Push Distributors Request Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Sample URL: https://dsgo.xxxxx.net/hotels/GOHOTEL\n\n</code></pre><h4 id=\"hotel-activation-push-distributors-response-schema\">Hotel Activation Push Distributors Response Schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>supplierId</td>\n<td>string</td>\n<td>Y</td>\n<td>The code that uniquely identifies a supplier in Channel Manager's system</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>1</td>\n<td>hotelId</td>\n<td>string</td>\n<td>Y</td>\n<td>The code that uniquely identifies a single hotel in the hotel suppliers system</td>\n<td>GATHI</td>\n</tr>\n<tr>\n<td>1</td>\n<td>status</td>\n<td>enum</td>\n<td>Y</td>\n<td>Enum: [Actived, Deactived]  <br />  <br />Hotel Status provided by hotel suppliers:  <br />• <strong>Actived</strong> – hotel is active for distribution  <br />• <strong>Deactived</strong> – hotel is NOT active for distribution; ARI will not flow</td>\n<td>Actived</td>\n</tr>\n<tr>\n<td>1</td>\n<td>error</td>\n<td>string</td>\n<td>N</td>\n<td>Error response</td>\n<td>Key not authorized</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorCode</td>\n<td>string</td>\n<td>C</td>\n<td>Error response</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorMessage</td>\n<td>string</td>\n<td>C</td>\n<td>Error response</td>\n<td>Invalid Message</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"hotel-activation-push-distributors-response-example\">Hotel Activation Push Distributors Response Example</h4>\n<p><em><strong>Success Response (HTTP Status 200)</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n  {\n    \"supplierId\": \"HILTON\",\n    \"hotelId\": \"GATHI\",\n    \"status\": \"Actived\"\n  }\n]\n\n</code></pre><p><em><strong>Error Response (HTTP Status 401)</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"error\": \"Key not authorised\"\n}\n\n</code></pre><p><em><strong>Error Response (HTTP Status 500)</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>        {\n  \"errorCode\": \"InvalidField\",\n  \"errorMessage\": \"Invalid Message\"\n}\n\n</code></pre>","_postman_id":"6367b230-f66c-486f-8ea9-b51b826286ad"},{"name":"Hotel Products Activation Push Distributors","item":[],"id":"ef5f1db8-4c80-404e-8000-b86817a380f5","description":"<p>The <strong>Hotel Products Activation API</strong> is a step that allows iOLX to specify which hotel product lists they plan to sell or stop-sell, along with the status of each product (Active or Inactive) for every hotel.</p>\n<p>iOLX can use this API to:</p>\n<ul>\n<li>Indicate which hotel products they intend to sell or stop-sell by providing a list of products with their statuses (Active or Inactive) for each hotel.</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /hotel/{supplierId}/{hotelId} HTTP/1.1\nURL: {AvailabilityPeer-Endpoint}/hotel/{supplierId}/{hotelId}\nAuthorization: 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nAccept-Encoding: gzip\nContent-Encoding: gzip\nContent-Type: application/json;charset=utf-8\n\n</code></pre><h4 id=\"hotel-product-activation-push-distributors-request-schema\">Hotel Product Activation Push Distributors Request Schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>supplierId</td>\n<td>string</td>\n<td>Y</td>\n<td>The code that uniquely identifies a supplier in Channel Manager's system</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>1</td>\n<td>hotelId</td>\n<td>string</td>\n<td>Y</td>\n<td>The code that uniquely identifies a single hotel in hotel suppliers system</td>\n<td>GATHI</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"hotel-product-activation-push-distributors-request-example\">Hotel Product Activation Push Distributors Request Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Sample URL: \nhttps://dsgo.xxxxx.net/hotel/GOHOTEL/GOH103\n\n</code></pre><h4 id=\"hotel-product-activation-push-distributors-response-schema\">Hotel Product Activation Push Distributors Response Schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>supplierId</td>\n<td>string</td>\n<td>Y</td>\n<td>The code that uniquely identifies a supplier in Channel Manager's system</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>1</td>\n<td>hotelId</td>\n<td>string</td>\n<td>Y</td>\n<td>The code that uniquely identifies a single hotel in hotel suppliers system</td>\n<td>GATHI</td>\n</tr>\n<tr>\n<td>1</td>\n<td>status</td>\n<td>enum</td>\n<td>Y</td>\n<td>Enum: [Actived, Deactived]  <br />  <br />Hotel Status provided by hotel suppliers:  <br />• <strong>Actived</strong> – hotel is active for distribution  <br />• <strong>Deactived</strong> – hotel is NOT active for distribution; ARI will not flow for deactivated hotels</td>\n<td>Actived</td>\n</tr>\n<tr>\n<td>1</td>\n<td>settings</td>\n<td>object</td>\n<td>N</td>\n<td>A common extension object for extra attributes like account, extra settings required by iOLX.</td>\n<td><code>{ \"key\": \"value\" }</code></td>\n</tr>\n<tr>\n<td>1</td>\n<td>ariType</td>\n<td>enum</td>\n<td>Y</td>\n<td>Enum: [Daily, LOS]  <br />  <br />Indicates which ARI PUSH model is used for this hotel:  <br />• <strong>Daily</strong> – ARI is pushed for specific dates  <br />• <strong>LOS</strong> – ARI is pushed for specific dates and length of stay</td>\n<td>Daily</td>\n</tr>\n<tr>\n<td>1</td>\n<td>rateType</td>\n<td>enum</td>\n<td>Y</td>\n<td>Enum: [AmountBeforeTax, AmountAfterTax, Both]  <br />  <br />Indicates which rate will be used in ARI and Reservation flow:  <br />• <strong>AmountBeforeTax</strong> – only before-tax amount is used  <br />• <strong>AmountAfterTax</strong> – only after-tax amount is used  <br />• <strong>Both</strong> – both values can be sent and received</td>\n<td>AmountBeforeTax</td>\n</tr>\n<tr>\n<td>1</td>\n<td>products</td>\n<td>array</td>\n<td>Y</td>\n<td>List of products (room-rate combinations)</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomId</td>\n<td>string</td>\n<td>Y</td>\n<td>Room ID in supplier's system</td>\n<td>King</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateId</td>\n<td>string</td>\n<td>Y</td>\n<td>Rate ID in supplier's system</td>\n<td>BAR</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@status</td>\n<td>enum</td>\n<td>Y</td>\n<td>Enum: [Actived, Deactived]  <br />  <br />Product status indicated by iOLX:  <br />• <strong>Actived</strong> – product is active on the distribution system  <br />• <strong>Deactived</strong> – product is NOT active; ARI will not flow</td>\n<td>Actived</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomName</td>\n<td>string</td>\n<td>N</td>\n<td>Room type name  <br />Max Length: 256</td>\n<td>King Room</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateName</td>\n<td>string</td>\n<td>N</td>\n<td>Rate plan name  <br />Max Length: 256</td>\n<td>Best Available Rate</td>\n</tr>\n<tr>\n<td>2</td>\n<td>occupancy</td>\n<td>object</td>\n<td>Y</td>\n<td>Occupancy details</td>\n<td>/</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@maxAdult</td>\n<td>integer</td>\n<td>Y</td>\n<td>Max adult count</td>\n<td>3</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@maxChild</td>\n<td>integer</td>\n<td>Y</td>\n<td>Max child count</td>\n<td>2</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@maxOccupancy</td>\n<td>integer</td>\n<td>Y</td>\n<td>Max occupancy</td>\n<td>3</td>\n</tr>\n<tr>\n<td>1</td>\n<td>error</td>\n<td>string</td>\n<td>N</td>\n<td>Error response</td>\n<td>Key not authorized</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorCode</td>\n<td>string</td>\n<td>C</td>\n<td>Error response</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorMessage</td>\n<td>string</td>\n<td>C</td>\n<td>Error response</td>\n<td>Invalid Message</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"hotel-product-activation-push-distributors-response-example\">Hotel Product Activation Push Distributors Response Example</h4>\n<p><em><strong>Success Response (HTTP Status 200)</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"supplierId\": \"HILTON\",\n  \"hotelId\": \"GATHI\",\n  \"status\": \"Actived\",\n  \"settings\": {\n    \"additionalProp1\": \"string\",\n    \"additionalProp2\": \"string\",\n    \"additionalProp3\": \"string\"\n  },\n  \"ariType\": \"Daily\",\n  \"rateType\": \"AmountBeforeTax\",\n  \"products\": [\n    {\n      \"roomId\": \"K1\",\n      \"rateId\": \"CBAR\",\n      \"status\": \"Actived\",\n      \"roomName\": \"Double Room\",\n      \"rateName\": \"Bar Rate\",\n      \"occupancy\": {\n        \"maxAdult\": 3,\n        \"maxChild\": 2,\n        \"maxOccupancy\": 3\n      }\n    }\n  ]\n}\n\n</code></pre><p><em><strong>Error Response (HTTP Status 401)</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"error\": \"Key not authorised\"\n}\n\n</code></pre><p><em><strong>Error Response (HTTP Status 500)</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>        {\n  \"errorCode\": \"InvalidField\",\n  \"errorMessage\": \"Invalid Message\"\n}\n\n</code></pre>","_postman_id":"ef5f1db8-4c80-404e-8000-b86817a380f5"},{"name":"Daily Push","item":[],"id":"34cb85e7-5a85-4582-9dfb-b175415812b7","description":"<p>This API enables Channel Managers to send Daily ARI to iOLX for a hotel within a specified date range.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST /ari/daily/push HTTP/1.1\nURL: {{endpoint}}/ari/daily/push\nAuthorization:Bearer 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nAccept-Encoding: gzip\nContent-Encoding: gzip\nContent-Type: application/json;charset=utf-8\n\n</code></pre><h3 id=\"request-example\">Request Example</h3>\n<ul>\n<li>Occupancy Rate</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"ABCDE\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"messageType\": \"Delta\",\n  \"hotelId\": \"ABC123\",\n  \"dateRange\": {\n    \"startDate\": \"2018-01-01\",\n    \"endDate\": \"2018-01-04\"\n  },\n  \"currency\": \"USD\",\n  \"dailyAris\": [\n    {\n      \"roomId\": \"K1\",\n      \"rateId\": \"BARB\",\n      \"mealPlans\": [\n        \"BB\",\n        \"BB\",\n        \"BB\",\n        \"BB\"\n      ],\n      \"inventories\": [\n        9,\n        0,\n        9,\n        9\n      ],\n      \"rates\": {\n        \"type\": \"OccupancyRate\",\n        \"rates\": [\n          {\n            \"adultCount\": 2,\n            \"childCount\": 1,\n            \"amountBeforeTax\": [\n              502.19,\n              502.19,\n              502.19,\n              502.19\n            ],\n            \"amountAfterTax\": [\n              623.23,\n              623.23,\n              623.23,\n              623.23\n            ]\n          }\n        ]\n      },\n      \"availStatuses\": {\n        \"close\": [\n          false,\n          false,\n          false,\n          false\n        ],\n        \"minStayArrival\": [\n          0,\n          2,\n          0,\n          0\n        ],\n        \"maxStayArrival\": [\n          0,\n          2,\n          0,\n          0\n        ],\n        \"minStayThrough\": [\n          0,\n          2,\n          0,\n          0\n        ],\n        \"maxStayThrough\": [\n          0,\n          2,\n          0,\n          0\n        ],\n        \"minAdvanceDay\": [\n          0,\n          2,\n          0,\n          0\n        ],\n        \"maxAdvanceDay\": [\n          365,\n          365,\n          365,\n          365\n        ],\n        \"cta\": [\n          false,\n          false,\n          false,\n          true\n        ],\n        \"ctd\": [\n          false,\n          false,\n          false,\n          true\n        ],\n        \"fplos\": [\n          \"1111111\",\n          \"1001111\",\n          \"1000001\",\n          \"0000000\"\n        ]\n      }\n    }\n  ]\n}\n\n</code></pre><ul>\n<li>Occupancy Rate from <strong>Net</strong> Rate Model</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"messageType\": \"Delta\",\n  \"hotelId\": \"GATHI\",\n  \"dateRange\": {\n    \"startDate\": \"2018-01-01\",\n    \"endDate\": \"2018-01-04\"\n  },\n  \"currency\": \"USD\",\n  \"dailyAris\": [\n    {\n      \"roomId\": \"K1\",\n      \"rateId\": \"BARB\",\n      \"mealPlans\": [\n        \"BB\",\n        \"BB\",\n        \"BB\",\n        \"BB\"\n      ],\n      \"inventories\": [\n        9,\n        0,\n        9,\n        9\n      ],\n      \"rates\": {\n        \"type\": \"OccupancyRate\",\n        \"rates\": [\n          {\n            \"adultCount\": 2,\n            \"childCount\": 1,\n            \"amountBeforeTax\": [\n              502.19,\n              502.19,\n              502.19,\n              502.19\n            ],\n            \"amountAfterTax\": [\n              623.23,\n              623.23,\n              623.23,\n              623.23\n            ]\n          }\n        ]\n      },\n      \"availStatuses\": {\n        \"close\": [\n          false,\n          false,\n          false,\n          false\n        ],\n        \"minStayArrival\": [\n          0,\n          2,\n          0,\n          0\n        ],\n        \"maxStayArrival\": [\n          0,\n          2,\n          0,\n          0\n        ],\n        \"minStayThrough\": [\n          0,\n          2,\n          0,\n          0\n        ],\n        \"maxStayThrough\": [\n          0,\n          2,\n          0,\n          0\n        ],\n        \"minAdvanceDay\": [\n          0,\n          2,\n          0,\n          0\n        ],\n        \"maxAdvanceDay\": [\n          365,\n          365,\n          365,\n          365\n        ],\n        \"cta\": [\n          false,\n          false,\n          false,\n          true\n        ],\n        \"ctd\": [\n          false,\n          false,\n          false,\n          true\n        ],\n        \"fplos\": [\n          \"1111111\",\n          \"1001111\",\n          \"1000001\",\n          \"0000000\"\n        ]\n      }\n    }\n  ]\n}\n\n</code></pre><ul>\n<li>Occupancy Rate with Child Pricing based on age bands</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"header\": {\n        \"supplierId\": \"ABCDE\",\n        \"distributorId\": \"GTA\",\n        \"version\": \"v4\",\n        \"token\": \"18393849028490234\"\n    },\n    \"messageType\": \"Delta\",\n    \"hotelId\": \"ABC123\",\n    \"dateRange\": {\n        \"startDate\": \"2018-01-01\",\n        \"endDate\": \"2018-01-04\"\n    },\n    \"currency\": \"USD\",\n    \"dailyAris\": [\n        {\n            \"roomId\": \"K1\",\n            \"rateId\": \"BARB\",\n            \"mealPlans\": [\n                \"BB\",\n                \"BB\",\n                \"BB\",\n                \"BB\"\n            ],\n            \"inventories\": [\n                9,\n                0,\n                9,\n                9\n            ],\n            \"rates\": {\n                \"extraChildRates\": [\n                    {\n                        \"amountAfterTax\": [\n                            50.00,\n                            50.00,\n                            50.00,\n                            50.00\n                        ],\n                        \"amountBeforeTax\": [\n                            40.00,\n                            40.00,\n                            40.00,\n                            40.00\n                        ],\n                        \"maxAge\": 2,\n                        \"minAge\": 0\n                    },\n                    {\n                        \"amountAfterTax\": [\n                            60.00,\n                            60.00,\n                            60.00,\n                            60.00\n                        ],\n                        \"amountBeforeTax\": [\n                            50.00,\n                            50.00,\n                            50.00,\n                            50.00\n                        ],\n                        \"maxAge\": 8,\n                        \"minAge\": 3\n                    },\n                    {\n                        \"amountAfterTax\": [\n                            70.00,\n                            70.00,\n                            70.00,\n                            70.00\n                        ],\n                        \"amountBeforeTax\": [\n                            60.00,\n                            60.00,\n                            60.00,\n                            60.00\n                        ],\n                        \"maxAge\": 17,\n                        \"minAge\": 9\n                    }\n                ],\n                \"type\": \"OccupancyRate\",\n                \"rates\": [\n                    {\n                        \"adultCount\": 1,\n                        \"amountBeforeTax\": [\n                            502.19,\n                            502.19,\n                            502.19,\n                            502.19\n                        ],\n                        \"amountAfterTax\": [\n                            623.23,\n                            623.23,\n                            623.23,\n                            623.23\n                        ]\n                    },\n                    {\n                        \"adultCount\": 2,\n                        \"amountBeforeTax\": [\n                            520.19,\n                            520.19,\n                            520.19,\n                            520.19\n                        ],\n                        \"amountAfterTax\": [\n                            641.23,\n                            641.23,\n                            641.23,\n                            641.23\n                        ]\n                    }\n                ]\n            },\n            \"availStatuses\": {\n                \"close\": [\n                    false,\n                    false,\n                    false,\n                    false\n                ],\n                \"minStayArrival\": [\n                    0,\n                    2,\n                    0,\n                    0\n                ],\n                \"maxStayArrival\": [\n                    0,\n                    2,\n                    0,\n                    0\n                ],\n                \"minStayThrough\": [\n                    0,\n                    2,\n                    0,\n                    0\n                ],\n                \"maxStayThrough\": [\n                    0,\n                    2,\n                    0,\n                    0\n                ],\n                \"minAdvanceDay\": [\n                    0,\n                    2,\n                    0,\n                    0\n                ],\n                \"maxAdvanceDay\": [\n                    365,\n                    365,\n                    365,\n                    365\n                ],\n                \"cta\": [\n                    false,\n                    false,\n                    false,\n                    true\n                ],\n                \"ctd\": [\n                    false,\n                    false,\n                    false,\n                    true\n                ],\n                \"fplos\": [\n                    \"1111111\",\n                    \"1001111\",\n                    \"1000001\",\n                    \"0000000\"\n                ]\n            }\n        }\n    ]\n}\n\n</code></pre><ul>\n<li>All possible occupancy combinations</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Notes: It supports completing possible occupancy combinations up to the maximum occupancy supported by each hotel in cases children will be free of charge by hotel suppliers. Example as follow: Max occupancy = 4, max adult = 3, max children = 2, child pricing = 0. But suppliers don't provide occupancy rate for adult plus child combinations. It supports to complele it for 3A1C, 3A0C, 2A2C, 2A1C, 2A0C, 1A1C and 1A0C.*** The feature increases the ARI, pushing traffic volume and is turned off as a default setting. If you wish to enable it, please reach out to your iOLX help for more details.\n\n</code></pre><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"header\": {\n        \"supplierId\": \"ABCDE\",\n        \"distributorId\": \"GTA\",\n        \"version\": \"v4\",\n        \"token\": \"18393849028490234\"\n    },\n    \"messageType\": \"Delta\",\n    \"hotelId\": \"ABC123\",\n    \"dateRange\": {\n        \"startDate\": \"2018-01-01\",\n        \"endDate\": \"2018-01-04\"\n    },\n    \"currency\": \"USD\",\n    \"dailyAris\": [\n        {\n            \"roomId\": \"K1\",\n            \"rateId\": \"BARB\",\n            \"mealPlans\": [\n                \"BB\",\n                \"BB\",\n                \"BB\",\n                \"BB\"\n            ],\n            \"inventories\": [\n                9,\n                0,\n                9,\n                9\n            ],\n            \"rates\": {\n                \"type\": \"OccupancyRate\",\n                \"rates\": [\n                    {\n                        \"adultCount\": 1,\n                        \"childCount\": 0,\n                        \"amountBeforeTax\": [\n                            502.19,\n                            502.19,\n                            502.19,\n                            502.19\n                        ],\n                        \"amountAfterTax\": [\n                            523.23,\n                            523.23,\n                            523.23,\n                            523.23\n                        ]\n                    },\n                    {\n                        \"adultCount\": 1,\n                        \"childCount\": 1,\n                        \"amountBeforeTax\": [\n                            502.19,\n                            502.19,\n                            502.19,\n                            502.19\n                        ],\n                        \"amountAfterTax\": [\n                            523.23,\n                            523.23,\n                            523.23,\n                            523.23\n                        ]\n                    },\n                    {\n                        \"adultCount\": 2,\n                        \"childCount\": 0,\n                        \"amountBeforeTax\": [\n                            502.19,\n                            502.19,\n                            502.19,\n                            502.19\n                        ],\n                        \"amountAfterTax\": [\n                            523.23,\n                            523.23,\n                            523.23,\n                            523.23\n                        ]\n                    },\n                    {\n                        \"adultCount\": 2,\n                        \"childCount\": 1,\n                        \"amountBeforeTax\": [\n                            502.19,\n                            502.19,\n                            502.19,\n                            502.19\n                        ],\n                        \"amountAfterTax\": [\n                            523.23,\n                            523.23,\n                            523.23,\n                            523.23\n                        ]\n                    },\n                    {\n                        \"adultCount\": 2,\n                        \"childCount\": 2,\n                        \"amountBeforeTax\": [\n                            502.19,\n                            502.19,\n                            502.19,\n                            502.19\n                        ],\n                        \"amountAfterTax\": [\n                            523.23,\n                            523.23,\n                            523.23,\n                            523.23\n                        ]\n                    },\n                    {\n                        \"adultCount\": 3,\n                        \"childCount\": 0,\n                        \"amountBeforeTax\": [\n                            502.19,\n                            502.19,\n                            502.19,\n                            502.19\n                        ],\n                        \"amountAfterTax\": [\n                            523.23,\n                            523.23,\n                            523.23,\n                            523.23\n                        ]\n                    },\n                    {\n                        \"adultCount\": 3,\n                        \"childCount\": 1,\n                        \"amountBeforeTax\": [\n                            502.19,\n                            502.19,\n                            502.19,\n                            502.19\n                        ],\n                        \"amountAfterTax\": [\n                            523.23,\n                            523.23,\n                            523.23,\n                            523.23\n                        ]\n                    }\n                ]\n            },\n            \"availStatuses\": {\n                \"close\": [\n                    false,\n                    false,\n                    false,\n                    false\n                ],\n                \"minStayArrival\": [\n                    0,\n                    2,\n                    0,\n                    0\n                ],\n                \"maxStayArrival\": [\n                    0,\n                    2,\n                    0,\n                    0\n                ],\n                \"minStayThrough\": [\n                    0,\n                    2,\n                    0,\n                    0\n                ],\n                \"maxStayThrough\": [\n                    0,\n                    2,\n                    0,\n                    0\n                ],\n                \"minAdvanceDay\": [\n                    0,\n                    2,\n                    0,\n                    0\n                ],\n                \"maxAdvanceDay\": [\n                    365,\n                    365,\n                    365,\n                    365\n                ],\n                \"cta\": [\n                    false,\n                    false,\n                    false,\n                    true\n                ],\n                \"ctd\": [\n                    false,\n                    false,\n                    false,\n                    true\n                ],\n                \"fplos\": [\n                    \"1111111\",\n                    \"1001111\",\n                    \"1000001\",\n                    \"0000000\"\n                ]\n            }\n        }\n    ]\n}\n\n</code></pre><h3 id=\"request-specification\">Request Specification</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>header</td>\n<td>object</td>\n<td>Yes</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@supplierId</td>\n<td>string</td>\n<td>Yes</td>\n<td>MaxLength: 32  <br />  <br />The ID of hotel suppliers in Channel Manager's system.</td>\n<td>ABCDE</td>\n</tr>\n<tr>\n<td>@distributorId</td>\n<td>string</td>\n<td>Yes</td>\n<td>MaxLength: 32  <br />  <br />The ID of iOLX in Channel Manager's system</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>@version</td>\n<td>string</td>\n<td>Yes</td>\n<td>MaxLength: 20  <br />  <br />Version of API</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>@token</td>\n<td>string</td>\n<td>Yes</td>\n<td>MaxLength: 64  <br />  <br />A unique ID to identify request and response, normally it should be UUID.</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>messageType</td>\n<td>enum</td>\n<td>No</td>\n<td>Enum: [ Delta, Overlay ]  <br />  <br />Omit the attributor means the Message Type is Overlay.</td>\n<td>Delta</td>\n</tr>\n<tr>\n<td>hotelId</td>\n<td>string</td>\n<td>Yes</td>\n<td>ID of the hotel in the supplier's system</td>\n<td>GATHI</td>\n</tr>\n<tr>\n<td>dateRange</td>\n<td>object</td>\n<td>Yes</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@startDate</td>\n<td>string</td>\n<td>Yes</td>\n<td>Start date of date range, format with yyyy-MM-dd</td>\n<td>2018-01-01</td>\n</tr>\n<tr>\n<td>@endDate</td>\n<td>string</td>\n<td>Yes</td>\n<td>End date of date range, format with yyyy-MM-dd</td>\n<td>2018-01-04</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Yes</td>\n<td>Currency code [ISO-4217]</td>\n<td>USD</td>\n</tr>\n<tr>\n<td>dailyAris</td>\n<td>array</td>\n<td>Yes</td>\n<td>Daily rate and inventory within a date range</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@roomId</td>\n<td>string</td>\n<td>Yes</td>\n<td>Room ID in supplier's system</td>\n<td>10000101</td>\n</tr>\n<tr>\n<td>@rateId</td>\n<td>string</td>\n<td>Yes</td>\n<td>Rate ID in supplier's system</td>\n<td>123456</td>\n</tr>\n<tr>\n<td>@mealPlans</td>\n<td>array[string]</td>\n<td>No</td>\n<td>Meal plan for each date</td>\n<td>[ \"BB\", \"BB\", \"BB\", \"BB\" ]</td>\n</tr>\n<tr>\n<td>@inventories</td>\n<td>array[integer]</td>\n<td>Yes</td>\n<td>Room inventory for each date</td>\n<td>[ 9, 0, 9, 9 ]</td>\n</tr>\n<tr>\n<td>dailyAris/rates</td>\n<td>/</td>\n<td>Yes</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@type</td>\n<td>enum</td>\n<td>Yes</td>\n<td>Enum: [ OccupancyRate, CommonRate ]  <br />  <br />Indicates which rate model to be used: OccupancyRate or CommonRate.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>rates/rates</td>\n<td>array[object]</td>\n<td>Yes</td>\n<td>This node will not display if it’s the Common Rate Model.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@adultCount</td>\n<td>integer</td>\n<td>No</td>\n<td>The attribute will not display if it’s the Common Rate Model.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@childCount</td>\n<td>integer</td>\n<td>No</td>\n<td>The attribute will not display if it’s the Common Rate Model.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@amountBeforeTax</td>\n<td>array[number]</td>\n<td>No</td>\n<td>/</td>\n<td>[ 502.19, 502.19, 502.19, 502.19 ]</td>\n</tr>\n<tr>\n<td>@amountAfterTax</td>\n<td>array[number]</td>\n<td>Yes</td>\n<td>/</td>\n<td>[ 623.23, 623.23, 623.23, 623.23 ]</td>\n</tr>\n<tr>\n<td>dailyAris/availStatuses</td>\n<td>/</td>\n<td>/</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@close</td>\n<td>array[boolean]</td>\n<td>Yes</td>\n<td>Closed or not for each date</td>\n<td>[false, false, false, false]</td>\n</tr>\n<tr>\n<td>@minStayArrival</td>\n<td>array[integer]</td>\n<td>No</td>\n<td>Minimum length of stay based on check-in for each date, zero means no restriction.</td>\n<td>[ 0, 2, 0, 0 ]</td>\n</tr>\n<tr>\n<td>@maxStayArrival</td>\n<td>array[integer]</td>\n<td>No</td>\n<td>Maximum length of stay based on check-in for each date, zero means no restriction.</td>\n<td>[ 0, 2, 0, 0 ]</td>\n</tr>\n<tr>\n<td>@minStayThrough</td>\n<td>array[integer]</td>\n<td>No</td>\n<td>Minimum length of stay based on a date through for each date, zero means no restriction.</td>\n<td>[ 0, 2, 0, 0 ]</td>\n</tr>\n<tr>\n<td>@maxStayThrough</td>\n<td>array[integer]</td>\n<td>No</td>\n<td>Maximum length of stay is based on a date for each date; zero means no restriction.</td>\n<td>[ 0, 2, 0, 0 ]</td>\n</tr>\n<tr>\n<td>@minAdvanceDay</td>\n<td>array[integer]</td>\n<td>No</td>\n<td>Minimum days to book in advance for each date, zero means no restriction.</td>\n<td>[ 0, 2, 0, 0 ]</td>\n</tr>\n<tr>\n<td>@maxAdvanceDay</td>\n<td>array[integer]</td>\n<td>No</td>\n<td>Maximum days to book in advance for each date, zero means no restriction.</td>\n<td>[ 365, 365, 365, 365 ]</td>\n</tr>\n<tr>\n<td>@cta</td>\n<td>array[boolean]</td>\n<td>No</td>\n<td>Closed to arrival for each date</td>\n<td>[ false, false, false, true ]</td>\n</tr>\n<tr>\n<td>@ctd</td>\n<td>array[boolean]</td>\n<td>No</td>\n<td>Closed to departure for each date</td>\n<td>[ false, false, false, true ]</td>\n</tr>\n<tr>\n<td>@fplos</td>\n<td>array[string]</td>\n<td>No</td>\n<td>Full pattern length of stay to indicate if the stay is available.</td>\n<td>[ \"1111111\", \"1001111\", \"1000001\", \"0000000\" ]</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Note: Amount after Tax is mandatory as iOLX collects rates inclusive of taxes. Amount before tax is optional, and if not possible to provide either, do not pass this tag or send it with the same value as AmountAfterTax.</em></p>\n<p><strong>Response Example</strong></p>\n<ul>\n<li>Success Response (HTTP Status 200)</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"ABCDE\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"hotelId\": \"ABC123\",\n  \"updateDateRange\": {\n    \"startDate\": \"2018-01-01\",\n    \"endDate\": \"2018-01-04\"\n  }\n}\n\n</code></pre><ul>\n<li>Error Response (HTTP Status 403)</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errorCode\": \"InvalidField\",\n  \"errorMessage\": \"  Unauthorized token\"\n}\n\n</code></pre><ul>\n<li>Error Response (HTTP Status 500)</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errorCode\": \"InvalidField\",\n  \"errorMessage\": \"Invalid Message\"\n}\n\n</code></pre><h3 id=\"response-specification\">Response Specification</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Attribute</td>\n<td>Type</td>\n<td>Required</td>\n<td>Description</td>\n<td>Example</td>\n</tr>\n<tr>\n<td>header</td>\n<td>object</td>\n<td>Yes</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@supplierId</td>\n<td>string</td>\n<td>Yes</td>\n<td>MaxLength: 32  <br />  <br />The ID of the hotel supplier in Channel Manager's system</td>\n<td>ABCDE</td>\n</tr>\n<tr>\n<td>@distributorId</td>\n<td>string</td>\n<td>Yes</td>\n<td>MaxLength: 32  <br />  <br />The ID of the iOLX in Channel Manager's system</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>@version</td>\n<td>string</td>\n<td>Yes</td>\n<td>MaxLength: 20  <br />  <br />Version of API</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>@token</td>\n<td>string</td>\n<td>Yes</td>\n<td>MaxLength: 64  <br />  <br />A unique ID to identify request and response, normally it should be UUID.</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>hotelId</td>\n<td>string</td>\n<td>Yes</td>\n<td>The ID of a hotel in the supplier's system</td>\n<td>ABC123</td>\n</tr>\n<tr>\n<td>updateDateRange</td>\n<td>object</td>\n<td>Yes</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@startDate</td>\n<td>string</td>\n<td>Yes</td>\n<td>start date of date range, format with yyyy-MM-dd</td>\n<td>2018-01-01</td>\n</tr>\n<tr>\n<td>@endDate</td>\n<td>string</td>\n<td>Yes</td>\n<td>end date of date range, format with yyyy-MM-dd</td>\n<td>2018-01-04</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"34cb85e7-5a85-4582-9dfb-b175415812b7"},{"name":"LOS Push","item":[],"id":"6b07a71f-eb31-4dbb-9ff3-adea18b9b359","description":"<p>This API enables Channel Managers to send LOS ARI to IOL for a hotel within a specified date range.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST /ari/los/push HTTP/1.1\nURL: {{endpoint}}/ari/los/push\nAuthorization:Bearer 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nAccept-Encoding: gzip\nContent-Encoding: gzip\nContent-Type: application/json;charset=utf-8\n\n</code></pre><h3 id=\"request-example\">Request Example</h3>\n<ul>\n<li>Occupancy Rate</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"messageType\": \"Delta\",\n  \"hotelId\": \"GATHI\",\n  \"dateRange\": {\n    \"startDate\": \"2018-01-01\",\n    \"endDate\": \"2018-01-04\"\n  },\n  \"currency\": \"USD\",\n  \"losAris\": [\n    {\n      \"roomId\": \"K1\",\n      \"rateId\": \"BARB\",\n      \"los\": 1,\n      \"mealPlans\": [\n        \"BB\",\n        \"BB\",\n        \"RO\",\n        \"BB\"\n      ],\n      \"inventories\": [\n        9,\n        0,\n        9,\n        9\n      ],\n      \"rates\": {\n        \"type\": \"OccupancyRate\",\n        \"rates\": [\n          {\n            \"adultCount\": 2,\n            \"childCount\": 1,\n            \"amountBeforeTax\": [\n              502.19,\n              502.19,\n              502.19,\n              502.19\n            ],\n            \"amountAfterTax\": [\n              623.23,\n              623.23,\n              623.23,\n              623.23\n            ]\n          }\n        ]\n      }\n    }\n  ]\n}\n\n</code></pre><ul>\n<li>Occupancy Rate from <strong>Net</strong> Rate Model</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"messageType\": \"Delta\",\n  \"hotelId\": \"GATHI\",\n  \"dateRange\": {\n    \"startDate\": \"2018-01-01\",\n    \"endDate\": \"2018-01-04\"\n  },\n  \"currency\": \"USD\",\n  \"losAris\": [\n    {\n      \"roomId\": \"K1\",\n      \"rateId\": \"BARB\",\n      \"los\": 1,\n      \"mealPlans\": [\n        \"BB\",\n        \"BB\",\n        \"RO\",\n        \"BB\"\n      ],\n      \"inventories\": [\n        9,\n        0,\n        9,\n        9\n      ],\n      \"rates\": {\n        \"type\": \"OccupancyRate\",\n        \"rates\": [\n          {\n            \"adultCount\": 2,\n            \"childCount\": 1,\n            \"amountBeforeTax\": [\n              502.19,\n              502.19,\n              502.19,\n              502.19\n            ],\n            \"amountAfterTax\": [\n              623.23,\n              623.23,\n              623.23,\n              623.23\n            ],\n          }\n        ]\n      }\n    }\n  ]\n}\n\n</code></pre><ul>\n<li>Occupancy Rate with Child Pricing based on age bands</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"header\": {\n        \"supplierId\": \"HILTON\",\n        \"distributorId\": \"GTA\",\n        \"version\": \"v4\",\n        \"token\": \"18393849028490234\"\n    },\n    \"messageType\": \"Delta\",\n    \"hotelId\": \"GATHI\",\n    \"dateRange\": {\n        \"startDate\": \"2018-01-01\",\n        \"endDate\": \"2018-01-04\"\n    },\n    \"currency\": \"USD\",\n    \"losAris\": [\n        {\n            \"roomId\": \"K1\",\n            \"rateId\": \"BARB\",\n            \"los\": 1,\n            \"mealPlans\": [\n                \"BB\",\n                \"BB\",\n                \"RO\",\n                \"BB\"\n            ],\n            \"inventories\": [\n                9,\n                0,\n                9,\n                9\n            ],\n            \"rates\": {\n                \"extraChildRates\": [\n                    {\n                        \"minAge\": 0,\n                        \"maxAge\": 2,\n                        \"amountAfterTax\": [\n                            50.00,\n                            50.00,\n                            50.00,\n                            50.00\n                        ],\n                        \"amountBeforeTax\": [\n                            40.00,\n                            40.00,\n                            40.00,\n                            40.00\n                        ]\n                    },\n                    {\n                        \"minAge\": 3,\n                        \"maxAge\": 8,\n                        \"amountAfterTax\": [\n                            60.00,\n                            60.00,\n                            60.00,\n                            60.00\n                        ],\n                        \"amountBeforeTax\": [\n                            50.00,\n                            50.00,\n                            50.00,\n                            50.00\n                        ]\n                    },\n                    {\n                        \"minAge\": 9,\n                        \"maxAge\": 17,\n                        \"amountAfterTax\": [\n                            70.00,\n                            70.00,\n                            70.00,\n                            70.00\n                        ],\n                        \"amountBeforeTax\": [\n                            60.00,\n                            60.00,\n                            60.00,\n                            60.00\n                        ]\n                    }\n                ],\n                \"type\": \"OccupancyRate\",\n                \"rates\": [\n                    {\n                        \"adultCount\": 2,\n                        \"amountBeforeTax\": [\n                            200.00,\n                            200.00,\n                            200.00,\n                            200.00\n                        ],\n                        \"amountAfterTax\": [\n                            220.00,\n                            220.00,\n                            220.00,\n                            220.00\n                        ]\n                    },\n                    {\n                        \"adultCount\": 1,\n                        \"amountBeforeTax\": [\n                            160.00,\n                            160.00,\n                            160.00,\n                            160.00\n                        ],\n                        \"amountAfterTax\": [\n                            192.00,\n                            192.00,\n                            192.00,\n                            192.00\n                        ]\n                    }\n                ]\n            }\n        },\n        {\n            \"roomId\": \"K1\",\n            \"rateId\": \"BARB\",\n            \"los\": 2,\n            \"mealPlans\": [\n                \"BB\",\n                \"BB\",\n                \"RO\",\n                \"BB\"\n            ],\n            \"inventories\": [\n                9,\n                0,\n                9,\n                9\n            ],\n            \"rates\": {\n                \"extraChildRates\": [\n                    {\n                        \"minAge\": 0,\n                        \"maxAge\": 2,\n                        \"amountAfterTax\": [\n                            100.00,\n                            100.00,\n                            100.00,\n                            100.00\n                        ],\n                        \"amountBeforeTax\": [\n                            80.00,\n                            80.00,\n                            80.00,\n                            80.00\n                        ]\n                    },\n                    {\n                        \"minAge\": 3,\n                        \"maxAge\": 8,\n                        \"amountAfterTax\": [\n                            120.00,\n                            120.00,\n                            120.00,\n                            120.00\n                        ],\n                        \"amountBeforeTax\": [\n                            100.00,\n                            100.00,\n                            100.00,\n                            100.00\n                        ]\n                    },\n                    {\n                        \"minAge\": 9,\n                        \"maxAge\": 17,\n                        \"amountAfterTax\": [\n                            140.00,\n                            140.00,\n                            140.00,\n                            140.00\n                        ],\n                        \"amountBeforeTax\": [\n                            120.00,\n                            120.00,\n                            120.00,\n                            120.00\n                        ]\n                    }\n                ],\n                \"type\": \"OccupancyRate\",\n                \"rates\": [\n                    {\n                        \"adultCount\": 2,\n                        \"amountBeforeTax\": [\n                            400.00,\n                            400.00,\n                            400.00,\n                            400.00\n                        ],\n                        \"amountAfterTax\": [\n                            440.00,\n                            440.00,\n                            440.00,\n                            440.00\n                        ]\n                    },\n                    {\n                        \"adultCount\": 1,\n                        \"amountBeforeTax\": [\n                            320.00,\n                            320.00,\n                            320.00,\n                            320.00\n                        ],\n                        \"amountAfterTax\": [\n                            384.00,\n                            384.00,\n                            384.00,\n                            384.00\n                        ]\n                    }\n                ]\n            }\n        }\n    ]\n}\n\n</code></pre><ul>\n<li>All possible occupancy combinations</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Notes: It supports completing possible occupancy combinations up to the maximum occupancy supported by each hotel in cases children will be free of charge by hotel suppliers. Example as follow: Max occupancy = 4, max adult = 3, max children = 2, child pricing = 0. But suppliers don't provide occupancy rate for adult plus child combinations. It supports to complele it for 3A1C, 3A0C, 2A2C, 2A1C, 2A0C, 1A1C and 1A0C.*** The feature increases the ARI pushing traffic volume and is turned off as a default setting. If you wish to enable it, please reach out to iOLX help for more details.\n\n</code></pre><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"header\": {\n        \"supplierId\": \"HILTON\",\n        \"distributorId\": \"GTA\",\n        \"version\": \"v4\",\n        \"token\": \"18393849028490234\"\n    },\n    \"messageType\": \"Delta\",\n    \"hotelId\": \"GATHI\",\n    \"dateRange\": {\n        \"startDate\": \"2018-01-01\",\n        \"endDate\": \"2018-01-07\"\n    },\n    \"currency\": \"USD\",\n    \"losAris\": [\n        {\n            \"roomId\": \"NCAA\",\n            \"rateId\": \"LHGKX\",\n            \"los\": 1,\n            \"mealPlans\": [\n                \"BB\",\n                \"BB\",\n                \"BB\",\n                \"BB\",\n                \"BB\",\n                \"BB\",\n                \"BB\"\n            ],\n            \"inventories\": [\n                0,\n                0,\n                0,\n                0,\n                1,\n                1,\n                1\n            ],\n            \"rates\": {\n                \"rates\": [\n                    {\n                        \"adultCount\": 1,\n                        \"childCount\": 0,\n                        \"amountBeforeTax\": [\n                            183.01,\n                            141,\n                            166,\n                            176,\n                            176,\n                            158,\n                            182\n                        ]\n                    },\n                    {\n                        \"adultCount\": 1,\n                        \"childCount\": 1,\n                        \"amountBeforeTax\": [\n                            183.01,\n                            141,\n                            166,\n                            176,\n                            176,\n                            158,\n                            182\n                        ]\n                    },\n                    {\n                        \"adultCount\": 2,\n                        \"childCount\": 0,\n                        \"amountBeforeTax\": [\n                            183.01,\n                            141,\n                            166,\n                            176,\n                            176,\n                            158,\n                            182\n                        ]\n                    },\n                    {\n                        \"adultCount\": 2,\n                        \"childCount\": 1,\n                        \"amountBeforeTax\": [\n                            183.01,\n                            141,\n                            166,\n                            176,\n                            176,\n                            158,\n                            182\n                        ]\n                    },\n                    {\n                        \"adultCount\": 2,\n                        \"childCount\": 2,\n                        \"amountBeforeTax\": [\n                            183.01,\n                            141,\n                            166,\n                            176,\n                            176,\n                            158,\n                            182\n                        ]\n                    },\n                    {\n                        \"adultCount\": 3,\n                        \"childCount\": 0,\n                        \"amountBeforeTax\": [\n                            191.85,\n                            149.87,\n                            175.07,\n                            184.84,\n                            184.84,\n                            166.83,\n                            190.84\n                        ]\n                    },\n                    {\n                        \"adultCount\": 3,\n                        \"childCount\": 1,\n                        \"amountBeforeTax\": [\n                            191.85,\n                            149.87,\n                            175.07,\n                            184.84,\n                            184.84,\n                            166.83,\n                            190.84\n                        ]\n                    }\n                ],\n                \"type\": \"OccupancyRate\"\n            }\n        }\n    ]\n}\n\n</code></pre><h3 id=\"request-specification\">Request Specification</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>header</td>\n<td>object</td>\n<td>Yes</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@supplierId</td>\n<td>string</td>\n<td>Yes</td>\n<td>max length: 32  <br />  <br />The ID of hotel suppliers in Channel Manager's system</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>@distributorId</td>\n<td>string</td>\n<td>Yes</td>\n<td>max length: 32  <br />  <br />ID of iOLX in Channel Manager's system</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>@version</td>\n<td>string</td>\n<td>Yes</td>\n<td>max length: 20  <br />  <br />Version of API</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>@token</td>\n<td>string</td>\n<td>Yes</td>\n<td>max length: 64  <br />  <br />A unique ID to identify requests and response, normally it should be UUID.</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>messageType</td>\n<td>enum</td>\n<td>No</td>\n<td>Enum: [ Delta, Overlay ]  <br />  <br />Omit the attributor means the Message Type is Overlay.</td>\n<td>Delta</td>\n</tr>\n<tr>\n<td>hotelId</td>\n<td>string</td>\n<td>Yes</td>\n<td>The ID of a hotel in the supplier's system</td>\n<td>GATHI</td>\n</tr>\n<tr>\n<td>dateRange</td>\n<td>object</td>\n<td>Yes</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@startDate</td>\n<td>string</td>\n<td>Yes</td>\n<td>Start date of date range, format with yyyy-MM-dd</td>\n<td>2018-01-01</td>\n</tr>\n<tr>\n<td>@endDate</td>\n<td>string</td>\n<td>Yes</td>\n<td>End date of date range, format with yyyy-MM-dd</td>\n<td>2018-01-04</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Yes</td>\n<td>Currency code[ISO-4217]</td>\n<td>USD</td>\n</tr>\n<tr>\n<td>losAris</td>\n<td>array</td>\n<td>Yes</td>\n<td>Length of stay rate and inventory within a date range. If no available rates, it means the hotel was closed. If the available rates are only for certain room types, it means other room types are closed.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@roomId</td>\n<td>string</td>\n<td>Yes</td>\n<td>Room ID in supplier's system</td>\n<td>10000101</td>\n</tr>\n<tr>\n<td>@rateId</td>\n<td>string</td>\n<td>Yes</td>\n<td>Rate ID in supplier's system</td>\n<td>123456</td>\n</tr>\n<tr>\n<td>@los</td>\n<td>integer</td>\n<td>Yes</td>\n<td>Length of stay</td>\n<td>1</td>\n</tr>\n<tr>\n<td>@mealPlans</td>\n<td>array[string]</td>\n<td>No</td>\n<td>Meal plan for each date</td>\n<td>[ \"BB\", \"BB\", \"BB\", \"BB\" ]</td>\n</tr>\n<tr>\n<td>@inventories</td>\n<td>array[integer]</td>\n<td>Yes</td>\n<td>Room inventory for each date</td>\n<td>[ 9, 0, 9, 9 ]</td>\n</tr>\n<tr>\n<td>losAris/rates</td>\n<td>/</td>\n<td>Yes</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@type</td>\n<td>enum</td>\n<td>Yes</td>\n<td>Enum: [ OccupancyRate, CommonRate ]  <br />  <br />Indicates which rate model to be used: OccupancyRate or CommonRate.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>rates/rates</td>\n<td>array[object]</td>\n<td>Yes</td>\n<td>This node will not display if it’s the Common Rate Model.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@adultCount</td>\n<td>integer</td>\n<td>No</td>\n<td>This node will not display if it’s the Common Rate Model.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@childCount</td>\n<td>integer</td>\n<td>No</td>\n<td>The node will not display if it’s the Common Rate Model.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@amountBeforeTax</td>\n<td>array[number]</td>\n<td>No</td>\n<td>/</td>\n<td>[ 502.19, 502.19, 502.19, 502.19 ]</td>\n</tr>\n<tr>\n<td>@amountAfterTax</td>\n<td>array[number]</td>\n<td>Yes</td>\n<td>/</td>\n<td>[ 623.23, 623.23, 623.23, 623.23 ]</td>\n</tr>\n<tr>\n<td>rates/extraChildRates</td>\n<td>object</td>\n<td>No</td>\n<td>Extra child rate is only used with occupancy rate, max child age must be provided for available hotel product.</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@minAge</td>\n<td>integer</td>\n<td>Yes</td>\n<td>Minimum child age is greater than or equal to zero.</td>\n<td>0</td>\n</tr>\n<tr>\n<td>@maxAge</td>\n<td>integer</td>\n<td>Yes</td>\n<td>Maximum child age is less than or equal to maxChildAge.</td>\n<td>2</td>\n</tr>\n<tr>\n<td>@amountBeforeTax</td>\n<td>array[number]</td>\n<td>No</td>\n<td>/</td>\n<td>[ 40, 40 ]</td>\n</tr>\n<tr>\n<td>@amountAfterTax</td>\n<td>array[number]</td>\n<td>No</td>\n<td>/</td>\n<td>[ 40, 40 ]</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>extensions</td>\n<td>object</td>\n<td>No</td>\n<td>A common extension object for extra attributes like account, extra setting required by a distributor, etc.</td>\n<td>/</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: Amount after Tax is mandatory as iOLX collects rates inclusive of taxes. Amount before tax is optional, and if not possible to provide either, do not pass this tag or send it with the same value as AmountAfterTax.</p>\n<p><strong>Response Example</strong></p>\n<ul>\n<li>Success Response (HTTP Status 200)</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"hotelId\": \"GATHI\",\n  \"updateDateRange\": {\n    \"startDate\": \"2018-01-01\",\n    \"endDate\": \"2018-01-04\"\n  }\n}\n\n</code></pre><ul>\n<li>Error Response (HTTP Status 403)</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errorCode\": \"InvalidField\",\n  \"errorMessage\": \"  Unauthorized token\"\n}\n\n</code></pre><ul>\n<li>Error Response (HTTP Status 500)</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errorCode\": \"InvalidField\",\n  \"errorMessage\": \"Invalid Message\"\n}\n\n</code></pre><h3 id=\"response-specification\">Response Specification</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Attribute</td>\n<td>Type</td>\n<td>Required</td>\n<td>Description</td>\n<td>Example</td>\n</tr>\n<tr>\n<td>header</td>\n<td>object</td>\n<td>Yes</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@supplierId</td>\n<td>string</td>\n<td>Yes</td>\n<td>MaxLength: 32  <br />  <br />The ID of the hotel supplier in Channel Manager's system</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>@distributorId</td>\n<td>string</td>\n<td>Yes</td>\n<td>MaxLength: 32  <br />  <br />The ID of iOLX in Channel Manager's system</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>@version</td>\n<td>string</td>\n<td>Yes</td>\n<td>MaxLength: 20  <br />  <br />Version of API</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>@token</td>\n<td>string</td>\n<td>Yes</td>\n<td>MaxLength: 64  <br />  <br />A unique ID to identify request and response, normally it should be UUID.</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>hotelId</td>\n<td>string</td>\n<td>Yes</td>\n<td>ID of a hotel in supplier's system</td>\n<td>GATHI</td>\n</tr>\n<tr>\n<td>updateDateRange</td>\n<td>object</td>\n<td>Yes</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>@startDate</td>\n<td>string</td>\n<td>Yes</td>\n<td>Start date of date range, format with yyyy-MM-dd</td>\n<td>2018-01-01</td>\n</tr>\n<tr>\n<td>@endDate</td>\n<td>string</td>\n<td>Yes</td>\n<td>End date of date range, format with yyyy-MM-dd</td>\n<td>2018-01-04</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"6b07a71f-eb31-4dbb-9ff3-adea18b9b359"},{"name":"Live Check","item":[],"id":"152a2672-93c3-4ff6-a12f-e13ba53df571","description":"<h3 id=\"live-check-api\">Live Check API</h3>\n<p>The Live Check API allows iOLX to query real-time availability from hotel suppliers or the Channel Manager cache, ensuring they receive up-to-date information on all available rooms and rates. This functionality is essential for ensuring that the data presented to customers reflects the current status of hotel inventory. If a hotel supplier does not support the live check function, the check will be done in the Channel Manager cache to provide availability data. Additionally, the Live Check API supports a maximum stay of up to 61 days, depending on the supplier’s capabilities. This flexibility enables iOLX to check long-term availability and offer extended stay options to its customers, provided the supplier supports this duration.</p>\n<p>The implementation of this API is a mandatory step in the booking flow, ensuring accurate and timely availability information before proceeding with further reservation actions.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST /availability HTTP/1.1\nURL: {BookingUSB-Endpoint}/availability\nAuthorization: 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nAccept-Encoding: gzip\nContent-Encoding: gzip\nContent-Type: application/json;charset=utf-8\n\n</code></pre><h4 id=\"live-check-request-schema\">Live Check Request Schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>header</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@supplierId</td>\n<td>string</td>\n<td>Y</td>\n<td>The ID of the hotel supplier in Channel Manager's system. MaxLength: 32</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@distributorId</td>\n<td>string</td>\n<td>Y</td>\n<td>The ID of iOLX in Channel Manager's system. MaxLength: 32</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@version</td>\n<td>string</td>\n<td>Y</td>\n<td>Version of API. MaxLength: 20</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@token</td>\n<td>string</td>\n<td>Y</td>\n<td>A unique identifier for each request and response, typically a UUID. Note that this is an echo token, not an access token. MaxLength: 64</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>1</td>\n<td>hotelId</td>\n<td>string</td>\n<td>Y</td>\n<td>Hotel IDs contain digits (0-9), uppercase letters (A-Z), hyphen '-'</td>\n<td>100001, GATHI, 00016, PEP-B3T2, B8W7</td>\n</tr>\n<tr>\n<td>1</td>\n<td>stayRange</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@checkin</td>\n<td>string</td>\n<td>Y</td>\n<td>Check in date expressed YYYY-MM-DD</td>\n<td>2028-01-01</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@checkout</td>\n<td>string</td>\n<td>Y</td>\n<td>Check out date expressed YYYY-MM-DD</td>\n<td>2028-01-04</td>\n</tr>\n<tr>\n<td>1</td>\n<td>roomCriteria</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>@adultCount</td>\n<td>integer</td>\n<td>Y</td>\n<td>Adult count per room</td>\n<td>1</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@childCount</td>\n<td>integer</td>\n<td>N</td>\n<td>Child count per room</td>\n<td>2</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@childAges</td>\n<td>array</td>\n<td>N</td>\n<td>Child ages for each child, array size MUST match child count</td>\n<td>[4, 8]</td>\n</tr>\n<tr>\n<td>1</td>\n<td>productCandidate</td>\n<td>object</td>\n<td>N</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomId</td>\n<td>string</td>\n<td>N</td>\n<td>Room ID in supplier's system</td>\n<td>K1D</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateId</td>\n<td>string</td>\n<td>N</td>\n<td>Rate ID in supplier's system</td>\n<td>ODAD01</td>\n</tr>\n<tr>\n<td>1</td>\n<td>iata</td>\n<td>string</td>\n<td>N</td>\n<td>IATA of iOLX</td>\n<td>/</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"live-check-request-example\">Live Check Request Example</h4>\n<p><strong>Live Check Request Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"header\": {\n      \"supplierId\": \"HILTON\",\n      \"distributorId\": \"GTA\",\n      \"version\": \"v4\",\n      \"token\": \"18393849028490234\"\n    },\n    \"hotelId\": \"GATHI\",\n    \"stayRange\": {\n      \"checkin\": \"2028-01-01\",\n      \"checkout\": \"2028-01-04\"\n    },\n    \"roomCriteria\": {\n      \"adultCount\": 1,\n      \"childCount\": 2,\n      \"childAges\": [\n        4,\n        8\n      ]\n    },\n    \"productCandidate\": {\n      \"roomId\": \"K1D\",\n      \"rateId\": \"ODAD01\"\n    },\n    \"iata\": \"string\"\n  }\n\n</code></pre><h4 id=\"live-check-response-schema\">Live Check Response Schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>header</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@supplierId</td>\n<td>string</td>\n<td>Y</td>\n<td>The ID of the hotel supplier in Channel Manager's system. MaxLength: 32</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@distributorId</td>\n<td>string</td>\n<td>Y</td>\n<td>The ID of iOLX in Channel Manager's system. MaxLength: 32</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@version</td>\n<td>string</td>\n<td>Y</td>\n<td>Version of API. MaxLength: 20</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@token</td>\n<td>string</td>\n<td>Y</td>\n<td>A unique identifier for each request/response. Echo token, not access token. MaxLength: 64</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>1</td>\n<td>hotelId</td>\n<td>string</td>\n<td>Y</td>\n<td>Hotel IDs contain digits (0-9), uppercase letters (A-Z), hyphen '-'</td>\n<td>100001, GATHI, 00016, PEP-B3T2, B8W7</td>\n</tr>\n<tr>\n<td>1</td>\n<td>stayRange</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@checkin</td>\n<td>string</td>\n<td>Y</td>\n<td>Check in date expressed YYYY-MM-DD</td>\n<td>2028-01-01</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@checkout</td>\n<td>string</td>\n<td>Y</td>\n<td>Check out date expressed YYYY-MM-DD</td>\n<td>2028-01-04</td>\n</tr>\n<tr>\n<td>1</td>\n<td>roomCriteria</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomCount</td>\n<td>integer</td>\n<td>Y</td>\n<td>Total room count per request</td>\n<td>2</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@adultCount</td>\n<td>integer</td>\n<td>Y</td>\n<td>Adult count per room</td>\n<td>1</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@childCount</td>\n<td>integer</td>\n<td>N</td>\n<td>Child count per room</td>\n<td>2</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@childAges</td>\n<td>array</td>\n<td>N</td>\n<td>Child ages for each child, array size MUST match child count</td>\n<td>[4,8]</td>\n</tr>\n<tr>\n<td>1</td>\n<td>productCandidate</td>\n<td>object</td>\n<td>N</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomId</td>\n<td>string</td>\n<td>N</td>\n<td>Room ID in supplier system</td>\n<td>K1D</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateId</td>\n<td>string</td>\n<td>N</td>\n<td>Rate ID in supplier system</td>\n<td>ODAD01</td>\n</tr>\n<tr>\n<td>1</td>\n<td>iata</td>\n<td>string</td>\n<td>N</td>\n<td>IATA of distributor</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>roomRates</td>\n<td>object</td>\n<td>Y</td>\n<td>Meal plan, fee, cancellation optional</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@inventory</td>\n<td>integer</td>\n<td>Y</td>\n<td>Available inventory count according to request criteria</td>\n<td>1</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@isAfterPromotion</td>\n<td>boolean</td>\n<td>N</td>\n<td>TRUE = check availability with promotion, FALSE = basic live-check</td>\n<td>false</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@promoteCode</td>\n<td>string</td>\n<td>N</td>\n<td>Promotion code applied (required if isAfterPromotion=true)</td>\n<td>discount001</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomId</td>\n<td>string</td>\n<td>Y</td>\n<td>Room ID in supplier system</td>\n<td>10000101</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomName</td>\n<td>string</td>\n<td>N</td>\n<td>Max length 256</td>\n<td>King Room</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomDescription</td>\n<td>string</td>\n<td>N</td>\n<td>/</td>\n<td>Soak in city views...</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateId</td>\n<td>string</td>\n<td>Y</td>\n<td>Rate ID in supplier system</td>\n<td>BAR</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateName</td>\n<td>string</td>\n<td>N</td>\n<td>Max length 256</td>\n<td>Best Available Rate</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateDescription</td>\n<td>string</td>\n<td>N</td>\n<td>/</td>\n<td>Begin your day with a hearty meal</td>\n</tr>\n<tr>\n<td>2</td>\n<td>commission</td>\n<td>object</td>\n<td>N</td>\n<td>Indicates if rate is commissionable</td>\n<td>/</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@value</td>\n<td>number</td>\n<td>C</td>\n<td>Commission value</td>\n<td>10</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@type</td>\n<td>enum</td>\n<td>C</td>\n<td>Enum: [Percent, Amount]</td>\n<td>Percent</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@currency</td>\n<td>string</td>\n<td>Y</td>\n<td>Currency code [ISO-4217]</td>\n<td>USD</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@amountBeforeTax</td>\n<td>array[number]</td>\n<td>N</td>\n<td>Daily rate excluding taxes</td>\n<td>[100,100,120]</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@amountAfterTax</td>\n<td>array[number]</td>\n<td>N</td>\n<td>Daily rate including taxes</td>\n<td>[110,110,130]</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@amountBeforeTax</td>\n<td>number</td>\n<td>N</td>\n<td>/</td>\n<td>600</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@amountAfterTax</td>\n<td>number</td>\n<td>Y</td>\n<td>/</td>\n<td>700</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@mealPlan</td>\n<td>string</td>\n<td>N</td>\n<td>Meal plan code</td>\n<td>RO</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@paymentType</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [PayLater, PayNow]</td>\n<td>PayNow</td>\n</tr>\n<tr>\n<td>2</td>\n<td>guarantee</td>\n<td>object</td>\n<td>N</td>\n<td>Guarantee info for this rate</td>\n<td>/</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@guaranteeType</td>\n<td>string</td>\n<td>C</td>\n<td>Guarantee method type</td>\n<td>CCG</td>\n</tr>\n<tr>\n<td>2</td>\n<td>fees</td>\n<td>array[object]</td>\n<td>N</td>\n<td>Fee or tax by date range</td>\n<td>/</td>\n</tr>\n<tr>\n<td>3</td>\n<td>dateRange</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@startDate</td>\n<td>string</td>\n<td>Y</td>\n<td>Start date YYYY-MM-DD</td>\n<td>2028-01-01</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@endDate</td>\n<td>string</td>\n<td>Y</td>\n<td>End date YYYY-MM-DD</td>\n<td>2028-01-04</td>\n</tr>\n<tr>\n<td>3</td>\n<td>fee</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@name</td>\n<td>string</td>\n<td>Y</td>\n<td>Pattern: starts with word character</td>\n<td>Service Charge</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@type</td>\n<td>enum</td>\n<td>Y</td>\n<td>Enum: [Inclusive, Exclusive]</td>\n<td>Exclusive</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@amount</td>\n<td>number</td>\n<td>Y</td>\n<td>Amount of fee</td>\n<td>10</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@amountType</td>\n<td>string</td>\n<td>Y</td>\n<td>Enum: [Fix, Percent]</td>\n<td>Percent</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@chargeType</td>\n<td>string</td>\n<td>Y</td>\n<td>Enum: [PerRoomPerNight, PerPersonPerNight, ...]</td>\n<td>PerRoomPerNight</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@paymentType</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [PayLater, PayNow]</td>\n<td>PayNow</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@collectBy</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [Distributor, Property]</td>\n<td>Distributor</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@effectivePerson</td>\n<td>number</td>\n<td>N</td>\n<td>Fee charged starting from which occupancy</td>\n<td>3</td>\n</tr>\n<tr>\n<td>2</td>\n<td>cancelPolicy</td>\n<td>object</td>\n<td>N</td>\n<td>Cancellation policy</td>\n<td>/</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@code</td>\n<td>string</td>\n<td>C</td>\n<td>Cancel policy code, max 128</td>\n<td>AD100P_100P</td>\n</tr>\n<tr>\n<td>3</td>\n<td>@description</td>\n<td>string</td>\n<td>N</td>\n<td>Cancel policy description, max 1024</td>\n<td>Non Refundable</td>\n</tr>\n<tr>\n<td>3</td>\n<td>cancelPenalties</td>\n<td>array[object]</td>\n<td>C</td>\n<td>Details about cancel penalty</td>\n<td>/</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@noShow</td>\n<td>boolean</td>\n<td>C</td>\n<td>True if penalty applies for No-Show</td>\n<td>/</td>\n</tr>\n<tr>\n<td>4</td>\n<td>@cancellable</td>\n<td>boolean</td>\n<td>N</td>\n<td>True if cancellation allowed</td>\n<td>/</td>\n</tr>\n<tr>\n<td>4</td>\n<td>cancelDeadline</td>\n<td>/</td>\n<td>N</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>5</td>\n<td>@offsetTimeDropType</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [BeforeArrival]</td>\n<td>/</td>\n</tr>\n<tr>\n<td>5</td>\n<td>@offsetTimeUnit</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [D,H]</td>\n<td>/</td>\n</tr>\n<tr>\n<td>5</td>\n<td>@offsetTimeValue</td>\n<td>number</td>\n<td>N</td>\n<td>Number of offset units</td>\n<td>/</td>\n</tr>\n<tr>\n<td>5</td>\n<td>@deadline</td>\n<td>string</td>\n<td>N</td>\n<td>Local deadline time</td>\n<td>/</td>\n</tr>\n<tr>\n<td>4</td>\n<td>penaltyCharge</td>\n<td>/</td>\n<td>/</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>5</td>\n<td>@chargeBase</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [FullStay,NightBase]</td>\n<td>/</td>\n</tr>\n<tr>\n<td>5</td>\n<td>@nights</td>\n<td>number</td>\n<td>N</td>\n<td>Nights if based on NightBase</td>\n<td>/</td>\n</tr>\n<tr>\n<td>5</td>\n<td>@amount</td>\n<td>number</td>\n<td>N</td>\n<td>Flat penalty charge</td>\n<td>/</td>\n</tr>\n<tr>\n<td>5</td>\n<td>@percent</td>\n<td>number</td>\n<td>N</td>\n<td>Percent penalty</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>extensions</td>\n<td>object</td>\n<td>N</td>\n<td>Optional additional attributes</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>error</td>\n<td>string</td>\n<td>N</td>\n<td>Error response</td>\n<td>Key not authorized</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorCode</td>\n<td>string</td>\n<td>C</td>\n<td>Error code</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>1</td>\n<td>supplierErrorCode</td>\n<td>string</td>\n<td>C</td>\n<td>Supplier error code</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorMessage</td>\n<td>string</td>\n<td>C</td>\n<td>Error message</td>\n<td>Invalid Message</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Note: Amount after Tax is mandatory as iOLX collects rates inclusive of taxes. Amount before tax is optional, and if not possible to provide either, do not pass this tag or send it with the same value as AmountAfterTax.</em></p>\n<p><strong>Live Check Response Example</strong></p>\n<p><strong>Success Response (HTTP Status 200)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"hotelId\": \"GATHI\",\n  \"stayRange\": {\n    \"checkin\": \"2028-01-01\",\n    \"checkout\": \"2028-01-04\"\n  },\n  \"roomCriteria\": {\n    \"roomCount\": 2,\n    \"adultCount\": 1,\n    \"childCount\": 2,\n    \"childAges\": [\n      4,\n      8\n    ]\n  },\n  \"productCandidate\": {\n    \"roomId\": \"K1D\",\n    \"rateId\": \"ODAD01\"\n  },\n  \"iata\": \"string\",\n  \"roomRates\": [\n    {\n      \"inventory\": 2,\n      \"isAfterPromotion\": true,\n      \"promoteCode\": \"discount001\",\n      \"roomId\": \"K1D\",\n      \"roomName\": \"Double Room\",\n      \"roomDescription\": \"Soak in city views in our Deluxe room, which features a well-appointed ensuite bathroom and up-to-date entertainment offerings.\",\n      \"rateId\": \"ODAD01\",\n      \"rateName\": \"Standard Rate\",\n      \"rateDescription\": \"Standard Rate Includes Breakfast\",\n      \"commission\": {\n        \"value\": 10,\n        \"type\": \"Percent\"\n      },\n      \"currency\": \"USD\",\n      \"amountBeforeTax\": [\n        100,\n        100,\n        120\n      ],\n      \"amountAfterTax\": [\n        110,\n        110,\n        130\n      ],\n      \"mealPlan\": \"RO\",\n      \"paymentType\": \"PayNow\",\n      \"guarantee\": {\n        \"guaranteeType\": \"CCG\"\n      },\n      \"fees\": [\n        {\n          \"dateRange\": {\n            \"startDate\": \"2028-01-01\",\n            \"endDate\": \"2028-01-04\"\n          },\n          \"fee\": {\n            \"name\": \"Service Charge\",\n            \"type\": \"Exclusive\",\n            \"amount\": 10,\n            \"amountType\": \"Percent\",\n            \"chargeType\": \"PerRoomPerNight\",\n            \"paymentType\": \"PayNow\",\n            \"collectBy\": \"Distributor\",\n            \"effectivePerson\": 0\n          }\n        },\n        {\n          \"dateRange\": {\n            \"startDate\": \"2028-01-01\",\n            \"endDate\": \"2028-01-04\"\n          },\n          \"fee\": {\n            \"name\": \"City Tax\",\n            \"type\": \"Exclusive\",\n            \"amount\": 5,\n            \"amountType\": \"Fix\",\n            \"chargeType\": \"PerPersonPerNight\",\n            \"paymentType\": \"PayLater\",\n            \"collectBy\": \"Property\",\n            \"effectivePerson\": 0\n          }\n        }\n      ],\n      \"cancelPolicy\": {\n        \"code\": \"AD100P_100P\",\n        \"description\": \"Non Refundable\",\n        \"cancelPenalties\": [\n          {\n            \"noShow\": true,\n            \"cancellable\": true,\n            \"cancelDeadline\": {\n              \"offsetTimeDropType\": \"BeforeArrival\",\n              \"offsetTimeUnit\": \"D\",\n              \"offsetTimeValue\": 0,\n              \"deadline\": \"string\"\n            },\n            \"penaltyCharge\": {\n              \"chargeBase\": \"FullStay\",\n              \"nights\": 0,\n              \"amount\": 0,\n              \"percent\": 0\n            }\n          }\n        ]\n      }\n    }\n  ]\n}\n\n</code></pre><p><strong>Successful Response from Retail Rate Model(HTTP Status 200)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"hotelId\": \"GATHI\",\n  \"stayRange\": {\n    \"checkin\": \"2028-01-01\",\n    \"checkout\": \"2028-01-04\"\n  },\n  \"roomCriteria\": {\n    \"roomCount\": 2,\n    \"adultCount\": 1,\n    \"childCount\": 2,\n    \"childAges\": [\n      4,\n      8\n    ]\n  },\n  \"productCandidate\": {\n    \"roomId\": \"K1D\",\n    \"rateId\": \"ODAD01\"\n  },\n  \"iata\": \"string\",\n  \"roomRates\": [\n    {\n      \"inventory\": 2,\n      \"isAfterPromotion\": true,\n      \"promoteCode\": \"discount001\",\n      \"roomId\": \"K1D\",\n      \"roomName\": \"Double Room\",\n      \"roomDescription\": \"Soak in city views in our Deluxe room, which features a well-appointed ensuite bathroom and up-to-date entertainment offerings.\",\n      \"rateId\": \"ODAD01\",\n      \"rateName\": \"Standard Rate\",\n      \"rateDescription\": \"Standard Rate Includes Breakfast\",\n      \"commission\": {\n        \"value\": 10,\n        \"type\": \"Percent\"\n      },\n      \"currency\": \"USD\",\n      \"amountBeforeTax\": [\n        100,\n        100,\n        120\n      ],\n      \"amountAfterTax\": [\n        110,\n        110,\n        130\n      ],\n      \"mealPlan\": \"RO\",\n      \"paymentType\": \"PayNow\",\n      \"guarantee\": {\n        \"guaranteeType\": \"CCG\"\n      },\n      \"fees\": [\n        {\n          \"dateRange\": {\n            \"startDate\": \"2028-01-01\",\n            \"endDate\": \"2028-01-04\"\n          },\n          \"fee\": {\n            \"name\": \"Service Charge\",\n            \"type\": \"Exclusive\",\n            \"amount\": 10,\n            \"amountType\": \"Percent\",\n            \"chargeType\": \"PerRoomPerNight\",\n            \"collectBy\": \"Distributor\",\n            \"effectivePerson\": 0\n          }\n        },\n        {\n          \"dateRange\": {\n            \"startDate\": \"2028-01-01\",\n            \"endDate\": \"2028-01-04\"\n          },\n          \"fee\": {\n            \"name\": \"City Tax\",\n            \"type\": \"Exclusive\",\n            \"amount\": 5,\n            \"amountType\": \"Fix\",\n            \"chargeType\": \"PerPersonPerNight\",\n            \"collectBy\": \"Property\",\n            \"effectivePerson\": 0\n          }\n        }\n      ],\n      \"cancelPolicy\": {\n        \"code\": \"AD100P_100P\",\n        \"description\": \"Non Refundable\",\n        \"cancelPenalties\": [\n          {\n            \"noShow\": true,\n            \"cancellable\": true,\n            \"cancelDeadline\": {\n              \"offsetTimeDropType\": \"BeforeArrival\",\n              \"offsetTimeUnit\": \"D\",\n              \"offsetTimeValue\": 0,\n              \"deadline\": \"string\"\n            },\n            \"penaltyCharge\": {\n              \"chargeBase\": \"FullStay\",\n              \"nights\": 0,\n              \"amount\": 0,\n              \"percent\": 0\n            }\n          }\n        ]\n      }\n    }\n  ]\n}\n\n</code></pre><p><strong>Successful Response from Net Rate Model(HTTP Status 200)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"hotelId\": \"GATHI\",\n  \"stayRange\": {\n    \"checkin\": \"2028-01-01\",\n    \"checkout\": \"2028-01-04\"\n  },\n  \"roomCriteria\": {\n    \"roomCount\": 2,\n    \"adultCount\": 1,\n    \"childCount\": 2,\n    \"childAges\": [\n      4,\n      8\n    ]\n  },\n  \"productCandidate\": {\n    \"roomId\": \"K1D\",\n    \"rateId\": \"ODAD01\"\n  },\n  \"iata\": \"string\",\n  \"roomRates\": [\n    {\n      \"inventory\": 2,\n      \"isAfterPromotion\": true,\n      \"promoteCode\": \"discount001\",\n      \"roomId\": \"K1D\",\n      \"roomName\": \"Double Room\",\n      \"roomDescription\": \"Soak in city views in our Deluxe room, which features a well-appointed ensuite bathroom and up-to-date entertainment offerings.\",\n      \"rateId\": \"ODAD01\",\n      \"rateName\": \"Standard Rate\",\n      \"rateDescription\": \"Standard Rate Includes Breakfast\",\n      \"currency\": \"USD\",\n      \"amountBeforeTax\": [\n        100,\n        100,\n        120\n      ],\n      \"amountAfterTax\": [\n        110,\n        110,\n        130\n      ],\n      \"mealPlan\": \"RO\",\n      \"paymentType\": \"PayNow\",\n      \"guarantee\": {\n        \"guaranteeType\": \"CCG\"\n      },\n      \"fees\": [\n        {\n          \"dateRange\": {\n            \"startDate\": \"2028-01-01\",\n            \"endDate\": \"2028-01-04\"\n          },\n          \"fee\": {\n            \"name\": \"Service Charge\",\n            \"type\": \"Exclusive\",\n            \"amount\": 10,\n            \"amountType\": \"Percent\",\n            \"chargeType\": \"PerRoomPerNight\",\n            \"collectBy\": \"Distributor\",\n            \"effectivePerson\": 0\n          }\n        },\n        {\n          \"dateRange\": {\n            \"startDate\": \"2028-01-01\",\n            \"endDate\": \"2028-01-04\"\n          },\n          \"fee\": {\n            \"name\": \"City Tax\",\n            \"type\": \"Exclusive\",\n            \"amount\": 5,\n            \"amountType\": \"Fix\",\n            \"chargeType\": \"PerPersonPerNight\",\n            \"collectBy\": \"Property\",\n            \"effectivePerson\": 0\n          }\n        }\n      ],\n      \"cancelPolicy\": {\n        \"code\": \"AD100P_100P\",\n        \"description\": \"Non Refundable\",\n        \"cancelPenalties\": [\n          {\n            \"noShow\": true,\n            \"cancellable\": true,\n            \"cancelDeadline\": {\n              \"offsetTimeDropType\": \"BeforeArrival\",\n              \"offsetTimeUnit\": \"D\",\n              \"offsetTimeValue\": 0,\n              \"deadline\": \"string\"\n            },\n            \"penaltyCharge\": {\n              \"chargeBase\": \"FullStay\",\n              \"nights\": 0,\n              \"amount\": 0,\n              \"percent\": 0\n            }\n          }\n        ]\n      }\n    }\n  ]\n}\n\n</code></pre><p><strong>Error Response(HTTP Status 403)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"error\": \"Key not authorized\"\n}\n\n</code></pre><p><strong>Error Response (HTTP Status 500)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>        {\n  \"errorCode\": \"string\",\n  \"supplierErrorCode\": \"string\",\n  \"errorMessage\": \"string\"\n}\n\n</code></pre>","_postman_id":"152a2672-93c3-4ff6-a12f-e13ba53df571"},{"name":"Pre Book","item":[],"id":"7fea1f5f-9f4e-41fa-860f-dd230bda127a","description":"<h3 id=\"prebook-api\">PreBook API</h3>\n<p>The <strong>Prebook</strong> API allows iOLX to perform a final check on the availability and rates of a selected product before proceeding with a booking. This step ensures that the room and rate are still available and accurate at the time of booking, reducing the risk of discrepancies or overbooking. If the hotel supplier supports it, the <strong>Prebook</strong> API can handle reservations with a maximum stay length of up to 61 days. By executing this final check, iOLX can confidently proceed with the booking process, knowing that the selected room and rate remain available. This API is essential for ensuring a smooth and reliable booking experience for both iOLX and customers.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST /reservation/prebook HTTP/1.1\nURL: {BookingUSB-Endpoint}/reservation/prebook\nAuthorization: 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nContent-Type: application/json;charset=utf-8\n\n</code></pre><h4 id=\"prebook-request-schema\">PreBook Request Schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>header</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@supplierId</td>\n<td>string</td>\n<td>Y</td>\n<td>The ID of hotel supplier in Channel Manager's system. Max Length: 32</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@distributorId</td>\n<td>string</td>\n<td>Y</td>\n<td>The ID of iOLX in Channel Manager's system. Max Length: 32</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@version</td>\n<td>string</td>\n<td>Y</td>\n<td>Version of API. Max Length: 20</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@token</td>\n<td>string</td>\n<td>Y</td>\n<td>A unique identifier for each request and response, typically a UUID. Note that this is an echo token, not an access token. Max Length: 64</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>1</td>\n<td>reservationIds</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@distributorResId</td>\n<td>string</td>\n<td>Y</td>\n<td>iOLX's reservation ID. Mandatory field.</td>\n<td>C2084DFL0</td>\n</tr>\n<tr>\n<td>1</td>\n<td>iata</td>\n<td>string</td>\n<td>N</td>\n<td>IATA</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>hotelId</td>\n<td>string</td>\n<td>Y</td>\n<td>Hotel IDs provided by hotel suppliers. Allowed: digits, uppercase letters, hyphen</td>\n<td>100001 / GATHI / 00016 / PEP-B3T2 / B8W7</td>\n</tr>\n<tr>\n<td>1</td>\n<td>stayRange</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@checkin</td>\n<td>string</td>\n<td>Y</td>\n<td>Check-in date expressed YYYY-MM-DD</td>\n<td>2028-01-01</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@checkout</td>\n<td>string</td>\n<td>Y</td>\n<td>Check out date expressed YYYY-MM-DD</td>\n<td>2028-01-04</td>\n</tr>\n<tr>\n<td>1</td>\n<td>contactPerson</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@firstName</td>\n<td>string</td>\n<td>Y</td>\n<td>Contact person first name</td>\n<td>James</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@lastName</td>\n<td>string</td>\n<td>Y</td>\n<td>Contact person last name</td>\n<td>Bond</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@email</td>\n<td>string</td>\n<td>N</td>\n<td>Contact person email</td>\n<td><a href=\"https://mailto:007@james.com\">007@james.com</a></td>\n</tr>\n<tr>\n<td>2</td>\n<td>@phone</td>\n<td>string</td>\n<td>N</td>\n<td>Contact person phone number including country code</td>\n<td>34123456789</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@address</td>\n<td>string</td>\n<td>N</td>\n<td>Contact person home address</td>\n<td>King's Road in Chelsea</td>\n</tr>\n<tr>\n<td>1</td>\n<td>roomCriteria</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>@adultCount</td>\n<td>integer</td>\n<td>Y</td>\n<td>Adult count per room</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@childCount</td>\n<td>integer</td>\n<td>N</td>\n<td>Child count per room</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@childAges</td>\n<td>array</td>\n<td>N</td>\n<td>Child ages array</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>total</td>\n<td>object</td>\n<td>Y</td>\n<td>Object used to share total amount of reservation</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@amountBeforeTax</td>\n<td>number</td>\n<td>C</td>\n<td>ABT, mandatory if AAT is not provided</td>\n<td>640</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@amountAfterTax</td>\n<td>number</td>\n<td>Y</td>\n<td>AAT, mandatory if ABT is not provided</td>\n<td>700</td>\n</tr>\n<tr>\n<td>1</td>\n<td>payment</td>\n<td>object</td>\n<td>N</td>\n<td>Used to share payment information</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@cardType</td>\n<td>string</td>\n<td>N</td>\n<td>CC / VCC / CBILL</td>\n<td>CC</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@cardCode</td>\n<td>string</td>\n<td>Y</td>\n<td>Card Code</td>\n<td>VI</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@cardNumber</td>\n<td>string</td>\n<td>C</td>\n<td>Credit card number</td>\n<td>4111111111111111</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@cardHolderName</td>\n<td>string</td>\n<td>C</td>\n<td>Cardholder name</td>\n<td>Sherlock Holmes</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@expireDate</td>\n<td>string</td>\n<td>C</td>\n<td>MMYY</td>\n<td>0119</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@securityCode</td>\n<td>string</td>\n<td>N</td>\n<td>Card verification value</td>\n<td>123</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@vccEffectiveDate</td>\n<td>string</td>\n<td>C</td>\n<td>VCC effective date YYYY-MM-DD</td>\n<td>2025-06-30</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@vccInvalidDate</td>\n<td>string</td>\n<td>N</td>\n<td>VCC expiry date YYYY-MM-DD</td>\n<td>2025-07-30</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@vccAmountOnCard</td>\n<td>number</td>\n<td>N</td>\n<td>Amount on virtual card</td>\n<td>1000.00</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@vccCurrency</td>\n<td>string</td>\n<td>N</td>\n<td>Currency code ISO-4217</td>\n<td>USD</td>\n</tr>\n<tr>\n<td>1</td>\n<td>promoteCode</td>\n<td>string</td>\n<td>N</td>\n<td>Promotion code</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>guests</td>\n<td>array[object]</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@firstName</td>\n<td>string</td>\n<td>Y</td>\n<td>Guest first name</td>\n<td>James</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@lastName</td>\n<td>string</td>\n<td>Y</td>\n<td>Guest last name</td>\n<td>Bond</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@email</td>\n<td>string</td>\n<td>N</td>\n<td>Guest email</td>\n<td><a href=\"https://mailto:007@james.com\">007@james.com</a></td>\n</tr>\n<tr>\n<td>2</td>\n<td>@phone</td>\n<td>string</td>\n<td>N</td>\n<td>Guest phone number</td>\n<td>34123456789</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@address</td>\n<td>string</td>\n<td>N</td>\n<td>Guest address</td>\n<td>King's Road</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@age</td>\n<td>integer</td>\n<td>N</td>\n<td>Age of guest</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@gender</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [Male, Female]</td>\n<td>Male</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@birthday</td>\n<td>string</td>\n<td>N</td>\n<td>Birthday</td>\n<td>1970-12-20</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@type</td>\n<td>string</td>\n<td>N</td>\n<td>Enum: [Adult, Child, Infant]</td>\n<td>Adult</td>\n</tr>\n<tr>\n<td>1</td>\n<td>comments</td>\n<td>array[string]</td>\n<td>N</td>\n<td>Any preference or comment</td>\n<td>[\"no smoking\",\"high floor\"]</td>\n</tr>\n<tr>\n<td>1</td>\n<td>roomRates</td>\n<td>array[object]</td>\n<td>Y</td>\n<td>Min Items: 1 Max Items: 1</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomId</td>\n<td>string</td>\n<td>Y</td>\n<td>Room ID</td>\n<td>10000101</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateId</td>\n<td>string</td>\n<td>Y</td>\n<td>Rate ID</td>\n<td>123456</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@currency</td>\n<td>string</td>\n<td>Y</td>\n<td>Currency code ISO-4217</td>\n<td>USD</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@amountBeforeTax</td>\n<td>array[number]</td>\n<td>N</td>\n<td>Daily rate before tax</td>\n<td>[100,100,120]</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@amountAfterTax</td>\n<td>array[number]</td>\n<td>C</td>\n<td>Daily rate after tax</td>\n<td>[110,110,130]</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@mealPlan</td>\n<td>string</td>\n<td>N</td>\n<td>Meal plan code</td>\n<td>RO</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@paymentType</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [PayLater, PayNow]</td>\n<td>PayNow</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Note: Amount after Tax is mandatory as iOLX collects rates inclusive of taxes. Amount before tax is optional, and if not possible to provide either, do not pass this tag or send it with the same value as AmountAfterTax.</em></p>\n<p><strong>PreBook Request Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"header\": {\n      \"supplierId\": \"HILTON\",\n      \"distributorId\": \"GTA\",\n      \"version\": \"v4\",\n      \"token\": \"18393849028490234\"\n    },\n    \"reservationIds\": {\n      \"distributorResId\": \"C2084DFL0\"\n    },\n    \"iata\": \"string\",\n    \"hotelId\": \"GATHI\",\n    \"stayRange\": {\n      \"checkin\": \"2028-01-01\",\n      \"checkout\": \"2028-01-04\"\n    },\n    \"contactPerson\": {\n      \"firstName\": \"Thomas\",\n      \"lastName\": \"Hintz\",\n      \"email\": \"Thomas.Hintz@yahoo.com\",\n      \"phone\": \"260-975-4091\",\n      \"address\": \"3946 Freddy Locks\"\n    },\n    \"roomCriteria\": {\n      \"adultCount\": 2,\n      \"childCount\": 1,\n      \"childAges\": [\n        5\n      ]\n    },\n    \"total\": {\n      \"amountBeforeTax\": 640,\n      \"amountAfterTax\": 700\n    },\n    \"payment\": {\n      \"cardType\": \"CC\",\n      \"cardCode\": \"VI\",\n      \"cardNumber\": \"4111111111111111\",\n      \"cardHolderName\": \"Sherlock Holmes\",\n      \"expireDate\": \"0119\",\n      \"securityCode\": \"123\",\n      \"vccEffectiveDate\": \"2028-01-01\",\n      \"vccInvalidDate\": \"2028-01-02\",\n      \"vccAmountOnCard\": 502.19,\n      \"vccCurrency\": \"USD\"\n    },\n    \"promoteCode\": \"string\",\n    \"guests\": [\n      {\n        \"firstName\": \"Thomas\",\n        \"lastName\": \"Hintz\",\n        \"email\": \"Thomas.Hintz@yahoo.com\",\n        \"phone\": \"260-975-4091\",\n        \"address\": \"3946 Freddy Locks\",\n        \"age\": 32,\n        \"gender\": \"Male\",\n        \"birthday\": \"1990-01-01\",\n        \"type\": \"Adult\",\n      },\n      {\n        \"firstName\": \"Hillary\",\n        \"lastName\": \"Ullrich\",\n        \"email\": \"Xavier.Lind49@yahoo.com\",\n        \"phone\": \"260-975-4091\",\n        \"address\": \"3946 Freddy Locks\",\n        \"age\": 28,\n        \"gender\": \"Female\",\n        \"birthday\": \"1994-01-01\",\n        \"type\": \"Adult\",\n      },\n      {\n        \"firstName\": \"Alex\",\n        \"lastName\": \"Hintz\",\n        \"age\": 5,\n        \"type\": \"Child\",\n      }\n    ],\n    \"comments\": [\n      \"no smoking\",\n      \"high floor\"\n    ],\n    \"roomRates\": [\n      {\n        \"roomId\": \"K1D\",\n        \"rateId\": \"ODAD01\",\n        \"currency\": \"USD\",\n        \"amountBeforeTax\": [\n          100,\n          100,\n          120\n        ],\n        \"amountAfterTax\": [\n          110,\n          110,\n          130\n        ],\n        \"mealPlan\": \"RO\",\n        \"paymentType\": \"PayNow\"\n    }\n  }\n\n</code></pre><h4 id=\"prebook-response-schema\">PreBook Response Schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>header</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@supplierId</td>\n<td>string</td>\n<td>Y</td>\n<td>The ID of the hotel supplier in Channel Manager's system. MaxLength: 32</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@distributorId</td>\n<td>string</td>\n<td>Y</td>\n<td>The ID of iOLX in Channel Manager's system. MaxLength: 32</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@version</td>\n<td>string</td>\n<td>Y</td>\n<td>Version of API. MaxLength: 20</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@token</td>\n<td>string</td>\n<td>Y</td>\n<td>A unique identifier for each request and response, typically a UUID. Note that this is an echo token, not an access token. MaxLength: 64</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>1</td>\n<td>bookingToken</td>\n<td>string</td>\n<td>Y</td>\n<td>Booking token is used for booking</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>error</td>\n<td>string</td>\n<td>N</td>\n<td>error response</td>\n<td>Key not authorized</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorCode</td>\n<td>string</td>\n<td>C</td>\n<td>error response</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>1</td>\n<td>supplierErrorCode</td>\n<td>string</td>\n<td>C</td>\n<td>error response</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorMessage</td>\n<td>string</td>\n<td>C</td>\n<td>error response</td>\n<td>Invalid Message</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"prebook-response-example\">PreBook Response Example</h4>\n<p><strong>Success Response (HTTP Status 200)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"bookingToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c\",\n  }\n}\n\n</code></pre><p><strong>Error Response (HTTP Status 403)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"error\": \"Key not authorised\"\n}\n\n</code></pre><p><strong>Error Response (HTTP Status 500)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errorCode\": \"string\",\n  \"supplierErrorCode\": \"string\",\n  \"errorMessage\": \"string\"\n}\n\n</code></pre>","_postman_id":"7fea1f5f-9f4e-41fa-860f-dd230bda127a"},{"name":"Book","item":[],"id":"4f2b1fff-8e3e-49bf-9c32-bf8e82916df6","description":"<h3 id=\"book-api\">Book API</h3>\n<p>The <strong>Book</strong> API is used by iOLX to reserve rooms in real time. Once a request is sent to the hotel supplier’s system, it processes the reservation and returns immediate confirmation of the booking. This API ensures that the reservation is secured, with iOLX receiving a real-time response, which helps in completing the booking process quickly and accurately. The <strong>Book</strong> API is a critical step in finalising reservations, offering a seamless experience for both iOLX and customers by providing instant confirmation from the hotel system.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST /reservation/book HTTP/1.1\nURL: {BookingUSB-Endpoint}/reservation/book\nAuthorization: 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nContent-Type: application/json;charset=utf-8\n\n</code></pre><h4 id=\"book-request-schema\">Book Request Schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>header</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@supplierId</td>\n<td>string</td>\n<td>Y</td>\n<td>The ID of the hotel supplier in Channel Manager's system. Max Length: 32</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@distributorId</td>\n<td>string</td>\n<td>Y</td>\n<td>The ID of iOLX in Channel Manager's system. Max Length: 32</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@version</td>\n<td>string</td>\n<td>Y</td>\n<td>Max Length: 20. Version of API</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@token</td>\n<td>string</td>\n<td>Y</td>\n<td>A unique identifier for each request and response, typically a UUID. Note that this is an echo token, not an access token. Max Length: 64</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>1</td>\n<td>reservationIds</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@distributorResId</td>\n<td>string</td>\n<td>Y</td>\n<td>iOLX's reservation ID.</td>\n<td>C2084DFL0</td>\n</tr>\n<tr>\n<td>1</td>\n<td>iata</td>\n<td>string</td>\n<td>N</td>\n<td>IATA</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>hotelId</td>\n<td>string</td>\n<td>Y</td>\n<td>Hotel IDs provided by hotel suppliers. Allowed characters: digits (0-9), uppercase letters (A-Z), hyphen (-)</td>\n<td>100001</td>\n</tr>\n<tr>\n<td>1</td>\n<td>stayRange</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@checkin</td>\n<td>string</td>\n<td>Y</td>\n<td>Check-in date expressed YYYY-MM-DD</td>\n<td>2028-01-01</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@checkout</td>\n<td>string</td>\n<td>Y</td>\n<td>Check-out date expressed YYYY-MM-DD</td>\n<td>2028-01-04</td>\n</tr>\n<tr>\n<td>1</td>\n<td>contactPerson</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@firstName</td>\n<td>string</td>\n<td>Y</td>\n<td>Contact person's first name</td>\n<td>James</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@lastName</td>\n<td>string</td>\n<td>Y</td>\n<td>Contact person's last name</td>\n<td>Bond</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@email</td>\n<td>string</td>\n<td>N</td>\n<td>Email</td>\n<td><a href=\"https://mailto:007@james.com\">007@james.com</a></td>\n</tr>\n<tr>\n<td>2</td>\n<td>@phone</td>\n<td>string</td>\n<td>N</td>\n<td>Contact person's phone number including country code</td>\n<td>34123456789</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@address</td>\n<td>string</td>\n<td>N</td>\n<td>Contact person's home address</td>\n<td>King's Road in Chelsea</td>\n</tr>\n<tr>\n<td>1</td>\n<td>roomCriteria</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>@adultCount</td>\n<td>integer</td>\n<td>Y</td>\n<td>Adult count per room</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@childCount</td>\n<td>integer</td>\n<td>N</td>\n<td>Child count per room</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@childAges</td>\n<td>array</td>\n<td>N</td>\n<td>For child ages for each child, array size MUST match child count</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>total</td>\n<td>object</td>\n<td>Y</td>\n<td>Object used to share total amount (ABT or AAT or both)</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@amountBeforeTax</td>\n<td>number</td>\n<td>C</td>\n<td>ABT, mandatory if AAT is not provided</td>\n<td>640</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@amountAfterTax</td>\n<td>number</td>\n<td>Y</td>\n<td>AAT, mandatory if ABT is not provided</td>\n<td>700</td>\n</tr>\n<tr>\n<td>1</td>\n<td>payment</td>\n<td>object</td>\n<td>N</td>\n<td>Used to share payment information with properties</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@cardType</td>\n<td>string</td>\n<td>N</td>\n<td>CC, VCC, CBILL</td>\n<td>CC</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@cardCode</td>\n<td>string</td>\n<td>Y</td>\n<td>VI, MC, AX, etc.</td>\n<td>VI</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@cardNumber</td>\n<td>string</td>\n<td>C</td>\n<td>Credit card number</td>\n<td>4111111111111111</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@cardHolderName</td>\n<td>string</td>\n<td>C</td>\n<td>Cardholder name</td>\n<td>Sherlock Holmes</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@expireDate</td>\n<td>string</td>\n<td>C</td>\n<td>Expiry date MMYY</td>\n<td>0119</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@securityCode</td>\n<td>string</td>\n<td>N</td>\n<td>Card verification value</td>\n<td>123</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@vccEffectiveDate</td>\n<td>string</td>\n<td>N</td>\n<td>VCC effective date YYYY-MM-DD</td>\n<td>2025-06-30</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@vccInvalidDate</td>\n<td>string</td>\n<td>N</td>\n<td>VCC expiry date YYYY-MM-DD</td>\n<td>2025-07-30</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@vccAmountOnCard</td>\n<td>number</td>\n<td>N</td>\n<td>Amount on virtual card</td>\n<td>1000.00</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@vccCurrency</td>\n<td>string</td>\n<td>N</td>\n<td>Currency code [ISO-4217]</td>\n<td>USD</td>\n</tr>\n<tr>\n<td>1</td>\n<td>promoteCode</td>\n<td>string</td>\n<td>N</td>\n<td>Promotion code defined by the hotel</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>guests</td>\n<td>array[object]</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@firstName</td>\n<td>string</td>\n<td>Y</td>\n<td>Guest first name</td>\n<td>James</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@lastName</td>\n<td>string</td>\n<td>Y</td>\n<td>Guest last name</td>\n<td>Bond</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@email</td>\n<td>string</td>\n<td>N</td>\n<td>Guest email</td>\n<td><a href=\"https://mailto:007@james.com\">007@james.com</a></td>\n</tr>\n<tr>\n<td>2</td>\n<td>@phone</td>\n<td>string</td>\n<td>N</td>\n<td>Guest phone number</td>\n<td>34123456789</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@address</td>\n<td>string</td>\n<td>N</td>\n<td>Guest home address</td>\n<td>King's Road</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@age</td>\n<td>integer</td>\n<td>N</td>\n<td>Age of guest</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@gender</td>\n<td>enum</td>\n<td>N</td>\n<td>Enum: [Male, Female]</td>\n<td>Male</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@birthday</td>\n<td>string</td>\n<td>N</td>\n<td>Birthday yyyy-MM-dd</td>\n<td>1970-12-20</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@type</td>\n<td>string</td>\n<td>N</td>\n<td>Enum: [Adult, Child, Infant]</td>\n<td>/</td>\n</tr>\n<tr>\n<td>1</td>\n<td>comments</td>\n<td>array[string]</td>\n<td>N</td>\n<td>Any preference or comment</td>\n<td>[\"no smoking\",\"high floor\"]</td>\n</tr>\n<tr>\n<td>1</td>\n<td>roomRates</td>\n<td>array[object]</td>\n<td>Y</td>\n<td>Min Items: 1 Max Items: 1</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@roomId</td>\n<td>string</td>\n<td>Y</td>\n<td>Room ID in supplier's system</td>\n<td>10000101</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@rateId</td>\n<td>string</td>\n<td>Y</td>\n<td>Rate ID in supplier's system</td>\n<td>123456</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@currency</td>\n<td>string</td>\n<td>Y</td>\n<td>Currency code [ISO-4217]</td>\n<td>USD</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@amountBeforeTax</td>\n<td>array[number]</td>\n<td>N</td>\n<td>Daily rate without tax</td>\n<td>[100,100,120]</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@amountAfterTax</td>\n<td>array[number]</td>\n<td>C</td>\n<td>Daily rate with tax</td>\n<td>[110,110,130]</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@mealPlan</td>\n<td>string</td>\n<td>N</td>\n<td>Meal plan code</td>\n<td>RO</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"book-request-example\">Book Request Example</h4>\n<p><strong>Book Request Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"header\": {\n      \"supplierId\": \"HILTON\",\n      \"distributorId\": \"GTA\",\n      \"version\": \"v4\",\n      \"token\": \"18393849028490234\"\n    },\n    \"reservationIds\": {\n      \"distributorResId\": \"C2084DFL0\"\n    },\n    \"iata\": \"string\",\n    \"hotelId\": \"GATHI\",\n    \"stayRange\": {\n      \"checkin\": \"2028-01-01\",\n      \"checkout\": \"2028-01-04\"\n    },\n    \"contactPerson\": {\n      \"firstName\": \"Thomas\",\n      \"lastName\": \"Hintz\",\n      \"email\": \"Thomas.Hintz@yahoo.com\",\n      \"phone\": \"260-975-4091\",\n      \"address\": \"3946 Freddy Locks\"\n    },\n    \"roomCriteria\": {\n      \"adultCount\": 2,\n      \"childCount\": 1,\n      \"childAges\": [\n        5\n      ]\n    },\n    \"total\": {\n      \"amountBeforeTax\": 640,\n      \"amountAfterTax\": 700\n    },\n    \"payment\": {\n      \"cardType\": \"CC\",\n      \"cardCode\": \"VI\",\n      \"cardNumber\": \"4111111111111111\",\n      \"cardHolderName\": \"Sherlock Holmes\",\n      \"expireDate\": \"0119\",\n      \"securityCode\": \"123\",\n      \"vccEffectiveDate\": \"2028-01-01\",\n      \"vccInvalidDate\": \"2028-01-02\",\n      \"vccAmountOnCard\": 502.19,\n      \"vccCurrency\": \"USD\"\n    },\n    \"promoteCode\": \"string\",\n    \"guests\": [\n      {\n        \"firstName\": \"Thomas\",\n        \"lastName\": \"Hintz\",\n        \"email\": \"Thomas.Hintz@yahoo.com\",\n        \"phone\": \"260-975-4091\",\n        \"address\": \"3946 Freddy Locks\",\n        \"age\": 32,\n        \"gender\": \"Male\",\n        \"birthday\": \"1990-01-01\",\n        \"type\": \"Adult\"\n        }\n      },\n      {\n        \"firstName\": \"Hillary\",\n        \"lastName\": \"Ullrich\",\n        \"email\": \"Xavier.Lind49@yahoo.com\",\n        \"phone\": \"260-975-4091\",\n        \"address\": \"3946 Freddy Locks\",\n        \"age\": 28,\n        \"gender\": \"Female\",\n        \"birthday\": \"1994-01-01\",\n        \"type\": \"Adult\"\n      },\n      {\n        \"firstName\": \"Alex\",\n        \"lastName\": \"Hintz\",\n        \"age\": 5,\n        \"type\": \"Child\"\n      }\n    ],\n    \"comments\": [\n      \"no smoking\",\n      \"high floor\"\n    ],\n    \"roomRates\": [\n      {\n        \"roomId\": \"K1D\",\n        \"rateId\": \"ODAD01\",\n        \"currency\": \"USD\",\n        \"amountBeforeTax\": [\n          100,\n          100,\n          120\n        ],\n        \"amountAfterTax\": [\n          110,\n          110,\n          130\n        ],\n        \"mealPlan\": \"RO\",\n        \"paymentType\": \"PayNow\"\n  }\n\n</code></pre><h4 id=\"book-response-schema\">Book Response Schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>header</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@supplierId</td>\n<td>string</td>\n<td>Y</td>\n<td>The ID of the hotel supplier in Channel Manager's system. Max Length: 32</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@distributorId</td>\n<td>string</td>\n<td>Y</td>\n<td>The ID of iOLX in Channel Manager's system. Max Length: 32</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@version</td>\n<td>string</td>\n<td>Y</td>\n<td>Max Length: 20. Version of API</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@token</td>\n<td>string</td>\n<td>Y</td>\n<td>A unique identifier for each request and response, typically a UUID. Note that this is an echo token, not an access token. Max Length: 64</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>1</td>\n<td>reservationIds</td>\n<td>object</td>\n<td>Y</td>\n<td>/</td>\n<td>/</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@distributorResId</td>\n<td>string</td>\n<td>Y</td>\n<td>iOLX's reservation ID.</td>\n<td>C2084DFL0</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@ChannelManagerResId</td>\n<td>string</td>\n<td>N</td>\n<td>Reservation ID in Channel Manager system, this is a unique ID as Channel Manager should be splitting the reservation.</td>\n<td>D15F893D34DF</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@supplierResId</td>\n<td>string</td>\n<td>N</td>\n<td>Reservation ID in supplier's system</td>\n<td>89389494</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@value</td>\n<td>number</td>\n<td>Y</td>\n<td>/</td>\n<td>10</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@type</td>\n<td>enum</td>\n<td>Y</td>\n<td>Commission type. Enum: [Percent, Amount]</td>\n<td>Percent</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@amountBeforeTax</td>\n<td>number</td>\n<td>N</td>\n<td>/</td>\n<td>600</td>\n</tr>\n<tr>\n<td>2</td>\n<td>@amountAfterTax</td>\n<td>number</td>\n<td>Y</td>\n<td>/</td>\n<td>700</td>\n</tr>\n<tr>\n<td>1</td>\n<td>error</td>\n<td>string</td>\n<td>N</td>\n<td>error response</td>\n<td>Key not authorized</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorCode</td>\n<td>string</td>\n<td>C</td>\n<td>error response</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>1</td>\n<td>supplierErrorCode</td>\n<td>string</td>\n<td>C</td>\n<td>error response</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorMessage</td>\n<td>string</td>\n<td>C</td>\n<td>error response</td>\n<td>Invalid Message</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Note: Amount after Tax is mandatory as iOLX collects rates inclusive of taxes. Amount before tax is optional, and if not possible to provide either, do not pass this tag or send it with the same value as AmountAfterTax.</em></p>\n<p><strong>Book Response Example</strong></p>\n<p><strong>Success Response (HTTP Status 200)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n  \"supplierId\": \"HILTON\",\n  \"distributorId\": \"GTA\",\n  \"version\": \"v4\",\n  \"token\": \"18393849028490234\"\n  },\n  \"reservationIds\": {\n  \"distributorResId\": \"C2084DFL0\",\n  \"ChannelManagerResId\": \"D15F893D34DF\",\n  \"supplierResId\": \"89389494\"\n  }\n  }\n\n</code></pre><p><strong>Successful Response from Retail Rate Model(HTTP Status 200)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"reservationIds\": {\n    \"distributorResId\": \"C2084DFL0\",\n    \"ChannelManagerResId\": \"D15F893D34DF\",\n    \"supplierResId\": \"89389494\"\n  }\n}\n\n</code></pre><p><strong>Successful Response from Net Rate Model(HTTP Status 200)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"reservationIds\": {\n    \"distributorResId\": \"C2084DFL0\",\n    \"ChannelManagerResId\": \"D15F893D34DF\",\n    \"supplierResId\": \"89389494\"\n  }\n  }\n}\n\n</code></pre><p><strong>Error Response (HTTP Status 403)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"error\": \"Key not authorized\"\n}\n\n</code></pre><p><strong>Error Response (HTTP Status 500)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>        {\n  \"errorCode\": \"string\",\n  \"supplierErrorCode\": \"string\",\n  \"errorMessage\": \"string\"\n}\n\n</code></pre>","_postman_id":"4f2b1fff-8e3e-49bf-9c32-bf8e82916df6"},{"name":"Cancellation","item":[],"id":"f54d4a74-b35d-4221-99a2-697e8ff80bc1","description":"<h3 id=\"cancellation-api\">Cancellation API</h3>\n<p>The Cancel API enables iOLX to send cancellation requests to the Channel Manager, which then communicates with the hotel supplier’s system to cancel the booking in real time. Cancellations are performed using the supplier reservation identifier. Once the cancellation request is sent, iOLX receives immediate confirmation from the supplier’s system, ensuring the cancellation is processed and accurately reflected.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST /reservation/cancel HTTP/1.1\nURL: {BookingUSB-Endpoint}/reservation/cancel\nAuthorization: 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nContent-Type: application/json;charset=utf-8&lt;strong class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; &gt;\nCancellation Request Example&lt;/b&gt;\n\n</code></pre><h4 id=\"cancellation-request-schema\">Cancellation Request Schema</h4>\n<h4 id=\"request\">Request</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Required</th>\n<th>Data Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>header</td>\n<td>Y</td>\n<td>object</td>\n<td>Request header information</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>supplierId</td>\n<td>Y</td>\n<td>string</td>\n<td>The ID of the hotel supplier in Channel Manager's system. <strong>Max Length:</strong> 32</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>2</td>\n<td>distributorId</td>\n<td>Y</td>\n<td>string</td>\n<td>The ID of iOLX in Channel Manager's system. <strong>Max Length:</strong> 32</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>version</td>\n<td>Y</td>\n<td>string</td>\n<td>Version of API. <strong>Max Length:</strong> 20</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>2</td>\n<td>token</td>\n<td>Y</td>\n<td>string</td>\n<td>A unique identifier used for requests and responses (echo token, not an access token). <strong>Max Length:</strong> 64</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>1</td>\n<td>reservationIds</td>\n<td>Y</td>\n<td>object</td>\n<td>Reservation identifiers</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>distributorResId</td>\n<td>Y</td>\n<td>string</td>\n<td>iOLX’s reservation ID.</td>\n<td>C2084DFL0</td>\n</tr>\n<tr>\n<td>2</td>\n<td>ChannelManagerResId</td>\n<td>N</td>\n<td>string</td>\n<td>Reservation ID in ChannelManager’s system. Unique ID generated when a reservation is split</td>\n<td>D15F893D34DF</td>\n</tr>\n<tr>\n<td>2</td>\n<td>supplierResId</td>\n<td>N</td>\n<td>string</td>\n<td>Reservation ID in the supplier’s system</td>\n<td>89389494</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"cancellation-request-sample\">Cancellation Request Sample</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n        \"header\": {\n            \"supplierId\": \"HILTON\",\n            \"distributorId\": \"GTA\",\n            \"version\": \"v4\",\n            \"token\": \"18393849028490234\"\n        },\n        \"reservationIds\": {\n            \"distributorResId\": \"C2084DFL0\",\n            \"ChannelManagerResId\": \"D15F893D34DF\",\n            \"supplierResId\": \"89389494\"\n        }\n      }\n\n</code></pre><p>Cancellation Response Schema</p>\n<h4 id=\"response\">Response</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Required</th>\n<th>Data Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>header</td>\n<td>Y</td>\n<td>object</td>\n<td>Response header information</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>supplierId</td>\n<td>Y</td>\n<td>string</td>\n<td>The ID of the hotel supplier in Channel Manager's system. <strong>Max Length:</strong> 32</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>2</td>\n<td>distributorId</td>\n<td>Y</td>\n<td>string</td>\n<td>The ID of iOLX in Channel Manager's system. <strong>Max Length:</strong> 32</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>version</td>\n<td>Y</td>\n<td>string</td>\n<td>Version of API. <strong>Max Length:</strong> 20</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>2</td>\n<td>token</td>\n<td>Y</td>\n<td>string</td>\n<td>A unique identifier used for requests and responses (echo token, not an access token). <strong>Max Length:</strong> 64</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>1</td>\n<td>reservationIds</td>\n<td>Y</td>\n<td>object</td>\n<td>Reservation identifiers</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>distributorResId</td>\n<td>Y</td>\n<td>string</td>\n<td>iOLX's reservation ID.</td>\n<td>C2084DFL0</td>\n</tr>\n<tr>\n<td>2</td>\n<td>ChannelManagerResId</td>\n<td>Y</td>\n<td>string</td>\n<td>Reservation ID in Channel Manager’s system. Unique ID generated when a reservation is split</td>\n<td>D15F893D34DF</td>\n</tr>\n<tr>\n<td>2</td>\n<td>supplierResId</td>\n<td>Y</td>\n<td>string</td>\n<td>Reservation ID in the supplier’s system</td>\n<td>89389494</td>\n</tr>\n<tr>\n<td>2</td>\n<td>cancellationId</td>\n<td>Y</td>\n<td>string</td>\n<td>Cancellation confirmation number in the supplier’s system</td>\n<td>C89389494</td>\n</tr>\n<tr>\n<td>1</td>\n<td>error</td>\n<td>N</td>\n<td>string</td>\n<td>Error message</td>\n<td>Key not authorized</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorCode</td>\n<td>C</td>\n<td>string</td>\n<td>Platform error code</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>1</td>\n<td>supplierErrorCode</td>\n<td>C</td>\n<td>string</td>\n<td>Supplier-specific error code</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>1</td>\n<td>errorMessage</td>\n<td>C</td>\n<td>string</td>\n<td>Detailed error description</td>\n<td>Invalid Message</td>\n</tr>\n</tbody>\n</table>\n</div><p>Cancellation Response Example</p>\n<p><strong>Success Response (HTTP Status 200)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorid\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"reservationIds\": {\n    \"distributorResId\": \"C2084DFL0\",\n    \"ChannelManagerResId\": \"D15F893D34DF\",\n    \"supplierResId\": \"89389494\"\n  },\n  \"cancellationId\": \"C89389494\"\n}\n\n</code></pre><p><strong>Error Response (HTTP Status 403)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"error\": \"Key not authorized\"\n} \n\n</code></pre><p><strong>Error Response (HTTP Status 500)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>        {\n  \"errorCode\": \"string\",\n  \"supplierErrorCode\": \"string\",\n  \"errorMessage\": \"string\"\n}\n\n</code></pre>","_postman_id":"f54d4a74-b35d-4221-99a2-697e8ff80bc1"},{"name":"Query Reservation List","item":[],"id":"da7f393f-05f1-4857-a485-f308fb0fa2cc","description":"<h3 id=\"query-reservation-list-api\">Query Reservation List API</h3>\n<p>The <strong>Query Reservation List</strong> API allows iOLX to retrieve a list of reservations from both Channel Manager's system and the hotel supplier's system. The query is based on a specified date range of the reservation’s last modified date, ensuring that only relevant and updated reservation information is fetched. This API is essential for managing and tracking reservations over time, providing iOLX with up-to-date insights into their bookings. To ensure proper functionality, both Channel Manager and the hotel supplier must implement this API. By doing so, iOLX can query reservations across both systems, offering a comprehensive view of reservation statuses and updates, which is crucial for effective booking management.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST /reservations HTTP/1.1\nURL: {BookingUSB-Endpoint}/reservations\nAuthorization: 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nAccept-Encoding: gzip\nContent-Encoding: gzip\nContent-Type: application/json;charset=utf-8\n\n</code></pre><h4 id=\"reservation-list-request-schema\">Reservation List Request Schema</h4>\n<h4 id=\"request\">Request</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Required</th>\n<th>Data Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>header</td>\n<td>Y</td>\n<td>object</td>\n<td>Request header information</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>supplierId</td>\n<td>Y</td>\n<td>string</td>\n<td>The ID of the hotel supplier in Channel Manager's system. <strong>Max Length:</strong> 32</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>2</td>\n<td>distributorId</td>\n<td>Y</td>\n<td>string</td>\n<td>The ID of iOLX in Channel Manager's system. <strong>Max Length:</strong> 32</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>version</td>\n<td>Y</td>\n<td>string</td>\n<td>Version of API. <strong>Max Length:</strong> 20</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>2</td>\n<td>token</td>\n<td>Y</td>\n<td>string</td>\n<td>Unique identifier for request/response (echo token, not access token). <strong>Max Length:</strong> 64</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>1</td>\n<td>dateRange</td>\n<td>Y</td>\n<td>object</td>\n<td>Date range for last modified reservations</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>startDate</td>\n<td>Y</td>\n<td>string</td>\n<td>Start date of date range (YYYY-MM-DD)</td>\n<td>2028-01-01</td>\n</tr>\n<tr>\n<td>2</td>\n<td>endDate</td>\n<td>Y</td>\n<td>string</td>\n<td>End date of date range (YYYY-MM-DD)</td>\n<td>2028-01-04</td>\n</tr>\n<tr>\n<td>1</td>\n<td>hotelId</td>\n<td>N</td>\n<td>string</td>\n<td>Supplier hotel ID in Channel Manager's system</td>\n<td>GATHI</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"reservation-list-request-example\">Reservation List Request Example</h4>\n<p><strong>Reservation List Request Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"dateRange\": {\n    \"startDate\": \"2028-01-01\",\n    \"endDate\": \"2028-01-04\"\n  },\n  \"hotelId\": \"GATHI\"\n}\n\n</code></pre><h4 id=\"reservation-list-response-schema\">Reservation List Response Schema</h4>\n<h4 id=\"response\">Response</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Required</th>\n<th>Data Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>header</td>\n<td>Y</td>\n<td>object</td>\n<td>Response header information</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>supplierId</td>\n<td>Y</td>\n<td>string</td>\n<td>The ID of the hotel supplier in Channel Manager's system. <strong>Max Length:</strong> 32</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>2</td>\n<td>distributorId</td>\n<td>Y</td>\n<td>string</td>\n<td>The ID of iOLX in Channel Manager's system. <strong>Max Length:</strong> 32</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>version</td>\n<td>Y</td>\n<td>string</td>\n<td>Version of API. <strong>Max Length:</strong> 20</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>2</td>\n<td>token</td>\n<td>Y</td>\n<td>string</td>\n<td>Unique identifier for request/response (echo token, not access token). <strong>Max Length:</strong> 64</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>1</td>\n<td>reservations</td>\n<td>N</td>\n<td>array[object]</td>\n<td>List of reservations</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>reservationIds</td>\n<td>N</td>\n<td>object</td>\n<td>Reservation identifiers</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>iOLXResId</td>\n<td>Y</td>\n<td>string</td>\n<td>iOLX’s reservation ID.</td>\n<td>C2084DFL0</td>\n</tr>\n<tr>\n<td>3</td>\n<td>ChannelManagerResId</td>\n<td>Y</td>\n<td>string</td>\n<td>Reservation ID in Channel Manager’s system. Unique ID generated when reservations are split</td>\n<td>D15F893D34DF</td>\n</tr>\n<tr>\n<td>3</td>\n<td>supplierResId</td>\n<td>Y</td>\n<td>string</td>\n<td>Reservation ID in the supplier’s system</td>\n<td>89389494</td>\n</tr>\n<tr>\n<td>2</td>\n<td>iata</td>\n<td>N</td>\n<td>string</td>\n<td>IATA code of iOLX</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>hotelId</td>\n<td>Y</td>\n<td>string</td>\n<td>Supplier hotel ID. Allowed characters: digits (0–9), uppercase letters (A–Z), hyphen (-)</td>\n<td>GATHI</td>\n</tr>\n<tr>\n<td>2</td>\n<td>stayRange</td>\n<td>Y</td>\n<td>object</td>\n<td>Stay date range</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>checkin</td>\n<td>Y</td>\n<td>string</td>\n<td>Check-in date (YYYY-MM-DD)</td>\n<td>2028-01-01</td>\n</tr>\n<tr>\n<td>3</td>\n<td>checkout</td>\n<td>Y</td>\n<td>string</td>\n<td>Check-out date (YYYY-MM-DD)</td>\n<td>2028-01-04</td>\n</tr>\n<tr>\n<td>2</td>\n<td>roomCriteria</td>\n<td>Y</td>\n<td>object</td>\n<td>Room criteria</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>roomCount</td>\n<td>Y</td>\n<td>integer</td>\n<td>Total room count</td>\n<td>2</td>\n</tr>\n<tr>\n<td>3</td>\n<td>adultCount</td>\n<td>Y</td>\n<td>integer</td>\n<td>Adult count per room</td>\n<td>1</td>\n</tr>\n<tr>\n<td>3</td>\n<td>childCount</td>\n<td>N</td>\n<td>integer</td>\n<td>Child count per room</td>\n<td>2</td>\n</tr>\n<tr>\n<td>3</td>\n<td>childAges</td>\n<td>N</td>\n<td>array</td>\n<td>Child ages. Array size must match childCount</td>\n<td>[4, 8]</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>total</td>\n<td>Y</td>\n<td>object</td>\n<td>Total price information</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>amountBeforeTax</td>\n<td>C</td>\n<td>number</td>\n<td>Amount before tax (mandatory if amountAfterTax is not provided)</td>\n<td>640</td>\n</tr>\n<tr>\n<td>3</td>\n<td>amountAfterTax</td>\n<td>Y</td>\n<td>number</td>\n<td>Amount after tax (mandatory if amountBeforeTax is not provided)</td>\n<td>700</td>\n</tr>\n<tr>\n<td>2</td>\n<td>commission</td>\n<td>N</td>\n<td>object</td>\n<td>Commission details. Visible only for <strong>Exchange + Retail</strong> rate model</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>value</td>\n<td>Y</td>\n<td>number</td>\n<td>Commission value</td>\n<td>10</td>\n</tr>\n<tr>\n<td>3</td>\n<td>type</td>\n<td>Y</td>\n<td>enum</td>\n<td>Commission type. <strong>Enum:</strong> [Percent, Amount]</td>\n<td>Percent</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>amountBeforeTax</td>\n<td>N</td>\n<td>number</td>\n<td>Suggested amount before tax</td>\n<td>600</td>\n</tr>\n<tr>\n<td>3</td>\n<td>amountAfterTax</td>\n<td>Y</td>\n<td>number</td>\n<td>Suggested amount after tax</td>\n<td>700</td>\n</tr>\n<tr>\n<td>2</td>\n<td>status</td>\n<td>Y</td>\n<td>enum</td>\n<td>Reservation status. <strong>Enum:</strong> [Confirmed, Modified, Cancelled]</td>\n<td>Confirmed</td>\n</tr>\n<tr>\n<td>2</td>\n<td>cancellationId</td>\n<td>N</td>\n<td>string</td>\n<td>Cancellation confirmation number in supplier’s system</td>\n<td>C89389494</td>\n</tr>\n<tr>\n<td>2</td>\n<td>result</td>\n<td>Y</td>\n<td>enum</td>\n<td>Reservation processing result. <strong>Enum:</strong> [Successful, Failed, Processing]</td>\n<td>Successful</td>\n</tr>\n<tr>\n<td>2</td>\n<td>failCause</td>\n<td>C</td>\n<td>object</td>\n<td>Failure details. Visible only if result = Failed</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>errorCode</td>\n<td>C</td>\n<td>string</td>\n<td>Platform error code (refer to Error Code Appendix)</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>3</td>\n<td>supplierErrorCode</td>\n<td>C</td>\n<td>string</td>\n<td>Supplier-specific error code</td>\n<td>InvalidField</td>\n</tr>\n<tr>\n<td>3</td>\n<td>errorMessage</td>\n<td>C</td>\n<td>string</td>\n<td>Error message</td>\n<td>Invalid Message</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Note: Amount after Tax is mandatory as iOLX collects rates inclusive of taxes. Amount before tax is optional, and if not possible to provide either, do not pass this tag or send it with the same value as AmountAfterTax.</em></p>\n<p><strong>Reservation List Response Example</strong></p>\n<p><strong>Success Response (HTTP Status 200)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"reservations\": [\n    {\n      \"reservationIds\": {\n        \"distributorResId\": \"C2084DFL0\",\n        \"ChannelManagerResId\": \"D15F893D34DF\",\n        \"supplierResId\": \"89389494\"\n      },\n      \"iata\": \"string\",\n      \"hotelId\": \"GATHI\",\n      \"stayRange\": {\n        \"checkin\": \"2028-01-01\",\n        \"checkout\": \"2028-01-04\"\n      },\n      \"roomCriteria\": {\n        \"roomCount\": 2,\n        \"adultCount\": 1,\n        \"childCount\": 2,\n        \"childAges\": [\n          4,\n          8\n        ]\n      },\n      \"total\": {\n        \"amountBeforeTax\": 640,\n        \"amountAfterTax\": 700\n      },\n      \"status\": \"Confirmed\",\n      \"cancellationId\": \"C89389494\",\n      \"result\": \"Successful\",\n      \"failCause\": {\n        \"errorCode\": \"string\",\n        \"supplierErrorCode\": \"string\",\n        \"errorMessage\": \"string\"\n      }\n    }\n  ]\n}\n\n</code></pre><p><strong>Successful Response from Retail Rate Model(HTTP Status 200)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"reservations\": [\n    {\n      \"reservationIds\": {\n        \"distributorResId\": \"C2084DFL0\",\n        \"ChannelManagerResId\": \"D15F893D34DF\",\n        \"supplierResId\": \"89389494\"\n      },\n      \"iata\": \"string\",\n      \"hotelId\": \"GATHI\",\n      \"stayRange\": {\n        \"checkin\": \"2028-01-01\",\n        \"checkout\": \"2028-01-04\"\n      },\n      \"contactPerson\": {\n        \"firstName\": \"James\",\n        \"lastName\": \"Bond\",\n        \"email\": \"007@james.com\",\n        \"phone\": \"string\",\n        \"address\": \"string\"\n      },\n      \"roomCriteria\": {\n        \"roomCount\": 2,\n        \"adultCount\": 1,\n        \"childCount\": 2,\n        \"childAges\": [\n          4,\n          8\n        ]\n      },\n      \"total\": {\n        \"amountBeforeTax\": 640,\n        \"amountAfterTax\": 700\n      },\n      \"commission\": {\n        \"value\": 10,\n        \"type\": \"Percent\"\n      },\n      \"status\": \"Confirmed\",\n      \"cancellationId\": \"C89389494\",\n      \"result\": \"Successful\"\n    }\n  ]\n}\n\n</code></pre><p><strong>Successful Response from Net Rate Model(HTTP Status 200)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"reservations\": [\n    {\n      \"reservationIds\": {\n        \"distributorResId\": \"C2084DFL0\",\n        \"ChannelManagerResId\": \"D15F893D34DF\",\n        \"supplierResId\": \"89389494\"\n      },\n      \"iata\": \"string\",\n      \"hotelId\": \"GATHI\",\n      \"stayRange\": {\n        \"checkin\": \"2028-01-01\",\n        \"checkout\": \"2028-01-04\"\n      },\n      \"contactPerson\": {\n        \"firstName\": \"James\",\n        \"lastName\": \"Bond\",\n        \"email\": \"007@james.com\",\n        \"phone\": \"string\",\n        \"address\": \"string\"\n      },\n      \"roomCriteria\": {\n        \"roomCount\": 2,\n        \"adultCount\": 1,\n        \"childCount\": 2,\n        \"childAges\": [\n          4,\n          8\n        ]\n      },\n      \"total\": {\n        \"amountBeforeTax\": 640,\n        \"amountAfterTax\": 700\n      },\n      \"status\": \"Confirmed\",\n      \"cancellationId\": \"C89389494\",\n      \"result\": \"Successful\"\n    }\n  ]\n}\n\n</code></pre><p><strong>Error Response (HTTP Status 403)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"error\": \"Key not authorized\"\n}\n\n</code></pre><p><strong>Error Response (HTTP Status 500)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>        {\n  \"errorCode\": \"InvalidField\",\n  \"errorMessage\": \"Invalid Message\"\n}\n\n</code></pre>","_postman_id":"da7f393f-05f1-4857-a485-f308fb0fa2cc"},{"name":"Query Reservation Details","item":[],"id":"8df5c39d-0d5e-4b30-b935-73036200a541","description":"<p>The <strong>Query Reservation Detail</strong> API allows iOLX to retrieve detailed information about existing bookings, including the current status of the reservation. The possible statuses include confirmed, modified, or cancelled, helping iOLX track the progress and changes to the booking. This API provides a comprehensive view of individual reservations, allowing iOLX to access key details such as guest information, room types, booking dates, and other important data. This API is essential for efficient reservation management, giving iOLX the ability to stay informed about the status and details of each booking, enabling it to take appropriate actions when necessary.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST /reservation/detail HTTP/1.1\nURL: {BookingUSB-Endpoint}/reservation/detail\nAuthorization: 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc\nAccept-Encoding: gzip\nContent-Encoding: gzip\nContent-Type: application/json;charset=utf-8\n\n</code></pre><h2 id=\"reservation-details-request-schema\">Reservation Details Request Schema</h2>\n<h3 id=\"request-post\">Request (POST)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Required</th>\n<th>Data Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>header</td>\n<td>Y</td>\n<td>object</td>\n<td>Request header information</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>supplierId</td>\n<td>Y</td>\n<td>string</td>\n<td>The ID of the hotel supplier in the Channel Manager’s system. <strong>Max Length:</strong> 32</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>2</td>\n<td>distributorId</td>\n<td>Y</td>\n<td>string</td>\n<td>The ID of iOLX in the Channel Manager’s system. <strong>Max Length:</strong> 32</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>version</td>\n<td>Y</td>\n<td>string</td>\n<td>Version of API. <strong>Max Length:</strong> 20</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>2</td>\n<td>token</td>\n<td>Y</td>\n<td>string</td>\n<td>Unique identifier for request/response (echo token, not access token). <strong>Max Length:</strong> 64</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>1</td>\n<td>reservationIds</td>\n<td>Y</td>\n<td>object</td>\n<td>Reservation identifiers</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>distributorResId</td>\n<td>Y</td>\n<td>string</td>\n<td>iOLX’s reservation ID</td>\n<td>C2084DFL0</td>\n</tr>\n<tr>\n<td>2</td>\n<td>channelManagerResId</td>\n<td>N</td>\n<td>string</td>\n<td>Reservation ID in Channel Manager’s system. Unique ID generated if reservations are split</td>\n<td>D15F893D34DF</td>\n</tr>\n<tr>\n<td>2</td>\n<td>supplierResId</td>\n<td>N</td>\n<td>string</td>\n<td>Reservation ID in supplier’s system</td>\n<td>89389494</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"reservation-details-request-example\">Reservation Details Request Example</h4>\n<p><strong>Reservation Details Request Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"header\": {\n      \"supplierId\": \"HILTON\",\n      \"distributorId\": \"GTA\",\n      \"version\": \"v4\",\n      \"token\": \"18393849028490234\"\n    },\n    \"reservationIds\": {\n      \"distributorResId\": \"C2084DFL0\",\n      \"ChannelManagerResId\": \"D15F893D34DF\",\n      \"supplierResId\": \"89389494\"\n    }\n  }\n\n</code></pre><h2 id=\"reservation-details-response-schema\">Reservation Details Response Schema</h2>\n<h3 id=\"response\">Response</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Field Name</th>\n<th>Required</th>\n<th>Data Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>header</td>\n<td>Y</td>\n<td>object</td>\n<td>Response header information</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>supplierId</td>\n<td>Y</td>\n<td>string</td>\n<td>Hotel supplier ID in the Channel Manager system. <strong>Max Length:</strong> 32</td>\n<td>HILTON</td>\n</tr>\n<tr>\n<td>2</td>\n<td>distributorId</td>\n<td>Y</td>\n<td>string</td>\n<td>iOLX ID in the Channel Manager system. <strong>Max Length:</strong> 32</td>\n<td>GTA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>version</td>\n<td>Y</td>\n<td>string</td>\n<td>API version. <strong>Max Length:</strong> 20</td>\n<td>v4</td>\n</tr>\n<tr>\n<td>2</td>\n<td>token</td>\n<td>Y</td>\n<td>string</td>\n<td>Echo token for request/response. <strong>Max Length:</strong> 64</td>\n<td>18393849028490234</td>\n</tr>\n<tr>\n<td>1</td>\n<td>reservations</td>\n<td>N</td>\n<td>array[object]</td>\n<td>Reservation details</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>reservationIds</td>\n<td>N</td>\n<td>object</td>\n<td>Reservation identifiers</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>distributorResId</td>\n<td>Y</td>\n<td>string</td>\n<td>iOLX reservation ID</td>\n<td>C2084DFL0</td>\n</tr>\n<tr>\n<td>3</td>\n<td>ChannelManagerResId</td>\n<td>Y</td>\n<td>string</td>\n<td>Channel manager reservation ID</td>\n<td>D15F893D34DF</td>\n</tr>\n<tr>\n<td>3</td>\n<td>supplierResId</td>\n<td>Y</td>\n<td>string</td>\n<td>Supplier reservation ID</td>\n<td>89389494</td>\n</tr>\n<tr>\n<td>2</td>\n<td>iata</td>\n<td>N</td>\n<td>string</td>\n<td>iOLX IATA code</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>hotelId</td>\n<td>Y</td>\n<td>string</td>\n<td>Supplier hotel ID (A–Z, 0–9, <code>-</code>)</td>\n<td>GATHI</td>\n</tr>\n<tr>\n<td>2</td>\n<td>stayRange</td>\n<td>Y</td>\n<td>object</td>\n<td>Stay date range</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>checkin</td>\n<td>Y</td>\n<td>string</td>\n<td>Check-in date (YYYY-MM-DD)</td>\n<td>2028-01-01</td>\n</tr>\n<tr>\n<td>3</td>\n<td>checkout</td>\n<td>Y</td>\n<td>string</td>\n<td>Check-out date (YYYY-MM-DD)</td>\n<td>2028-01-04</td>\n</tr>\n<tr>\n<td>2</td>\n<td>roomCriteria</td>\n<td>Y</td>\n<td>object</td>\n<td>Room criteria</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>roomCount</td>\n<td>Y</td>\n<td>integer</td>\n<td>Total rooms</td>\n<td>2</td>\n</tr>\n<tr>\n<td>3</td>\n<td>adultCount</td>\n<td>Y</td>\n<td>integer</td>\n<td>Adults per room</td>\n<td>1</td>\n</tr>\n<tr>\n<td>3</td>\n<td>childCount</td>\n<td>N</td>\n<td>integer</td>\n<td>Children per room</td>\n<td>2</td>\n</tr>\n<tr>\n<td>3</td>\n<td>childAges</td>\n<td>N</td>\n<td>array</td>\n<td>Child ages</td>\n<td>[4, 8]</td>\n</tr>\n<tr>\n<td>2</td>\n<td>total</td>\n<td>Y</td>\n<td>object</td>\n<td>Total price</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>amountBeforeTax</td>\n<td>N</td>\n<td>number</td>\n<td>Amount before tax</td>\n<td>640</td>\n</tr>\n<tr>\n<td>3</td>\n<td>amountAfterTax</td>\n<td>Y</td>\n<td>number</td>\n<td>Amount after tax</td>\n<td>700</td>\n</tr>\n<tr>\n<td>2</td>\n<td>commission</td>\n<td>N</td>\n<td>object</td>\n<td>Visible for <strong>Exchange + Retail</strong> rate model</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>value</td>\n<td>N</td>\n<td>number</td>\n<td>Commission value</td>\n<td>10</td>\n</tr>\n<tr>\n<td>3</td>\n<td>type</td>\n<td>N</td>\n<td>enum</td>\n<td><strong>Enum:</strong> [Percent, Amount]</td>\n<td>Percent</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>promoteCode</td>\n<td>N</td>\n<td>string</td>\n<td>Promotion code</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>comments</td>\n<td>N</td>\n<td>array[string]</td>\n<td>Guest preferences/comments</td>\n<td>[\"no smoking\", \"high floor\"]</td>\n</tr>\n<tr>\n<td>2</td>\n<td>roomRates</td>\n<td>Y</td>\n<td>array[object]</td>\n<td>Room rate details (min 1, max 1)</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>roomId</td>\n<td>Y</td>\n<td>string</td>\n<td>Supplier room ID</td>\n<td>10000101</td>\n</tr>\n<tr>\n<td>3</td>\n<td>rateId</td>\n<td>Y</td>\n<td>string</td>\n<td>Supplier rate ID</td>\n<td>123456</td>\n</tr>\n<tr>\n<td>3</td>\n<td>currency</td>\n<td>Y</td>\n<td>string</td>\n<td>ISO-4217 currency</td>\n<td>USD</td>\n</tr>\n<tr>\n<td>3</td>\n<td>amountBeforeTax</td>\n<td>N</td>\n<td>array[number]</td>\n<td>Daily rate before tax</td>\n<td>[100,100,120]</td>\n</tr>\n<tr>\n<td>3</td>\n<td>amountAfterTax</td>\n<td>N</td>\n<td>array[number]</td>\n<td>Daily rate after tax</td>\n<td>[110,110,130]</td>\n</tr>\n<tr>\n<td>3</td>\n<td>mealPlan</td>\n<td>N</td>\n<td>string</td>\n<td>Meal plan code</td>\n<td>RO</td>\n</tr>\n<tr>\n<td>3</td>\n<td>paymentType</td>\n<td>N</td>\n<td>enum</td>\n<td><strong>Enum:</strong> [PayLater, PayNow]</td>\n<td>PayNow</td>\n</tr>\n<tr>\n<td>3</td>\n<td>guarantee</td>\n<td>N</td>\n<td>object</td>\n<td>Guarantee details</td>\n<td></td>\n</tr>\n<tr>\n<td>4</td>\n<td>guaranteeType</td>\n<td>C</td>\n<td>string</td>\n<td>Guarantee type</td>\n<td>CCG</td>\n</tr>\n<tr>\n<td>3</td>\n<td>fees</td>\n<td>N</td>\n<td>array[object]</td>\n<td>Fees and taxes</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>cancelPolicy</td>\n<td>N</td>\n<td>object</td>\n<td>Cancellation policy</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>bookingChannel</td>\n<td>N</td>\n<td>string</td>\n<td>Sub-distributor ID</td>\n<td></td>\n</tr>\n<tr>\n<td>2</td>\n<td>status</td>\n<td>Y</td>\n<td>enum</td>\n<td><strong>Enum:</strong> [Confirmed, Modified, Cancelled]</td>\n<td>Confirmed</td>\n</tr>\n<tr>\n<td>2</td>\n<td>cancellationId</td>\n<td>N</td>\n<td>string</td>\n<td>Supplier cancellation ID</td>\n<td>C89389494</td>\n</tr>\n<tr>\n<td>2</td>\n<td>result</td>\n<td>Y</td>\n<td>enum</td>\n<td><strong>Enum:</strong> [Successful, Failed, Processing]</td>\n<td>Successful</td>\n</tr>\n<tr>\n<td>2</td>\n<td>failCause</td>\n<td>N</td>\n<td>object</td>\n<td>Failure details (if failed)</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>errorCode</td>\n<td>Y</td>\n<td>string</td>\n<td>Platform error code</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>supplierErrorCode</td>\n<td>N</td>\n<td>string</td>\n<td>Supplier error code</td>\n<td></td>\n</tr>\n<tr>\n<td>3</td>\n<td>errorMessage</td>\n<td>Y</td>\n<td>string</td>\n<td>Error message</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Note: Amount after Tax is mandatory as iOLX collects rates inclusive of taxes. Amount before tax is optional, and if not possible to provide either, do not pass this tag or send it with the same value as AmountAfterTax.</em><br />**<br />Reservation Details Response Example**</p>\n<p><strong>Success Response (HTTP Status 200)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"header\": {\n    \"supplierId\": \"HILTON\",\n    \"distributorId\": \"GTA\",\n    \"version\": \"v4\",\n    \"token\": \"18393849028490234\"\n  },\n  \"reservations\": [\n    {\n      \"reservationIds\": {\n        \"iOLXResId\": \"C2084DFL0\",\n        \"ChannelManagerResId\": \"D15F893D34DF\",\n        \"supplierResId\": \"89389494\"\n      },\n      \"iata\": \"string\",\n      \"hotelId\": \"GATHI\",\n      \"stayRange\": {\n        \"checkin\": \"2028-01-01\",\n        \"checkout\": \"2028-01-04\"\n      },\n      \"roomCriteria\": {\n        \"roomCount\": 2,\n        \"adultCount\": 1,\n        \"childCount\": 2,\n        \"childAges\": [\n          4,\n          8\n        ]\n      },\n      \"total\": {\n        \"amountBeforeTax\": 640,\n        \"amountAfterTax\": 700\n      },\n      \"commission\": {\n        \"value\": 10,\n        \"type\": \"Percent\"\n      },\n      \"promoteCode\": \"string\",\n      \"comments\": [\n        \"no smoking\",\n        \"high floor\"\n      ],\n      \"roomRates\": [\n        {\n          \"roomId\": \"K1D\",\n          \"rateId\": \"ODAD01\",\n          \"currency\": \"USD\",\n          \"amountBeforeTax\": [\n            100,\n            100,\n            120\n          ],\n          \"amountAfterTax\": [\n            110,\n            110,\n            130\n          ],\n          \"mealPlan\": \"RO\",\n          \"paymentType\": \"PayNow\",\n          \"guarantee\": {\n            \"guaranteeType\": \"CCG\"\n          },\n          \"fees\": [\n            {\n              \"dateRange\": {\n                \"startDate\": \"2028-01-01\",\n                \"endDate\": \"2028-01-04\"\n              },\n              \"fee\": {\n                \"name\": \"Service Charge\",\n                \"type\": \"Exclusive\",\n                \"amount\": 10,\n                \"amountType\": \"Percent\",\n                \"chargeType\": \"PerRoomPerNight\",\n                \"paymentType\": \"PayNow\",\n                \"collectBy\": \"Distributor\",\n                \"effectivePerson\": 0\n              }\n            },\n            {\n              \"dateRange\": {\n                \"startDate\": \"2028-01-01\",\n                \"endDate\": \"2028-01-04\"\n              },\n              \"fee\": {\n                \"name\": \"City Tax\",\n                \"type\": \"Exclusive\",\n                \"amount\": 5,\n                \"amountType\": \"Fix\",\n                \"chargeType\": \"PerPersonPerNight\",\n                \"paymentType\": \"PayLater\",\n                \"collectBy\": \"Property\",\n                \"effectivePerson\": 0\n              }\n            }\n          ],\n          \"cancelPolicy\": {\n            \"code\": \"AD100P_100P\",\n            \"description\": \"Non Refundable\",\n            \"cancelPenalties\": [\n              {\n                \"noShow\": true,\n                \"cancellable\": true,\n                \"cancelDeadline\": {\n                  \"offsetTimeDropType\": \"BeforeArrival\",\n                  \"offsetTimeUnit\": \"D\",\n                  \"offsetTimeValue\": 0,\n                  \"deadline\": \"string\"\n                },\n                \"penaltyCharge\": {\n                  \"chargeBase\": \"FullStay\",\n                  \"nights\": 0,\n                  \"amount\": 0,\n                  \"percent\": 0\n                }\n              }\n            ]\n          }\n        }\n      ],\n      \"bookingChannel\": \"string\",\n      \"status\": \"Confirmed\",\n      \"cancellationId\": \"C89389494\",\n      \"result\": \"Successful\",\n      \"failCause\": {\n        \"errorCode\": \"string\",\n        \"supplierErrorCode\": \"string\",\n        \"errorMessage\": \"string\"\n      }\n    }\n  ]\n}\n\n</code></pre><p><strong>Error Response (HTTP Status 403)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"error\": \"Key not authorized\"\n}\n\n</code></pre><p><strong>Error Response (HTTP Status 500)</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>        {\n  \"errorCode\": \"InvalidField\",\n  \"errorMessage\": \"Invalid Message\"\n}\n\n</code></pre>","_postman_id":"8df5c39d-0d5e-4b30-b935-73036200a541"}]}