{"info":{"_postman_id":"38c40127-a148-4b56-8a2c-f0bf11a04e52","name":"Agoda.com API Specs","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"11110788","collectionId":"38c40127-a148-4b56-8a2c-f0bf11a04e52","publishedId":"SzmcZyT3","public":true,"customColor":{"top-bar":"042338","right-sidebar":"303030","highlight":"044A76"},"publishDate":"2020-05-07T13:21:26.000Z"},"item":[{"name":"YCS5 API Specs","item":[{"name":"Multi Occupancy","item":[{"name":"SetARI V2","id":"06d184e9-a3e3-4566-be36-b9f1b6f67751","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1436931804\" type=\"10\">\n    <criteria property_id=\"1949542\">\n        <inventory>\n            <update room_id=\"5478687\">\n                <date_range from=\"2022-06-01\" to=\"2022-06-30\">\n                    <dow>1</dow>\n                    <dow>2</dow>\n                    <dow>3</dow>\n                    <dow>4</dow>\n                    <dow>5</dow>\n                    <dow>6</dow>\n                    <dow>7</dow>\n                </date_range>\n                <allotment>9</allotment>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>true</cta>\n                </restrictions>\n            </update>\n        </inventory>\n        <rate>\n            <update room_id=\"5478687\" rateplan_id=\"119017\">\n                <date_values>\n                    <value>2019-06-30</value>\n                </date_values>\n                <prices currency=\"THB\">\n                    <normal>\n                        <occupancy person=\"1\" price=\"1000.0\" />\n                        <occupancy person=\"2\" price=\"1200.0\" />\n                        <occupancy person=\"3\" price=\"1400.0\" />\n                        <occupancy person=\"4\" price=\"1600.0\" />\n                        <occupancy person=\"5\" price=\"1800.0\" />\n                    </normal>\n                    <extra_bed>200.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                    <staythrough>\n                        <min>2</min>\n                    </staythrough>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>"},"url":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","description":"<h1 id=\"xml-elements-and-attributes\">XML Elements and Attributes</h1>\n<h2 id=\"setarirq\">SetAriRQ</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Request</h5> Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1483526410357<br />(GMT: Wed, 04 Jan 2017 10:40:10.357)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time provided must correspond with the time in the originating system and in EPOCH. System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td>Type</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>This number identifies a particular<br />request:<br />1 SetAri<br />2 GetAri<br />3 GetBookingList<br />4 GetBookingDetail<br />5 GetProduct<br />8 SetProduct<br />9 GetBookingListV2</td>\n  </tr>\n  <tr>\n    <td><h5>Criteria</h5> Property Id</td>\n    <td>String Length 1-8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>123</td>\n    <td>Every request must contain a valid property ID that partner has access to. Every property has a unique ID in Agoda and every Channel Manager partner has to have the access to this specific property via an authorized API key.</td>\n  </tr>\n  <tr>\n    <td><h5>Inventory</h5> Update room_id</td>\n    <td>Numeric Length 1-8</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>72027</td>\n    <td>This is the Agoda room ID related to the property inventory element. Agoda active Room IDs can be returned with Getproduct request. If no room is specified in the request, all active Rooms will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>date_range from to</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>2016-04-02</td>\n    <td>Date Range information for request. From = inclusive start date for the inventory request To = inclusive end date for the inventory request</td>\n  </tr>\n  <tr>\n    <td>dow</td>\n    <td>Numeric Length 1-7</td>\n    <td>1 to 7</td>\n    <td>N</td>\n    <td>1</td>\n    <td>Denotes the day of the week which needs to be updated via the SetAri request: <br />1 = Monday <br />2 = Tuesday <br />3 = Wednesday <br />4 = Thursday <br />5 = Friday <br />6 = Saturday <br />7 = Sunday<br />Note: DOW can only be used in conjunction with date_range</td>\n  </tr>\n  <tr>\n    <td>allotment</td>\n    <td>Numeric length 1-3</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2</td>\n    <td>Controls if room type is open for sale or closed to sale. Close will stop room type regular inventory being sold even if inventory is available. Guaranteed inventory is still available for sale if close is applied.</td>\n  </tr>\n  <tr>\n    <td><h5>Restrictions</h5> closed</td>\n    <td>boolean</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>TRUE or 1</td>\n    <td>Controls if room type is open for sale or closed to sale. Close will stop room type regular inventory being sold even if inventory is available. Guaranteed inventory is still available for sale if close is applied.</td>\n  </tr>\n  <tr>\n    <td>ctd</td>\n    <td>boolean</td>\n    <td>1</td>\n    <td>N</td>\n    <td>FALSE or 0</td>\n    <td>Set to make room type open for departure for this date or closed for departure on this date. Customer can still stay through this date if they depart on future date. Not mandatory and if element not sent, Close to Departure status in extranet remains same as current.</td>\n  </tr>\n  <tr>\n    <td>cta</td>\n    <td>boolean</td>\n    <td></td>\n    <td>N</td>\n    <td>FALSE or 0</td>\n    <td>Set to make room type open for arrival for this date or closed for arrival on this date. Customer can still stay through this date if they arrive on past date. Not mandatory and if element not sent, Close to Arrival status in extranet remains same as current.</td>\n  </tr>\n  <tr>\n    <td><h5>Rate</h5> Update room_id</td>\n    <td>Numeric Length 1-8</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>72027</td>\n    <td>This is the Agoda room ID related to the property inventory element. Agoda active Room IDs can be returned with Getproduct request. If no room is specified in the request, all active Rooms will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>Rateplan_id</td>\n    <td>Numeric Length 1-6</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>1 to 6</td>\n    <td>This is the Agoda Rateplan ID related to a particular offer active on a room. Agoda active Rate Type IDs can be returned with Getproduct request. If no Rateplan ID is specified in the request, all active Rateplans will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>Date_values value</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>1 to 31</td>\n    <td>Y</td>\n    <td></td>\n    <td>Maximum 31 date values can be set in the request. Alternatively, the date_range from/to can be used at this point of the request.</td>\n  </tr>\n  <tr>\n    <td><h5>prices</h5> currency</td>\n    <td>Alpha 3</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>THB</td>\n    <td>The Currency must match with the property currency.</td>\n  </tr>\n  <tr>\n    <td><h5>Normal Default</h5></td>\n    <td>Numeric Length 1-9</td>\n    <td>1</td>\n    <td>N</td>\n    <td>250.0</td>\n    <td>The rate is applied to all occupancies</td>\n  </tr>\n  <tr>\n    <td>Normal Occupancy Person</td>\n    <td>Numeric</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>300.0</td>\n    <td>Number of occupancies the price will applied to.</td>\n  </tr>\n  <tr>\n    <td>Normal Occupancy Price</td>\n    <td>Numeric Length 1-9</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>350.0</td>\n    <td>The price for the specified occupancy.</td>\n  </tr>\n  <tr>\n    <td>deviation base_price</td>\n    <td>Numeric Length 1-9</td>\n    <td>1</td>\n    <td>N</td>\n    <td>400.0</td>\n    <td>This price is use as the base for the deviation (amount or percentage) of each occupancy.</td>\n  </tr>\n  <tr>\n    <td>deviation occupancy percentage</td>\n    <td>Numeric Lenght 1-9</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>10</td>\n    <td>The deviation in percentage for the specified occupancy.</td>\n  </tr>\n<tr>\n    <td>deviation occupancy ammount</td>\n    <td>Numeric Lenght 1-9</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>10.0/td&gt;\n    </td><td>The deviation in ammount for the specified occupancy.</td>\n  </tr>\n  <tr>\n    <td>Extra bed</td>\n    <td>Numeric nnn.nn</td>\n    <td>1</td>\n    <td>N</td>\n    <td>100.0/td&gt;\n    </td><td>This rate is used as the extra bed rate and is available to all hotel occupancy models. ‘0’ extra bed rate indicates extra bed is not available for sale for the specified room, rateplan and date (closed for sale). Extra bed rate can only be set if num_extrabed is set to ‘1’ or more.</td>\n  </tr>\n  <tr>\n    <td><h5>child_rates</h5> child_rate price</td>\n    <td>Numeric nnn.nn</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>200.0</td>\n    <td>This is the rate amount for the child pricing for the specific age band. ‘0’ child price rate indicates the child will not be charged for the specified room, rateplan and date.</td>\n  </tr>\n  <tr>\n    <td>child_rate age_band_code</td>\n    <td>Numeric</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>2</td>\n    <td>This is the code used to uniquely identify the child age band.</td>\n  </tr>\n  <tr>\n    <td><h5>Restrictions</h5> closed</td>\n    <td>boolean</td>\n    <td>1</td>\n    <td>N</td>\n    <td>TRUE or 1</td>\n    <td>Controls if room type is open for sale or closed to sale. Close will stop room type regular inventory being sold even if inventory is available. Guaranteed inventory is still available for sale if close is applied. Not mandatory and if element not sent, close out status in extranet remains same as current.</td>\n  </tr>\n  <tr>\n    <td>ctd</td>\n    <td>boolean</td>\n    <td>1</td>\n    <td>N</td>\n    <td>FALSE or 0</td>\n    <td>Set to make rate type open for departure for this date or closed for departure on this date. Customer can still stay through this date if they depart on future date. Not mandatory and if element not sent, Close to Departure status in extranet remains same as current.</td>\n  </tr>\n  <tr>\n    <td>cta</td>\n    <td>boolean</td>\n    <td>1</td>\n    <td>N</td>\n    <td>FALSE or 0</td>\n    <td>Set to make rate type open for arrival for this date or closed for arrival on this date. Customer can still stay through this date if they arrive on past date. Not mandatory and if element not sent, Close to Arrival status in extranet remains same as current.</td>\n  </tr>\n  <tr>\n    <td><h5>LOS</h5> min</td>\n    <td>Numeric length 1-2</td>\n    <td>1</td>\n    <td>N</td>\n    <td>1 to 99</td>\n    <td>Minimum length of stay that is required to search and book this room type. MinLOS cannot be greater than maxLOS. To remove minLOS restriction, default value = ‘1’.</td>\n  </tr>\n  <tr>\n    <td>max</td>\n    <td>Numeric length 1-2</td>\n    <td>1</td>\n    <td>N</td>\n    <td>0 to 99</td>\n    <td>Minimum length of stay that is required to search and book this room type. MaxLOS cannot be less than minLOS. To remove maxLOS restriction, default value = ‘0’.</td>\n  </tr>\n  <tr>\n    <td>STAYTHROUGH<br />min</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>N</td>\n    <td>0 to 30</td>\n    <td>Minimum length of stay that is required to search and book this room type for stay through. Not mandatory and if element not sent, Min stay through remains same as current.<br />To remove min stay through restriction, set min = ‘0’.</td>\n  </tr>\n</table></div>\n\n<h2 id=\"setarirs\">SetAriRS</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Result</h5> TUID</td>\n    <td>String length 13</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>89f66310-6718-11e5-b298-0758c951ac41</td>\n    <td>A Track Unique Identifier (TUID) is an identifier which is guaranteed to be unique and it has a specific tracking purpose.</td>\n  </tr>\n  <tr>\n    <td>Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1483526410357<br />(GMT: Wed, 04 Jan 2017 10:40:10.357)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time provided will correspond with the time in the originating system and in EPOCH.<br />System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n</table></div>","urlObject":{"protocol":"https","path":["api"],"host":["supply","agoda","com"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}],"variable":[]}},"response":[{"id":"7c8fd51e-1f7d-4b9c-85c3-74818219779b","name":"SetARI V2 - xsd or pre-validation failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1436931804\" type=\"10\">\n    <criteria property_id=\"1949542\">\n        <inventory>\n            <update room_id=\"5478687\">\n                <date_range from=\"2022-06-01\" to=\"2022-06-30\">\n                    <dow>1</dow>\n                    <dow>2</dow>\n                    <dow>3</dow>\n                    <dow>4</dow>\n                    <dow>5</dow>\n                    <dow>6</dow>\n                    <dow>7</dow>\n                </date_range>\n                <allotment>9</allotment>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>true</cta>\n                </restrictions>\n            </update>\n        </inventory>\n        <rate>\n            <update room_id=\"5478687\" rateplan_id=\"119017\">\n                <date_values>\n                    <value>2019-06-30</value>\n                </date_values>\n                <prices currency=\"THB\">\n                    <normal>\n                        <occupancy person=\"1\" price=\"1000.0\" />\n                        <occupancy person=\"2\" price=\"1200.0\" />\n                        <occupancy person=\"3\" price=\"1400.0\" />\n                        <occupancy person=\"4\" price=\"1600.0\" />\n                        <occupancy person=\"5\" price=\"1800.0\" />\n                    </normal>\n                    <extra_bed>200.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                    <staythrough>\n                        <min>2</min>\n                    </staythrough>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"akka-http/10.1.10"},{"key":"Date","value":"Wed, 16 Sep 2020 01:49:31 GMT"},{"key":"Content-Type","value":"text/xml; charset=UTF-8"},{"key":"Content-Length","value":"223"}],"cookie":[],"responseTime":null,"body":"<result TUID=\"c1d42740-6727-11e5-b298-0758c951ac41\" timestamp=\"1443585615796\">\n    <errors>\n        <error code=\"1101\" description=\"From date: 2018-06-11T00:00:00.000Z cannot be later than To date: 2018-06-10T00:00:00.000Z\"/>\n    </errors>\n</result>"},{"id":"decf071b-112e-4972-98f5-29bdb4895cb3","name":"SetARI V2 - xsd and pre-validation passed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1436931804\" type=\"10\">\n    <criteria property_id=\"1949542\">\n        <inventory>\n            <update room_id=\"5478687\">\n                <date_range from=\"2022-06-01\" to=\"2022-06-30\">\n                    <dow>1</dow>\n                    <dow>2</dow>\n                    <dow>3</dow>\n                    <dow>4</dow>\n                    <dow>5</dow>\n                    <dow>6</dow>\n                    <dow>7</dow>\n                </date_range>\n                <allotment>9</allotment>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>true</cta>\n                </restrictions>\n            </update>\n        </inventory>\n        <rate>\n            <update room_id=\"5478687\" rateplan_id=\"119017\">\n                <date_values>\n                    <value>2019-06-30</value>\n                </date_values>\n                <prices currency=\"THB\">\n                    <normal>\n                        <occupancy person=\"1\" price=\"1000.0\" />\n                        <occupancy person=\"2\" price=\"1200.0\" />\n                        <occupancy person=\"3\" price=\"1400.0\" />\n                        <occupancy person=\"4\" price=\"1600.0\" />\n                        <occupancy person=\"5\" price=\"1800.0\" />\n                    </normal>\n                    <extra_bed>200.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                    <staythrough>\n                        <min>2</min>\n                    </staythrough>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"akka-http/10.1.10"},{"key":"Date","value":"Wed, 16 Sep 2020 01:49:31 GMT"},{"key":"Content-Type","value":"text/xml; charset=UTF-8"},{"key":"Content-Length","value":"223"}],"cookie":[],"responseTime":null,"body":"<result TUID=\"89f66310-6718-11e5-b298-0758c951ac41\" timestamp=\"1443579079617\"/>"}],"_postman_id":"06d184e9-a3e3-4566-be36-b9f1b6f67751"},{"name":"SetARI V2 - Basic Mode / Use same price for all occupancies","id":"229aa538-7575-474d-ab75-790cdb575b55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1563330485525\" type=\"10\">\n    <criteria property_id=\"10730279\">\n        <rate>\n            <update room_id=\"129340033\" rateplan_id=\"3392615\" >\n                <date_range from=\"2022-01-01\" to=\"2022-01-01\"/>\n                <prices currency=\"THB\">\n                    <normal default=\"2000.0\"/>\n                    <extra_bed>100.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>false</cta>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>"},"url":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","description":"<h1 id=\"price-table---max-occupancy--5\">Price Table - Max Occupancy = 5</h1>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Occupancy</h5></td>\n    <td><h5>1</h5></td>\n    <td><h5>2</h5></td>\n    <td><h5>3</h5></td>\n    <td><h5>4</h5></td>\n    <td><h5>5</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Price</h5></td>\n    <td>2000.0 THB</td>\n    <td>2000.0 THB</td>\n    <td>2000.0 THB</td>\n    <td>2000.0 THB</td>\n    <td>2000.0 THB</td>\n  </tr>\n</table></div>","urlObject":{"protocol":"https","path":["api"],"host":["supply","agoda","com"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}],"variable":[]}},"response":[{"id":"3a5e39ac-ed8f-41d2-89a9-221ed6db0430","name":"SetARI V2 - xsd and pre-validation passed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1563330485525\" type=\"10\">\n    <criteria property_id=\"10730279\">\n        <rate>\n            <update room_id=\"129340033\" rateplan_id=\"3392615\" >\n                <date_range from=\"2022-01-01\" to=\"2022-01-01\"/>\n                <prices currency=\"THB\">\n                    <normal default=\"2000.0\"/>\n                    <extra_bed>100.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>false</cta>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"akka-http/10.1.10"},{"key":"Date","value":"Wed, 16 Sep 2020 01:45:04 GMT"},{"key":"Content-Type","value":"text/xml; charset=UTF-8"},{"key":"Content-Length","value":"223"}],"cookie":[],"responseTime":null,"body":"<result TUID=\"89f66310-6718-11e5-b298-0758c951ac41\" timestamp=\"1443579079617\"/>"},{"id":"7c09e4f4-93ae-4594-bf66-13700baf8964","name":"SetARI V2 - xsd or pre-validation failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1563330485525\" type=\"10\">\n    <criteria property_id=\"10730279\">\n        <rate>\n            <update room_id=\"129340033\" rateplan_id=\"3392615\" >\n                <date_range from=\"2022-01-01\" to=\"2022-01-01\"/>\n                <prices currency=\"THB\">\n                    <normal default=\"2000.0\"/>\n                    <extra_bed>100.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>false</cta>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"akka-http/10.1.10"},{"key":"Date","value":"Wed, 16 Sep 2020 01:45:04 GMT"},{"key":"Content-Type","value":"text/xml; charset=UTF-8"},{"key":"Content-Length","value":"223"}],"cookie":[],"responseTime":null,"body":"<result TUID=\"c1d42740-6727-11e5-b298-0758c951ac41\" timestamp=\"1443585615796\">\n    <errors>\n        <error code=\"1101\" description=\"From date: 2018-06-11T00:00:00.000Z cannot be later than To date: 2018-06-10T00:00:00.000Z\"/>\n    </errors>\n</result>"}],"_postman_id":"229aa538-7575-474d-ab75-790cdb575b55"},{"name":"SetARI V2 - Use custom prices for all occupancies","id":"7296d7af-b393-49aa-8d7b-7200c59bb521","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1563330485525\" type=\"10\">\n    <criteria property_id=\"10730279\">\n        <rate>\n            <update room_id=\"129340033\" rateplan_id=\"3392615\" >\n                <date_range from=\"2022-01-01\" to=\"2022-01-01\"/>\n                <prices currency=\"THB\">\n                    <normal>\n                        <occupancy person=\"1\" price=\"1000.0\"/>\n                        <occupancy person=\"2\" price=\"1200.0\"/>\n                        <occupancy person=\"3\" price=\"1400.0\"/>\n                        <occupancy person=\"4\" price=\"1600.0\"/>\n                        <occupancy person=\"5\" price=\"1800.0\"/>\n                    </normal>\n                    <extra_bed>100.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>false</cta>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>"},"url":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","description":"<h1 id=\"price-table---max-occupancy--5\">Price Table - Max Occupancy = 5</h1>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Occupancy</h5></td>\n    <td><h5>1</h5></td>\n    <td><h5>2</h5></td>\n    <td><h5>3</h5></td>\n    <td><h5>4</h5></td>\n    <td><h5>5</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Price</h5></td>\n    <td>1000.0 THB</td>\n    <td>1200.0 THB</td>\n    <td>1400.0 THB</td>\n    <td>1600.0 THB</td>\n    <td>1800.0 THB</td>\n  </tr>\n</table></div>","urlObject":{"protocol":"https","path":["api"],"host":["supply","agoda","com"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}],"variable":[]}},"response":[{"id":"0c57bdc1-f748-4d41-898b-e12fd3942a03","name":"SetARI V2 - xsd and pre-validation passed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1563330485525\" type=\"10\">\n    <criteria property_id=\"10730279\">\n        <rate>\n            <update room_id=\"129340033\" rateplan_id=\"3392615\" >\n                <date_range from=\"2022-01-01\" to=\"2022-01-01\"/>\n                <prices currency=\"THB\">\n                    <normal>\n                        <occupancy person=\"1\" price=\"1000.0\"/>\n                        <occupancy person=\"2\" price=\"1200.0\"/>\n                        <occupancy person=\"3\" price=\"1400.0\"/>\n                        <occupancy person=\"4\" price=\"1600.0\"/>\n                        <occupancy person=\"5\" price=\"1800.0\"/>\n                    </normal>\n                    <extra_bed>100.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>false</cta>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"akka-http/10.1.10"},{"key":"Date","value":"Wed, 16 Sep 2020 01:50:02 GMT"},{"key":"Content-Type","value":"text/xml; charset=UTF-8"},{"key":"Content-Length","value":"223"}],"cookie":[],"responseTime":null,"body":"<result TUID=\"89f66310-6718-11e5-b298-0758c951ac41\" timestamp=\"1443579079617\"/>"},{"id":"b77c3069-32d6-4da0-bed9-c1329b52a55b","name":"SetARI V2 - xsd or pre-validation failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1563330485525\" type=\"10\">\n    <criteria property_id=\"10730279\">\n        <rate>\n            <update room_id=\"129340033\" rateplan_id=\"3392615\" >\n                <date_range from=\"2022-01-01\" to=\"2022-01-01\"/>\n                <prices currency=\"THB\">\n                    <normal>\n                        <occupancy person=\"1\" price=\"1000.0\"/>\n                        <occupancy person=\"2\" price=\"1200.0\"/>\n                        <occupancy person=\"3\" price=\"1400.0\"/>\n                        <occupancy person=\"4\" price=\"1600.0\"/>\n                        <occupancy person=\"5\" price=\"1800.0\"/>\n                    </normal>\n                    <extra_bed>100.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>false</cta>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"akka-http/10.1.10"},{"key":"Date","value":"Wed, 16 Sep 2020 01:50:02 GMT"},{"key":"Content-Type","value":"text/xml; charset=UTF-8"},{"key":"Content-Length","value":"223"}],"cookie":[],"responseTime":null,"body":"<result TUID=\"c1d42740-6727-11e5-b298-0758c951ac41\" timestamp=\"1443585615796\">\n    <errors>\n        <error code=\"1101\" description=\"From date: 2018-06-11T00:00:00.000Z cannot be later than To date: 2018-06-10T00:00:00.000Z\"/>\n    </errors>\n</result>"}],"_postman_id":"7296d7af-b393-49aa-8d7b-7200c59bb521"},{"name":"SetARI V2 - Use custom deviation for each occupancy with amount","id":"fb6d4fbc-02a1-47d4-8f92-8444de3bfc88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1563330485525\" type=\"10\">\n    <criteria property_id=\"10730279\">\n        <rate>\n            <update room_id=\"129340033\" rateplan_id=\"3392615\" >\n                <date_range from=\"2022-01-01\" to=\"2022-01-01\"/>\n                <prices currency=\"THB\">\n                    <deviation base_price=\"1000.0\">\n                        <occupancy person=\"1\" amount=\"0.0\"/>\n                        <occupancy person=\"2\" amount=\"100.0\"/>\n                        <occupancy person=\"3\" amount=\"200.0\"/>\n                        <occupancy person=\"4\" amount=\"300.0\"/>\n                    </deviation>\n                    <extra_bed>100.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>false</cta>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>"},"url":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","description":"<h1 id=\"price-table---max-occupancy--4\">Price Table - Max Occupancy = 4</h1>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Occupancy</h5></td>\n    <td><h5>1</h5></td>\n    <td><h5>2</h5></td>\n    <td><h5>3</h5></td>\n    <td><h5>4</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Price</h5></td>\n    <td>1000.0 THB</td>\n    <td>1100.0 THB</td>\n    <td>1200.0 THB</td>\n    <td>1300.0 THB</td>\n  </tr>\n</table></div>","urlObject":{"protocol":"https","path":["api"],"host":["supply","agoda","com"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}],"variable":[]}},"response":[{"id":"26682302-1cb0-4397-9658-e733dc7fcfc0","name":"SetARI V2 - xsd and pre-validation passed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1563330485525\" type=\"10\">\n    <criteria property_id=\"10730279\">\n        <rate>\n            <update room_id=\"129340033\" rateplan_id=\"3392615\" >\n                <date_range from=\"2022-01-01\" to=\"2022-01-01\"/>\n                <prices currency=\"THB\">\n                    <deviation base_price=\"1000.0\">\n                        <occupancy person=\"1\" amount=\"0.0\"/>\n                        <occupancy person=\"2\" amount=\"100.0\"/>\n                        <occupancy person=\"3\" amount=\"200.0\"/>\n                        <occupancy person=\"4\" amount=\"300.0\"/>\n                    </deviation>\n                    <extra_bed>100.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>false</cta>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"akka-http/10.1.10"},{"key":"Date","value":"Wed, 16 Sep 2020 01:50:02 GMT"},{"key":"Content-Type","value":"text/xml; charset=UTF-8"},{"key":"Content-Length","value":"223"}],"cookie":[],"responseTime":null,"body":"<result TUID=\"89f66310-6718-11e5-b298-0758c951ac41\" timestamp=\"1443579079617\"/>"},{"id":"59c7b285-719a-4942-b223-d576e8bc8ee1","name":"SetARI V2 - xsd or pre-validation failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1563330485525\" type=\"10\">\n    <criteria property_id=\"10730279\">\n        <rate>\n            <update room_id=\"129340033\" rateplan_id=\"3392615\" >\n                <date_range from=\"2022-01-01\" to=\"2022-01-01\"/>\n                <prices currency=\"THB\">\n                    <deviation base_price=\"1000.0\">\n                        <occupancy person=\"1\" amount=\"0.0\"/>\n                        <occupancy person=\"2\" amount=\"100.0\"/>\n                        <occupancy person=\"3\" amount=\"200.0\"/>\n                        <occupancy person=\"4\" amount=\"300.0\"/>\n                    </deviation>\n                    <extra_bed>100.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>false</cta>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"akka-http/10.1.10"},{"key":"Date","value":"Wed, 16 Sep 2020 01:50:02 GMT"},{"key":"Content-Type","value":"text/xml; charset=UTF-8"},{"key":"Content-Length","value":"223"}],"cookie":[],"responseTime":null,"body":"<result TUID=\"c1d42740-6727-11e5-b298-0758c951ac41\" timestamp=\"1443585615796\">\n    <errors>\n        <error code=\"1101\" description=\"From date: 2018-06-11T00:00:00.000Z cannot be later than To date: 2018-06-10T00:00:00.000Z\"/>\n    </errors>\n</result>"}],"_postman_id":"fb6d4fbc-02a1-47d4-8f92-8444de3bfc88"},{"name":"SetARI V2 - Deviation Mode Percentage","id":"1a0dafd3-df8b-426c-b750-07dc56239fcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1563330485525\" type=\"10\">\n    <criteria property_id=\"10730279\">\n        <rate>\n            <update room_id=\"129340033\" rateplan_id=\"3392615\" >\n                <date_range from=\"2022-01-01\" to=\"2022-01-01\"/>\n                <prices currency=\"THB\">\n                    <deviation base_price=\"1000.0\">\n                        <occupancy person=\"1\" percentage=\"10\"/>\n                        <occupancy person=\"2\" percentage=\"20\"/>\n                        <occupancy person=\"3\" percentage=\"20\"/>\n                        <occupancy person=\"4\" percentage=\"20\"/>\n                    </deviation>\n                    <extra_bed>100.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>false</cta>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>"},"url":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","description":"<h1 id=\"price-table---max-occupancy--4\">Price Table - Max Occupancy = 4</h1>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Occupancy</h5></td>\n    <td><h5>1</h5></td>\n    <td><h5>2</h5></td>\n    <td><h5>3</h5></td>\n    <td><h5>4</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Price</h5></td>\n    <td>1100.0 THB</td>\n    <td>1200.0 THB</td>\n    <td>1200.0 THB</td>\n    <td>1200.0 THB</td>\n  </tr>\n</table></div>","urlObject":{"protocol":"https","path":["api"],"host":["supply","agoda","com"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}],"variable":[]}},"response":[{"id":"9b5d9d28-38b5-4e49-8848-fe349428454b","name":"SetARI V2 - xsd and pre-validation passed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1563330485525\" type=\"10\">\n    <criteria property_id=\"10730279\">\n        <rate>\n            <update room_id=\"129340033\" rateplan_id=\"3392615\" >\n                <date_range from=\"2022-01-01\" to=\"2022-01-01\"/>\n                <prices currency=\"THB\">\n                    <deviation base_price=\"1000.0\">\n                        <occupancy person=\"1\" percentage=\"10\"/>\n                        <occupancy person=\"2\" percentage=\"20\"/>\n                        <occupancy person=\"3\" percentage=\"20\"/>\n                        <occupancy person=\"4\" percentage=\"20\"/>\n                    </deviation>\n                    <extra_bed>100.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>false</cta>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"akka-http/10.1.10"},{"key":"Date","value":"Wed, 16 Sep 2020 01:50:08 GMT"},{"key":"Content-Type","value":"text/xml; charset=UTF-8"},{"key":"Content-Length","value":"223"}],"cookie":[],"responseTime":null,"body":"<result TUID=\"89f66310-6718-11e5-b298-0758c951ac41\" timestamp=\"1443579079617\"/>"},{"id":"fb90a711-1ac4-4ece-9c95-af27b24c227f","name":"SetARI V2 - xsd or pre-validation failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1563330485525\" type=\"10\">\n    <criteria property_id=\"10730279\">\n        <rate>\n            <update room_id=\"129340033\" rateplan_id=\"3392615\" >\n                <date_range from=\"2022-01-01\" to=\"2022-01-01\"/>\n                <prices currency=\"THB\">\n                    <deviation base_price=\"1000.0\">\n                        <occupancy person=\"1\" percentage=\"10\"/>\n                        <occupancy person=\"2\" percentage=\"20\"/>\n                        <occupancy person=\"3\" percentage=\"20\"/>\n                        <occupancy person=\"4\" percentage=\"20\"/>\n                    </deviation>\n                    <extra_bed>100.0</extra_bed>\n                    <child_rates>\n                        <child_rate age_band_code=\"1\" price=\"500.0\"/>\n                        <child_rate age_band_code=\"2\" price=\"600.0\"/>\n                        <child_rate age_band_code=\"3\" price=\"700.0\"/>\n                    </child_rates>\n                </prices>\n                <restrictions>\n                    <closed>false</closed>\n                    <ctd>false</ctd>\n                    <cta>false</cta>\n                    <los>\n                        <min>1</min>\n                        <max>30</max>\n                    </los>\n                </restrictions>\n            </update>\n        </rate>\n    </criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"akka-http/10.1.10"},{"key":"Date","value":"Wed, 16 Sep 2020 01:50:08 GMT"},{"key":"Content-Type","value":"text/xml; charset=UTF-8"},{"key":"Content-Length","value":"223"}],"cookie":[],"responseTime":null,"body":"<result TUID=\"c1d42740-6727-11e5-b298-0758c951ac41\" timestamp=\"1443585615796\">\n    <errors>\n        <error code=\"1101\" description=\"From date: 2018-06-11T00:00:00.000Z cannot be later than To date: 2018-06-10T00:00:00.000Z\"/>\n    </errors>\n</result>"}],"_postman_id":"1a0dafd3-df8b-426c-b750-07dc56239fcf"},{"name":"GetARIV2","id":"8f0b9be5-fb76-40a7-9d9b-74810c197a60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"{{now}}\" type=\"11\">\n    <criteria from=\"2022-01-01\" to=\"2022-01-01\">\n        <property id=\"10730279\" room_id=\"129340033\" rateplan_id=\"3392615\"  />\n    </criteria>\n</request>"},"url":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","description":"<p>This function allows retrieval of Availability and Rate Inventory (ARI) for existing rooms and rates.</p>\n<h1 id=\"xml-elements-and-attributes\">XML Elements and Attributes</h1>\n<h2 id=\"getariv2-rq\">GetAriV2 RQ</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Request</h5> Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1483526410357<br />(GMT: Wed, 04 Jan 2017 10:40:10.357)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time provided must correspond with the time in the originating system and in EPOCH. System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td>Type</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2</td>\n    <td>This number identifies a particular request:<br />1 SetAri<br />2 GetAri<br />3 GetBookingList<br />4 GetBookingDetail<br />5 GetProduct<br />8 SetProduct<br />9 GetBookingListV2</td>\n  </tr>\n  <tr>\n    <td><h5>Criteria</h5> from to</td>\n    <td>Datetime YYYY-MM-DD HH:MM:SS</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2015-09-01T00:00:00+07:00</td>\n    <td>The inclusive start (from) and end (to) date and time for the query. Time of reference is always UTC time zone +/- to identify other timezones. The date range cannot be longer than 31 days.</td>\n  </tr>\n  <tr>\n    <td><h5>Property</h5> Id</td>\n    <td>String Length 1-8</td>\n    <td>1 to 5</td>\n    <td>Y</td>\n    <td>123</td>\n    <td>Every request must contain a valid property ID that partner has access to. Every property has a unique ID in Agoda and every Channel Manager partner must have the access to this specific property via an authorized API key. Maximum 5 property IDs can be queried in this GetARI request.</td>\n  </tr>\n  <tr>\n    <td>Room_id</td>\n    <td>Numeric Length 1-8</td>\n    <td>1</td>\n    <td>N</td>\n    <td>85236</td>\n    <td>This is the Agoda room ID related to the property inventory element. Agoda active Room IDs can be returned with Getproduct request. If no room is specified in the request, all active Rooms will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>Rateplan_id</td>\n    <td>Numeric Length 1-6</td>\n    <td>1</td>\n    <td>N</td>\n    <td>24468</td>\n    <td>This is the Agoda Rateplan ID related to a particular offer active on a room. Agoda active Rate Type IDs can be returned with Getproduct request. If no Rateplan ID is specified in the request, all active Rateplans will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>Type</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>N</td>\n    <td>Inventory</td>\n    <td>The type in the criteria&gt;&gt;request can be one of the following:<br />rate<br />inventory <br />both<br /></td>\n  </tr>\n</table></div>\n\n<h2 id=\"getariv2-rs\">GetAriV2 RS</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n  <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Result</h5> Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1454628391 (2016-02-04T23:26:31Z)<br /></td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time provided will correspond with the time in the originating system and in EPOCH. System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td><h5>Properties</h5> item_count</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2</td>\n    <td>Count indicates how many dates are returned across all properties queried.</td>\n  </tr>\n  <tr>\n    <td>Property Id</td>\n    <td>String Length 1-8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>123</td>\n    <td>Every request must contain a valid property ID that partner has access to</td>\n  </tr>\n  <tr>\n    <td>date</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>2016-12-31</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td><h5>Rates</h5> rateplan_id</td>\n    <td>Numeric Length 1-6</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>1 to 6</td>\n    <td>This is the Agoda Rateplan ID related to a particular offer active on a room. Agoda active Rate Type IDs can be returned with Getproduct request. If no Rateplan ID is specified in the request, all active Rateplans will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>Currency</td>\n    <td>Alpha 3</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>THB</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td><h5>Room</h5> Room_id</td>\n    <td>Numeric Length 1-8</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>72027</td>\n    <td>This is the Agoda room ID related to the property inventory element. Agoda active Room IDs can be returned with Getproduct request. If no room is specified in the request, all active Rooms will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>extra_bed</td>\n    <td>Numeric nnn.nn</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>100.0</td>\n    <td>This rate is used as the extra bed rate and is available to all hotel occupancy models. ‘0’ is returned if ‘0’ is set via SetAri call or if price for extra bed rate does not exist. ‘0’ extra bed rate indicates extra bed is not available for sale for the specified room, rateplan and date.</td>\n  </tr>\n  <tr>\n    <td>closed</td>\n    <td>boolean</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>FALSE</td>\n    <td>Controls if room type is open for sale or closed to sale. Close will stop room type being sold even if inventory is available but will still allow Guaranteed Allotments to be sold</td>\n  </tr>\n  <tr>\n    <td>cta</td>\n    <td>boolean</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>TRUE</td>\n    <td>Controls if room type is open for arrival for this date or closed for arrival on this date. Customer can still stay through this date if they arrive on past date</td>\n  </tr>\n  <tr>\n    <td>ctd</td>\n    <td>boolean</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>FALSE</td>\n    <td>Controls if room type is open for departure for this date or closed for departure on this date. Customer can still stay through this date if they depart on future date</td>\n  </tr>\n  <tr>\n    <td>min_los</td>\n    <td>Numeric length 1-2</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>Minimum length of stay that is required to search and book this room type</td>\n  </tr>\n  <tr>\n    <td>max_los</td>\n    <td>Numeric length 1-2</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>5</td>\n    <td>Maximum length of stay that is required to search and book this room type</td>\n  </tr>\n  <tr>\n    <td>min_staythrough</td>\n    <td>Numeric length 1-2</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2</td>\n    <td>Minimum length of stay that is required for stay through.</td>\n  </tr>\n  <tr>\n    <td><h5>prices</h5> occupancy person</td>\n    <td>Numeric</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>2</td>\n    <td>Number of occupancies the price will applied to.</td>\n  </tr>\n  <tr>\n    <td>occupancy price</td>\n    <td>Numeric Length 1-9</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>350.0</td>\n    <td>The price for the specified occupancy.</td>\n  </tr>\n  <tr>\n    <td><h5>child_rates</h5> child_rate price</td>\n    <td>Numeric nnn.nn</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>200.0</td>\n    <td>This is the rate amount for the child pricing for the specific age band. ‘0’ child price rate indicates the child will not be charged for the specified room, rateplan and date.</td>\n  </tr>\n  <tr>\n    <td>child_rate age_from</td>\n    <td>Numeric</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>1</td>\n    <td>Minimum child age for the specific age band.</td>\n  </tr>\n  <tr>\n    <td>child_rate age_to</td>\n    <td>Numeric</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>6</td>\n    <td>Maximum child age for the specific age band.</td>\n  </tr>\n  <tr>\n    <td>child_rate age_band_code</td>\n    <td>Numeric</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>2</td>\n    <td>The code used to uniquely identify the child age band.</td>\n  </tr>\n  <tr>\n    <td><h5>Inventories</h5> room room_id</td>\n    <td>Numeric Length 1-8</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>72027</td>\n    <td>This is the Agoda room ID related to the property inventory element. Agoda active Room IDs can be returned with Getproduct request. If no room is specified in the request, all active Rooms will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>allotment</td>\n    <td>Numeric length 1-3</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2</td>\n    <td>Total amount of regular allotment rooms in this room type available in YCS5 for sale to customers</td>\n  </tr>\n  <tr>\n    <td>guaranteed_allotment</td>\n    <td>Numeric length 1-3</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>5</td>\n    <td>Total amount of guaranteed allotment rooms in this room type available in YCS5 for sale to customers.</td>\n  </tr>\n  <tr>\n    <td>allotment_used_regular</td>\n    <td>Numeric length 1-3</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2</td>\n    <td>Total amount of regular allotment rooms in this room type sold in YCS to Agoda</td>\n  </tr>\n  <tr>\n    <td>allotment_used_guaranteed</td>\n    <td>Numeric length 1-3</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>Total amount of guaranteed allotment rooms in this room type sold to Agoda customers.</td>\n  </tr>\n  <tr>\n    <td>closed</td>\n    <td>boolean</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>FALSE</td>\n    <td>Controls if room type is open for sale or closed to sale. Close will stop room type being sold even if inventory is available but will still allow Guaranteed Allotments to be sold</td>\n  </tr>\n  <tr>\n    <td>cta</td>\n    <td>boolean</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>TRUE</td>\n    <td>Controls if room type is open for arrival for this date or closed for arrival on this date. Customer can still stay through this date if they arrive on past date</td>\n  </tr>\n  <tr>\n    <td>ctd</td>\n    <td>boolean</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>FALSE</td>\n    <td>Controls if room type is open for departure for this date or closed for departure on this date. Customer can still stay through this date if they depart on future date</td>\n  </tr>\n</table></div>","urlObject":{"protocol":"https","path":["api"],"host":["supply","agoda","com"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}],"variable":[]}},"response":[{"id":"f327fdde-cfa8-4da7-a560-35333a86883a","name":"GetARIV2 ","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"{{now}}\" type=\"11\">\n    <criteria from=\"2020-05-16\" to=\"2020-05-16\">\n        <property id=\"10730279\" room_id=\"129340033\" rateplan_id=\"3392615\"  />\n    </criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADD YOU APIKEY HERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADD YOU APIKEY HERE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"nginx/1.16.1"},{"key":"Date","value":"Wed, 22 Apr 2020 06:27:31 GMT"},{"key":"Content-Type","value":"application/xml; charset=UTF-8"},{"key":"Content-Length","value":"340"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"<result timestamp=\"1587536851338\">\n    <properties item_count=\"1\">\n        <property id=\"10730279\" date=\"2020-05-16\">\n            <rates rateplan_id=\"3392615\" currency=\"THB\">\n                <room room_id=\"129340033\" closed=\"false\" cta=\"true\" ctd=\"false\" min_los=\"1\" max_los=\"30\" min_staythrough=\"0\">\n                    <prices>\n                        <occupancy person=\"1\" price=\"80.00\"/>\n                        <occupancy person=\"2\" price=\"80.00\"/>\n                        <occupancy person=\"3\" price=\"80.00\"/>\n                    </prices>\n                    <child_rates>\n                        <child_rate age_from=\"0\" age_to=\"5\" price=\"40.00\" age_band_code=\"1\"/>\n                        <child_rate age_from=\"6\" age_to=\"10\" price=\"45.00\" age_band_code=\"2\"/>\n                        <child_rate age_from=\"11\" age_to=\"14\" price=\"50.00\" age_band_code=\"3\"/>\n                        <child_rate age_from=\"15\" age_to=\"17\" price=\"55.00\" age_band_code=\"4\"/>\n                    </child_rates>\n                </room>\n            </rates>\n            <inventories>\n                <room room_id=\"129340033\" allotment=\"3\" guaranteed_allotment=\"0\" allotment_used_regular=\"0\" allotment_used_guaranteed=\"0\" closed=\"false\" cta=\"true\" ctd=\"false\"/>\n            </inventories>\n        </property>\n    </properties>\n</result>"}],"_postman_id":"8f0b9be5-fb76-40a7-9d9b-74810c197a60"}],"id":"79dce7a2-d398-44cb-aa0a-a965707ad6dc","description":"<h2 id=\"introduction\">Introduction </h2>\n<p>Agoda recommends channel manager partners to use occupancy-based pricing as this pricing model offers the most flexible solution for pricing. No migration is needed to convert a property currently on the per-day pricing model to occupancy-based pricing. Please make sure the pricing model you specify when sending rate updates is the right one pre-configured for your property on Agoda extranet. You can obtain pricing model information through a GetProduct request for product details, including the “occupancy_model\" attribute. Should a property be using a pricing model you have not developed please contact your account manager or Agoda connectivity team.</p>\n<h2 id=\"functionality\">Functionality </h2>\n<p>If a channel manager partners wants to change the number of occupancy levels in the room, the property first must contact its Market Manager to change the configuration of the room type (thereby updating the property’s settings on Agoda extranet, and then partner can send Agoda the new rates for those occupancy levels. Occupancy-based pricing also requires the rate to be set to the total amount charged for that occupancy level. For example, if a property already has occupancy level 4 newly configured for it on Agoda extranet and wants to set the rate for occupancy level 4 of a room type to $150.00, then it should include the following input in the request message: </p>\n \n\n<p>Two modes are available for occupancy-based pricing updates: </p>\n<ul>\n<li>Basic: Allow customer rates for all occupancies with default or custom prices </li>\n<li>Deviation: Allow custom deviation for each occupancy with amount or percentage</li>\n</ul>\n<p>Note: The channel manager API currently does not support removal of occupancies</p>\n<h2 id=\"limitation-on-request-size\">Limitation on request size</h2>\n<ul>\n<li>SetAriV2: 1,000,000 bytes (1 MB – powers of ten)</li>\n</ul>\n<h2 id=\"api-interface\">API Interface</h2>\n<p>   This function allows the connectivity partners to update or retrieve Availability Rates Inventory (ARI) and restrictions for a specific hotel on a specific date range. Some attributes in this call are defined by settings in YCS5 Room Setup and/or Rate Plan Setup page.</p>\n<p>Note: All updates are strict in nature, which means old data will be completely overwritten by new price. In this version we do not allow partial updates</p>\n<h5>Important Information</h5> You can specify up to <b>730 days (2 years)</b> of rates and availability from the date you send the updates","event":[{"listen":"prerequest","script":{"id":"6a9ebee1-9f53-4778-b086-844cc22abe83","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fc9e7dec-fc91-463b-a8e5-adadd5f8385d","type":"text/javascript","exec":[""]}}],"_postman_id":"79dce7a2-d398-44cb-aa0a-a965707ad6dc"},{"name":"Bookings","item":[{"name":"GetBookingList - Selected Properties","id":"bfc32f73-fdc0-4dd3-957e-76add3c46f68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request type=\"3\" timestamp=\"1436931804\">\n    <!-- Property = 5 LookBack = 90 Days Now - From <= 90 Days -->\n    <!-- from & to is specified with an offset from the UTC time by adding a positive or negative time behind the time - like this: -->\n    <criteria status=\"ConfirmBooking\" to=\"2020-04-30T00:00:00+07:00\" from=\"2020-04-01T00:00:00+07:00\">\n        <property id=\"10730279\"/>\n    </criteria>\n</request>"},"url":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","description":"<p>This function allows the Connectivity Partners to retrieve the bookings for a specific property or up to 5 properties at once.</p>\n<h1 id=\"xml-elements-and-attributes\">XML Elements and Attributes</h1>\n<h2 id=\"getbookinglistrq\">GetBookingListRQ</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n   <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Request</h5> Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1483526410357<br />(GMT: Wed, 04 Jan 2017 10:40:10.357)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time provided must correspond with the time in the originating system and in EPOCH. System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td>Type</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>3</td>\n    <td>This number identifies a particular<br />request:<br />1 SetAri<br />2 GetAri<br />3 GetBookingList<br />4 GetBookingDetail<br />5 GetProduct<br />8 SetProduct<br />9 GetBookingListV2</td>\n  </tr>\n  <tr>\n    <td><h5>Criteria</h5> from to</td>\n    <td>Datetime YYYY-MM-DD HH:MM:SS</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2015-09-01T00:00:00+07:00</td>\n    <td>The inclusive start (from) and end (to) date and time for the booking query. The inclusive start (from) and end (to) date and time for the booking query. Time of reference is always UTC time zone +/- to identify other timezones. From date time cannot be older than 740 days. Date range allows up to 90 days per request.</td>\n  </tr>\n  <tr>\n    <td>status</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>N</td>\n    <td>AmendBooking</td>\n    <td>Denotes the type of bookings to query. Options are: <br />ConfirmBooking<br />AmendBooking <br />CancelBooking</td>\n  </tr>\n  <tr>\n    <td><h5>Property</h5> Id</td>\n    <td>String Length</td>\n    <td>1 to 5</td>\n    <td>Y</td>\n    <td>123</td>\n    <td>Every request must contain a valid property ID that partner has access to. Every property has a unique ID in Agoda and every Channel Manager partner has to have the access to this specific property via an authorized API key. Maximum 5 property IDs can be queried in this GetBookingList request.</td>\n  </tr>\n</table></div>\n\n<h2 id=\"getbookinglistrs\">GetBookingListRS</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Result Timestamp</h5></td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1454628391 (2016-02-04T23:26:31Z)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time provided will correspond with the time in the originating system and in EPOCH. System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td><h5>Properties</h5> count</td>\n    <td>Numeric 1-5</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>Count indicates number of properties. In this request a maximum of 5 properties can be requested to retrieve the bookings.</td>\n  </tr>\n  <tr>\n    <td><h5>Property</h5> Id</td>\n    <td>String Length 1-8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>123</td>\n    <td>Every request must contain a valid property ID that partner has access to</td>\n  </tr>\n  <tr>\n    <td><h5>Booking</h5> booking_id</td>\n    <td>Numeric Length 1-15</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>4335173</td>\n    <td>Agoda Booking ID for this booking. This must be used when sending GetBookingDetails request</td>\n  </tr>\n  <tr>\n    <td>booking_date</td>\n    <td>Datetime YYYY-MM-DD HH:MM:SS</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2015-09-15T12:39:00+07:00</td>\n    <td>Date that booking was created on Agoda YCS5. Time of reference is always UTC time zone +/- to identify other timezones.</td>\n  </tr>\n  <tr>\n    <td>last_action</td>\n    <td>Datetime YYYY-MM-DD HH:MM:SS</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2015-09-15T12:47:33+07:00</td>\n    <td>The last date that the booking was actioned: created/amended/cancelled. If booking is amended multiple times only the last amended date is listed here. Time of reference is always UTC time zone +/- to identify other timezones.</td>\n  </tr>\n  <tr>\n    <td>arrival</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>10-4-2015</td>\n    <td>The inclusive start date for the booking (check in date)</td>\n  </tr>\n  <tr>\n    <td>departure</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>10-5-2015</td>\n    <td>The inclusive end date for the booking (check out date)</td>\n  </tr>\n  <tr>\n    <td>status</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>ConfirmBooking</td>\n    <td>Denotes the status type of bookings. Statuses are: <br />ConfirmBooking <br />AmendBooking <br />CancelBooking</td>\n  </tr>\n  <tr>\n    <td>acknowledge</td>\n    <td>0 - 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>0</td>\n    <td>It defines if a booking is already acknowledged or not: <br />0= not acknowledge <br />1= acknowledged</td>\n  </tr>\n</table></div>\n\n<h2 id=\"getbookinglist-request-time-interval-and-criteria-example\">GetBookingList Request Time Interval and Criteria Example</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Request Time</h5></td>\n    <td><h5>From Date</h5></td>\n    <td><h5>To date</h5></td>\n  </tr>\n  <tr>\n    <td>2018-07-17 18:00:00 (GMT+7)</td>\n    <td>2018-07-17 at 17:55:00 (GMT+7)</td>\n    <td>2018-07-17 at 18:00:00 (GMT+7)</td>\n  </tr>\n <tr>\n    <td>2018-07-17 18:05:00 (GMT+7)</td>\n    <td>2018-07-17 at 18:00:00 (GMT+7)</td>\n    <td>2018-07-17 at 18:05:00 (GMT+7)</td>\n  </tr>\n <tr>\n    <td>2018-07-17 18:10:00 (GMT+7)</td>\n    <td>2018-07-17 at 18:05:00 (GMT+7)</td>\n    <td>2018-07-17 at 18:10:00 (GMT+7)</td>\n  </tr>\n </table></div>","urlObject":{"protocol":"https","path":["api"],"host":["supply","agoda","com"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}],"variable":[]}},"response":[{"id":"6cfc9b58-a805-4ba8-9c22-d7e3227372cf","name":"GetBookingList - Selected Properties / AmendBooking","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request type=\"3\" timestamp=\"1436931804\">\n    <!-- Property = 5 LookBack = 90 Days Now - From <= 90 Days -->\n    <!-- from & to is specified with an offset from the UTC time by adding a positive or negative time behind the time - like this: -->\n    <criteria status=\"AmendBooking\" to=\"2020-04-30T00:00:00+07:00\" from=\"2020-04-01T00:00:00+07:00\">\n        <property id=\"10730279\"/>\n    </criteria>\n</request>"},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"nginx/1.16.1"},{"key":"Date","value":"Thu, 23 Apr 2020 07:52:05 GMT"},{"key":"Content-Type","value":"application/xml; charset=UTF-8"},{"key":"Content-Length","value":"240"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"<result timestamp=\"1587628325674\">\n    <properties count=\"1\">\n        <property id=\"10730279\">\n            <bookings>\n                <booking booking_id=\"473966145\" booking_date=\"2020-04-23T14:32:00+07:00\" last_action=\"2020-04-23T14:51:45+07:00\" arrival=\"2020-04-24\" departure=\"2020-04-25\" status=\"AmendBooking\" acknowledge=\"0\"/>\n            </bookings>\n        </property>\n    </properties>\n</result>"},{"id":"92a2b7a2-7089-4726-a496-9455ac0a746b","name":"GetBookingList - Selected Properties / ConfirmBooking","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request type=\"3\" timestamp=\"1436931804\">\n    <!-- Property = 5 LookBack = 90 Days Now - From <= 90 Days -->\n    <!-- from & to is specified with an offset from the UTC time by adding a positive or negative time behind the time - like this: -->\n    <criteria status=\"ConfirmBooking\" to=\"2020-04-30T00:00:00+07:00\" from=\"2020-04-01T00:00:00+07:00\">\n        <property id=\"10730279\"/>\n    </criteria>\n</request>"},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"nginx/1.16.1"},{"key":"Date","value":"Thu, 23 Apr 2020 07:43:33 GMT"},{"key":"Content-Type","value":"application/xml; charset=UTF-8"},{"key":"Content-Length","value":"239"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"<result timestamp=\"1587627813552\">\n    <properties count=\"1\">\n        <property id=\"10730279\">\n            <bookings>\n                <booking booking_id=\"473966145\" booking_date=\"2020-04-23T14:32:00+07:00\" last_action=\"2020-04-23T14:32:30+07:00\" arrival=\"2020-04-24\" departure=\"2020-04-25\" status=\"ConfirmBooking\" acknowledge=\"0\"/>\n            </bookings>\n        </property>\n    </properties>\n</result>"},{"id":"e59d9b30-0f85-438d-84d7-d29cf7caedf0","name":"GetBookingList - Selected Properties / Empty Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request type=\"3\" timestamp=\"1436931804\">\n    <!-- Property = 5 LookBack = 90 Days Now - From <= 90 Days -->\n    <!-- from & to is specified with an offset from the UTC time by adding a positive or negative time behind the time - like this: -->\n    <criteria status=\"AmendBooking\" to=\"2020-04-30T00:00:00+07:00\" from=\"2020-04-01T00:00:00+07:00\">\n        <property id=\"10730279\"/>\n    </criteria>\n</request>"},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"nginx/1.16.1"},{"key":"Date","value":"Thu, 23 Apr 2020 07:38:07 GMT"},{"key":"Content-Type","value":"application/xml; charset=UTF-8"},{"key":"Content-Length","value":"132"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"<result timestamp=\"1587627487501\">\n    <properties count=\"1\">\n        <property id=\"10730279\">\n            <bookings>\n                      \n                    </bookings>\n        </property>\n    </properties>\n</result>"},{"id":"efbf5ae9-6ef1-4a5b-9d59-9e070f43caf5","name":"GetBookingList - Selected Properties / CancelBooking","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request type=\"3\" timestamp=\"1436931804\">\n    <!-- Property = 5 LookBack = 90 Days Now - From <= 90 Days -->\n    <!-- from & to is specified with an offset from the UTC time by adding a positive or negative time behind the time - like this: -->\n    <criteria status=\"CancelBooking\" to=\"2020-04-30T00:00:00+07:00\" from=\"2020-04-01T00:00:00+07:00\">\n        <property id=\"10730279\"/>\n    </criteria>\n</request>"},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"nginx/1.16.1"},{"key":"Date","value":"Thu, 23 Apr 2020 07:55:02 GMT"},{"key":"Content-Type","value":"application/xml; charset=UTF-8"},{"key":"Content-Length","value":"240"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"<result timestamp=\"1587628502177\">\n    <properties count=\"1\">\n        <property id=\"10730279\">\n            <bookings>\n                <booking booking_id=\"473966145\" booking_date=\"2020-04-23T14:32:00+07:00\" last_action=\"2020-04-23T14:54:58+07:00\" arrival=\"2020-04-24\" departure=\"2020-04-25\" status=\"CancelBooking\" acknowledge=\"0\"/>\n            </bookings>\n        </property>\n    </properties>\n</result>"}],"_postman_id":"bfc32f73-fdc0-4dd3-957e-76add3c46f68"},{"name":"GetBookingList V2 - All Properties","id":"bb85afaf-5f48-4c2d-9390-34776a525975","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"text/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1436931804\" type=\"9\">\n    <criteria from=\"2021-04-23T08:30:00+07:00\" to=\"2021-04-23T09:30:00+07:00\" status=\"ConfirmBooking\">\n   </criteria>\n</request>"},"url":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","description":"<p>This function allows the connectivity partners to get booking list without hotel specified. GetBookingListV2 will return all bookings that updated in specified period of all hotels belong to channel manager.</p>\n<h1 id=\"xml-elements-and-attributes\">XML Elements and Attributes</h1>\n<h2 id=\"getbookinglistv2rq\">GetBookingListV2RQ</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Request</h5> Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1483526410357<br />(GMT: Wed, 04 Jan 2017 10:40:10.357)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time the XML was generated in the originating system in EPOCH. System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td>Type</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>9</td>\n    <td>This number identifies a particular request: 1 SetAri<br />2 GetAri<br />3 GetBookingList<br />4 GetBookingDetail<br />5 GetProduct<br />8 SetProduct<br />9 GetBookingListV2</td>\n  </tr>\n  <tr>\n    <td><h5>Criteria</h5> from to</td>\n    <td>Datetime YYYY-MM-DD HH:MM:SS</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2015-09-01T00:00:00+07:00</td>\n    <td>The inclusive start (from) and end (to) date and time for the booking query based on last action. The inclusive start (from) and end (to) date and time for the booking query. Time of reference is always UTC time zone +/- to identify other timezones. From date time cannot be older than 740 days. Date range allows up to 60 mins per request.</td>\n  </tr>\n  <tr>\n    <td>status</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>N</td>\n    <td>AmendBooking</td>\n    <td>Denotes the type of bookings to query. Options are: ConfirmBooking AmendBooking CancelBooking<br />If no status specified, all booking status will be returned.</td>\n  </tr>\n  <tr>\n    <td><h5>Result</h5> Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>1483526410357<br />(2017-01-04 10:40:10.357)</td>\n    <td>2015-09-15T12:39:00+07:00</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time the XML was generated in the originating system in EPOCH. System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td><h5>Properties</h5> count</td>\n    <td>Numeric 1-5</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>Count indicates number of properties.</td>\n  </tr>\n  <tr>\n    <td><h5>Property</h5> Id</td>\n    <td>String Length 1-8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>123</td>\n    <td>Every request must contain a valid property ID that partner has access to and correspond with booking ID</td>\n  </tr>\n  <tr>\n    <td><h5>Booking</h5> booking_id</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>10-5-2015</td>\n    <td>The inclusive end date for the booking (check out date)</td>\n  </tr>\n  <tr>\n    <td>booking_date</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>ConfirmBooking</td>\n    <td>Denotes the status type of bookings. Statuses are: <br />ConfirmBooking <br />AmendBooking <br />CancelBooking</td>\n  </tr>\n  <tr>\n    <td>last_action</td>\n    <td>0 - 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>0</td>\n    <td>It defines if a booking is already acknowledged or not: <br />0= not acknowledge <br />1= acknowledged</td>\n  </tr>\n  <tr>\n    <td>arrival</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>1</td>\n    <td></td>\n    <td>2016-10-05</td>\n    <td>The inclusive start date for the booking (check in date)</td>\n  </tr>\n  <tr>\n    <td>departure</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>1</td>\n    <td></td>\n    <td>2016-10-05</td>\n    <td>The inclusive end date for the booking (check out date)</td>\n  </tr>\n  <tr>\n    <td>status</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td></td>\n    <td>ConfirmBooking</td>\n    <td>Denotes the status type of bookings. Statuses are: <br />ConfirmBooking <br />AmendBooking <br />CancelBooking</td>\n  </tr>\n  <tr>\n    <td>acknowledge</td>\n    <td>0 - 1</td>\n    <td>1</td>\n    <td></td>\n    <td>0</td>\n    <td>It defines if a booking is already acknowledged or not: <br />0= not acknowledge <br />1= acknowledged</td>\n  </tr>\n</table></div>\n\n<h2 id=\"getbookinglistv2rs\">GetBookingListV2RS</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Result</h5> Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1483526410357<br />(2017-01-04 10:40:10.357)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time the XML was generated in the originating system in EPOCH. System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td><h5>Properties</h5> count</td>\n    <td>Numeric 1-5</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>Count indicates number of properties.</td>\n  </tr>\n  <tr>\n    <td><h5>Property</h5> Id</td>\n    <td>String Length 1-8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>123</td>\n    <td>Every request must contain a valid property ID that partner has access to and correspond with booking ID</td>\n  </tr>\n  <tr>\n    <td><h5>Booking</h5> booking_id</td>\n    <td>Numeric Length 1-15</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>4335173</td>\n    <td>Agoda Booking ID for this booking. This must be used when sending GetBookingDetails request</td>\n  </tr>\n  <tr>\n    <td>booking_date</td>\n    <td>Datetime YYYY-MM-DD HH:MM:SS</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2015-09-15T12:39:00+07:00</td>\n    <td>Date that booking was created on Agoda YCS5. Time of reference is always UTC time zone +/- to identify other timezones.</td>\n  </tr>\n  <tr>\n    <td>last_action</td>\n    <td>Datetime YYYY-MM-DD HH:MM:SS</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2015-09-15T12:47:33+07:00</td>\n    <td>The last date that the booking was actioned: created/amended/cancelled. If booking is amended multiple times only the last amended date is listed here. Time of reference is always UTC time zone +/- to identify other timezones.</td>\n  </tr>\n  <tr>\n    <td>arrival</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>10-4-2015</td>\n    <td>The inclusive start date for the booking (check in date)</td>\n  </tr>\n  <tr>\n    <td>departure</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>10-5-2015</td>\n    <td>The inclusive end date for the booking (check out date)</td>\n  </tr>\n  <tr>\n    <td>status</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>ConfirmBooking</td>\n    <td>Denotes the status type of bookings. Statuses are: <br />ConfirmBooking <br />AmendBooking <br />CancelBooking</td>\n  </tr>\n  <tr>\n    <td>acknowledge</td>\n    <td>0 - 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>0</td>\n    <td>It defines if a booking is already acknowledged or not: <br />0= not acknowledge <br />1= acknowledged</td>\n  </tr>\n</table></div>","urlObject":{"protocol":"https","path":["api"],"host":["supply","agoda","com"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}],"variable":[]}},"response":[{"id":"60201773-001b-419e-881c-d92b99be0ea0","name":"GetBookingListV2 - Response (xsd and pre-validation pass)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1436931804\" type=\"9\">\n    <criteria from=\"2017-04-10T15:00:00+07:00\" to=\"2017-04-10T16:00:00+07:00\"></criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"nginx/1.16.1"},{"key":"Date","value":"Thu, 23 Apr 2020 07:39:56 GMT"},{"key":"Content-Type","value":"application/xml; charset=UTF-8"},{"key":"Content-Length","value":"93"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"<result timestamp=\"1491896697506\">\n    <properties count=\"6\">\n        <property id=\"2261100\">\n            <bookings>\n                <booking booking_id=\"6724245\" booking_date=\"2017-04-03T16:32:00+07:00\" last_action=\"2017-04-10T15:32:46+07:00\" arrival=\"2017-04-24\" departure=\"2017-04-25\" status=\"ConfirmBooking\" acknowledge=\"0\"/>\n                <booking booking_id=\"50168501\" booking_date=\"2017-04-03T17:48:00+07:00\" last_action=\"2017-04-10T15:48:36+07:00\" arrival=\"2017-04-13\" departure=\"2017-04-14\" status=\"ConfirmBooking\" acknowledge=\"0\"/>\n                <booking booking_id=\"50168507\" booking_date=\"2017-04-03T17:59:00+07:00\" last_action=\"2017-04-10T15:59:17+07:00\" arrival=\"2017-04-13\" departure=\"2017-04-14\" status=\"ConfirmBooking\" acknowledge=\"0\"/>\n            </bookings>\n        </property>\n        <property id=\"6001284\">\n            <bookings>\n                <booking booking_id=\"6718391\" booking_date=\"2017-04-02T01:33:00+07:00\" last_action=\"2017-04-10T15:33:15+07:00\" arrival=\"2017-05-02\" departure=\"2017-05-03\" status=\"ConfirmBooking\" acknowledge=\"0\"/>\n                <booking booking_id=\"6718406\" booking_date=\"2017-04-02T01:33:00+07:00\" last_action=\"2017-04-10T15:33:15+07:00\" arrival=\"2017-05-02\" departure=\"2017-05-03\" status=\"ConfirmBooking\" acknowledge=\"0\"/>\n                <booking booking_id=\"6718393\" booking_date=\"2017-04-02T01:33:00+07:00\" last_action=\"2017-04-10T01:33:25+07:00\" arrival=\"2017-05-02\" departure=\"2017-05-03\" status=\"ConfirmBooking\" acknowledge=\"0\"/>\n            </bookings>\n        </property>\n    </properties>\n</result>"},{"id":"62c48eac-a992-4954-90c4-aed9164d64b5","name":"GetBookingList V2 - Response (no booking return)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1436931804\" type=\"9\">\n    <criteria from=\"2021-04-23T08:30:00+07:00\" to=\"2021-04-23T09:30:00+07:00\" status=\"ConfirmBooking\">\n   </criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"_postman_previewlanguage":"xml","header":null,"cookie":[],"responseTime":null,"body":"<result timestamp=\"1493017714395\">\n    <properties count=\"0\">\r\n</properties>\n</result>"},{"id":"a01aa4cb-65cb-4413-bab4-91dfb03bae55","name":"GetBookingList V2 - Response (xsd or pre-validation fail)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1436931804\" type=\"9\">\n    <criteria from=\"2017-04-10T15:00:00+07:00\" to=\"2017-04-10T16:00:00+07:00\"></criteria>\n</request>","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"_postman_previewlanguage":"xml","header":null,"cookie":[],"responseTime":null,"body":"<result timestamp=\"1491897000500\">\n    <errors>\n        <error code=\"1101\" description=\"From date: 2017-04-05T15:09:30.000+07:00 cannot be later than To date: 2017-04-02T15:09:51.000+07:00\"/>\n    </errors>\n</result>"}],"_postman_id":"bb85afaf-5f48-4c2d-9390-34776a525975"},{"name":"GetBookingDetail - Booking Retrieval","id":"6a20aa1a-5857-4fb0-8c2c-0c78ca83c4c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1436931804\" type=\"4\">\n    <criteria language=\"EN\">\n        <property id=\"99\">\n            <booking id=\"10061388\"/>\n            <booking id=\"10009302\"/>\n            <booking id=\"10008589\"/>\n            <booking id=\"10008390\"/>\n            <booking id=\"10061395\"/>\n        </property>\n    </criteria>\n</request>\n<!--\nMax property id is restricted to 1\nMax booking ids restricted to 50\n-->"},"url":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","description":"<p>This function allows the Connectivity Partners to collect the booking details for a specific property up to 50 bookings at once.\nThe data retention period for booking details is 90 days.</p>\n<h1 id=\"xml-elements-and-attributes\">XML Elements and Attributes</h1>\n<h2 id=\"getbookingdetailsrq\">GetBookingDetailsRQ</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Request</h5> Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1483526410357<br />(GMT: Wed, 04 Jan 2017 10:40:10.357)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time the XML was generated in the originating system in EPOCH. System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td>Type</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>4</td>\n    <td>This number identifies a particular request: 1 SetAri<br />2 GetAri<br />3 GetBookingList<br />4 GetBookingDetail<br />5 GetProduct<br />8 SetProduct<br />9 GetBookingListV2</td>\n  </tr>\n  <tr>\n    <td><h5>Criteria</h5> Language</td>\n    <td>Alpha Lentgh 2</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>EN</td>\n    <td>Language in which the response will be returned. If the language is not correct, the response will return a warning and the response in English. Refer to language list for languages available for use.</td>\n  </tr>\n  <tr>\n    <td><h5>Property</h5> Id</td>\n    <td>String Length 1-8</td>\n    <td>1</td>\n    <td>N</td>\n    <td>123</td>\n    <td>Every request must contain a valid property ID that partner has access to. Every property has a unique ID in Agoda and every Channel Manager partner has to have the access to this specific property via an authorized API key.</td>\n  </tr>\n  <tr>\n    <td>booking_id</td>\n    <td>Numeric Length 1-15</td>\n    <td>11 to 50</td>\n    <td>Y</td>\n    <td>4335173</td>\n    <td>Agoda Booking ID for this booking. This ID is required when sending GetBookingDetails request and maximum number of booking id that can be set in this request is 50.</td>\n  </tr>\n</table></div>\n\n<h2 id=\"getbookingdetailsrs\">GetBookingDetailsRS</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Result</h5> Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1483526410357<br />(GMT: Wed, 04 Jan 2017 10:40:10.357)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time the XML was generated in the originating system in EPOCH. System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td><h5>Bookings</h5> count</td>\n    <td>Numeric 1-50</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>Count indicates number of bookings returned for the requested property.</td>\n  </tr>\n  <tr>\n    <td>iataid</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>96637800</td>\n    <td>Lists Agoda IATA number.</td>\n  </tr>\n  <tr>\n    <td><h5>Booking</h5> Property Id</td>\n    <td>String Length 1-8</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>123</td>\n    <td>Agoda property ID. If booking ID is not returned, invalid Booking ID was not found against property ID in Request.</td>\n  </tr>\n  <tr>\n    <td>property_name</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Sunshine Garden Resort</td>\n    <td>Agoda Booking ID for this booking. This must be used when sending GetBookingDetails request</td>\n  </tr>\n  <tr>\n    <td>booking_id</td>\n    <td>Numeric Length 1-15</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>4335173</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>booking_date</td>\n    <td>Datetime YYYY-MM-DD HH:MM:SS</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2015-09-15T12:39:00+07:00</td>\n    <td>Date that booking was created on Agoda YCS. Time of reference is always UTC time zone +/- to identify other timezones.</td>\n  </tr>\n  <tr>\n    <td>last_action</td>\n    <td>Datetime YYYY-MM-DD HH:MM:SS</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2015-09-15T12:47:33+07:00</td>\n    <td>The last date that the booking was changed/amended. If booking is amended multiple times only the last amended date is listed here. Time of reference is always UTC time zone +/- to identify other timezones.</td>\n  </tr>\n  <tr>\n    <td>arrival</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2015-04-24</td>\n    <td>The inclusive start date for the booking (check in date)</td>\n  </tr>\n  <tr>\n    <td>departure</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2015-04-25</td>\n    <td>The inclusive end date for the booking (check out date)</td>\n  </tr>\n  <tr>\n    <td>status</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>ConfirmBooking</td>\n    <td>Denotes the status type of bookings. Statuses are: <br />ConfirmBooking <br />AmendBooking <br />CancelBooking</td>\n  </tr>\n  <tr>\n    <td>acknowledge</td>\n    <td>0 - 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>0</td>\n    <td>It defines if a booking is already acknowledged or not: <br />0= not acknowledged <br />1= acknowledged</td>\n  </tr>\n  <tr>\n    <td>room_id</td>\n    <td>Numeric Length 1-8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>72027</td>\n    <td>This is the Agoda room ID related to the property inventory element in the YCS API version 5. Agoda active Room IDs can be returned with Getproduct request. If no room is specified in the request, all active Rooms will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>room_type</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Deluxe</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>channel_id</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>Channels in YCS5 are replacing the Rateplan in YCS5. Channels are aimed to expand or limit customer type and usually will have price discount or sale limitations: <br />1 Retail <br />2 Agoda Private Sale <br />6 Domestic <br />7 Mobile <br />8 Agoda Opaque <br />9 China</td>\n  </tr>\n  <tr>\n    <td>channel_name</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Retail</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>rateplan_id</td>\n    <td>Numeric Length 1-6</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1 to 6</td>\n    <td>This is the Agoda Rateplan ID related to a particular offer active on a room. Agoda active Rate Type IDs can be returned with Getproduct request. If no Rateplan ID is specified in the request, all active Rateplans will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>rateplan_name</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>N</td>\n    <td>Breakfast</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>promotion_id</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>N</td>\n    <td>1184215</td>\n    <td>Defines the ID related to a Promotion activate on a specific rateplan.</td>\n  </tr>\n  <tr>\n    <td>promotion_name</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>N</td>\n    <td>Early Booking Saver Rate includes 15% discount!</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>room_count</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>Number of rooms booked in the same booking ID.</td>\n  </tr>\n  <tr>\n    <td>adults</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2</td>\n    <td>Number of Adults booked in booking. If multiple rooms are booked this number will be total adults for all bookings</td>\n  </tr>\n  <tr>\n    <td>children</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>Number of Children booked in booking. If multiple rooms are booked this number will be total adults for all bookings</td>\n  </tr>\n  <tr>\n    <td>extrabeds</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>Lists the number of extra beds that are booked in the booking. Any extra bed costs will be listed in the price type = \"Extrabed\".</td>\n  </tr>\n  <tr>\n    <td>cxl_code</td>\n    <td>String</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1D1N_1N<br />= cancell within 1 day 1 night charge, no show 1 night charge<br />365D100P_100P<br />= non refundable</td>\n    <td>All cancellation policies contain 3 policy elements. Polices are set in order and policy 3 is always no-show policy and will list days as 0. The Policies value relates to a value or percentage</td>\n  </tr>\n  <tr>\n    <td><h5>customer</h5> first_name</td>\n    <td>String</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Mary</td>\n    <td>The first name of the guest for the booking</td>\n  </tr>\n  <tr>\n    <td>last_name</td>\n    <td>String</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Wong</td>\n    <td>The last name of the guest for the booking</td>\n  </tr>\n  <tr>\n    <td>nationality</td>\n    <td>String</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Thailand</td>\n    <td>The nationality of the guest making the booking</td>\n  </tr>\n  <tr>\n    <td>email</td>\n    <td>String</td>\n    <td>1</td>\n    <td>N</td>\n    <td>fxi@test.com</td>\n    <td>The email address of Agoda messaging service used to facilitate communication between guest and property up to 50 characters</td>\n  </tr>\n  <tr>\n    <td>phone</td>\n    <td>String</td>\n    <td>1</td>\n    <td>N</td>\n    <td>0811234567</td>\n    <td>The phone number of guest if ‘customer info’ is activated for the property</td>\n  </tr>\n  <tr>\n    <td><h5>benefits</h5> benefit benefit_id</td>\n    <td>Numeric Length 1</td>\n    <td>1 to 9</td>\n    <td>N</td>\n    <td>5</td>\n    <td>Denotes of upto 5 benefits linked to the Rate Plan booked. Refer to benefits list for the full list of benefits available.</td>\n  </tr>\n  <tr>\n    <td>benefit_name</td>\n    <td>Alpha</td>\n    <td>1 to 9</td>\n    <td>N</td>\n    <td>Lunch</td>\n    <td>Denotes of upto 5 benefits linked to the Rate Plan booked. Refer to benefits list for the full list of benefits available.</td>\n  </tr>\n  <tr>\n    <td><h5>requests</h5> request request_name</td>\n    <td>Alpha</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>NonSmoke</td>\n    <td>Denotes of special requests the customer can ask when create a booking: <br />NonSmoke <br />LateCheckIn <br />EarlyCheckIn <br />HighFloor<br />LargeBed<br />TwinBeds <br />AirportTransfer:{0} <br />AdditionalNotes:{0} <br />FlightNo:{0} <br />ArrivalFlightNo:{0}<br />DepartFlightNo:{0}<br /></td>\n  </tr>\n  <tr>\n    <td><h5>payment</h5> card_type</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>N</td>\n    <td>Mastercard</td>\n    <td>Credit card type for booking – will always show as Mastercard for all bookings as this is the Agoda card type for UPC card.</td>\n  </tr>\n  <tr>\n    <td>card_number</td>\n    <td>Numeric Length 16</td>\n    <td>1</td>\n    <td>N</td>\n    <td>503444796022XXXX</td>\n    <td>Number of the Agoda UPC (Unique Plastic Card) used by the property to debit the amount of the booking.</td>\n  </tr>\n  <tr>\n    <td>card_name</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>N</td>\n    <td>Agoda Company Pte Ltd.</td>\n    <td>Name on credit card. For all bookings will show ‘Agoda Pte Ltd.’</td>\n  </tr>\n  <tr>\n    <td>card_exp</td>\n    <td>Date MM/YYYY</td>\n    <td>1</td>\n    <td>N</td>\n    <td>10/2017</td>\n    <td>Credit card expiry date</td>\n  </tr>\n  <tr>\n    <td>card_cvv</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>N</td>\n    <td>170</td>\n    <td>Credit card CCV number</td>\n  </tr>\n  <tr>\n    <td><h5>prices</h5> currency</td>\n    <td>Alpha 3</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>763.27</td>\n    <td>Denotes type of rates is returned in the GetBookingDetails response.<br />Net inc = net exc + taxes + fees</td>\n  </tr>\n  <tr>\n    <td>net_inclusive_amt</td>\n    <td>Numeric nnn.nn</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>763.27</td>\n    <td>Denotes type of rates is returned in the GetBookingDetails response. Net inc = net exc + taxes + fees</td>\n  </tr>\n  <tr>\n    <td>net_exclusive_amt</td>\n    <td>Numeric nnn.nn</td>\n    <td>1</td>\n    <td>N</td>\n    <td>693.88</td>\n    <td>Net exc = net price without taxes and commission</td>\n  </tr>\n  <tr>\n    <td>sell_inclusive_amt</td>\n    <td>Numeric nnn.nn</td>\n    <td>1</td>\n    <td>N</td>\n    <td>919.60</td>\n    <td>Sell inc = net exc + taxes + fees + commissions</td>\n  </tr>\n  <tr>\n    <td>sell_exclusive_amt</td>\n    <td>Numeric nnn.nn</td>\n    <td>1</td>\n    <td>N</td>\n    <td>836.00</td>\n    <td>Sell exc = net exc + commissions</td>\n  </tr>\n  <tr>\n    <td>tax_amt</td>\n    <td>Numeric nnn.nn</td>\n    <td>1</td>\n    <td>N</td>\n    <td>69.39</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>fees_amt</td>\n    <td>Numeric nnn.nn</td>\n    <td>1</td>\n    <td>N</td>\n    <td>0.00</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>refsell_amt</td>\n    <td>Numeric nnn.nn</td>\n    <td>1</td>\n    <td>N</td>\n    <td>919.60</td>\n    <td>Refsell = net exc + taxes + fees + commissions + mandatory surcharge</td>\n  </tr>\n  <tr>\n    <td>type</td>\n    <td></td>\n    <td>1</td>\n    <td>N</td>\n    <td>Cancellation</td>\n    <td>Denotes the type of attribute the charge is referred to. Types are:<br />Room <br />Surcharge <br />Extrabed <br />Cancellation<br /></td>\n  </tr>\n  <tr>\n    <td>paymentmodel</td>\n    <td>Numeric</td>\n    <td>0 to 1</td>\n    <td>N</td>\n    <td>1</td>\n    <td>Payment model will be returned for channel manager participated Property Collect. Payment model can be 1 or 2<br />1 = Merchance booking (Agoda Collect)<br />2 = Agency booking (Property Collect)</td>\n  </tr>\n</table></div>\n\n<h2 id=\"difference-between-agoda-collect-and-property-collect-payment-model\">Difference between Agoda Collect and Property Collect payment model</h2>\n<h5>‘Paymentmodel’ = 1 (\"pay to Agoda\" bookings)</h5>\n\n<p>This is the current payment model where guests pay Agoda. For this model, connectivity partner receives virtual credit card details.</p>\n<h6></h6>\n\n<h5>‘Paymentmodel’ = 2 (\"property collect\" bookings)</h5>\n\n<p>This is the new payment model where guests pay directly to the property. For this model, channel manager receives no credit card details.</p>\n<h6></h6>\n\n<p>**No credit card details are transmitted via API when a property is enabling ‘Property Collect’ payment model.</p>\n<h2 id=\"getbookingdetails-tax-breakdown\">GetBookingDetails Tax breakdown</h2>\n<p>You will find below scenario for returning the tax breakdown in the GetBookingDetails response.</p>\n<p>Net Inclusive + Ref Sell Inclusive: configuration for all markets only except for some specific markets</p>\n<h6>We recommend you to develop the API for hosting the 7 attributes returning in the Getbookingdetails response.</h6>\n\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>1. Net Exclusive</h5></td>\n    <td><h5>2. Tax on Net</h5></td>\n    <td><h5>3. Fees on Net</h5></td>\n    <td><h5>4. Net Inclusive</h5></td>\n    <td><h5>5. Sell Exclusive</h5></td>\n    <td><h5>6. Sell Inclusive</h5></td>\n    <td><h5>6. Ref Sell Inclusive</h5></td>\n    <td><h5>Example which kinds of hotels has this setting</h5></td>\n  </tr>\n  <tr>\n    <td>0</td>\n    <td>0</td>\n    <td>0</td>\n    <td>1</td>\n    <td>0</td>\n    <td>0</td>\n    <td>1</td>\n    <td><h6>Merchant hotels:</h6> majority of properties worldwide.</td>\n  </tr>\n </table></div>","urlObject":{"protocol":"https","path":["api"],"host":["supply","agoda","com"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}],"variable":[]}},"response":[{"id":"3f7d7177-5bf0-4a89-8ae0-46950a3cfafd","name":"GetBookingDetails Response Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1436931804\" type=\"4\">\n    <criteria language=\"EN\">\n        <property id=\"99\">\n            <booking id=\"10061388\"/>\n            <booking id=\"10009302\"/>\n            <booking id=\"10008589\"/>\n            <booking id=\"10008390\"/>\n            <booking id=\"10061395\"/>\n        </property>\n    </criteria>\n</request>\n<!--\nMax property id is restricted to 1\nMax booking ids restricted to 50\n-->","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"nginx/1.16.1"},{"key":"Date","value":"Thu, 23 Apr 2020 07:47:10 GMT"},{"key":"Content-Type","value":"application/xml; charset=UTF-8"},{"key":"Content-Length","value":"621"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"<result timestamp=\"1501647925927\">\n    <bookings count=\"1\" iataid=\"96637800\">\n        <booking property_id=\"567792\" property_name=\"PCLN Hotel Test - Do Not Book\" booking_id=\"220952733\" booking_date=\"2017-08-02T11:24:00+07:00\" last_action=\"2017-08-02T11:24:14+07:00\" arrival=\"2017-08-16\" departure=\"2017-08-17\" status=\"ConfirmBooking\" acknowledge=\"0\" room_id=\"8179856\" room_type=\"Standard - 2 persons\" channel_id=\"1\" channel_name=\"Retail\" rateplan_id=\"937982\" rateplan_name=\"Room Only111\" promotion_id=\"141776369\" promotion_name=\"Limited time offer. Rate includes 20% discount!\" room_count=\"1\" adults=\"2\" children=\"0\" extrabeds=\"0\" cxl_code=\"1D1N_1N\">\n            <customer first_name=\"agoda\" last_name=\"test\" nationality=\"Thailand\"/>\n            <requests>\n                <request request_name=\"NonSmoke\"/>\n                <request request_name=\"AdditionalNotes:&quot;**Late arrival 23:00**&quot;\"/>\n            </requests>\n            <prices currency=\"USD\" sell_inclusive_amt=\"269.28\">\n                <price date=\"2017-08-16\" sell_inclusive_amt=\"269.28\" type=\"Room\"/>\n            </prices>\n            <paymentmodel>2</paymentmodel>\n        </booking>\n    </bookings>\n</result>\n<result timestamp=\"1501649348742\">\n    <bookings count=\"1\" iataid=\"96637800\">\n        <booking property_id=\"567792\" property_name=\"PCLN Hotel Test - Do Not Book\" booking_id=\"220952733\" booking_date=\"2017-08-02T11:24:00+07:00\" last_action=\"2017-08-02T11:48:49+07:00\" arrival=\"2017-08-16\" departure=\"2017-08-17\" status=\"CancelBooking\" acknowledge=\"0\" room_id=\"8179856\" room_type=\"Standard - 2 persons\" channel_id=\"1\" channel_name=\"Retail\" rateplan_id=\"937982\" rateplan_name=\"Room Only111\" promotion_id=\"141776369\" promotion_name=\"Limited time offer. Rate includes 20% discount!\" room_count=\"1\" adults=\"2\" children=\"0\" extrabeds=\"0\" cxl_code=\"1D1N_1N\">\n            <customer first_name=\"agoda\" last_name=\"test\" nationality=\"Thailand\"/>\n            <requests>\n                <request request_name=\"NonSmoke\"/>\n                <request request_name=\"AdditionalNotes:&quot;**Late arrival 23:00**&quot;\"/>\n            </requests>\n            <prices currency=\"USD\" sell_inclusive_amt=\"0.0\">\n                <price date=\"\" sell_inclusive_amt=\"0.0\" refsell_amt=\"0.0\" type=\"Cancellation\"/>\n            </prices>\n            <paymentmodel>2</paymentmodel>\n        </booking>\n    </bookings>\n</result>"},{"id":"bc223f78-3a43-4cf2-821d-3640a2f32c11","name":"GetBookingDetail - Booking Retrieval / AmendBooking","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1436931804\" type=\"4\">\n    <criteria language=\"EN\">\n        <property id=\"99\">\n            <booking id=\"10061388\"/>\n            <booking id=\"10009302\"/>\n            <booking id=\"10008589\"/>\n            <booking id=\"10008390\"/>\n            <booking id=\"10061395\"/>\n        </property>\n    </criteria>\n</request>\n<!--\nMax property id is restricted to 1\nMax booking ids restricted to 50\n-->","options":{"raw":{"language":"xml"}}},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"nginx/1.16.1"},{"key":"Date","value":"Thu, 23 Apr 2020 07:52:55 GMT"},{"key":"Content-Type","value":"application/xml; charset=UTF-8"},{"key":"Content-Length","value":"625"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"<result timestamp=\"1587628375572\">\n    <bookings count=\"1\" iataid=\"96637800\">\n        <booking property_id=\"10730279\" property_name=\"BKK Connectivity Test Hotel 11 - DO NOT BOOK\" booking_id=\"473966145\" booking_date=\"2020-04-23T14:32:00+07:00\" last_action=\"2020-04-23T14:51:45+07:00\" arrival=\"2020-04-24\" departure=\"2020-04-25\" status=\"AmendBooking\" acknowledge=\"0\" room_id=\"129340033\" room_type=\"Standard Doubles\" channel_id=\"2\" channel_name=\"Private Sale\" rateplan_id=\"3392615\" rateplan_name=\"My Rate\" room_count=\"1\" adults=\"3\" children=\"1\" extrabeds=\"0\" cxl_code=\"0D0N_100P\">\n            <customer first_name=\"Yok\" last_name=\"Manutchaya\" nationality=\"Thailand\"/>\n            <requests>\n                <request request_name=\"ArrivalTime:&quot;11:00 - 12:00&quot;\"/>\n            </requests>\n            <payment card_type=\"MasterCard\" card_number=\"XXXXXXXXXXXXXXXX\" card_name=\"Agoda Company Pte Ltd.\" card_exp=\"09/2020\" card_cvv=\"XXX\"/>\n            <prices currency=\"THB\" net_inclusive_amt=\"72.0\" refsell_amt=\"84.71\">\n                <price date=\"2020-04-24\" net_inclusive_amt=\"72.0\" refsell_amt=\"84.71\" type=\"Room\"/>\n            </prices>\n        </booking>\n    </bookings>\n</result>"}],"_postman_id":"6a20aa1a-5857-4fb0-8c2c-0c78ca83c4c2"}],"id":"fa24a0cd-0294-4df0-a4c4-542f35a42b8e","_postman_id":"fa24a0cd-0294-4df0-a4c4-542f35a42b8e","description":""},{"name":"Product Management","item":[{"name":"SetProduct","id":"0f093ed6-4fd3-4840-9d1e-a9152fb6ad7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1436931804\" type=\"8\">\n    <criteria property_id=\"10730279\" currency=\"THB\">\n        <rooms>\n            <room room_id=\"129340033\" num_persons=\"2\" min_rate=\"100.0\"/>\n        </rooms>\n        <rateplans>\n            <rateplan rateplan_id=\"3392615\" min_los=\"1\" max_los=\"1\" min_adv_days=\"1\" max_adv_days=\"1\"/>\n            <rateplan rateplan_id=\"3392615\" min_los=\"1\" max_los=\"1\"/>\n            <rateplan rateplan_id=\"3392615\" min_adv_days=\"1\" max_adv_days=\"1\"/>\n        </rateplans>\n    </criteria>\n</request>"},"url":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","description":"<p>SetProduct call allow partners to update room setting (such as Maximum number of person per room, minimum rate threshold of the room) and rateplan restriction (such as minimum and maximum night of stay, minimum and maximum days purchase in advance).</p>\n<h5>Room Level</h5> - any value set at Room Level affects Price parameters for SetARI call.\n* SetProduct min_rate = ‘100’, SetARI ‘prices’ default, single, double &amp;/or full Rate must be &gt; 100\n* SetProduct num_persons = ‘3’, SetARI ‘prices’ default or single, double &amp; full Rate is Mandatory\n* SetProduct num_persons = ‘2’, SetARI ‘prices’ default or single &amp; double Rate is Mandatory\n\n<h5>Rate Plan Level</h5> - all items in this section will apply the restriction to existing cached ARI at Rate Plan level for all dates. However, min_los &amp; max_los can also be set via SetARI at date level and will override cached restrictions for the specified room, Rate Plan and date only.\n\n<h5>Scenario</h5>\n<h6>Update # 1.</h6> SetProduct min_los = ‘2’ this will apply minLOS ‘2’ restrictions to all dates for room, rates &amp; dates associated with the specified rate plan.\n<h6>Update # 2.</h6> SetARI min = ‘3’ for a specific room ID, Rate Plan ID &amp; date. This will change minLOS to ‘3’ only for the specific room, Rateplan &amp; date only until it is override by a subsequent minLOS update via SetARI or SetProduct.\n\n<h1 id=\"xml-elements-and-attributes\">XML Elements and Attributes</h1>\n<h2 id=\"setproductrq\">SetProductRQ</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Request</h5> Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1454628391 (2017-02-04T23:26:31Z)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time provided must correspond with the time in the originating system and in EPOCH.<br />System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td>Type</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>8</td>\n    <td>This number identifies a particular<br />request:<br />1 SetAri<br />2 GetAri<br />3 GetBookingList<br />4 GetBookingDetail<br />5 GetProduct<br />8 SetProduct<br />9 GetBookingListV2</td>\n  </tr>\n  <tr>\n    <td><h5>Criteria</h5> Property Id</td>\n    <td>String Length 1-8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>123</td>\n    <td>Every request must contain a valid agoda property ID. Every property has a unique ID in Agoda and partner must first be authorised by agoda to have access to the property ID.</td>\n  </tr>\n  <tr>\n    <td>currency</td>\n    <td>Alpha 3</td>\n    <td>1</td>\n    <td>N</td>\n    <td>THB</td>\n    <td>Currency is optional attribute but it will be mandadatory if partner would like to set minimum rate in the request.</td>\n  </tr>\n  <tr>\n    <td><h5>Room</h5> Update room_id</td>\n    <td>Numeric Length 1-8</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>72027</td>\n    <td>This is the Agoda room ID related to the property inventory element. Agoda active Room IDs can be returned with Getproduct request. If no room is specified in the request, all active Rooms will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>num_persons</td>\n    <td>Numeric Length 1-2</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>1-30</td>\n    <td>Maximum number of persons that can be accommodated in the room using existing bedding.</td>\n  </tr>\n  <tr>\n    <td>min_rate</td>\n    <td>Numeric Length 1-9</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>200.0</td>\n    <td>Minimum price for this room. Any value set for specified Room_id will restrict rate value set in SetAri call</td>\n  </tr>\n  <tr>\n    <td><h5>Rateplan</h5> Update<br />rateplan_id</td>\n    <td>Numeric Length 1-6</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>1 to 6</td>\n    <td>This is the Agoda Rateplan ID related to a particular offer active on a room. Agoda active Rate Type IDs can be returned with Getproduct request. If no Rateplan ID is specified in the request, all active Rateplans will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>min_los</td>\n    <td>Numeric length 1-2</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>1 to 99</td>\n    <td>Minimum length of stay that is required to search and book this room type. MinLOS cannot be greater than maxLOS. To remove minLOS restriction, default value = ‘1’.</td>\n  </tr>\n  <tr>\n    <td>max_los</td>\n    <td>Numeric length 1-2</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>0 to 99</td>\n    <td>Minimum length of stay that is required to search and book this room type. MaxLOS cannot be less than minLOS. To remove maxLOS restriction, default value = ‘0’.</td>\n  </tr>\n  <tr>\n    <td>min_adv_days</td>\n    <td>Numeric Length 1-2</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>0 to 90</td>\n    <td>Minimum Days in advance that rate must be booked to be eligible for a specific rateplan. To remove MinAdv restriction, default value = ‘0’.</td>\n  </tr>\n  <tr>\n    <td>max_adv_days</td>\n    <td>Numeric Length 1-2</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>-1 to 90</td>\n    <td>Maximum Days in advance that rate must be booked to be eligible for a specific rateplan.<br />To remove MinAdv restriction, default value = ‘-1’. Note: ‘0’ restricts the sale of rate plan to be same day as check in date.</td>\n  </tr>\n</table></div>\n\n<h2 id=\"setproductrs\">SetProductRS</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n    <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Result</h5> Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1454628391 (2017-02-04T23:26:31Z)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time provided will correspond with the time in the originating system and in EPOCH.<br />System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td>success</td>\n    <td></td>\n    <td>1</td>\n    <td>N</td>\n    <td></td>\n    <td>This tag is returned when set product success without error.</td>\n  </tr>\n  <tr>\n    <td>Property<br />id</td>\n    <td>String Length 1-8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>123</td>\n    <td>Every request must contain a valid property ID that partner has access to. Every property has a unique ID in Agoda and every Channel Manager partner has to have the access to this specific property via an authorized API key.</td>\n  </tr>\n  <tr>\n    <td>Error<br />code</td>\n    <td>Numeric Length 4</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>Refer to Error List</td>\n    <td>Agoda’s error code. Refer to Error List</td>\n  </tr>\n  <tr>\n    <td>Error<br />description</td>\n    <td>String</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td>Refer to Error List</td>\n    <td>Agoda’s error message. Refer to Error List</td>\n  </tr>\n</table></div>","urlObject":{"protocol":"https","path":["api"],"host":["supply","agoda","com"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}],"variable":[]}},"response":[{"id":"035c60c3-50ed-4118-8ca2-4dafa2751f4f","name":"SetProduct ","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request timestamp=\"1436931804\" type=\"8\">\n    <criteria property_id=\"10730279\" currency=\"THB\">\n        <rooms>\n            <room room_id=\"129340033\" num_persons=\"3\" min_rate=\"100.0\"/>\n        </rooms>\n        <rateplans>\n            <rateplan rateplan_id=\"3392615\" min_los=\"1\" max_los=\"1\" min_adv_days=\"1\" max_adv_days=\"1\"/>\n            <rateplan rateplan_id=\"3392615\" min_los=\"1\" max_los=\"1\"/>\n            <rateplan rateplan_id=\"3392615\" min_adv_days=\"1\" max_adv_days=\"1\"/>\n        </rateplans>\n    </criteria>\n</request>"},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"nginx/1.16.1"},{"key":"Date","value":"Wed, 22 Apr 2020 06:24:48 GMT"},{"key":"Content-Type","value":"application/xml; charset=UTF-8"},{"key":"Content-Length","value":"73"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"<result timestamp=\"1587536688255\">\n    <success/>\n</result>"}],"_postman_id":"0f093ed6-4fd3-4840-9d1e-a9152fb6ad7c"},{"name":"GetProduct","id":"80711f92-e237-4925-b56a-acffbde87e0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request type=\"5\" timestamp=\"1462966882336\">\n    <!-- Allow only 1 propery_id in request and it is the required attribute. No limitation for number of room_id and rateplan_id. If not specify room_id, all room_id of request property id will be returned. If not specify rateplan_id, all rateplan_id of request property id will be returned. language is optional. -->\n    <criteria language=\"EN\">\n        <property id=\"10730279\">\n            <rooms>\n</rooms>\n            <rateplans>\n</rateplans>\n        </property>\n    </criteria>\n</request>"},"url":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","description":"<p>This function allows the Connectivity Partners to retrieve the dynamic content for a specific property.</p>\n<h1 id=\"xml-elements-and-attributes\">XML Elements and Attributes</h1>\n<h2 id=\"getproductrq\">GetProductRQ</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n    <tr>\n    <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td>Request Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1483526410357 (GMT: Wed, 04 Jan 2017 10:40:10.357)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time provided must correspond with the time in the originating system and in EPOCH. System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td>Type</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>5</td>\n    <td>This number identifies a particular<br />request:<br />1 SetAri<br />2 GetAri<br />3 GetBookingList<br />4 GetBookingDetail<br />5 GetProduct<br />8 SetProduct<br />9 GetBookingListV2</td>\n  </tr>\n  <tr>\n    <td>Criteria Language</td>\n    <td>Alpha Lentgh 2</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>EN</td>\n    <td>Language in which the response will be returned. Language should be a valid language supported by Agoda. Refer to language list for languages available for use.</td>\n  </tr>\n  <tr>\n    <td>Property Id</td>\n    <td>String Length 1-8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>123</td>\n    <td>Every request must contain a valid property ID that partner has access to</td>\n  </tr>\n  <tr>\n    <td>Room_id</td>\n    <td>Numeric Length 1-8</td>\n    <td>1</td>\n    <td>N</td>\n    <td>85236</td>\n    <td>This is the Agoda room ID related to the property inventory element. Agoda active Room IDs can be returned with Getproduct request. If no room is specified in the request, all active Rooms will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>Rateplan_id</td>\n    <td>Numeric Length 1-6</td>\n    <td>1</td>\n    <td>N</td>\n    <td>24468</td>\n    <td>This is the Agoda Rateplan ID related to a particular offer active on a room. Agoda active Rate Type IDs can be returned with Getproduct request. If no Rateplan ID is specified in the request, all active Rateplans will be returned in the response.</td>\n  </tr>\n</table></div>\n\n<h2 id=\"getproductrs\">GetProductRS</h2>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n\n\n\n  <tr>\n     <td><h5>Element / Attribute</h5></td>\n    <td><h5>Data Type</h5></td>\n    <td><h5>Occurs</h5></td>\n    <td><h5>Required</h5></td>\n    <td><h5>Examples</h5></td>\n    <td><h5>Description</h5></td>\n  </tr>\n  <tr>\n    <td><h5>Result</h5> Timestamp</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1454628391 (2016-02-04T23:26:31Z)</td>\n    <td>A timestamp is a sequence of characters or encoded information identifying when a certain event occurred. Time provided will correspond with the time in the originating system and in EPOCH. System requires EPOCH timestamps in milliseconds.</td>\n  </tr>\n  <tr>\n    <td><h5>Property Id</h5></td>\n    <td>String Length 1-8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>123</td>\n    <td>Every request must contain a valid property ID that partner has access to</td>\n  </tr>\n  <tr>\n    <td>Property Name</td>\n    <td>Alpha</td>\n    <td></td>\n    <td>Y</td>\n    <td>Sunshine Garden Resort</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>Property Id</td>\n    <td>String Length 1-8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>123</td>\n    <td>Every request must contain a valid property ID that partner has access to</td>\n  </tr>\n  <tr>\n    <td>Currency</td>\n    <td>Alpha 3</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>THB</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>Language</td>\n    <td>Alpha Lentgh 2</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>EN</td>\n    <td>Language in which the response will be returned. Refer to language list for languages available for use.</td>\n  </tr>\n  <tr>\n    <td>Live_status</td>\n    <td>Numeric 0-1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1 = active 0 = inactive</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>Occupancy_model</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Full Rate</td>\n    <td>In the 'Full Occupancy’ model there is single, double and full occupancy pricing – plus extra bed pricing based on room settings.</td>\n  </tr>\n  <tr>\n    <td><h5>Rooms</h5> Room_id</td>\n    <td>Numeric Length 1-8</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>72027</td>\n    <td>This is the Agoda room ID related to the property inventory element. Agoda active Room IDs can be returned with Getproduct request. If no room is specified in the request, all active Rooms will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>Room_name</td>\n    <td>Alpha</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>Deluxe</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>num_rooms</td>\n    <td>Numeric Length 1-3</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>52</td>\n    <td>Total number of rooms for this room type set in Agoda extranet</td>\n  </tr>\n  <tr>\n    <td>num_persons</td>\n    <td>Numeric Length 1-2</td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Maximum number of persons that can be accommodated in the room using existing room bedding.</td>\n  </tr>\n  <tr>\n    <td>num_children</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Maximum number of children that can be accommodated in this room. This number is part of the total max occupancy number</td>\n  </tr>\n  <tr>\n    <td>total_persons</td>\n    <td>Numeric Length 1-2</td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Maximum number of persons that can be accommodated in the room using existing room bedding and extra bed. Includes both adults and children.</td>\n  </tr>\n  <tr>\n    <td>num_extrabed</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Maximum number of extra beds that accommodated in room. Each bed allows for 1 extra person.</td>\n  </tr>\n  <tr>\n    <td>num_baby_cots</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Maximum number of baby cots that accommodated in room.</td>\n  </tr>\n  <tr>\n    <td>min_rate</td>\n    <td>Numeric Length 1-9</td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Minimum price for this room.</td>\n  </tr>\n  <tr>\n    <td>max_rate</td>\n    <td>Numeric Length 1-9</td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Maximum price for this room.</td>\n  </tr>\n  <tr>\n    <td>rack_rate</td>\n    <td>Numeric Length 1-9</td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Rack rate for this room.</td>\n  </tr>\n  <tr>\n    <td><h5>Rateplans</h5> rateplan_id</td>\n    <td>Numeric Length 1-6</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>1 to 6</td>\n    <td>This is the Agoda Rateplan ID related to a particular offer active on a room. Agoda active Rate Type IDs can be returned with Getproduct request. If no Rateplan ID is specified in the request, all active Rateplans will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>rateplan_name</td>\n    <td>Alpha</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>Breakfast</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>master_rate</td>\n    <td>Numeric Length 0-6</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>0 to 6</td>\n    <td>If the Master rate=0 this is the master rate on which other rates can be based for discount. If the Master Rate is not =0, this is a child rate and it cannot be updated via Channel Manager. The Child Rate must derive the rate from the Master, the rate can be increased/decreased by amount/percentage from the Master Rate.</td>\n  </tr>\n  <tr>\n    <td>sell_start</td>\n    <td>Date YYYY-MM-DDTHH:MM:SS</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td></td>\n    <td>The inclusive start date to sell this rate.</td>\n  </tr>\n  <tr>\n    <td>sell_end</td>\n    <td>Date YYYY-MM-DDTHH:MM:SS</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td></td>\n    <td>The inclusive end date to sell this rate.</td>\n  </tr>\n  <tr>\n    <td>stay_start</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td></td>\n    <td>The inclusive start date to stay for this rate.</td>\n  </tr>\n  <tr>\n    <td>stay_end</td>\n    <td>Date YYYY-MM-DD</td>\n    <td>unbounded</td>\n    <td>N</td>\n    <td></td>\n    <td>The inclusive end date to stay for this rate.</td>\n  </tr>\n  <tr>\n    <td>tax_included</td>\n    <td>Numeric Length 1</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>\"0\"= exc \"1\"= inc</td>\n    <td>Tax settings information: the tax can be excluded (0) or included (1).</td>\n  </tr>\n  <tr>\n    <td>rate_type</td>\n    <td>Alpha</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>Net Sell</td>\n    <td>If the rate type is Sell, it includes all commissions. If the rate type is Net, it excludes all commissions.</td>\n  </tr>\n  <tr>\n    <td>min_adv_days</td>\n    <td>Numeric Length 1-2</td>\n    <td>1</td>\n    <td>N</td>\n    <td></td>\n    <td>Minimum Days in advance that rate must be booked to be eligible for a specific rateplan. This attribute is returned in the response if min_adv_days is set at Rate Plan level.</td>\n  </tr>\n  <tr>\n    <td>max_adv_days</td>\n    <td>Numeric Length 1-2</td>\n    <td>1</td>\n    <td>N</td>\n    <td></td>\n    <td>Maximum Days in advance that rate must be booked to be eligible for a specific rateplan. This attribute is returned in the response if max_adv_days is set at Rate Plan level.</td>\n  </tr>\n  <tr>\n    <td>min_los</td>\n    <td>Numeric length 1-2</td>\n    <td>1</td>\n    <td>N</td>\n    <td></td>\n    <td>Minimum length of stay that is required to search and book this room type. This attribute is returned in the response if min_los is set at Rate Plan level.</td>\n  </tr>\n  <tr>\n    <td>max_los</td>\n    <td>Numeric length 1-2</td>\n    <td>1</td>\n    <td>N</td>\n    <td>5</td>\n    <td>Maximum length of stay that is required to search and book this room type. This attribute is returned in the response if max_los is set at Rate Plan level.</td>\n  </tr>\n  <tr>\n    <td>cxl_code</td>\n    <td>String</td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Each Agoda cancellation policy has a unique ID. This ID relates to this Agoda cancel policy. All cancellation policies contain 3 policy elements. Polices are set in order and policy 3 is always no-show policy and will list days as 0. The Policies value relates to a value or percentage</td>\n  </tr>\n  <tr>\n    <td>offertype_id</td>\n    <td>Numeric Length 1-6</td>\n    <td></td>\n    <td>Y</td>\n    <td></td>\n    <td>It defines the type of offer active for a specific Rateplan.</td>\n  </tr>\n  <tr>\n    <td>offertype_name</td>\n    <td>Alpha</td>\n    <td></td>\n    <td>Y</td>\n    <td>Breakfast</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>benefit_id</td>\n    <td>Numeric Length 1</td>\n    <td>1 to 9</td>\n    <td>Y</td>\n    <td>5</td>\n    <td>Denotes of all benefits to customer for a Rate Plan. Refer to benefits list for the full list of benefits available.</td>\n  </tr>\n  <tr>\n    <td>benefit_name</td>\n    <td>Alpha</td>\n    <td>1 to 9</td>\n    <td>Y</td>\n    <td>Lunch</td>\n    <td>Refer to benefits list for the full list of benefits available.</td>\n  </tr>\n  <tr>\n    <td><h5>products</h5> product room_id</td>\n    <td>Numeric Length 1-8</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>72027</td>\n    <td>This is the Agoda room ID related to the property inventory element. Agoda active Room IDs can be returned with Getproduct request. If no room is specified in the request, all active Rooms will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td>rateplan_id</td>\n    <td>Numeric Length 1-6</td>\n    <td>unbounded</td>\n    <td>Y</td>\n    <td>1 to 6</td>\n    <td>This is the Agoda Rateplan ID related to a particular offer active on a room. Agoda active Rateplan type IDs can be returned with Getproduct request. If no Rateplan ID is specified in the request, all active Rateplans will be returned in the response.</td>\n  </tr>\n  <tr>\n    <td><h5>channels</h5> channel channel_id</td>\n    <td>Numeric Length 1</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>Channel represents product distribution channel. Channel in YCS5 is replacing the Rateplan in YCS4. Channles are aimed to expand or limit customer type and usually will have price discount or sale limitations: <br />1 Retail <br />2 Agoda Private Sale<br />6 Domestic<br />7 Mobile <br />8 Agoda Opaque <br />9 China</td>\n  </tr>\n  <tr>\n    <td>channel_name</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Retail</td>\n    <td></td>\n  </tr>\n</table></div>","urlObject":{"protocol":"https","path":["api"],"host":["supply","agoda","com"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}],"variable":[]}},"response":[{"id":"22ef6d36-1b58-4654-a6c1-7d3b5305f0f0","name":"GetProduct ","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<request type=\"5\" timestamp=\"1462966882336\">\n    <!-- Allow only 1 propery_id in request and it is the required attribute. No limitation for number of room_id and rateplan_id. If not specify room_id, all room_id of request property id will be returned. If not specify rateplan_id, all rateplan_id of request property id will be returned. language is optional. -->\n    <criteria language=\"EN\">\n        <property id=\"10730279\">\n            <rooms>\n</rooms>\n            <rateplans>\n</rateplans>\n        </property>\n    </criteria>\n</request>"},"url":{"raw":"https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE","protocol":"https","host":["supply","agoda","com"],"path":["api"],"query":[{"key":"apiKey","value":"ADDYOURAPIKEYHERE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"nginx/1.16.1"},{"key":"Date","value":"Wed, 22 Apr 2020 06:28:41 GMT"},{"key":"Content-Type","value":"application/xml; charset=UTF-8"},{"key":"Content-Length","value":"544"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"<result timestamp=\"1587536921195\">\n    <property id=\"10730279\" name=\"BKK Connectivity Test Hotel 11 - DO NOT BOOK\" currency=\"THB\" language=\"EN\" live_status=\"1\" occupancy_model=\"Full Rate\">\n        <rooms>\n            <room room_id=\"129340033\" room_name=\"Standard Doubles\" num_rooms=\"10\" num_persons=\"3\" num_children=\"2\" total_persons=\"3\" num_extrabed=\"0\" num_baby_cots=\"1\" min_rate=\"100.0\" max_rate=\"100000.0\"/>\n        </rooms>\n        <rateplans>\n            <rateplan rateplan_id=\"3392615\" rateplan_name=\"My Rate\" master_rate=\"0\" sell_start=\"2019-11-18T00:00:00\" sell_end=\"9999-12-31T00:00:00\" stay_start=\"2019-11-18\" stay_end=\"9999-12-31\" tax_included=\"1\" rate_type=\"NET\" min_adv_days=\"1\" max_adv_days=\"1\" min_los=\"1\" max_los=\"1\" cxl_code=\"1D1N_1N\" offertype_id=\"22\" offertype_name=\"Room Only\">\n                <benefits>\n                      \n                    </benefits>\n            </rateplan>\n        </rateplans>\n        <products>\n            <product room_id=\"129340033\" rateplan_id=\"3392615\"/>\n        </products>\n        <channels>\n            <channel channel_id=\"1\" channel_name=\"Retail\"/>\n            <channel channel_id=\"2\" channel_name=\"Private Sale\"/>\n        </channels>\n    </property>\n</result>"}],"_postman_id":"80711f92-e237-4925-b56a-acffbde87e0a"}],"id":"68392eaf-fa50-4d6e-83cf-0e5319be5d77","_postman_id":"68392eaf-fa50-4d6e-83cf-0e5319be5d77","description":""}],"id":"95fc5fba-588d-4fbd-b662-fba08094c020","description":"<h2>Introduction</h2>\n\n<p>The Agoda YCS APIs allow Connectivity Partners to send and retrieve data such as Rates, Availabiltiy, and Reservations for connected properties listed on Agoda. Properties can easily manage prices, allotments, restrictions, and reservations using Connectivity Partner systems which is a “one-stop service” for connected properties to effortlessly control hotel rates and inventory across multiple OTAs/Websites all at once.</p>\n<h2>Available API Requests</h2>\n\n<p>As an Agoda Connectivity Partner, you should support all available API functions:</p>\n\n<div class=\"tg-wrap\"><table>\n\n\n\n\n\n  <tr>\n    <td>API Requests</td>\n    <td>Description</td>\n    <td>Remarks</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>To update Availability Rates Inventory (ARI) and restrictions for a specific hotel on a specific date range</td>\n    <td>Mandatory</td>\n  </tr>\n  <tr>\n    <td>GetAri</td>\n    <td>To retrieve Availability and Rate Inventory (ARI) for existing rooms and rates</td>\n    <td>Mandatory</td>\n  </tr>\n  <tr>\n    <td>SetAriV2</td>\n    <td>To update Availability Rates Inventory (ARI) and restrictions for a specific hotel on a specific date range - Multi Occupancy</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>GetAriV2</td>\n    <td>To retrieve Availability and Rate Inventory (ARI) for existing rooms and rates - Multi Occupancy</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>GetBookingList</td>\n    <td>To retrieve the bookings for a specific property or up to 5 properties at once</td>\n    <td>Mandatory (not if support GetBookingListV2)</td>\n  </tr>\n  <tr>\n    <td>GetBookingDetail</td>\n    <td>To collect the booking details for a specific property up to 50 bookings at once</td>\n    <td>Mandatory</td>\n  </tr>\n  <tr>\n    <td>GetBookingListV2</td>\n    <td>to get booking list without hotel specified. GetBookingListV2 will return all bookings that updated in specified period of all hotels belong to channel manager.</td>\n    <td>Mandatory</td>\n  </tr>\n  <tr>\n    <td>SetProduct</td>\n    <td>To update room setting and rateplan restriction</td>\n    <td>Mandatory</td>\n  </tr>\n  <tr>\n    <td>GetProduct</td>\n    <td>To retrieve the dynamic content for a specific property</td>\n    <td>Mandatory</td>\n  </tr>\n</table></div>\n\n<h2>EndPoints</h2>\n\n<p>agoda supports two types of endpoints:</p>\n<p>• Single endpoint for all the request you will send via API or\n• To use a different unique endpoint for each request.</p>\n<h3>NOTE:</h3> please note that if you wish to use the single endpoint for your request, the Type attribute will be mandatory in all the requests you will send to Agoda.","event":[{"listen":"prerequest","script":{"id":"174acf49-b210-4c31-99d8-1c6a9e1bc914","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1a679e1a-0278-4cdd-ae53-4e660f0b6285","type":"text/javascript","exec":[""]}}],"_postman_id":"95fc5fba-588d-4fbd-b662-fba08094c020"},{"name":"OTA API Specs","item":[{"name":"Availability Restrictions","item":[{"name":"OTA_HotelAvailNotifRQ","id":"8d746734-e762-421a-8182-577292ad88d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<OTA_HotelAvailNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" Version=\"1.0\" TimeStamp=\"2005-08-01T09:30:47+08:00\" EchoToken=\"abc123\" Target=\"Production\" PrimaryLangID=\"en\">\r\n  <AvailStatusMessages HotelCode=\"HOTEL\">\r\n    <AvailStatusMessage LocatorID=\"2\">\r\n      <StatusApplicationControl Start=\"2012-01-01\" End=\"2012-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\"/>\r\n      <LengthsOfStay>\r\n        <LengthOfStay MinMaxMessageType=\"SetMinLOS\" Time=\"2\"/>\r\n      </LengthsOfStay>\r\n    </AvailStatusMessage>\r\n    <AvailStatusMessage LocatorID=\"3\">\r\n      <StatusApplicationControl Start=\"2012-01-01\" End=\"2012-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\"/>\r\n      <RestrictionStatus Status=\"Close\" Restriction=\"Arrival\"/>\r\n    </AvailStatusMessage>\r\n    <AvailStatusMessage LocatorID=\"4\">\r\n      <StatusApplicationControl Start=\"2012-01-01\" End=\"2012-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\"/>\r\n      <RestrictionStatus Status=\"Close\" Restriction=\"Depature\"/>\r\n    </AvailStatusMessage>\r\n  </AvailStatusMessages>\r\n</OTA_HotelAvailNotifRQ>"},"url":"http://supplyota.agoda.com/b2b/ota/2013A/hotels","description":"<h2 id=\"OTAAPIDocument-OTA_HotelAvailNotifRQ\">OTA_HotelAvailNotifRQ</h2><p>You can update availability restrictions for <strong>a single hotel per one request message</strong>. However, you can update multiple restrictions within one message. We recommend to update <strong>one hotel and one room per request</strong>.</p><h3 id=\"OTAAPIDocument-BasicStructure\">Basic Structure</h3><p>The basic structure of the message is as per below:</p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;OTA_HotelAvailNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" Version=\"1.0\" TimeStamp=\"2005-08-01T09:30:47+08:00\" EchoToken=\"abc123\" Target=\"Production\" PrimaryLangID=\"en\"&gt;\n   &lt;AvailStatusMessages HotelCode=\"HOTEL\"&gt;\n      &lt;AvailStatusMessage LocatorID=\"1\"&gt;\n         &lt;StatusApplicationControl Start=\"2010-01-01\" End=\"2010-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\" /&gt;\n         &lt;!-- Content omitted --&gt;\n      &lt;/AvailStatusMessage&gt;\n      &lt;AvailStatusMessage LocatorID=\"2\"&gt;\n         &lt;StatusApplicationControl Start=\"2010-01-02\" End=\"2010-01-02\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\" /&gt;\n         &lt;!-- Content omitted --&gt;\n      &lt;/AvailStatusMessage&gt;\n      &lt;AvailStatusMessage LocatorID=\"3\"&gt;\n         &lt;StatusApplicationControl Start=\"2010-01-03\" End=\"2010-01-03\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\" /&gt;\n         &lt;!-- Content omitted --&gt;\n      &lt;/AvailStatusMessage&gt;\n   &lt;/AvailStatusMessages&gt;\n&lt;/OTA_HotelAvailNotifRQ&gt;</pre>\n</div></div><p>The OTA_HotelAvailNotifRQ message contains:</p><ol><li><strong>One AvailStatusMessages</strong> element which define the hotel to update (<strong>@HotelCode</strong> attribute).</li><li><strong>Multiple AvailStatusMessages/AvailStatusMessage</strong> elements which define the transaction id (<strong>@LocatorID</strong>) used to communicate back to the sender.</li><li>Each <strong>AvailStatusMessage </strong>element will contain <strong>a single StatusApplicationControl</strong> element. This element is used to specify the room type, rate plan code and date range for which the update applies. The dates affected by the update are controlled by the mandatory <strong>@Start</strong> and <strong>@End</strong> attributes.</li></ol><h3 id=\"OTAAPIDocument-Howtosetrestrictions\">How to set restrictions</h3><p>The restriction details will be identified in either <strong>StatusApplicationControl/</strong><strong>RestrictionStatus</strong> or <strong>StatusApplicationControl/</strong><strong>LengthsOfStays</strong> element. One of these element must appear once in each <strong>StatusApplicationControl</strong> element.</p><h4 id=\"OTAAPIDocument-Close/OpenRestrictionsSetting\">Close/Open Restrictions Setting</h4><p>Close for sale, closed to arrival and closed to departure update can be set by using the <strong>StatusApplicationControl/</strong><strong>RestrictionStatus </strong>element. Please see the example of the settings below.</p><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Restriction Type</div></th><th><div class=\"tablesorter-header-inner\">How it will be sent</div></th></tr></thead><tbody><tr><td>Room is closed for sale</td><td><pre>&lt;RestrictionStatus Status=\"Close\" /&gt;</pre></td></tr><tr><td>Room is open for sale</td><td><pre>&lt;RestrictionStatus Status=\"Open\" /&gt;</pre></td></tr><tr><td>Room is set as closed to arrival</td><td><pre>&lt;RestrictionStatus Status=\"Close\" Restriction=\"Arrival\" /&gt;</pre></td></tr><tr><td>Room is set as open to arrival</td><td><pre>&lt;RestrictionStatus Status=\"Open\" Restriction=\"Arrival\" /&gt;</pre></td></tr><tr><td>Room is set as closed to departure</td><td><pre>&lt;RestrictionStatus Status=\"Close\" Restriction=\"Departure\" /&gt;</pre></td></tr><tr><td>Room is set as open to departure</td><td><pre>&lt;RestrictionStatus Status=\"Open\" Restriction=\"Departure\" /&gt;</pre></td></tr></tbody></table></div><h4 id=\"OTAAPIDocument-LengthofStaySetting\">Length of Stay Setting</h4><p>Minimum and maximum length of stay updates can be set by using the <strong>StatusApplicationControl/</strong><strong>LengthsOfStay</strong> element. This element contains <strong>a single LengthOfStay</strong> element with the attributes <strong>@MinMaxMessageType</strong> and <strong>@Time</strong>. <strong>@Time</strong> is the length of stay in days. Please see the example of the setting below.</p><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Restriction Type</div></th><th><div class=\"tablesorter-header-inner\">How it will be sent</div></th></tr></thead><tbody><tr><td>Room has minimum length of stay 2 nights</td><td><pre>&lt;LengthsOfStay&gt;\n   &lt;LengthOfStay MinMaxMessageType=\"SetMinLOS\" Time=\"2\"/&gt;\n&lt;/LengthsOfStay&gt;</pre></td></tr><tr><td>Room does not have minimum length of stay</td><td><pre>&lt;LengthsOfStay&gt;\n   &lt;LengthOfStay MinMaxMessageType=\"RemoveMinLOS\"/&gt;\n&lt;/LengthsOfStay&gt;</pre></td></tr><tr><td>Room has maximum length of stay 5 nights</td><td><pre>&lt;LengthsOfStay&gt;\n   &lt;LengthOfStay MinMaxMessageType=\"SetMaxLOS\" Time=\"5\"/&gt;\n&lt;/LengthsOfStay&gt;</pre></td></tr><tr><td>Room does not have maximum length of stay</td><td><pre>&lt;LengthsOfStay&gt;\n   &lt;LengthOfStay MinMaxMessageType=\"RemoveMaxLOS\"/&gt;\n&lt;/LengthsOfStay&gt;</pre></td></tr></tbody></table></div><h3 id=\"OTAAPIDocument-OTA_HotelAvailNotifRQSpecification\">OTA_HotelAvailNotifRQ Specification</h3><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\"><p>Element</p></div></th><th><div class=\"tablesorter-header-inner\"><p>Number</p></div></th><th><div class=\"tablesorter-header-inner\">Type</div></th><th><div class=\"tablesorter-header-inner\"><p>Description</p></div></th></tr></thead><tbody><tr><td><p>OTA_HotelAvailNotifRQ</p></td><td><p>1</p></td><td><br /></td><td><p>Root node</p></td></tr><tr><td><p>@TimeStamp</p></td><td><p>1</p></td><td>DateTime</td><td><p>Time of the transaction</p></td></tr><tr><td><p>@Version</p></td><td><p>1</p></td><td>Decimal</td><td><p>Current version is 1.0</p></td></tr><tr><td>@EchoToken</td><td>1</td><td>String</td><td>Globally unique identifier for the request. We suggest to use epoch time that the request was sent to Agoda. This should be reflected as an EchoToken in the response.</td></tr><tr><td>@Target</td><td>1</td><td>String</td><td>Target which can be either Production or Sandbox</td></tr><tr><td>@PrimaryLangID</td><td>1</td><td>String</td><td>Language ID, now only support English (en)</td></tr><tr><td><p>OTA_HotelAvailNotifRQ / AvailStatusMessages</p></td><td><p>1</p></td><td><br /></td><td><p>Contains the availability messages</p></td></tr><tr><td><p>@HotelCode</p></td><td><p>1</p></td><td>String</td><td><p>The code for the property whose availability is being updated</p></td></tr><tr><td><p>AvailStatusMessages / AvailStatusMessage</p></td><td><p>1..n</p></td><td><br /></td><td><p>Contains the availability messages. There can be multiple of these nodes per request</p></td></tr><tr><td>@LocatorID</td><td>1</td><td>Long</td><td>Identifies the transaction id, normally use to communicate back to the sender</td></tr><tr><td><p>AvailStatusMessage / StatusApplicationControl</p></td><td><p>1</p></td><td><br /></td><td><p>Contains date and room identification information</p></td></tr><tr><td><p>@Start</p></td><td><p>1</p></td><td>Date</td><td><p>The start date for which the availability update is being set. This date is inclusive.</p></td></tr><tr><td><p>@End</p></td><td><p>1</p></td><td>Date</td><td><p>The end date for which the availability update is being set. This date is inclusive.</p></td></tr><tr><td><p>@RatePlanCode</p></td><td><p>1</p></td><td>String</td><td><p>Identifies the rate plan. The <strong>RatePlanCode</strong> is used in conjunction with the <strong>InvTypeCode</strong> to identify the room and rate plan to update.</p></td></tr><tr><td><p>@InvTypeCode</p></td><td><p>1</p></td><td>String</td><td><p>Identifies the room. The <strong>InvTypeCode</strong> is used in conjunction with the <strong>RatePlan</strong><strong>Code</strong> to identify the room and rate plan to update.</p></td></tr><tr><td><p>StatusApplicationControl / <br />LengthsOfStay / LengthOfStay</p></td><td><p>0..1</p></td><td><br /></td><td><p>Optional, used for minimum and maximum length of stay</p></td></tr><tr><td><p>@MinMaxMessageType</p></td><td><p>1</p></td><td>String</td><td><p>Mandatory if LengthsOfStay present. Can be one of the following</p><p><strong>SetMinLOS:</strong> Sets the minimum length of stay</p><p><strong>SetMaxLOS: </strong>Sets the maximum length of stay</p><p><strong>RemoveMinLOS: </strong>Removes the minimum length of stay</p><p><strong>RemoveMaxLOS: </strong>Removes the maximum length of stay</p></td></tr><tr><td><p>@Time</p></td><td><p>1</p></td><td>Integer</td><td><p>Mandatory if LengthsOfStay is present and MinMaxMessageType is of type \"<em>Set</em>\". Sets the minimum number of nights required for a stay or maximum number of nights qualified for a booking.</p></td></tr><tr><td><p>AvailStatusMessage / RestrictionStatus</p></td><td><p>0..1</p></td><td><br /></td><td><p>Optional, used to close the room for sale, for arrival, or for departure.</p></td></tr><tr><td>@Status</td><td>1</td><td>String</td><td><p>Mandatory if RestrictionStatus is present.<br />Can be one of two values<br /><strong>Open</strong>: Should open a room for sale<br /><strong>Close</strong>: Should close or 'stop sell' a room for sale</p></td></tr><tr><td>@Restriction</td><td>0..1</td><td>String</td><td><p>Can be one of two values.<br /><strong>Arrival: </strong>The restriction is on arrival<strong><br />Departure:</strong> The restriction is on departure</p><p>If there is no restriction type, the update should be assumed to be a full close or open for a room date. </p></td></tr></tbody></table></div><h3 id=\"OTAAPIDocument-ExampleoftheOTA_HotelAvailNotifRQmessages\">Example of the OTA_HotelAvailNotifRQ messages</h3><h4 id=\"OTAAPIDocument-SetMinLOStoTwoDays\"><strong>Set MinLOS to Two Days</strong></h4><div><div class=\"syntaxhighlighter sh-confluence nogutter html\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelAvailNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" Version=\"1.0\" TimeStamp=\"2005-08-01T09:30:47+08:00\" EchoToken=\"abc123\" Target=\"Production\" PrimaryLangID=\"en\"&gt;\n  &lt;AvailStatusMessages HotelCode=\"HOTEL\"&gt;\n    &lt;AvailStatusMessage LocatorID=\"1\"&gt;\n      &lt;StatusApplicationControl Start=\"2010-01-01\" End=\"2010-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\"/&gt;\n      &lt;LengthsOfStay&gt;\n        &lt;LengthOfStay MinMaxMessageType=\"SetMinLOS\" Time=\"2\"/&gt;\n      &lt;/LengthsOfStay&gt;\n    &lt;/AvailStatusMessage&gt;\n  &lt;/AvailStatusMessages&gt;\n&lt;/OTA_HotelAvailNotifRQ&gt;</pre>\n</div></div><h4 id=\"OTAAPIDocument-RemoveMinLOSRestriction\"><strong>Remove MinLOS Restriction</strong></h4><div><div class=\"syntaxhighlighter sh-confluence nogutter html\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelAvailNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" Version=\"1.0\" TimeStamp=\"2005-08-01T09:30:47+08:00\" EchoToken=\"abc123\" Target=\"Production\" PrimaryLangID=\"en\"&gt;\n  &lt;AvailStatusMessages HotelCode=\"HOTEL\"&gt;\n    &lt;AvailStatusMessage LocatorID=\"1\"&gt;\n      &lt;StatusApplicationControl Start=\"2010-01-01\" End=\"2010-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\"/&gt;\n      &lt;LengthsOfStay&gt;\n        &lt;LengthOfStay MinMaxMessageType=\"RemoveMinLOS\"/&gt;\n      &lt;/LengthsOfStay&gt;\n    &lt;/AvailStatusMessage&gt;\n  &lt;/AvailStatusMessages&gt;\n&lt;/OTA_HotelAvailNotifRQ&gt;</pre>\n</div></div><h4 id=\"OTAAPIDocument-SetMaxLOStoFiveDays\"><strong>Set MaxLOS to Five Days</strong></h4></div></div><div><div class=\"syntaxhighlighter sh-confluence nogutter html\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelAvailNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" Version=\"1.0\" TimeStamp=\"2005-08-01T09:30:47+08:00\" EchoToken=\"abc123\" Target=\"Production\" PrimaryLangID=\"en\"&gt;\n  &lt;AvailStatusMessages HotelCode=\"HOTEL\"&gt;\n    &lt;AvailStatusMessage LocatorID=\"1\"&gt;\n      &lt;StatusApplicationControl Start=\"2010-01-01\" End=\"2010-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\"/&gt;\n      &lt;LengthsOfStay&gt;\n        &lt;LengthOfStay MinMaxMessageType=\"SetMaxLOS\" Time=\"5\"/&gt;\n      &lt;/LengthsOfStay&gt;\n    &lt;/AvailStatusMessage&gt;\n  &lt;/AvailStatusMessages&gt;\n&lt;/OTA_HotelAvailNotifRQ&gt;</pre>\n</div></div><p><strong><br />Remove MaxLOS Restriction</strong></p><div><div class=\"syntaxhighlighter sh-confluence nogutter html\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelAvailNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" Version=\"1.0\" TimeStamp=\"2005-08-01T09:30:47+08:00\" EchoToken=\"abc123\" Target=\"Production\" PrimaryLangID=\"en\"&gt;\n  &lt;AvailStatusMessages HotelCode=\"HOTEL\"&gt;\n    &lt;AvailStatusMessage LocatorID=\"1\"&gt;\n      &lt;StatusApplicationControl Start=\"2010-01-01\" End=\"2010-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\"/&gt;\n      &lt;LengthsOfStay&gt;\n        &lt;LengthOfStay MinMaxMessageType=\"RemoveMaxLOS\"/&gt;\n      &lt;/LengthsOfStay&gt;\n    &lt;/AvailStatusMessage&gt;\n  &lt;/AvailStatusMessages&gt;\n&lt;/OTA_HotelAvailNotifRQ&gt;</pre>\n</div></div></div></div></div></div></div></div><h4 id=\"OTAAPIDocument-UpdateAllValues\">Update All Values </h4><p>Below is a sample request for a message that updates availability, closed to sale, MinLOS, closed to arrival and closed to departure.</p><div><div class=\"syntaxhighlighter sh-confluence nogutter html\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelAvailNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" Version=\"1.0\" TimeStamp=\"2005-08-01T09:30:47+08:00\" EchoToken=\"abc123\" Target=\"Production\" PrimaryLangID=\"en\"&gt;\n  &lt;AvailStatusMessages HotelCode=\"HOTEL\"&gt;\n    &lt;AvailStatusMessage LocatorID=\"2\"&gt;\n      &lt;StatusApplicationControl Start=\"2012-01-01\" End=\"2012-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\"/&gt;\n      &lt;LengthsOfStay&gt;\n        &lt;LengthOfStay MinMaxMessageType=\"SetMinLOS\" Time=\"2\"/&gt;\n      &lt;/LengthsOfStay&gt;\n    &lt;/AvailStatusMessage&gt;\n    &lt;AvailStatusMessage LocatorID=\"3\"&gt;\n      &lt;StatusApplicationControl Start=\"2012-01-01\" End=\"2012-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\"/&gt;\n      &lt;RestrictionStatus Status=\"Close\" Restriction=\"Arrival\"/&gt;\n    &lt;/AvailStatusMessage&gt;\n    &lt;AvailStatusMessage LocatorID=\"4\"&gt;\n      &lt;StatusApplicationControl Start=\"2012-01-01\" End=\"2012-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"GLD\"/&gt;\n      &lt;RestrictionStatus Status=\"Close\" Restriction=\"Depature\"/&gt;\n    &lt;/AvailStatusMessage&gt;\n  &lt;/AvailStatusMessages&gt;\n&lt;/OTA_HotelAvailNotifRQ&gt;</pre>\n</div></div></div></div>","urlObject":{"protocol":"http","path":["b2b","ota","2013A","hotels"],"host":["supplyota","agoda","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d746734-e762-421a-8182-577292ad88d7"},{"name":"OTA_HotelAvailNotifRS","id":"e4c4c278-0ddb-4574-94bc-542a1c790c4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\"?>\r\n<OTA_HotelAvailNotifRS MessageContentCode=\"f6b924fa-519c-41a6-8be5-f0d150c4d631\" EchoToken=\"45cf594c-6e2f-4cc8-9831-ac27ac009a0d\" Version=\"1.000\" Target=\"Production\" TimeStamp=\"2020-04-23T15:37:17+07:00\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\r\n  <Success />\r\n</OTA_HotelAvailNotifRS>"},"url":"http://supplyota.agoda.com/b2b/ota/2013A/hotels","description":"<h2 id=\"OTAAPIDocument-OTA_HotelAvailNotifRS\">OTA_HotelAvailNotifRS</h2><p>The <strong>OTA_HotelAvailNotifRS </strong>is the response Agoda will return for every <strong>OTA_HotelAvailNotifRQ</strong>. There are 2 types of response which are Success and Failure. The error codes and their descriptions are available in API Validation section.</p><h3 id=\"OTAAPIDocument-Exampleofthemessage\">Example of the message</h3><h4 id=\"OTAAPIDocument-SuccessResponse\"><strong>Success Response</strong></h4><div><div class=\"syntaxhighlighter sh-confluence xml\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelAvailNotifRS xmlns=\"http://www.opentravel.org/OTA/2003/05\" TimeStamp=\"2017-05-31T11:45:47+07:00\" Target=\"Production\" Version=\"1.000\" EchoToken=\"abc123\"&gt;\n   &lt;Success/&gt;\n&lt;/OTA_HotelAvailNotifRS&gt;</pre>\n</div></div><h4 id=\"OTAAPIDocument-FailureResponse(2013A)\"><strong><br />Failure Response (2013A)</strong></h4></div></div><div><div class=\"syntaxhighlighter sh-confluence nogutter html\"><div><div class=\"syntaxhighlighter sh-confluence xml\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelAvailNotifRS xmlns=\"http://www.opentravel.org/OTA/2003/05\" TimeStamp=\"2017-05-31T12:37:04+07:00\" Target=\"Production\" Version=\"1.0\" EchoToken=\"abc123\"&gt;\n  &lt;Errors&gt;\n    &lt;Error Type=\"3\" Code=\"9006\"&gt;EndDate can't be in past&lt;/Error&gt;\n  &lt;/Errors&gt;\n&lt;/OTA_HotelAvailNotifRS&gt;</pre>\n</div></div></div></div><h4 id=\"OTAAPIDocument-FailureResponse(2015B)\"><strong>Failure Response (2015B)</strong></h4><p><strong><br /></strong></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelAvailNotifRS xmlns=\"http://www.opentravel.org/OTA/2003/05\" Target=\"Production\" Version=\"1.0\" TimeStamp=\"2005-08-01T09:30:47+08:00\" EchoToken=\"abc123\"&gt;\n  &lt;Errors&gt;\n    &lt;Error Type=\"3\" Code=\"9006\" RecordID=\"123\" Status=\"\" ShortText=\"EndDate can't be in past\"/&gt;\n  &lt;/Errors&gt;\n&lt;/OTA_HotelAvailNotifRS&gt;</pre>\n</div></div><p><strong><br /></strong></p><div><div class=\"syntaxhighlighter sh-confluence xml\"><h3 id=\"OTAAPIDocument-OTA_HotelAvailNotifRSSpecification\">OTA_HotelAvailNotifRS Specification</h3></div></div></div></div><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\"><div class=\"tablesorter-header-inner\"><p>Element</p></div></div></th><th><div class=\"tablesorter-header-inner\"><div class=\"tablesorter-header-inner\"><p>Number</p></div></div></th><th><div class=\"tablesorter-header-inner\"><div class=\"tablesorter-header-inner\">Type</div></div></th><th><div class=\"tablesorter-header-inner\"><div class=\"tablesorter-header-inner\"><p>Description</p></div></div></th></tr></thead><tbody><tr><td><p>OTA_HotelAvailNotifRS</p></td><td><p>1</p></td><td><br /></td><td><p>Root node</p></td></tr><tr><td><p>@EchoToken</p></td><td>1</td><td>String</td><td>Return the EchoToken from the request message.</td></tr><tr><td>@Version</td><td>1</td><td>Decimal</td><td>Current version is 1.0</td></tr><tr><td>@TimeStamp</td><td>1</td><td>DateTime</td><td><p>Time of the transaction.</p></td></tr><tr><td>@Target</td><td>1</td><td>String</td><td>Target which can be either production or sandbox</td></tr><tr><td>OTA_HotelAvailNotifRS / Success</td><td>0..1</td><td><br /></td><td>only present if it was a successful response. The Errors node will not be present if the Success node is present.</td></tr><tr><td>OTA_HotelAvailNotifRS / Errors</td><td>0..1</td><td><br /></td><td>Contains a list of errors in the event of a failed request.</td></tr><tr><td>Errors / Error</td><td>1..n</td><td><br /></td><td>Mandatory if Errors present.</td></tr><tr><td>@Type</td><td>1</td><td>String</td><td><p>Mandatory if Error present. Identifies the type of error.</p></td></tr><tr><td>@Code</td><td>0..1</td><td>String</td><td><p>Mandatory if Error is present. Identifies the specific error in the given type.</p></td></tr><tr><td>@RecordID</td><td>1</td><td>String</td><td>Reference record ID</td></tr><tr><td>@Status</td><td>1</td><td>String</td><td>Reference status</td></tr><tr><td>@ShortText</td><td>1</td><td>String</td><td>Short description of the error</td></tr></tbody></table></div>","urlObject":{"protocol":"http","path":["b2b","ota","2013A","hotels"],"host":["supplyota","agoda","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4c4c278-0ddb-4574-94bc-542a1c790c4f"}],"id":"9cc351f9-9588-486a-97c8-1272fa45578e","description":"<h1 id=\"OTAAPIDocument-AvailabilityRestrictions\">Availability Restrictions</h1><p>You can update the availability restrictions by using the <strong>OTA_HotelAvailNotifRQ</strong> request. Agoda will response to your request via <strong>OTA_HotelAvailNotifRS</strong> response message. The <strong>OTA_HotelAvailNotifRQ</strong> allows you to update below restrictions. You can also open those restrictions as well.</p><ol><li>Closed for sale - stop selling the specified room, even if there are still available rooms.</li><li>Closed to arrival - cannot book a room for arrive on this date</li><li>Closed to departure - cannot book a room for check out on this date</li><li>Length of stay - define the minimum or maximum number of nights where guests have to stay</li></ol>","event":[{"listen":"prerequest","script":{"id":"d444f16f-547d-410f-a0be-6e3e727174d9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fedf1b58-fe0e-4e18-9904-6f34a5070e9d","type":"text/javascript","exec":[""]}}],"_postman_id":"9cc351f9-9588-486a-97c8-1272fa45578e"},{"name":"Booking Rules","item":[{"name":"OTA_HotelBookingRuleNotifRQ","id":"84fa48c0-b852-4c6c-9efd-538572fa021b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml","type":"text"}],"body":{"mode":"raw","raw":"<OTA_HotelBookingRuleNotifRQ TimeStamp=\"2020-05-06T17:33:50.1209111+08:00\" PrimaryLangID=\"en\" Version=\"1.006\" Target=\"Production\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\r\n\t<RuleMessages HotelCode=\"3034\">\r\n\t\t<RuleMessage UniqueID=\"1588757632\">\r\n\t\t\t<StatusApplicationControl RatePlanCode=\"58497\" InvTypeCode=\"27054\" IsRoom=\"true\" End=\"2020-05-16\" Start=\"2020-05-06\"/>\r\n\t\t\t<BookingRules>\r\n\t\t\t\t<BookingRule MinAdvancedBookingOffset=\"P1D\"/>\r\n\t\t\t</BookingRules>\r\n\t\t</RuleMessage>\r\n\t\t<RuleMessage UniqueID=\"1588757643\">\r\n\t\t\t<StatusApplicationControl RatePlanCode=\"99452\" InvTypeCode=\"27054\" IsRoom=\"true\" End=\"2020-05-16\" Start=\"2020-05-06\"/>\r\n\t\t\t<BookingRules>\r\n\t\t\t\t<BookingRule MinAdvancedBookingOffset=\"P2D\"/>\r\n\t\t\t</BookingRules>\r\n\t\t</RuleMessage>\r\n\t</RuleMessages>\r\n</OTA_HotelBookingRuleNotifRQ>"},"url":"http://supplyota.agoda.com/b2b/ota/2013A/hotels","description":"<h2 id=\"OTAAPIDocument-OTA_HotelBookingRuleNotifRQ\">OTA_HotelBookingRuleNotifRQ</h2><p>You can update availability restrictions for <strong>a single hotel per one request message</strong>. However, you can update multiple booking rules within one message. We recommend to update <strong>one hotel and one room per request</strong>.</p><h3 id=\"OTAAPIDocument-BasicStructure.1\">Basic Structure</h3><p>The basic structure of the message is as per below:</p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeHeader panelHeader pdl\"><b>Booking Rule Notification - Relative</b></div><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelBookingRuleNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" Target=\"Production\" Version=\"1.006\" PrimaryLangID=\"en\" TimeStamp=\"2016-09-09T13:20:01.000+07:00\"&gt;\n        &lt;RuleMessages BrandCode=\"MER\" ChainCode=\"MER\" HotelCode=\"YIPPY\"&gt;\n        &lt;RuleMessage UniqueID=\"123456789\"&gt;\n            &lt;StatusApplicationControl Start=\"2016-10-01\" End=\"2016-10-05\" InvTypeCode=\"YR001\" RatePlanCode=\"AAA\" /&gt;\n            &lt;BookingRules&gt;\n                &lt;BookingRule AbsoluteCutoff=\"2016-10-01\"&gt;\n                &lt;/BookingRule&gt;\n            &lt;/BookingRules&gt;\n        &lt;/RuleMessage&gt;\n        &lt;RuleMessage UniqueID=\"123456789\"&gt;\n            &lt;StatusApplicationControl Start=\"2016-10-02\" End=\"2016-10-04\" InvTypeCode=\"YR001\" RatePlanCode=\"BBB\" /&gt;\n            &lt;BookingRules&gt;\n                &lt;BookingRule MinAdvancedBookingOffset=\"P11D\"&gt;\n                &lt;/BookingRule&gt;\n            &lt;/BookingRules&gt;\n        &lt;/RuleMessage&gt;\n    &lt;/RuleMessages&gt;\n&lt;/OTA_HotelBookingRuleNotifRQ&gt;</pre>\n</div></div><p>The OTA_HotelAvailNotifRQ message contains:</p><ol><li><strong>One <strong>RuleMessages</strong> </strong>element which define the hotel to update (<strong>@HotelCode</strong> attribute).</li><li><strong>Multiple <strong>RuleMessages/RuleMessage</strong></strong> elements which define the transaction id (@UniqueID) used to communicate back to the sender.</li><li>Each <strong><strong>RuleMessage</strong></strong> element will contain <strong>a single StatusApplicationControl</strong> element. This element is used to specify the room type, rate plan code and date range for which the update applies. The dates affected by the update are controlled by the mandatory <strong>@Start</strong> and <strong>@End</strong> attributes.</li></ol><h3 id=\"OTAAPIDocument-Howtosetbookingrules\">How to set booking rules</h3><p>The rules will be identified in <strong>BookingRules</strong> element which must appear once in each <strong>StatusApplicationControl</strong> element. The <strong>BookingRules</strong> element contains a collection of booking rules which apply to the specific room type and rate code indicated by <strong>StatusApplicationControl</strong>. Each <strong>BookingRules</strong> element has one or more <strong>BookingRule</strong> elements.</p><p>Each <strong>BookingRule</strong> can represent an absolute or relative date for the booking restriction. Please see the example of the settings below.</p><p><br /></p><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\"><div class=\"tablesorter-header-inner\">Booking Restriction</div></div></th><th><div class=\"tablesorter-header-inner\"><div class=\"tablesorter-header-inner\">How it will be sent</div></div></th></tr></thead><tbody><tr><td>Fixed deadline for when a booking must be made</td><td><pre>&lt;BookingRule AbsoluteCutoff=\"2016-10-01\" /&gt;</pre></td></tr><tr><td><p>The first date that the booking can be made</p></td><td><pre>&lt;BookingRule AbsoluteDropTime = \"2016-10-01\" /&gt;</pre></td></tr><tr><td>Minimum number of days before arrival for which this rate plan can be booked.</td><td><pre>&lt;BookingRule MinAdvancedBookingOffset = \"P11D\" /&gt;</pre></td></tr><tr><td>Maximum number of days before arrival for which this rate plan can be booked.</td><td><pre>&lt;BookingRule MaxAdvancedBookingOffset = \"P3D\" /&gt;</pre></td></tr></tbody></table></div><h3 id=\"OTAAPIDocument-OTA_HotelBookingRuleNotifRQSpecification\">OTA_HotelBookingRuleNotifRQ Specification</h3><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\"><div class=\"tablesorter-header-inner\"><p>Element</p></div></div></th><th><div class=\"tablesorter-header-inner\"><div class=\"tablesorter-header-inner\"><p>Number</p></div></div></th><th><div class=\"tablesorter-header-inner\"><div class=\"tablesorter-header-inner\">Type</div></div></th><th><div class=\"tablesorter-header-inner\"><div class=\"tablesorter-header-inner\"><p>Description</p></div></div></th></tr></thead><tbody><tr><td><p>OTA_HotelBookingRuleNotifRQ</p></td><td><p>1</p></td><td><br /></td><td><p>Root node</p></td></tr><tr><td><p>@TimeStamp</p></td><td><p>1</p></td><td>DateTime</td><td><p>Time of the transaction</p></td></tr><tr><td><p>@Version</p></td><td><p>1</p></td><td>Decimal</td><td><p>Current version is 1.0</p></td></tr><tr><td>@Target</td><td>1</td><td>String</td><td>Target which can be either Production or Sandbox</td></tr><tr><td>@PrimaryLangID</td><td>1</td><td>String</td><td>Language ID, now only support English (en)</td></tr><tr><td>@EchoToken</td><td>1</td><td>String</td><td>Globally unique identifier for the request. We suggest to use epoch time that the request was sent to Agoda. This should be reflected as an EchoToken in the response.<br /></td></tr><tr><td><p>OTA_HotelBookingRuleNotifRQ / RuleMessages</p></td><td><p>1</p></td><td><br /></td><td><p>Contains the booking rule messages</p></td></tr><tr><td><p>@HotelCode</p></td><td><p>1</p></td><td>String</td><td><p>The code for the property whose availability is being updated</p></td></tr><tr><td>@BrandCode</td><td>1</td><td>String</td><td>Code for the brand</td></tr><tr><td>@ChainCode</td><td>1</td><td>String</td><td>Code for the hotel chain</td></tr><tr><td><p>RuleMessages / RuleMessage</p></td><td><p>1..n</p></td><td><br /></td><td><p>Contains the booking rule messages. There can be multiple of these nodes per request</p></td></tr><tr><td><p>@UniqueID</p></td><td><p>0..1 </p></td><td>Integer</td><td>Use as message identifier, normally use to communicate back to the sender</td></tr><tr><td><p>RuleMessage / StatusApplicationControl</p></td><td><p>1</p></td><td><br /></td><td><p>Contains date and room identification information</p></td></tr><tr><td><p>@Start</p></td><td><p>1</p></td><td>Date</td><td><p>The start date for which the availability update is being set. This date is inclusive.</p></td></tr><tr><td><p>@End</p></td><td><p>1</p></td><td>Date</td><td><p>The end date for which the availability update is being set. This date is inclusive.</p></td></tr><tr><td><p>@RatePlanCode</p></td><td><p>1</p></td><td>String</td><td><p>Identifies the rate. The <strong>RatePlanCode</strong> is used in conjunction with the <strong>InvTypeCode</strong> to identify the room to update.</p></td></tr><tr><td><p>@InvTypeCode</p></td><td><p>1</p></td><td>String</td><td><p>Identifies the room. The <strong>InvTypeCode</strong> is used in conjunction with the <strong>RatePlan</strong><strong>Code</strong> to identify the room to update.</p></td></tr><tr><td><p>StatusApplicationControl / <br />BookingRules / BookingRule</p></td><td><p>0..1</p></td><td><br /></td><td><p>Set booking rules. At least one of @AbsoluteCutoff or @AbsoluteDropTime or @MinAdvancedBookingOffset or @MaxAdvancedBookingOffset must be specified.</p></td></tr><tr><td><p>@AbsoluteCutoff</p></td><td><p>0..1</p></td><td>String</td><td><p>Fixed deadline for when a booking can be made</p></td></tr><tr><td><p>@AbsoluteDropTime</p></td><td><p>0..1</p></td><td>String</td><td><p>The first date that the booking can be made</p></td></tr><tr><td>@MinAdvancedBookingOffset</td><td>0..1</td><td>String</td><td><p>Minimum number of days before arrival for which this rate plan can be booked.</p></td></tr><tr><td>@MaxAdvancedBookingOffset</td><td>0..1</td><td>String</td><td><p>Maximum number of days before arrival for which this rate plan can be booked. </p></td></tr></tbody></table></div><h3 id=\"OTAAPIDocument-ExampleoftheOTA_HotelBookingRuleNotifRQmessages\">Example of the OTA_HotelBookingRuleNotifRQ messages</h3><h4 id=\"OTAAPIDocument-RelativeBookingRulesExample\">Relative Booking Rules Example</h4><p>For stays between 2016-08-01 and 2016-12-31, users must book a minimum of 3 days in advance and a maximum of 365 days in advance to get this room/rate plan. i.e. if today is  2016-09-08 and I want to book a room for 2016-10-02, I will get this room/rate plan. However if I want to book a room for 2016-09-10 or 2017-01-05, this room/rate plan will not be available.</p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeHeader panelHeader pdl\"><b>Relative Booking Example</b></div><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelBookingRuleNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" Target=\"Production\" Version=\"1.006\" PrimaryLangID=\"en\" TimeStamp=\"2016-08-10T11:57:01.000+02:00\"&gt;\n        &lt;RuleMessages BrandCode=\"MER\" ChainCode=\"MER\" HotelCode=\"YIPPY\"&gt;\n        &lt;RuleMessage UniqueID=\"123456789\"&gt;\n            &lt;StatusApplicationControl Start=\"2016-08-01\" End=\"2016-12-31\" InvTypeCode=\"YR001\" RatePlanCode=\"AAA\" /&gt;\n            &lt;BookingRules&gt;\n                &lt;BookingRule MinAdvancedBookingOffset=\"P3D\" MaxAdvancedBookingOffset=\"P365D\"&gt;\n                &lt;/BookingRule&gt;\n            &lt;/BookingRules&gt;\n        &lt;/RuleMessage&gt;\n    &lt;/RuleMessages&gt;\n&lt;/OTA_HotelBookingRuleNotifRQ&gt;</pre>\n</div></div><h4 id=\"OTAAPIDocument-AbsoluteBookingRulesExample\"><br />Absolute Booking Rules Example</h4><p>For stays between 2016-11-01 and 2017-03-31, users must book between 2016-09-01 and 2016-10-05 in order to get this room/rate plan.</p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeHeader panelHeader pdl\"><b>Absolute Booking Example</b></div><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelBookingRuleNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" Target=\"Production\" Version=\"1.006\" PrimaryLangID=\"en\" TimeStamp=\"2016-08-10T11:57:01.000+02:00\"&gt;\n        &lt;RuleMessages BrandCode=\"MER\" ChainCode=\"MER\" HotelCode=\"YIPPY\"&gt;\n            &lt;RuleMessage UniqueID=\"123456789\"&gt;\n            &lt;StatusApplicationControl Start=\"2016-11-01\" End=\"2017-03-31\" InvTypeCode=\"YR001\" RatePlanCode=\"AAA\" /&gt;\n            &lt;BookingRules&gt;\n                &lt;BookingRule AbsoluteDropTime=\"2016-09-01\" AbsoluteCutoff=\"2016-10-05\" &gt;\n                &lt;/BookingRule&gt;\n            &lt;/BookingRules&gt;\n        &lt;/RuleMessage&gt;\n    &lt;/RuleMessages&gt;\n&lt;/OTA_HotelBookingRuleNotifRQ&gt;</pre>\n</div></div>","urlObject":{"protocol":"http","path":["b2b","ota","2013A","hotels"],"host":["supplyota","agoda","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"84fa48c0-b852-4c6c-9efd-538572fa021b"},{"name":"OTA_HotelBookingRuleNotifRS","id":"93494c09-1e84-477a-aa87-0dc3ec367445","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml","type":"text"}],"body":{"mode":"raw","raw":"<OTA_HotelBookingRuleNotifRS Version=\"1.000\" Target=\"Production\" TimeStamp=\"2020-05-06T16:34:00+07:00\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\n    <Success/>\n</OTA_HotelBookingRuleNotifRS>"},"url":"http://supplyota.agoda.com/b2b/ota/2013A/hotels","description":"<h2 id=\"OTAAPIDocument-OTA_HotelBookingRuleNotifRS\">OTA_HotelBookingRuleNotifRS</h2><p>The <strong>OTA_HotelBookingRuleNotifRS</strong> is the response Agoda will return for every <strong>OTA_HotelBookingRuleNotifRQ</strong>. There are 2 types of response which are Success and Failure. The error codes and their descriptions are available in API Validation section.</p><h3 id=\"OTAAPIDocument-Exampleofthemessage.1\">Example of the message</h3><h4 id=\"OTAAPIDocument-SuccessResponse.1\"><strong>Success Response</strong></h4><div><div class=\"syntaxhighlighter sh-confluence nogutter html\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelBookingRuleNotifRS xmlns=\"http://www.opentravel.org/OTA/2003/05\" Target=\"Production Version=\"1.0\" TimeStamp=\"2005-08-01T09:30:47+08:00\" EchoToken=\"abc123\"&gt;\n  &lt;Success/&gt;\n&lt;/OTA_HotelBookingRuleNotifRS&gt;</pre>\n</div></div></div></div><h4 id=\"OTAAPIDocument-FailureResponse(2013A).1\"><strong>Failure Response (2013A)</strong></h4><div><div class=\"syntaxhighlighter sh-confluence nogutter html\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelBookingRuleNotifRS xmlns=\"http://www.opentravel.org/OTA/2003/05\" Target=\"Production Version=\"1.0\" TimeStamp=\"2005-08-01T09:30:47+08:00\" EchoToken=\"abc123\"&gt;\n  &lt;Errors&gt;\n    &lt;Error Type=\"3\" Code=\"9004\"&gt;StartDate is greater than EndDate&lt;/Error&gt;\n  &lt;/Errors&gt;\n&lt;/OTA_HotelBookingRuleNotifRS&gt;</pre>\n</div></div><h4 id=\"OTAAPIDocument-FailureResponse(2015B).1\"><strong><br />Failure Response (2015B)</strong></h4><p><strong><br /></strong></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelBookingRuleNotifRS xmlns=\"http://www.opentravel.org/OTA/2003/05\" Target=\"Production Version=\"1.0\" TimeStamp=\"2005-08-01T09:30:47+08:00\" EchoToken=\"abc123\"&gt;\n  &lt;Errors&gt;\n    &lt;Error Type=\"3\" Code=\"9004\" RecordID=\"\" Status=\"\" ShortText=\"StartDate is greater than EndDate\"/&gt;\n  &lt;/Errors&gt;\n&lt;/OTA_HotelBookingRuleNotifRS&gt;</pre>\n</div></div></div></div><h3 id=\"OTAAPIDocument-OTA_HotelBookingRuleNotifRSSpecification\">OTA_HotelBookingRuleNotifRS Specification</h3><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\"><p>Element</p></div></th><th><div class=\"tablesorter-header-inner\"><p>Number</p></div></th><th><div class=\"tablesorter-header-inner\">Type</div></th><th><div class=\"tablesorter-header-inner\"><p>Description</p></div></th></tr></thead><tbody><tr><td><p>OTA_HotelBookingRuleNotifRS</p></td><td><p>1</p></td><td><br /></td><td><p>Root node</p></td></tr><tr><td><p>@EchoToken</p></td><td>1</td><td>String</td><td>Return the EchoToken from the request message.</td></tr><tr><td>@Version</td><td>1</td><td>Decimal</td><td>Current version is 1.0</td></tr><tr><td>@TimeStamp</td><td>1</td><td>DateTime</td><td><p>Time of the transaction.</p></td></tr><tr><td>@Target</td><td>1</td><td>String</td><td>Target which can be either Production or Sandbox</td></tr><tr><td>OTA_HotelBookingRuleNotifRS / Success</td><td>0..1</td><td><br /></td><td>Is only present if it was a successful response. The Errors node will not be present if the Success node is present.</td></tr><tr><td>OTA_HotelBookingRuleNotifRS / Errors</td><td>0..1</td><td><br /></td><td>Contains a list of errors in the event of a failed request</td></tr><tr><td>Errors / Error</td><td>1..n</td><td><br /></td><td>Mandatory if Errors present</td></tr><tr><td>@Type</td><td>1</td><td>String</td><td><p>Mandatory if Error present. Identifies the type of error</p></td></tr><tr><td>@Code</td><td>0..1</td><td>String</td><td><p>Mandatory if Error is present. Identifies the specific error in the given type</p></td></tr><tr><td>@RecordID</td><td>1</td><td>String</td><td>Reference record ID</td></tr><tr><td>@Status</td><td>1</td><td>String</td><td>Reference status</td></tr><tr><td>@ShortText</td><td>1</td><td>String</td><td>Short description of the error</td></tr></tbody></table></div>","urlObject":{"protocol":"http","path":["b2b","ota","2013A","hotels"],"host":["supplyota","agoda","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"93494c09-1e84-477a-aa87-0dc3ec367445"}],"id":"ea3625f0-e53f-4852-b271-403e96047bd5","description":"<h1 id=\"OTAAPIDocument-BookingRules\">Booking Rules</h1><p>You can update the booking rules using the <strong>OTA_HotelBookingRuleNotifRQ </strong>request. Agoda will response to your request via <strong>OTA_HotelBookingRuleNotifRS</strong> response message. The <strong>OTA_HotelAvailNotifRQ</strong> allows you to update below booking rules.</p><ol><li>Relative Booking Time: defines a number of days between booking date and arrival. i.e. must be booked 2 weeks in advance.</li><li>Absolute Booking Time:<strong> </strong>defines a specific begin and/or end date for a booking.  i.e. must book before November 30th, 2017.</li></ol>","event":[{"listen":"prerequest","script":{"id":"3c951873-7d3d-40a1-af3c-414e1e3f5c9f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"63c4640d-2712-4a8f-abae-7fd2fe3eec61","type":"text/javascript","exec":[""]}}],"_postman_id":"ea3625f0-e53f-4852-b271-403e96047bd5"},{"name":"Generic Push Booking API","item":[{"name":"OTA_HotelResRQ","id":"d0aac680-286e-4c96-b385-d7ff12ebfd1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<OTA_HotelResRQ TimeStamp=\"2020-05-20T17:10:46+07:00\" Version=\"0.2\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\n    <POS>\n        <Source>\n            <RequestorID ID=\"96637800\" ID_Context=\"IATA\" Type=\"18\" URL=\"Agoda.com\"/>\n        </Source>\n    </POS>\n    <HotelReservations>\n        <HotelReservation CreateDateTime=\"2020-05-20T17:10:46+07:00\">\n            <RoomStays>\n                <RoomStay>\n                    <RoomRates>\n                        <RoomRate NumberOfUnits=\"1\" RoomTypeCode=\"131561806\" RatePlanCode=\"2586921\" ChannelID=\"1\">\n                            <Features>\n                                <Feature>\n                                    <Description Name=\"ExtraBed\">false</Description>\n                                </Feature>\n                            </Features>\n                            <Rates>\n                                <Rate ExpireDate=\"2020-05-21\" EffectiveDate=\"2020-05-20\" RateTimeUnit=\"Day\" UnitMultiplier=\"1\">\n                                    <Base RefSell=\"12300\" AmountAfterTax=\"10578\" CurrencyCode=\"CNY\" DecimalPlaces=\"2\"/>\n                                </Rate>\n                            </Rates>\n                        </RoomRate>\n                    </RoomRates>\n                    <GuestCounts>\n                        <GuestCount AgeQualifyingCode=\"10\" Count=\"2\"/>\n                        <GuestCount AgeQualifyingCode=\"8\" Count=\"0\"/>\n                    </GuestCounts>\n                    <Total DecimalPlaces=\"2\" CurrencyCode=\"CNY\" AmountAfterTax=\"10578\" AmountBeforeTax=\"000\" Tax=\"000\" Fee=\"000\" RefSell=\"12300\"/>\n                </RoomStay>\n            </RoomStays>\n            <ResGuests>\n                <ResGuest ResGuestRPH=\"1\" PrimaryIndicator=\"True\">\n                    <Profiles>\n                        <ProfileInfo>\n                            <Profile>\n                                <Customer>\n                                    <PersonName>\n                                        <GivenName>XXXX</GivenName>\n                                        <Surname>XXXX</Surname>\n                                    </PersonName>\n                                    <CitizenCountryName>CN</CitizenCountryName>\n                                </Customer>\n                            </Profile>\n                        </ProfileInfo>\n                    </Profiles>\n                </ResGuest>\n            </ResGuests>\n            <ResGlobalInfo>\n                <TimeSpan Start=\"2020-05-20\" End=\"2020-05-21\"/>\n                <SpecialRequests>\n                    <SpecialRequest>\n                        <Text></Text>\n                    </SpecialRequest>\n                </SpecialRequests>\n                <Guarantee>\n                    <GuaranteesAccepted>\n                        <GuaranteeAccepted/>\n                    </GuaranteesAccepted>\n                </Guarantee>\n                <HotelReservationIDs>\n                    <HotelReservationID ResID_Value=\"ReservationID\" ResID_Type=\"4\" ResID_Source=\"Agoda\"/>\n                </HotelReservationIDs>\n                <BasicPropertyInfo HotelCode=\"HotelCode\"/>\n            </ResGlobalInfo>\n        </HotelReservation>\n    </HotelReservations>\n</OTA_HotelResRQ>","options":{"raw":{"language":"xml"}}},"url":"","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"d0aac680-286e-4c96-b385-d7ff12ebfd1a"},{"name":"OTA_HotelResRS","id":"5a27a1c1-3254-491a-a56f-038adef8548f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<?xml version=\"1.0\"?>\n<OTA_HotelResRS xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" TimeStamp=\"2020-05-20T18:10:47.909212+08:00\" Version=\"0.0\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\n    <POS>\n        <Source>\n            <RequestorID ID=\"96637800\" ID_Context=\"IATA\" Type=\"18\" URL=\"Agoda.com\" />\n        </Source>\n    </POS>\n    <Success />\n    <HotelReservations>\n        <HotelReservation CreateDateTime=\"2020-05-20T18:10:47.909212+08:00\">\n            <ResGlobalInfo>\n                <HotelReservationIDs>\n                    <HotelReservationID ResID_Value=\"ConfirmID;\" ResID_Type=\"5\" ResID_Source=\"Company\" />\n                </HotelReservationIDs>\n            </ResGlobalInfo>\n            <TPA_Extensions />\n        </HotelReservation>\n    </HotelReservations>\n</OTA_HotelResRS>","options":{"raw":{"language":"xml"}}},"url":"","urlObject":{"query":[],"variable":[]}},"response":[{"id":"58d03550-674f-42c6-b34e-68189a00389f","name":"OTA_HotelResRS - Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<OTA_HotelResRQ TimeStamp=\"2020-05-20T17:10:46+07:00\" Version=\"0.2\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\n    <POS>\n        <Source>\n            <RequestorID ID=\"96637800\" ID_Context=\"IATA\" Type=\"18\" URL=\"Agoda.com\"/>\n        </Source>\n    </POS>\n    <HotelReservations>\n        <HotelReservation CreateDateTime=\"2020-05-20T17:10:46+07:00\">\n            <RoomStays>\n                <RoomStay>\n                    <RoomRates>\n                        <RoomRate NumberOfUnits=\"1\" RoomTypeCode=\"131561806\" RatePlanCode=\"2586921\" ChannelID=\"1\">\n                            <Features>\n                                <Feature>\n                                    <Description Name=\"ExtraBed\">false</Description>\n                                </Feature>\n                            </Features>\n                            <Rates>\n                                <Rate ExpireDate=\"2020-05-21\" EffectiveDate=\"2020-05-20\" RateTimeUnit=\"Day\" UnitMultiplier=\"1\">\n                                    <Base RefSell=\"12300\" AmountAfterTax=\"10578\" CurrencyCode=\"CNY\" DecimalPlaces=\"2\"/>\n                                </Rate>\n                            </Rates>\n                        </RoomRate>\n                    </RoomRates>\n                    <GuestCounts>\n                        <GuestCount AgeQualifyingCode=\"10\" Count=\"2\"/>\n                        <GuestCount AgeQualifyingCode=\"8\" Count=\"0\"/>\n                    </GuestCounts>\n                    <Total DecimalPlaces=\"2\" CurrencyCode=\"CNY\" AmountAfterTax=\"10578\" AmountBeforeTax=\"000\" Tax=\"000\" Fee=\"000\" RefSell=\"12300\"/>\n                </RoomStay>\n            </RoomStays>\n            <ResGuests>\n                <ResGuest ResGuestRPH=\"1\" PrimaryIndicator=\"True\">\n                    <Profiles>\n                        <ProfileInfo>\n                            <Profile>\n                                <Customer>\n                                    <PersonName>\n                                        <GivenName>XXXX</GivenName>\n                                        <Surname>XXXX</Surname>\n                                    </PersonName>\n                                    <CitizenCountryName>CN</CitizenCountryName>\n                                </Customer>\n                            </Profile>\n                        </ProfileInfo>\n                    </Profiles>\n                </ResGuest>\n            </ResGuests>\n            <ResGlobalInfo>\n                <TimeSpan Start=\"2020-05-20\" End=\"2020-05-21\"/>\n                <SpecialRequests>\n                    <SpecialRequest>\n                        <Text></Text>\n                    </SpecialRequest>\n                </SpecialRequests>\n                <Guarantee>\n                    <GuaranteesAccepted>\n                        <GuaranteeAccepted/>\n                    </GuaranteesAccepted>\n                </Guarantee>\n                <HotelReservationIDs>\n                    <HotelReservationID ResID_Value=\"ReservationID\" ResID_Type=\"4\" ResID_Source=\"Agoda\"/>\n                </HotelReservationIDs>\n                <BasicPropertyInfo HotelCode=\"HotelCode\"/>\n            </ResGlobalInfo>\n        </HotelReservation>\n    </HotelReservations>\n</OTA_HotelResRQ>","options":{"raw":{"language":"xml"}}},"url":""},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":null,"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<OTA_HotelResRS TimeStamp=\"2013-08-28T13:40:00+01:00\" Version=\"0.0\"\n\txmlns=\"http://www.opentravel.org/OTA/2003/05\"\n\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n\t<POS>\n\t\t<Source>\n\t\t\t<RequestorID ID=\"13244\" ID_Context=\"IATA\" Type=\"18\" URL=\"ChannelManager.com\"/>\n\t\t</Source>\n\t</POS>\n\t<Success />\n\t<!-- Appear when it successful -->\n\t<HotelReservations>\n\t\t<HotelReservation CreateDateTime=\"2013-08-28T13:40:00\">\n\t\t\t<ResGlobalInfo>\n\t\t\t\t<!-- Booking ID from Destination Side -->\n\t\t\t\t<HotelReservationIDs>\n\t\t\t\t\t<HotelReservationID ResID_Value=\"1234\" ResID_Type=\"5\" ResID_Source=\"ChannelManager\"/>\n\t\t\t\t</HotelReservationIDs>\n\t\t\t</ResGlobalInfo>\n\t\t\t<TPA_Extensions></TPA_Extensions>\n\t\t</HotelReservation>\n\t</HotelReservations>\n</OTA_HotelResRS>"},{"id":"4925a849-990f-498f-969b-e3d7d091c0f5","name":"OTA_HotelResRS - Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<OTA_HotelResRQ TimeStamp=\"2020-05-20T17:10:46+07:00\" Version=\"0.2\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\n    <POS>\n        <Source>\n            <RequestorID ID=\"96637800\" ID_Context=\"IATA\" Type=\"18\" URL=\"Agoda.com\"/>\n        </Source>\n    </POS>\n    <HotelReservations>\n        <HotelReservation CreateDateTime=\"2020-05-20T17:10:46+07:00\">\n            <RoomStays>\n                <RoomStay>\n                    <RoomRates>\n                        <RoomRate NumberOfUnits=\"1\" RoomTypeCode=\"131561806\" RatePlanCode=\"2586921\" ChannelID=\"1\">\n                            <Features>\n                                <Feature>\n                                    <Description Name=\"ExtraBed\">false</Description>\n                                </Feature>\n                            </Features>\n                            <Rates>\n                                <Rate ExpireDate=\"2020-05-21\" EffectiveDate=\"2020-05-20\" RateTimeUnit=\"Day\" UnitMultiplier=\"1\">\n                                    <Base RefSell=\"12300\" AmountAfterTax=\"10578\" CurrencyCode=\"CNY\" DecimalPlaces=\"2\"/>\n                                </Rate>\n                            </Rates>\n                        </RoomRate>\n                    </RoomRates>\n                    <GuestCounts>\n                        <GuestCount AgeQualifyingCode=\"10\" Count=\"2\"/>\n                        <GuestCount AgeQualifyingCode=\"8\" Count=\"0\"/>\n                    </GuestCounts>\n                    <Total DecimalPlaces=\"2\" CurrencyCode=\"CNY\" AmountAfterTax=\"10578\" AmountBeforeTax=\"000\" Tax=\"000\" Fee=\"000\" RefSell=\"12300\"/>\n                </RoomStay>\n            </RoomStays>\n            <ResGuests>\n                <ResGuest ResGuestRPH=\"1\" PrimaryIndicator=\"True\">\n                    <Profiles>\n                        <ProfileInfo>\n                            <Profile>\n                                <Customer>\n                                    <PersonName>\n                                        <GivenName>XXXX</GivenName>\n                                        <Surname>XXXX</Surname>\n                                    </PersonName>\n                                    <CitizenCountryName>CN</CitizenCountryName>\n                                </Customer>\n                            </Profile>\n                        </ProfileInfo>\n                    </Profiles>\n                </ResGuest>\n            </ResGuests>\n            <ResGlobalInfo>\n                <TimeSpan Start=\"2020-05-20\" End=\"2020-05-21\"/>\n                <SpecialRequests>\n                    <SpecialRequest>\n                        <Text></Text>\n                    </SpecialRequest>\n                </SpecialRequests>\n                <Guarantee>\n                    <GuaranteesAccepted>\n                        <GuaranteeAccepted/>\n                    </GuaranteesAccepted>\n                </Guarantee>\n                <HotelReservationIDs>\n                    <HotelReservationID ResID_Value=\"ReservationID\" ResID_Type=\"4\" ResID_Source=\"Agoda\"/>\n                </HotelReservationIDs>\n                <BasicPropertyInfo HotelCode=\"HotelCode\"/>\n            </ResGlobalInfo>\n        </HotelReservation>\n    </HotelReservations>\n</OTA_HotelResRQ>","options":{"raw":{"language":"xml"}}},"url":""},"_postman_previewlanguage":"xml","header":null,"cookie":[],"responseTime":null,"body":"<OTA_CancelRS\n\txmlns=\"http://www.opentravel.org/OTA/2003/05\" Version=\"0.0\" TimeStamp=\"2015-04-23T18:17:54.546+02:00\">\n\t<POS>\n\t\t<Source>\n\t\t\t<RequestorID ID=\"13244\" ID_Context=\"IATA\" Type=\"18\" URL=\"ChannelManager.com\"/>\n\t\t</Source>\n\t</POS>\n\t<UniqueID ID=\"0903\" Type=\"10\" ID_Context=\"AGODA\"/>\n\t<UniqueID ID=\"62025941\" Type=\"14\" ID_Context=\"AGODA\"/>\n\t<UniqueID ID=\"0903PE1500\" Type=\"14\" ID_Context=\"ChannelManager\"/>\n\t<TPA_Extensions>\n\t\t<Error Code=\"4001\" Description=\"Reservation “0903PE1500” Not Found \"/>\n\t</TPA_Extensions>\n</OTA_CancelRS>"}],"_postman_id":"5a27a1c1-3254-491a-a56f-038adef8548f"},{"name":"OTA_CancelRQ","id":"0b0b8e56-b2e9-49d3-80fb-a2be8ff6b6b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<OTA_CancelRQ Version=\"0.2\" TimeStamp=\"2020-03-19T10:08:37+07:00\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\n    <POS>\n        <Source>\n            <RequestorID ID=\"Agoda ID\" ID_Context=\"IATA\" Type=\"18\" URL=\"Agoda.com\"/>\n        </Source>\n    </POS>\n    <UniqueID ID=\"Agoda ID\" Type=\"4\" ID_Context=\"Agoda\"/>\n    <UniqueID ID=\"Crs Confrim ID\" Type=\"5\" ID_Context=\"Hotel Chain\"/>\n</OTA_CancelRQ>","options":{"raw":{"language":"xml"}}},"url":"","description":"<p><strong>3.2. Cancellation</strong></p><p><br /></p><p>Agoda send cancellation request with booking id to be cancelled to suppliers for cancel booking. Booking cancellation will be completed once Agoda received success response with cancellation number from suppliers.</p><p><br /></p><p><strong>3.2.1.   OTA_CancelRQ</strong></p><p><br /></p><p>This section will explain about description for element, attribute and example of request for cancel booking request.</p><p><br /></p><p><strong>3.2.1.1.</strong>    <strong>XML Elements and Attributes</strong></p>\n\n<table>\n<thead>\n  <tr>\n    <th>OTA_CancelRQ</th>\n  </tr>\n</thead>\n<tbody>\n  <tr>\n    <td>Element or @Attribute</td>\n    <td>Data Type</td>\n    <td>No. of occur</td>\n    <td>Mandatory</td>\n    <td>Example</td>\n    <td>Description</td>\n  </tr>\n  <tr>\n    <td>OTA_CancelRQ</td>\n    <td>datetime</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2016-09-01T13 :25 :42+07:00</td>\n    <td>Indicates the creation date and time of the message using the following format specified by ISO 8601; YYYY-MM-DDThh:mm:ss(+/-)hh:mm with time values using the 24 hour clock (e.g. 20 November 2016, 1:59:38 pm BKK becomes 2016-11-20T13:59:38+07:00).</td>\n  </tr>\n  <tr>\n    <td>@Timestamp</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@Version</td>\n    <td>decimal, n.n</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>0.1</td>\n    <td>For all OTA versioned messages, the version of the message is indicated by a decimal value.</td>\n  </tr>\n  <tr>\n    <td>@xmlns</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>http://www.opentravel.org/OTA/2003/05</td>\n    <td>Namespace for the OTA payload message.</td>\n  </tr>\n  <tr>\n    <td>POS</td>\n    <td>numeric length 8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>96637800</td>\n    <td>Unique identifier of the requestor.</td>\n  </tr>\n  <tr>\n    <td>Source</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Agodas IATA ID is 96637800</td>\n  </tr>\n  <tr>\n    <td>RequestorID</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ ID</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ ID_Context</td>\n    <td>alpha length 4</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>IATA</td>\n    <td>Used to identify the source of the identifier</td>\n  </tr>\n  <tr>\n    <td>@ Type</td>\n    <td>OTA_CodeType</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>18</td>\n    <td>Reference to the type of requestor. 18 = Other</td>\n  </tr>\n  <tr>\n    <td>@ URL</td>\n    <td>String length 1 to 50</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Agoda.com</td>\n    <td>Used to identify the source url</td>\n  </tr>\n  <tr>\n    <td>UniqueID</td>\n    <td></td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ID</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>12345</td>\n    <td>Requester will send both Agodas booking id or Supplier booking id which use for make booking.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 20</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@Type</td>\n    <td>numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>4</td>\n    <td>Reference to the type of requestor.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>4 = Agodas booking ID</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>5 = Suppliers booking  ID</td>\n  </tr>\n  <tr>\n    <td>@ID_Context</td>\n    <td>string length 1 to 50</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>agoda.com</td>\n    <td>Source of the booking id</td>\n  </tr>\n</tbody>\n</table>\n<p><br /></p><p><strong>3.2.1.2.</strong>    <strong>OTA_CancelRQ Example</strong></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_CancelRQ Version=\"0.2\" TimeStamp=\"2018-02-07T13:38:57+07:00\" xmlns=\"http://www.opentravel.org/OTA/2003/05\"&gt;\n    &lt;POS&gt;\n        &lt;Source&gt;\n            &lt;RequestorID ID=\"96637800\" ID_Context=\"IATA\" Type=\"18\" URL=\"Agoda.com\"/&gt;\n        &lt;/Source&gt;\n    &lt;/POS&gt;\n    &lt;UniqueID ID=\"210466950\" Type=\"4\" ID_Context=\"Agoda\"/&gt;\n    &lt;UniqueID ID=\"3414274153\" Type=\"5\" ID_Context=\"DHIL\"/&gt;\n&lt;/OTA_CancelRQ&gt;\n\n<p></p></pre><p></p>\n</div></div><p><br /></p><p><br /></p><p><br /></p>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"0b0b8e56-b2e9-49d3-80fb-a2be8ff6b6b5"},{"name":"OTA_CancelRS","id":"1feb3adf-8268-40da-90a6-5efeb0006278","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<OTA_CancelRS TimeStamp=\"2020-03-19T10:08:37+07:00\" Version=\"0.2\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\n    <POS>\n        <Source>\n            <RequestorID ID=\"96637800\" ID_Context=\"IATA\" Type=\"18\" URL=\"CM\"/>\n        </Source>\n    </POS>\n    <Success></Success>\n    <UniqueID ID=\"CRS_ID\" Type=\"15\" ID_Context=\"CM\"/>\n    <UniqueID ID=\"330202\" Type=\"10\" ID_Context=\"Agoda\"/>\n    <UniqueID ID=\"314251722\" Type=\"14\" ID_Context=\"Agoda\"/>\n    <UniqueID ID=\"CRS_ID\" Type=\"14\" ID_Context=\"CM\"/>\n</OTA_CancelRS>","options":{"raw":{"language":"xml"}}},"url":"","description":"<p><strong>3.2.2.</strong>    <strong>OTA_CancelRS</strong></p><p><br /></p><p>This section will explain about description for element, attribute and example of request for make cancel response.</p><p><br /></p><p><strong>3.2.2.1.   XML Elements and Attributes</strong></p><p><br /></p>\n\n<table>\n<thead>\n  <tr>\n    <th>OTA_CancelRS</th>\n  </tr>\n</thead>\n<tbody>\n  <tr>\n    <td>Element or @Attribute</td>\n    <td>Data Type</td>\n    <td>No. of occur</td>\n    <td>Mandatory</td>\n    <td>Example</td>\n    <td>Description</td>\n  </tr>\n  <tr>\n    <td>OTA_CancelRS</td>\n    <td>datetime</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2016-09-01T13 :25 :42+07:00</td>\n    <td>Indicates the creation date and time of the message using the following format specified by ISO 8601; YYYY-MM-DDThh:mm:ss(+/-)hh:mm with time values using the 24 hour clock (e.g. 20 November 2016, 1:59:38 pm BKK becomes 2016-11-20T13:59:38+07:00).</td>\n  </tr>\n  <tr>\n    <td>@ timestamp</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ version</td>\n    <td>decimal, n.n</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>0.1</td>\n    <td>For all OTA versioned messages, the version of the message is indicated by a decimal value.</td>\n  </tr>\n  <tr>\n    <td>@ xmlns</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>http://www.opentravel.org/OTA/2003/05</td>\n    <td>Namespace for the OTA payload message.</td>\n  </tr>\n  <tr>\n    <td>POS</td>\n    <td>numeric length 8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>123456</td>\n    <td>Unique identifier of Supplier.</td>\n  </tr>\n  <tr>\n    <td>Source</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>RequestorID</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ ID</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ ID_Context</td>\n    <td>alpha length 4</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>IATA</td>\n    <td>Used to identify the source of the identifier</td>\n  </tr>\n  <tr>\n    <td>@ Type</td>\n    <td>OTA_CodeType</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>18</td>\n    <td>Reference to the type of requestor. 18 = Other</td>\n  </tr>\n  <tr>\n    <td>@ URL</td>\n    <td>string length</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>ChannelManager.com</td>\n    <td>Used to identify the source url</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 50</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>Success</td>\n    <td></td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td></td>\n    <td>Success element will appear in the response when the cancellation confirmed and it does not appear if the cancellation fail.</td>\n  </tr>\n  <tr>\n    <td>UniqueID</td>\n    <td></td>\n    <td>[0..4]</td>\n    <td>N</td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ID</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>ID meaning is depend on @Type</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>@Type = 10:@ID = hotel code</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 20</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>@Type = 14:@ID = reservation number</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>@Type = 15:@ID = cancellation number</td>\n  </tr>\n  <tr>\n    <td>@Type</td>\n    <td>numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>10: hotel code</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>14: reservation number</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>15: cancellation number</td>\n  </tr>\n  <tr>\n    <td>@ID_Context</td>\n    <td>string length 1 to 50</td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>TPA_Extensions</td>\n    <td></td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td></td>\n    <td>Error element is an element for any fault occur and will be appear when cancellation fail.</td>\n  </tr>\n  <tr>\n    <td>Error</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ Code</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>4001</td>\n    <td>Generic Agoda Error Code.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Refer to Appendix D</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 50</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ Description</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Reservation 1234 Not Found</td>\n    <td>Generic Agoda Error Message.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Refer to Appendix D</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 250</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n</tbody>\n</table>\n<p><strong>3.2.2.2.</strong>    <strong>OTA_CancelRS Example</strong></p><p><br /></p><ol><li><strong> Success Response</strong></li></ol><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_CancelRS xmlns=\"http://www.opentravel.org/OTA/2003/05\" Version=\"0.0\" TimeStamp=\"2015-04-23T18:17:54.546+02:00\"&gt;\n\n<p>&lt;POS&gt;</p>\n<p>&lt;Source&gt;</p>\n<p>&lt;RequestorID ID=\"13244\" ID_Context=\"IATA\" Type=\"18\" URL=\"ChannelManager.com\"/&gt; &lt;/Source&gt;</p>\n<p>&lt;/POS&gt;</p>\n<p>&lt;Success/&gt;</p>\n<p>&lt;UniqueID ID=\"0903\" Type=\"10\" ID_Context=\"AGODA\"/&gt;</p>\n<p>&lt;UniqueID ID=\"62025941\" Type=\"14\" ID_Context=\"AGODA\"/&gt;</p>\n<p>&lt;UniqueID ID=\"0903PE1500\" Type=\"14\" ID_Context=\"ChannelManager\"/&gt;</p>\n<p>&lt;UniqueID ID =\"0903PE1500\" Type=\"15\" ID_Context=\"ChannelManager\"/&gt;</p>\n<p>&lt;/OTA_CancelRS&gt;</p>\n<p></p></pre><p></p>\n</div></div><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><ol><li><strong> Fail Response</strong></li></ol><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_CancelRS xmlns=\"http://www.opentravel.org/OTA/2003/05\" Version=\"0.0\" TimeStamp=\"2015-04-23T18:17:54.546+02:00\"&gt;\n\n<p>&lt;POS&gt;</p>\n<p>&lt;Source&gt;</p>\n<p>&lt;RequestorID ID=\"13244\" ID_Context=\"IATA\" Type=\"18\" URL=\"ChannelManager.com\"/&gt; &lt;/Source&gt;</p>\n<p>&lt;/POS&gt;</p>\n<p>&lt;UniqueID ID=\"0903\" Type=\"10\" ID_Context=\"AGODA\"/&gt;</p>\n<p>&lt;UniqueID ID=\"62025941\" Type=\"14\" ID_Context=\"AGODA\"/&gt;</p>\n<p>&lt;UniqueID ID=\"0903PE1500\" Type=\"14\" ID_Context=\"ChannelManager\"/&gt;</p>\n<p>&lt;TPA_Extensions&gt;</p>\n<p>&lt;Error Code=\"4001\" Description=\"Reservation “0903PE1500” Not Found \"/&gt; &lt;/TPA_Extensions&gt;</p>\n<p>&lt;/OTA_CancelRS&gt;</p>\n<p></p></pre><p></p>\n</div></div><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p>\n<p><strong>Appendix B: Special Request</strong></p>\n\n<table>\n<thead>\n  <tr>\n    <th>Special Request</th>\n  </tr>\n</thead>\n<tbody>\n  <tr>\n    <td>NonSmoke</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>EarlyCheckIn</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>LateCheckIn</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>HighFloor</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>LargeBed</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>TwinBeds</td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>AirportTransfer</td>\n    <td>Airport &lt;Flight Number&gt;</td>\n  </tr>\n  <tr>\n    <td>AdditionalNotes &lt;Customer s Note&gt;</td>\n    <td></td>\n  </tr>\n</tbody>\n</table>\n<p><strong>Appendix D: Error Code Specification</strong></p>\n\n<table>\n<thead>\n  <tr>\n    <th>   Error Code   </th>\n    <th>   Error Message   </th>\n  </tr>\n</thead>\n<tbody>\n  <tr>\n    <td>   1001   </td>\n    <td>   Room Type “XXX” Not Found   </td>\n  </tr>\n  <tr>\n    <td>   1002   </td>\n    <td>   Rate Plan “XXX” Not Found   </td>\n  </tr>\n  <tr>\n    <td>   1003   </td>\n    <td>   Hotel “XXX” Not Found   </td>\n  </tr>\n  <tr>\n    <td>   1004   </td>\n    <td>   No Allotment   </td>\n  </tr>\n  <tr>\n    <td>   1005   </td>\n    <td>   Exceed Adult Count   </td>\n  </tr>\n  <tr>\n    <td>   1006   </td>\n    <td>   Rate mismatch, supplier rate = \"XXX\"   but agoda rate = \"YYY\"   </td>\n  </tr>\n  <tr>\n    <td>   1007   </td>\n    <td>   Currency mismatch, property currency   is “XXX” not \"YYY\"   </td>\n  </tr>\n  <tr>\n    <td>   1008   </td>\n    <td>   Incorrect Checkin Date “XXX”   </td>\n  </tr>\n  <tr>\n    <td>   1009   </td>\n    <td>   Over Reservation Time   </td>\n  </tr>\n  <tr>\n    <td>   3001   </td>\n    <td>   Missing field “XXX”   </td>\n  </tr>\n  <tr>\n    <td>   3002   </td>\n    <td>   Invalid value “XXX” of field “YYY”   </td>\n  </tr>\n  <tr>\n    <td>   4001   </td>\n    <td>   Reservation “XXX” Not Found   </td>\n  </tr>\n  <tr>\n    <td>   4002   </td>\n    <td>   Cancellation Is Not Allowed   </td>\n  </tr>\n  <tr>\n    <td>   4003   </td>\n    <td>   Over Cancellation Time   </td>\n  </tr>\n  <tr>\n    <td>   9001   </td>\n    <td>   Internal system error   </td>\n  </tr>\n  <tr>\n    <td>   9002   </td>\n    <td>   External system unknown error   </td>\n  </tr>\n</tbody>\n</table>\n<p><strong>Appendix E: Unique ID Type</strong></p>\n\n<table>\n<thead>\n  <tr>\n    <th>   UIT   </th>\n    <th>   UIT Description   </th>\n  </tr>\n</thead>\n<tbody>\n  <tr>\n    <td>   1   </td>\n    <td>   Customer   </td>\n  </tr>\n  <tr>\n    <td>   2   </td>\n    <td>   CRO (Customer Reservations   Office)   </td>\n  </tr>\n  <tr>\n    <td>   3   </td>\n    <td>   Corporation representative   </td>\n  </tr>\n  <tr>\n    <td>   4   </td>\n    <td>   Company   </td>\n  </tr>\n  <tr>\n    <td>   5   </td>\n    <td>   Travel agency   </td>\n  </tr>\n  <tr>\n    <td>   6   </td>\n    <td>   Airline   </td>\n  </tr>\n  <tr>\n    <td>   7   </td>\n    <td>   Wholesaler   </td>\n  </tr>\n  <tr>\n    <td>   8   </td>\n    <td>   Car rental   </td>\n  </tr>\n  <tr>\n    <td>   9   </td>\n    <td>   Group   </td>\n  </tr>\n  <tr>\n    <td>   10   </td>\n    <td>   Hotel   </td>\n  </tr>\n  <tr>\n    <td>   11   </td>\n    <td>   Tour operator   </td>\n  </tr>\n  <tr>\n    <td>   12   </td>\n    <td>   Cruise line   </td>\n  </tr>\n  <tr>\n    <td>   13   </td>\n    <td>   Internet broker   </td>\n  </tr>\n  <tr>\n    <td>   14   </td>\n    <td>   Reservation   </td>\n  </tr>\n  <tr>\n    <td>   15   </td>\n    <td>   Cancellation   </td>\n  </tr>\n  <tr>\n    <td>   16   </td>\n    <td>   Reference   </td>\n  </tr>\n  <tr>\n    <td>   17   </td>\n    <td>   Meeting planning agency   </td>\n  </tr>\n  <tr>\n    <td>   18   </td>\n    <td>   Other   </td>\n  </tr>\n  <tr>\n    <td>   19   </td>\n    <td>   Insurance agency   </td>\n  </tr>\n  <tr>\n    <td>   20   </td>\n    <td>   Insurance agent   </td>\n  </tr>\n  <tr>\n    <td>   21   </td>\n    <td>   Profile   </td>\n  </tr>\n  <tr>\n    <td>   22   </td>\n    <td>   ERSP (Electronic   reservation service provider)   </td>\n  </tr>\n  <tr>\n    <td>   23   </td>\n    <td>   Provisional reservation   </td>\n  </tr>\n  <tr>\n    <td>   24   </td>\n    <td>   Travel Agent PNR   </td>\n  </tr>\n  <tr>\n    <td>   25   </td>\n    <td>   Associated reservation   </td>\n  </tr>\n  <tr>\n    <td>   26   </td>\n    <td>   Associated itinerary   reservation   </td>\n  </tr>\n  <tr>\n    <td>   27   </td>\n    <td>   Associated shared   reservation   </td>\n  </tr>\n  <tr>\n    <td>   28   </td>\n    <td>   Alliance   </td>\n  </tr>\n  <tr>\n    <td>   29   </td>\n    <td>   Booking agent   </td>\n  </tr>\n  <tr>\n    <td>   30   </td>\n    <td>   Ticket   </td>\n  </tr>\n  <tr>\n    <td>   31   </td>\n    <td>   Divided reservation   </td>\n  </tr>\n  <tr>\n    <td>   32   </td>\n    <td>   Merchant   </td>\n  </tr>\n  <tr>\n    <td>   33   </td>\n    <td>   Acquirer   </td>\n  </tr>\n  <tr>\n    <td>   34   </td>\n    <td>   Master reference   </td>\n  </tr>\n  <tr>\n    <td>   35   </td>\n    <td>   Purged master reference   </td>\n  </tr>\n  <tr>\n    <td>   36   </td>\n    <td>   Parent reference   </td>\n  </tr>\n  <tr>\n    <td>   37   </td>\n    <td>   Child reference   </td>\n  </tr>\n  <tr>\n    <td>   38   </td>\n    <td>   Linked reference   </td>\n  </tr>\n  <tr>\n    <td>   39   </td>\n    <td>   Contract   </td>\n  </tr>\n  <tr>\n    <td>   40   </td>\n    <td>   Confirmation number   </td>\n  </tr>\n  <tr>\n    <td>   41   </td>\n    <td>   Fare quote   </td>\n  </tr>\n  <tr>\n    <td>   42   </td>\n    <td>   Reissue/refund quote   </td>\n  </tr>\n  <tr>\n    <td>   43   </td>\n    <td>   Ground transportation supplier   </td>\n  </tr>\n  <tr>\n    <td>   44   </td>\n    <td>   EMD   </td>\n  </tr>\n</tbody>\n</table>","urlObject":{"query":[],"variable":[]}},"response":[{"id":"674a3f06-7269-46f6-8c7c-d72db697b463","name":"OTA_CancelRS - Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<OTA_CancelRQ Version=\"0.2\" TimeStamp=\"2020-03-19T10:08:37+07:00\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\n    <POS>\n        <Source>\n            <RequestorID ID=\"Agoda ID\" ID_Context=\"IATA\" Type=\"18\" URL=\"Agoda.com\"/>\n        </Source>\n    </POS>\n    <UniqueID ID=\"Agoda ID\" Type=\"4\" ID_Context=\"Agoda\"/>\n    <UniqueID ID=\"Crs Confrim ID\" Type=\"5\" ID_Context=\"Hotel Chain\"/>\n</OTA_CancelRQ>","options":{"raw":{"language":"xml"}}},"url":""},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":null,"cookie":[],"responseTime":null,"body":"<OTA_CancelRS\n\txmlns=\"http://www.opentravel.org/OTA/2003/05\" Version=\"0.0\" TimeStamp=\"2015-04-23T18:17:54.546+02:00\">\n\t<POS>\n\t\t<Source>\n\t\t\t<RequestorID ID=\"13244\" ID_Context=\"IATA\" Type=\"18\" URL=\"ChannelManager.com\"/>\n\t\t</Source>\n\t</POS>\n\t<Success/>\n\t<UniqueID ID=\"0903\" Type=\"10\" ID_Context=\"AGODA\"/>\n\t<UniqueID ID=\"62025941\" Type=\"14\" ID_Context=\"AGODA\"/>\n\t<UniqueID ID=\"0903PE1500\" Type=\"14\" ID_Context=\"ChannelManager\"/>\n\t<UniqueID ID=\"0903PE1500\" Type=\"15\" ID_Context=\"ChannelManager\"/>\n</OTA_CancelRS>"},{"id":"8f37ea41-f34c-4c15-b51c-1fac95540f7e","name":"OTA_CancelRS - Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<OTA_CancelRQ Version=\"0.2\" TimeStamp=\"2020-03-19T10:08:37+07:00\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\n    <POS>\n        <Source>\n            <RequestorID ID=\"Agoda ID\" ID_Context=\"IATA\" Type=\"18\" URL=\"Agoda.com\"/>\n        </Source>\n    </POS>\n    <UniqueID ID=\"Agoda ID\" Type=\"4\" ID_Context=\"Agoda\"/>\n    <UniqueID ID=\"Crs Confrim ID\" Type=\"5\" ID_Context=\"Hotel Chain\"/>\n</OTA_CancelRQ>","options":{"raw":{"language":"xml"}}},"url":""},"_postman_previewlanguage":"xml","header":null,"cookie":[],"responseTime":null,"body":"<OTA_CancelRS\n\txmlns=\"http://www.opentravel.org/OTA/2003/05\" Version=\"0.0\" TimeStamp=\"2015-04-23T18:17:54.546+02:00\">\n\t<POS>\n\t\t<Source>\n\t\t\t<RequestorID ID=\"13244\" ID_Context=\"IATA\" Type=\"18\" URL=\"ChannelManager.com\"/>\n\t\t</Source>\n\t</POS>\n\t<UniqueID ID=\"0903\" Type=\"10\" ID_Context=\"AGODA\"/>\n\t<UniqueID ID=\"62025941\" Type=\"14\" ID_Context=\"AGODA\"/>\n\t<UniqueID ID=\"0903PE1500\" Type=\"14\" ID_Context=\"ChannelManager\"/>\n\t<TPA_Extensions>\n\t\t<Error Code=\"4001\" Description=\"Reservation “0903PE1500” Not Found \"/>\n\t</TPA_Extensions>\n</OTA_CancelRS>\n"}],"_postman_id":"1feb3adf-8268-40da-90a6-5efeb0006278"}],"id":"26e027f4-bcb4-463d-9eb2-42bf6a54e2db","description":"\n\n\n\n\n<p></p>\n\n\n\n\n<div class=\"WordSection1\">\n\n<p> </p>\n\n<p> </p>\n\n<p> </p>\n\n<p><b>1.  </b><b>INTRODUCTION</b></p>\n\n<p> </p>\n\n<p>Agoda Push Booking is designed\naccording to standard OTA so this will be the generic API supports booking,\ncancellation and modification.</p>\n\n<p> </p>\n\n<p>This connectivity is aimed to\nreduce the over booking rate by ensuring reservation will be push to suppliers\nand Agoda will get confirmation back. The booking will be confirmed to customer\nonce getting supplier’s confirmation number.</p>\n\n<p> </p>\n\n<p><b>2.  </b><b>Functionality</b></p>\n\n<p> </p>\n\n<p>There\nare 3 main features</p>\n\n<p>1.     Booking</p>\n\n<p>a.     OTA_HotelResRQ</p>\n\n<p>b.     OTA_HotelResRS</p>\n\n<p> </p>\n\n<p>2.     Cancellation</p>\n\n<p>a.     OTA_CancelRQ</p>\n\n<p>b.     OTA_CancelRS</p>\n\n<p>3.     Modification (coming\nsoon)</p>\n\n<p>a.     OTA_HotelResModifyRQ</p>\n\n<p>b.     OTA_HotelResModifyRS</p>\n\n<p> </p>\n\n<p> </p>\n\n<p><b>2.1. Process Diagram</b></p>\n\n<p> </p>\n\n<p>Overview\nof the process diagram is to conclude the flow which Agoda connects to\nsuppliers with generic push booking framework.</p>\n\n<p><img width=\"662\" height=\"307\" src=\"https://i.imgur.com/taAjDBK.png\" /></p>\n\n<p><b><i>Figure 1: Process Diagram\nfor Generic Push Booking</i></b></p>\n\n<p> </p>\n\n\n\n<p><b>3.  </b><b>API\nInterface</b></p>\n\n<p> </p>\n\n<p>This\nsection will explain you about description for element and attribute field\nwhich used between Agoda and suppliers. We also give suppliers a sample request\nwhich you can reference it. XML schema refer to the request and response is\ncontained in <b>Appendix C</b>.</p>\n\n<p> </p>\n\n<p><b>3.1.     Booking</b></p>\n\n<p> </p>\n\n<p>Agoda\nsend booking request with booking information to suppliers for make booking.\nBooking will be completed once Agoda received supplier confirmation number.</p>\n\n<p> </p>\n\n<p><b>Note: </b>If there is connection problems\nwhich Agoda cannot get the response of OTA_HotelResRS. We will have retry<b> </b>process. Suppliers should handle duplicate\nbooking by checking Agoda reservation ID and not create new booking for the\nsame Agoda reservation ID.</p>\n\n<p><b>3.1.1.</b>    <b>OTA_HotelResRQ</b></p>\n\n<p> </p>\n\n<p>This section will explain about description for\nelement, attribute and example of request for make booking request.</p>\n\n<p> </p>\n\n<p><b>3.1.1.1.</b>    <b>XML\nElements and Attributes</b></p>\n\n\n<table>\n<thead>\n  <tr>\n    <th>OTA_HotelResRQ</th>\n    <th></th>\n  </tr>\n</thead>\n<tbody>\n  <tr>\n    <td>Element or @Attribute</td>\n    <td>Data Type</td>\n    <td>No. of occur</td>\n    <td>Mandatory</td>\n    <td>Example</td>\n    <td>Description</td>\n  </tr>\n  <tr>\n    <td>OTA_HotelResRQ</td>\n    <td>Datetime</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2016-09-01T13 :25 :42+07:00</td>\n    <td>Indicates the creation date and time of the message using the following format specified by ISO 8601; YYYY-MM-DDThh:mm:ss(+/-)hh:mm with time values using the 24 hour clock (e.g. 20 November 2016, 1:59:38 pm BKK becomes 2016-11-20T13:59:38+07:00).</td>\n  </tr>\n  <tr>\n    <td>@Timestamp</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@Version</td>\n    <td>Double</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>0.1</td>\n    <td>For all OTA versioned messages, the version of the message is indicated by a double value (format n.n).</td>\n  </tr>\n  <tr>\n    <td>@xmlns</td>\n    <td>String</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>http://www.opentravel.org/OTA/2003/05</td>\n    <td>Namespace for the OTA payload message.</td>\n  </tr>\n  <tr>\n    <td>@xmlns :xsi</td>\n    <td>String</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>http://www.w3.org/2001/XMLSchema-instance</td>\n    <td>Namespace for XML schema-instance.</td>\n  </tr>\n  <tr>\n    <td>POS</td>\n    <td>Numeric length 8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>96637800</td>\n    <td>Unique identifier of the requestor.</td>\n  </tr>\n  <tr>\n    <td>Source</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Agodas IATA ID is 96637800</td>\n  </tr>\n  <tr>\n    <td>RequestorID</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ID</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ID_Context</td>\n    <td>String length 4</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>IATA</td>\n    <td>Used to identify the source of the identifier</td>\n  </tr>\n  <tr>\n    <td>@Type</td>\n    <td>OTA_CodeType</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>18</td>\n    <td>Reference to the type of requestor. 18 = Other</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Refer to Appendix E for more details</td>\n  </tr>\n  <tr>\n    <td>@URL</td>\n    <td>String length 1 to 50</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Agoda.com</td>\n    <td>Used to identify the source URL</td>\n  </tr>\n  <tr>\n    <td>HotelReservations</td>\n    <td>Datetime</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2016-09-01T00:00:00+07:00</td>\n    <td>Indicates the booking date and time using the following format specified by ISO 8601; YYYY-MM-DDThh:mm:ss(+/-)hh:mm with time values using the 24 hour clock (e.g. 20 November 2016, 1:59:38 pm BKK becomes 2016-11-20T13:59:38+07:00).</td>\n  </tr>\n  <tr>\n    <td>HotelReservation</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@CreateDateTime</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>RoomRates</td>\n    <td>numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2</td>\n    <td>Details on the room rates associated with the reservation.</td>\n  </tr>\n  <tr>\n    <td>RoomRate</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Used to identify the number of room to be booked.</td>\n  </tr>\n  <tr>\n    <td>@NumberOfUnits</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@RoomTypeCode</td>\n    <td>string length</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>3138110</td>\n    <td>Used to identify the unique room type code to be booked.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 20</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@RatePlanCode</td>\n    <td>string length</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>25468</td>\n    <td>Used to identify the unique rate plan code to be booked.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 20</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ChannelID</td>\n    <td>numeric</td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>1</td>\n    <td>Used to identify the channel id to be booked. This field will be provided for YCS5 hotel only.</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>**Supplier should have the channel id mapping for channel id and channel name if it required in supplier side.</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>Refer to Appendix F for more details</td>\n  </tr>\n  <tr>\n    <td>Features</td>\n    <td>String length 1 to 250</td>\n    <td>[0..n]</td>\n    <td>N</td>\n    <td>ExtraBed</td>\n    <td>To identify feature of that room for example, ExtraBed etc.</td>\n  </tr>\n  <tr>\n    <td>Feature</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>Description</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@Name</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>Rates</td>\n    <td>numeric</td>\n    <td>[1..n]</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>The number of days between effective date and expiry date with that particular rate</td>\n  </tr>\n  <tr>\n    <td>Rate</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@UnitMultiplier</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@RateTimeUnit</td>\n    <td>String length 1 to 20</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Day</td>\n    <td>Default for Agoda Request it will be Day</td>\n  </tr>\n  <tr>\n    <td>@EffectiveDate</td>\n    <td>date</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>4/2/2016</td>\n    <td>Effective date for that particular date the format will be YYYY-MM-DD</td>\n  </tr>\n  <tr>\n    <td>@ExpireDate</td>\n    <td>Date</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>4/3/2016</td>\n    <td>Expire date for that particular date the format will be YYYY-MM-DD</td>\n  </tr>\n  <tr>\n    <td>Rates</td>\n    <td>numeric</td>\n    <td>[1..n]</td>\n    <td>Y</td>\n    <td>2</td>\n    <td>Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard minor unit. Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces=2 to represent $85</td>\n  </tr>\n  <tr>\n    <td>Rate</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>Base</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@DecimalPlaces</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@CurrencyCode</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>USD</td>\n    <td>The code specifying a monetary unit. Use ISO 4217, three alpha code.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length 3</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@AmountAfterTax</td>\n    <td>double</td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>26836</td>\n    <td>Daily room price include tax multiplied by number of rooms.</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>To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Price = 26836 and DecimalPlaces = 2 so the value will be $268.36</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>Price can be Net or Sell price depend on property setting.</td>\n  </tr>\n  <tr>\n    <td>@ AmountBeforeTax</td>\n    <td>double</td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>26033</td>\n    <td>Daily room price exclude tax multiplied by number of rooms.</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>To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Price = 26033 and DecimalPlaces = 2 so the value will be $260.33</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>Price can be Net or Sell price depend on property setting.</td>\n  </tr>\n  <tr>\n    <td>@ Tax</td>\n    <td>double</td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>200</td>\n    <td>Daily Tax multiplied by number of rooms.</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>To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Price = 26033 and DecimalPlaces = 2 so the value will be $260.33</td>\n  </tr>\n  <tr>\n    <td>@ Fee</td>\n    <td>double</td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>100</td>\n    <td>Daily Fee multiplied by number of rooms.</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>To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Price = 26033 and DecimalPlaces = 2 so the value will be $260.33</td>\n  </tr>\n  <tr>\n    <td>@ RefSell</td>\n    <td>double</td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>27000</td>\n    <td>Daily Reference sell (Sell Inclusive) multiplied by number of rooms.</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>To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Price = 26033 and DecimalPlaces = 2 so the value will be $260.33</td>\n  </tr>\n  <tr>\n    <td>GuestCounts</td>\n    <td></td>\n    <td>[1..n]</td>\n    <td>Y</td>\n    <td></td>\n    <td>Detail of number of guests.</td>\n  </tr>\n  <tr>\n    <td>GuestCount</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@AgeQualifyingCode</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>10</td>\n    <td>A code representing a business rule that determines the charges for a guest based upon age range (e.g. Adult, Child, Senior, Child With Adult, Child Without Adult). Refer to OpenTravel Code List Age Qualifying Code (AQC)</td>\n  </tr>\n  <tr>\n    <td>@Count</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>N</td>\n    <td>1</td>\n    <td>The number of that particular specific guest type.</td>\n  </tr>\n  <tr>\n    <td>Total</td>\n    <td>numeric</td>\n    <td>[1..n]</td>\n    <td>Y</td>\n    <td>2</td>\n    <td>Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard minor unit. Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces=2 to represent $85</td>\n  </tr>\n  <tr>\n    <td>@ DecimalPlaces</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@CurrencyCode</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>USD</td>\n    <td>The code specifying a monetary unit. Use ISO 4217, three alpha code.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length 3</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@AmountAfterTax</td>\n    <td>double</td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>26836</td>\n    <td>Total room price include tax multiplied by number of rooms and nights.</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>To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Price = 26836 and DecimalPlaces = 2 so the value will be $268.36</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>Price can be Net or Sell price depend on property setting.</td>\n  </tr>\n  <tr>\n    <td>@ AmountBeforeTax</td>\n    <td>double</td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>26033</td>\n    <td>Total room price exclude tax multiplied by number of rooms and nights.</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>To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Price = 26033 and DecimalPlaces = 2 so the value will be $260.33</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>Price can be Net or Sell price depend on property setting.</td>\n  </tr>\n  <tr>\n    <td>@ Tax</td>\n    <td>double</td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>200</td>\n    <td>Total Tax multiplied by number of rooms and nights.</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>To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Price = 26033 and DecimalPlaces = 2 so the value will be $260.33</td>\n  </tr>\n  <tr>\n    <td>@ Fee</td>\n    <td>double</td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>100</td>\n    <td>Total Fee multiplied by number of rooms and nights.</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>To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Price = 26033 and DecimalPlaces = 2 so the value will be $260.33</td>\n  </tr>\n  <tr>\n    <td>@ RefSell</td>\n    <td>double</td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>27000</td>\n    <td>Total Reference sell (Sell Inclusive) multiplied by number of rooms and nights.</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>To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Price = 26033 and DecimalPlaces = 2 so the value will be $260.33</td>\n  </tr>\n  <tr>\n    <td>ResGuests</td>\n    <td></td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Detail of guests associated with a reservation.</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>ResGuest</td>\n    <td></td>\n    <td>[1..n]</td>\n    <td>Y</td>\n    <td></td>\n    <td>Detail of each guest associated with reservation. Agoda can send only lead guest information or all guests to be stayed at the hotel.</td>\n  </tr>\n  <tr>\n    <td>@ResGuestRPH</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1</td>\n    <td>The index of guest.</td>\n  </tr>\n  <tr>\n    <td>@PrimaryIndicator</td>\n    <td>Boolean</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>True/False</td>\n    <td>To identify the guest is primary contact.</td>\n  </tr>\n  <tr>\n    <td>Profiles</td>\n    <td></td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Identify guest profile</td>\n  </tr>\n  <tr>\n    <td>ProfileInfo</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>Profile</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>Customer</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>PersonName</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>GivenName</td>\n    <td></td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Given name, first name or names</td>\n  </tr>\n  <tr>\n    <td>Surname</td>\n    <td></td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Family name, last name</td>\n  </tr>\n  <tr>\n    <td>Telephone</td>\n    <td></td>\n    <td>[0..1]</td>\n    <td>Y</td>\n    <td>1234567890</td>\n    <td>Customer phone number. This can be alphanumeric.</td>\n  </tr>\n  <tr>\n    <td>Email</td>\n    <td></td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>test@agoda.com</td>\n    <td>Email address of the customer.</td>\n  </tr>\n  <tr>\n    <td>CitizenCountryName</td>\n    <td></td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td>TH</td>\n    <td>Citizen Country name (e.g. TH, CN, JP, US)</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>Refer to Appendix A : Guest Country</td>\n  </tr>\n  <tr>\n    <td>ResGlobalInfo</td>\n    <td></td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>ResGlobalInfo is a container for various information that affects the Reservation as a whole. These include global comments, counts, reservation IDs, loyalty programs, and payment methods</td>\n  </tr>\n  <tr>\n    <td>TimeSpan</td>\n    <td></td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>The Time Span which covers the period of stay.</td>\n  </tr>\n  <tr>\n    <td>@Start</td>\n    <td>datetime</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>8/22/2016</td>\n    <td>Check-in date with format YYYY-MM-DD</td>\n  </tr>\n  <tr>\n    <td>@End</td>\n    <td>datetime</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>8/25/2016</td>\n    <td>Check-out date with format YYYY-MM-DD</td>\n  </tr>\n  <tr>\n    <td>SpecialRequests</td>\n    <td></td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td></td>\n    <td>Identify customers additional requests.</td>\n  </tr>\n  <tr>\n    <td>SpecialRequest</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>Text</td>\n    <td>string length</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>NonSmoke, HighFloor, AdditionalNotes:Swimming Pool View  Connecting rooms or adjoining rooms please.,</td>\n    <td>The string of special request list separate each request by ,.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 250</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>Refer to Appendix B: Agoda Special Request</td>\n  </tr>\n  <tr>\n    <td>Guarantee</td>\n    <td></td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td></td>\n    <td>Detail of payment information</td>\n  </tr>\n  <tr>\n    <td>GuaranteesAccepted</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>GuaranteeAccepted</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>PaymentCard</td>\n    <td></td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Detail of credit card</td>\n  </tr>\n  <tr>\n    <td>CardHolderName</td>\n    <td>Alpha</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Agoda Company Pte Ltd.</td>\n    <td>Name on credit card. For all bookings will show Agoda Pte Ltd.</td>\n  </tr>\n  <tr>\n    <td>CardNumber</td>\n    <td>numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>503444796022xxxx</td>\n    <td>Number of the Agoda UPC (Unique Plastic Card) used by the property to debit the amount of the booking.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length 16</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@Expired</td>\n    <td>Date</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>17-Mar</td>\n    <td>Credit card expiry date in format MM/YY</td>\n  </tr>\n  <tr>\n    <td>@SecureInd</td>\n    <td>numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>170</td>\n    <td>Credit card CVV number</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>3</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>HotelReservationIDs</td>\n    <td></td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Detail of hotel reservation contains various unique (ReservationID) and non-unique (ConfirmationID, CancellationID) identifiers that the trading partners associate with a given reservation</td>\n  </tr>\n  <tr>\n    <td>HotelReservationID</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ResID_Value</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>76104819</td>\n    <td>Agodas booking ID</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 20</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ResID_Type</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>4</td>\n    <td>Reference to the type of requestor. 4 = Agoda booking ID</td>\n  </tr>\n  <tr>\n    <td>@ResID_Source</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Agoda</td>\n    <td>Source of booking, Its always Agoda.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 20</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>BasicPropertyInfo</td>\n    <td></td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Property Information for the Room Stay</td>\n  </tr>\n  <tr>\n    <td>@ HotelCode</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>6000089</td>\n    <td>Used to identify the unique hotel id to be booked.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 20</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>TPA_Extensions</td>\n    <td>string length</td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td></td>\n    <td>An element for additional data if needed.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 250</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n</tbody>\n</table>\n\n<p> </p>\n<h4 id=\"PushBooking-3.1.2.2OTA_HotelResRQExample\"><strong>3.1.2.2    OTA_HotelResRQ Example</strong></h4><h4 id=\"PushBooking-a.SuccessResponse\"><strong>a. Success Response</strong></h4><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;OTA_HotelResRQ TimeStamp=\"2013-08-28T13:40:00+01:00\" Version=\"0.0\" xmlns=\"http://www.opentravel.org/OTA/2003/05\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"&gt;\n    &lt;POS&gt;\n        &lt;Source&gt;\n            &lt;RequestorID ID=\"96637800\" ID_Context=\"IATA\" Type=\"18\" URL=\"AGODA.com\"/&gt;\n        &lt;/Source&gt;\n    &lt;/POS&gt;\n    &lt;HotelReservations&gt;\n        &lt;HotelReservation CreateDateTime=\"2013-08-28T13:40:00+01:00\"&gt;\n            &lt;RoomStays&gt;\n                &lt;RoomStay&gt;\n                    &lt;RoomRates&gt;\n                        &lt;RoomRate NumberOfUnits=\"2\" RoomTypeCode=\"3138110\" RatePlanCode=\"25468\" ChannelID=\"1\"&gt;\n                            &lt;Features&gt;\n                                &lt;Feature&gt;\n                                    &lt;Description Name=\"ExtraBed\"&gt;True&lt;/Description&gt;\n                                &lt;/Feature&gt;\n                            &lt;/Features&gt;\n                            &lt;Rates&gt;\n                                &lt;Rate UnitMultiplier=\"1\" RateTimeUnit=\"Day\" EffectiveDate=\"2013-09-28\" ExpireDate=\"2013-09-29\"&gt;\n                                    &lt;Base DecimalPlaces=\"2\" CurrencyCode=\"SGD\" AmountAfterTax=\"26836\" AmountBeforeTax=\"26033\" Tax=\"200\" Fee=\"100\" RefSell=\"27000\"/&gt;\n                                &lt;/Rate&gt;\n                                &lt;Rate UnitMultiplier=\"1\" RateTimeUnit=\"Day\" EffectiveDate=\"2013-09-29\" ExpireDate=\"2013-09-30\"&gt;\n                                    &lt;Base DecimalPlaces=\"2\" CurrencyCode=\"SGD\" AmountAfterTax=\"26836\" AmountBeforeTax=\"26033\" Tax=\"200\" Fee=\"100\" RefSell=\"27000\"/&gt;\n                                &lt;/Rate&gt;\n                            &lt;/Rates&gt;\n                        &lt;/RoomRate&gt;\n                    &lt;/RoomRates&gt;\n                    &lt;GuestCounts&gt;\n                        &lt;GuestCount AgeQualifyingCode=\"10\" Count=\"2\"/&gt;\n                        &lt;GuestCount AgeQualifyingCode=\"8\" Count=\"1\"/&gt;\n                    &lt;/GuestCounts&gt;\n                    &lt;Total DecimalPlaces=\"2\" CurrencyCode=\"SGD\" AmountAfterTax=\"53672\" AmountBeforeTax=\"52066\" Tax=\"400\" Fee=\"200\" RefSell=\"54000\"/&gt; \n                &lt;/RoomStay&gt;\n            &lt;/RoomStays&gt;\n            &lt;ResGuests&gt;\n                &lt;ResGuest ResGuestRPH=\"1\" PrimaryIndicator=\"True\"&gt;\n                    &lt;Profiles&gt;\n                        &lt;ProfileInfo&gt;\n                            &lt;Profile&gt;\n                                &lt;Customer&gt;\n                                    &lt;PersonName&gt;\n                                        &lt;GivenName&gt;John&lt;/GivenName&gt;\n                                        &lt;Surname&gt;Doe&lt;/Surname&gt;\n                                    &lt;/PersonName&gt;\n&lt;Telephone&gt;1234567890&lt;/Telephone&gt;\n&lt;Email&gt;test@agoda.com&lt;/Email&gt;\n                                    &lt;CitizenCountryName&gt;TH&lt;/CitizenCountryName&gt;\n                                &lt;/Customer&gt;\n                            &lt;/Profile&gt;\n                        &lt;/ProfileInfo&gt;\n                    &lt;/Profiles&gt;\n                &lt;/ResGuest&gt;\n            &lt;/ResGuests&gt;\n            &lt;ResGlobalInfo&gt;\n                &lt;TimeSpan Start=\"2013-09-28\" End=\"2013-09-30\"/&gt;\n                &lt;SpecialRequests&gt;\n                    &lt;SpecialRequest&gt;\n                        &lt;Text&gt;NonSmoke, HighFloor&lt;/Text&gt;\n                    &lt;/SpecialRequest&gt;\n                &lt;/SpecialRequests&gt;\n                &lt;Guarantee&gt;\n                    &lt;GuaranteesAccepted&gt;\n                        &lt;GuaranteeAccepted&gt;\n                            &lt;PaymentCard&gt;\n                                &lt;CardHolderName&gt;Agoda Company Pte Ltd.&lt;/CardHolderName&gt;\n                                &lt;CardNumber ExpireDate=\"03/2017\" SecureInd=\"170\"&gt;503444796022xxxx&lt;/CardNumber&gt;\n                            &lt;/PaymentCard&gt;\n                        &lt;/GuaranteeAccepted&gt;\n                    &lt;/GuaranteesAccepted&gt;\n                &lt;/Guarantee&gt;\n                &lt;HotelReservationIDs&gt;\n                    &lt;HotelReservationID ResID_Value=\"1234\" ResID_Type=\"4\" ResID_Source=\"Agoda\"/&gt;\n                &lt;/HotelReservationIDs&gt;\n                &lt;BasicPropertyInfo HotelCode=\"6000089\"/&gt;\n            &lt;/ResGlobalInfo&gt;\n            &lt;TPA_Extensions&gt;Generic Data Tag&lt;/TPA_Extensions&gt;\n        &lt;/HotelReservation&gt;\n    &lt;/HotelReservations&gt;\n&lt;/OTA_HotelResRQ&gt;\n\n<p><strong>3.1.2.</strong>    <strong>OTA_HotelResRS</strong></p><p><br /></p><p>This section will explain about description for element, attribute and example of response for make booking request.</p><p><br /></p><p><strong>3.1.2.1.   XML Elements and Attributes</strong></p><p><br /></p>\n\n<table>\n<thead>\n  <tr>\n    <th>OTA_HotelResRS</th>\n  </tr>\n</thead>\n<tbody>\n  <tr>\n    <td>Element or @Attribute</td>\n    <td>Data Type</td>\n    <td>No. of occur</td>\n    <td>Mandatory</td>\n    <td>Example</td>\n    <td>Description</td>\n  </tr>\n  <tr>\n    <td>OTA_HotelResRS</td>\n    <td>datetime</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2016-09-01T13 :25 :42+07:00</td>\n    <td>Indicates the creation date and time of the message using the following format specified by ISO 8601; YYYY-MM-DDThh:mm:ss(+/-)hh:mm with time values using the 24 hour clock (e.g. 20 November 2016, 1:59:38 pm BKK becomes 2016-11-20T13:59:38+07:00).</td>\n  </tr>\n  <tr>\n    <td>@Timestamp</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ Version</td>\n    <td>decimal, n.n</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>0.1</td>\n    <td>For all OTA versioned messages, the version of the message is indicated by a decimal value.</td>\n  </tr>\n  <tr>\n    <td>@ xmlns</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>http://www.opentravel.org/OTA/2003/05</td>\n    <td>Namespace for the OTA payload message.</td>\n  </tr>\n  <tr>\n    <td>@ xmlns :xsi</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>http://www.w3.org/2001/XMLSchema-instance</td>\n    <td>Namespace for XML schema-instance.</td>\n  </tr>\n  <tr>\n    <td>POS</td>\n    <td>numeric length 8</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>123456</td>\n    <td>Unique identifier of Supplier.</td>\n  </tr>\n  <tr>\n    <td>Source</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>RequestorID</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ ID</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ ID_Context</td>\n    <td>alpha length 4</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>IATA</td>\n    <td>Used to identify the source of the identifier</td>\n  </tr>\n  <tr>\n    <td>@ Type</td>\n    <td>OTA_CodeType</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>18</td>\n    <td>Reference to the type of requestor. 18 = Other</td>\n  </tr>\n  <tr>\n    <td>@ URL</td>\n    <td>String length 1 to 50</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>ChannelManager.com</td>\n    <td>Used to identify the source url</td>\n  </tr>\n  <tr>\n    <td>Success</td>\n    <td></td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td></td>\n    <td>Success element will appear in the response when the reservation confirmed and does not appear if the reservation fail.</td>\n  </tr>\n  <tr>\n    <td>HotelReservations</td>\n    <td>datetime</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>2016-09-01T13 :25 :42+07:00</td>\n    <td>Indicates the booking date and time using the following format specified by ISO 8601; YYYY-MM-DDThh:mm:ss(+/-)hh:mm with time values using the 24 hour clock (e.g. 20 November 2016, 1:59:38 pm BKK becomes 2016-11-20T13:59:38+07:00).</td>\n  </tr>\n  <tr>\n    <td>HotelReservation</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@CreateDateTime</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>ResGlobalInfo</td>\n    <td></td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td></td>\n    <td>ResGlobalInfo is a container for various information that affects the Reservation as a whole. These include global comments, counts, reservation IDs, loyalty programs, and payment methods</td>\n  </tr>\n  <tr>\n    <td>HotelReservationIDs</td>\n    <td></td>\n    <td>1</td>\n    <td>Y</td>\n    <td></td>\n    <td>Detail of hotel reservation contains various unique (ReservationID) and non- unique (ConfirmationID, CancellationID) identifiers that the trading partners associate with a given reservation</td>\n  </tr>\n  <tr>\n    <td>HotelReservationID</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ResID_Value</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>76104819</td>\n    <td>Suppliers booking ID</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 20</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ResID_Type</td>\n    <td>Numeric</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>5</td>\n    <td>Reference to the type of requestor. 5 = Supplier booking ID</td>\n  </tr>\n  <tr>\n    <td>@ResID_Source</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>&lt;supplier name&gt;</td>\n    <td>Source of booking, it is supplier name.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 20</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>TPA_Extensions</td>\n    <td></td>\n    <td>[0..1]</td>\n    <td>N</td>\n    <td></td>\n    <td>Error element is an element for any fault occur and will be appear when reservation fail.</td>\n  </tr>\n  <tr>\n    <td>Error</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ Code</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>1001</td>\n    <td>Generic Agoda Error Code.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Refer to Appendix D</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 50</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>@ Description</td>\n    <td>string</td>\n    <td>1</td>\n    <td>Y</td>\n    <td>Room Type 1234 Not Found</td>\n    <td>Generic Agoda Error Message.</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>length</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td>Refer to Appendix D</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>1 to 250</td>\n    <td></td>\n    <td></td>\n    <td></td>\n    <td></td>\n  </tr>\n</tbody>\n</table>\n\n<p><strong>3.1.2.2.</strong>    <strong>OTA_HotelResRS Example</strong></p><p><strong>1.Success Response</strong></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;OTA_HotelResRS TimeStamp=\"2013-08-28T13:40:00+01:00\" Version=\"0.0\" xmlns=\"http://www.opentravel.org/OTA/2003/05\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"&gt;\n    &lt;POS&gt;\n        &lt;Source&gt;\n            &lt;RequestorID ID=\"13244\" ID_Context=\"IATA\" Type=\"18\" URL=\"ChannelManager.com\"/&gt;\n        &lt;/Source&gt;\n    &lt;/POS&gt;\n    &lt;Success /&gt; &lt;!-- Appear when it successful --&gt;\n    &lt;HotelReservations&gt;\n        &lt;HotelReservation CreateDateTime=\"2013-08-28T13:40:00\"&gt;\n            &lt;ResGlobalInfo&gt;\n                &lt;!-- Booking ID from Destination Side --&gt;\n                &lt;HotelReservationIDs&gt;\n                    &lt;HotelReservationID ResID_Value=\"1234\" ResID_Type=\"5\" ResID_Source=\"ChannelManager\"/&gt;\n                &lt;/HotelReservationIDs&gt;\n            &lt;/ResGlobalInfo&gt;\n            &lt;TPA_Extensions&gt;&lt;/TPA_Extensions&gt;\n        &lt;/HotelReservation&gt;\n    &lt;/HotelReservations&gt;\n&lt;/OTA_HotelResRS&gt;</pre>\n</div></div><p><strong>2.  Fail response</strong></p><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelResRS xmlns=\"http://www.opentravel.org/OTA/2003/05\" TimeStamp=\"2018-02-07T02:04:17+00:00\" Version=\"0.2\"&gt;\n    &lt;POS&gt;\n        &lt;Source&gt;\n            &lt;RequestorID ID=\"96637800\" ID_Context=\"IATA\" Type=\"18\" URL=\"DerbySoft.com\"/&gt;\n        &lt;/Source&gt;\n    &lt;/POS&gt;\n    &lt;HotelReservations&gt;\n        &lt;HotelReservation CreateDateTime=\"2018-02-06T17:00:00+00:00\"&gt;\n            &lt;TPA_Extensions&gt;\n                &lt;Error Code=\"1006\" Description=\"Inconsistent rate of [LONLI] [D1|OGLWP1] at [2018-02-17|2018-02-19] for 2A, expect GBP [167.38] but actual GBP [141.43]\"/&gt;\n            &lt;/TPA_Extensions&gt;\n        &lt;/HotelReservation&gt;\n    &lt;/HotelReservations&gt;\n&lt;/OTA_HotelResRS&gt;</pre>\n</div></div><p><br /></p><p><br /></p>\n\n<p></p></pre><p></p>\n</div>\n\n</div></div>\n\n\n","event":[{"listen":"prerequest","script":{"id":"1710b128-4d72-4218-95b8-13466f273fbc","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a5816583-3f51-4dc0-a89b-ca5f7136409d","type":"text/javascript","exec":[""]}}],"_postman_id":"26e027f4-bcb4-463d-9eb2-42bf6a54e2db"},{"name":"Room Availability and Rates","item":[{"name":"OTA_HotelRateAmountNotifRQ","id":"ea48803f-bc64-494c-8266-0109459a586f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<OTA_HotelRateAmountNotifRQ NotifType=\"Overlay\" EchoToken=\"\" Target=\"\" Version=\"1.0\" TimeStamp=\"2018-08-27T12:03:14+07:00\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\r\n\t<RateAmountMessages HotelCode=\"UPNMX\">\r\n\t\t<RateAmountMessage LocatorID=\"1\">\r\n\t\t\t<StatusApplicationControl is_deposit_required=\"true\" is_no_cc=\"false\" QuoteID=\"\" RateChannelCode=\"1\" RatePlanCode=\"IDH14\" InvTypeCode=\"KWCN\" End=\"2019-07-29\" Start=\"2019-07-29\"/>\r\n\t\t\t<Rates>\r\n\t\t\t\t<Rate>\r\n\t\t\t\t\t<BaseByGuestAmts>\r\n\t\t\t\t\t\t<BaseByGuestAmt DecimalPlaces=\"0\" CurrencyCode=\"MXN\" NumberOfGuests=\"1\" AmountPlain=\"1218.26\"/>\r\n\t\t\t\t\t\t<BaseByGuestAmt DecimalPlaces=\"0\" CurrencyCode=\"MXN\" NumberOfGuests=\"2\" AmountPlain=\"1218.26\"/>\r\n\t\t\t\t\t</BaseByGuestAmts>\r\n\t\t\t\t</Rate>\r\n\t\t\t</Rates>\r\n\t\t</RateAmountMessage>\r\n\t</RateAmountMessages>\r\n</OTA_HotelRateAmountNotifRQ>"},"url":"http://supplyota.agoda.com/b2b/ota/2013A/hotels","description":"<h2 id=\"OTAAPIDocument-OTA_HotelRateAmountNotifRQ\">OTA_HotelRateAmountNotifRQ</h2><div>You can update rates for <strong>a single hotel per one request message</strong>. However, you can update multiple rates within one message. We recommend to update <strong>one hotel and one room per request</strong>.</div><h3 id=\"OTAAPIDocument-BasicStructure.2\">Basic Structure</h3><p>The basic structure of the message is as per below:</p><div><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelRateAmountNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" TimeStamp=\"2005-08-01T09:30:47+08:00\" Version=\"1.0\" EchoToken=\"abc123\" Target=\"Production\" PrimaryLangID=\"en\" NotifType=\"Overlay|Delta\"&gt;\n  &lt;RateAmountMessages HotelCode=\"HOTEL\"&gt;\n    &lt;RateAmountMessage LocatorID=\"177974458\"&gt;\n      &lt;StatusApplicationControl Start=\"2010-01-01\" End=\"2010-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"BAR\" RateChannelCode=\"1\" LengthOfStay=\"1\" QuoteID=\"LSEtckE0elhGaGJrbVFoTDQ1SXJNK0VzQ05iTm5tQnZvTXpXQmt3emloT1U2WnNqUTN6RnVMbVZ0Ykp3bkFWNDQ2RE14d2I3a3Fob1ZFTHVmcWVjOE53cVRLcnBxR2krbVNuZ3ZKejgyOW10QUE9\"/&gt;\n      &lt;!-- Content omitted --&gt;\n    &lt;/RateAmountMessage&gt;\n    &lt;RateAmountMessage LocatorID=\"177974459\"&gt;\n      &lt;StatusApplicationControl Start=\"2010-01-02\" End=\"2010-01-02\" InvTypeCode=\"A1K\" RatePlanCode=\"BAR\" RateChannelCode=\"1\" LengthOfStay=\"1\" QuoteID=\"LSEtckE0elhGaGJrbVFoTDQ1SXJNK0VzQ05iTm5tQnZvTXpXQmt3emloT1U2WnNqUTN6RnVMbVZ0Ykp3bkFWNDQ2RE14d2I3a3Fob1ZFTHVmcWVjOE53cVRLcnBxR2krbVNuZ3ZKejgyOW10QUE9\"/&gt;\n      &lt;!-- Content omitted --&gt;\n    &lt;/RateAmountMessage&gt;\n    &lt;RateAmountMessage LocatorID=\"177974460\"&gt;\n      &lt;StatusApplicationControl Start=\"2010-01-04\" End=\"2010-01-04\" InvTypeCode=\"A1K\" RatePlanCode=\"BAR\"RateChannelCode=\"1\" LengthOfStay=\"1\" QuoteID=\"LSEtckE0elhGaGJrbVFoTDQ1SXJNK0VzQ05iTm5tQnZvTXpXQmt3emloT1U2WnNqUTN6RnVMbVZ0Ykp3bkFWNDQ2RE14d2I3a3Fob1ZFTHVmcWVjOE53cVRLcnBxR2krbVNuZ3ZKejgyOW10QUE9\"/&gt;\n      &lt;!-- Content omitted --&gt;\n    &lt;/RateAmountMessage&gt;\n  &lt;/RateAmountMessages&gt;\n&lt;/OTA_HotelRateAmountNotifRQ&gt;</pre>\n</div></div><p>The OTA_HotelRateAmountNotifRQ message contains:</p><ol><li><strong>One <strong>RateAmountMessages</strong> </strong>element which define the hotel to update (<strong>@HotelCode</strong> attribute).</li><li><strong>Multiple <strong> RateAmountMessages/RateAmountMessage</strong></strong> elements which define the transaction id (<strong>@LocatorID</strong>) used to communicate back to the sender.</li><li>Each <strong>RateAmountMessage</strong> element will contain <strong>a single StatusApplicationControl</strong> element. This element is used to specify the room type, rate plan code, rate channel (optional) and date range for which the update applies.<ol><li>The dates affected by the update are controlled by the mandatory <strong>@Start</strong> and <strong>@End</strong> attributes.</li><li><strong>LengthOfStay</strong> attribute changes the update type to be a Full Pattern Length of Stay update. If the update is for stay dates, then no need to set this attribute.</li><li>The <strong>QuoteID</strong> is optional field to specify additional data. For example, use it to specify the api key value.</li></ol></li></ol><p>In the root node, the <strong>NotifType</strong> determines whether this is an update of changed rate amounts or a full replacement of rate amounts for specified products. The <strong>NotifType</strong> can be:</p></div><div><ul><li>Overlay - replace existing rates</li><li>Delta - keep existing rates and update new (This is the default value, if the <strong>NotifType</strong> attribute is not specified.) We recommend to use this NotifType for delta update the rates. For rate with tax, rate with meal plan, rate with fee, rate with additional guest, please use Overlay update.</li></ul><p>Example of Delta</p><h3 id=\"OTAAPIDocument-Howtosetrates\">How to set rates</h3><p>Room availability and rates will be identified in <strong>Rates/Rate</strong> element. The <strong>Rates</strong> element will appear once in each <strong>StatusApplicationControl</strong> element.</p><div class=\"table-wrap\"><table><thead><tr><th><p>Rate Type</p></th><th><p>When to use</p></th></tr></thead><tbody><tr><td>AmountBeforeTax</td><td>If all hotels in a supplier use specific rate type, we’ll set up rate type at supplier level</td></tr><tr><td>AmountAfterTax</td></tr><tr><td>AmountIncludingMarkup</td></tr><tr><td>AmountPlain</td><td>If hotels can have different rate types, this will be set up in our YCS system, and we expect you to send AmountPlain</td></tr></tbody></table></div><h4 id=\"OTAAPIDocument-RatesSetting\">Rates Setting</h4><p>Rate can be updated using the <strong>BaseByGuestAmts/BaseByGuestAmt </strong>element. The rate value is specified by on of these three elements: <strong>@AmountAfterTax</strong> (for net inclusive rate type) or <strong>@AmountBeforeTax</strong> (for net exclusive rate type) or <strong>@AmountIncludingMarkup </strong>(for sell inclusive rate type). The value of <strong>@AmountAfterTax</strong> or <strong>@AmountBeforeTax</strong> or <strong>@AmountIncludingMarkup</strong> will be a positive decimal value. </p><p><strong>Note:</strong></p><ol><li>Net Exclusive rate type is not supported.</li><li>Only one of these attributes should be present - either AmountAfterTax or AmountBeforeTax or AmountIncludingMarkup, but not more than one.</li></ol><div class=\"table-wrap\"><table><tbody><tr><th>Rate Type</th><th>How it will be sent</th></tr><tr><td>Net Exclusive</td><td><div class=\"line number5 index4 alt2\"><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">Rates</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number6 index5 alt1\"><code class=\"xml spaces\">   </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">Rate</code> <code class=\"xml color1\">NumberOfUnits</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"5\"</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number7 index6 alt2\"><code class=\"xml spaces\">      </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">BaseByGuestAmts</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number8 index7 alt1\"><code class=\"xml spaces\">         </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">BaseByGuestAmt</code> <code class=\"xml color1\">NumberOfGuests</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"1\"</code> <code class=\"xml color1\">CurrencyCode</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"THB\"</code> <code class=\"xml color1\">AmountBeforeTax</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"1000\"</code> <code class=\"xml color1\">DecimalPlaces</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"0\"</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number12 index11 alt1\"><code class=\"xml spaces\">         </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">BaseByGuestAmt</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number13 index12 alt2\"> <code class=\"xml spaces\">        </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">BaseByGuestAmt</code> <code class=\"xml color1\">NumberOfGuests</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"2\"</code> <code class=\"xml color1\">CurrencyCode</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"THB\"</code> <code class=\"xml color1\">AmountBeforeTax</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"2000\"</code> <code class=\"xml plain\">DecimalPlaces=\"0&gt;</code></div><div class=\"line number15 index14 alt2\"><code class=\"xml spaces\">        </code><code class=\"xml spaces\"> </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">BaseByGuestAmt</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number19 index18 alt2\"><code class=\"xml spaces\">      </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">BaseByGuestAmts</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number20 index19 alt1\"><code class=\"xml spaces\">   </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">Rate</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number21 index20 alt2\"><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">Rates</code><code class=\"xml plain\">&gt;</code></div></td></tr><tr><td>Net Inclusive</td><td><div class=\"line number5 index4 alt2\"><div class=\"line number5 index4 alt2\"><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">Rates</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number6 index5 alt1\"><code class=\"xml spaces\">   </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">Rate</code> <code class=\"xml color1\">NumberOfUnits</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"5\"</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number7 index6 alt2\"><code class=\"xml spaces\">      </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">BaseByGuestAmts</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number8 index7 alt1\"><code class=\"xml spaces\">         </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">BaseByGuestAmt</code> <code class=\"xml plain\"><code class=\"xml color1\">NumberOfGuests</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"1\"</code> <code class=\"xml color1\">CurrencyCode</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"THB\"</code> <code class=\"xml color1\">AmountAfterTax</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"1000\"</code> <code class=\"xml color1\">DecimalPlaces</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"0\"</code>&gt;</code></div><div class=\"line number12 index11 alt1\"><code class=\"xml spaces\">         </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">BaseByGuestAmt</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number13 index12 alt2\"> <code class=\"xml spaces\">        </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">BaseByGuestAmt</code> <code class=\"xml plain\"><code class=\"xml color1\">NumberOfGuests</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"2\"</code> <code class=\"xml color1\">CurrencyCode</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"THB\"</code> <code class=\"xml color1\">AmountAfterTax</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"2000\"</code> <code class=\"xml color1\">DecimalPlaces</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"0\"</code>&gt;</code></div><div class=\"line number15 index14 alt2\"><code class=\"xml spaces\">        </code><code class=\"xml spaces\"> </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">BaseByGuestAmt</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number19 index18 alt2\"><code class=\"xml spaces\">      </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">BaseByGuestAmts</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number20 index19 alt1\"><code class=\"xml spaces\">   </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">Rate</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number21 index20 alt2\"><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">Rates</code><code class=\"xml plain\">&gt;</code></div></div></td></tr><tr><td>Sell Inclusive</td><td><div class=\"line number5 index4 alt2\"><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">Rates</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number6 index5 alt1\"><code class=\"xml spaces\">   </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">Rate</code> <code class=\"xml color1\">NumberOfUnits</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"5\"</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number7 index6 alt2\"><code class=\"xml spaces\">      </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">BaseByGuestAmts</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number8 index7 alt1\"><code class=\"xml spaces\">         </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">BaseByGuestAmt</code> <code class=\"xml plain\"><code class=\"xml color1\">NumberOfGuests</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"1\"</code> <code class=\"xml color1\">CurrencyCode</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"THB\"</code> <code class=\"xml color1\">AmountIncludingMarkup</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"1200\"</code> <code class=\"xml color1\">DecimalPlaces</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"0\"</code>&gt;</code></div><div class=\"line number12 index11 alt1\"><code class=\"xml spaces\">         </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">BaseByGuestAmt</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number13 index12 alt2\"> <code class=\"xml spaces\">        </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">BaseByGuestAmt</code> <code class=\"xml plain\"><code class=\"xml color1\">NumberOfGuests</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"2\"</code> <code class=\"xml color1\">CurrencyCode</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"THB\"</code> <code class=\"xml color1\">AmountIncludingMarkup</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"2000\"</code> <code class=\"xml color1\">DecimalPlaces</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"0\"</code>&gt;</code></div><div class=\"line number15 index14 alt2\"><code class=\"xml spaces\">        </code><code class=\"xml spaces\"> </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">BaseByGuestAmt</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number19 index18 alt2\"><code class=\"xml spaces\">      </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">BaseByGuestAmts</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number20 index19 alt1\"><code class=\"xml spaces\">   </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">Rate</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number21 index20 alt2\"><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">Rates</code><code class=\"xml plain\">&gt;</code></div></td></tr></tbody></table></div><h4 id=\"OTAAPIDocument-RateChannelSetting\"><br />Rate Channel Setting</h4><p>Rate channels can be updated using the <strong>StatusApplicationControl</strong><strong>/@RateChannelCode </strong>attribute. It can contain multiple channels in the single <strong>HotelRateAmountNotif</strong> request. For example, the same room, rate category can sell with different prices for different channels (retail, private sell, etc.) as the example of the settings below.</p><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeHeader panelHeader pdl\"><b>Rate Channel Setting</b></div><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelRateAmountNotifRQ \n    xmlns=\"http://www.opentravel.org/OTA/2003/05\" TimeStamp=\"2005-08-01T09:30:47+08:00\" Version=\"1.0\" EchoToken=\"abc123\" Target=\"Production\" PrimaryLangID=\"en\" NotifType=\"Overlay\"&gt;\n    &lt;RateAmountMessages HotelCode=\"HOTEL\"&gt;\n        &lt;RateAmountMessage LocatorID=\"177974458\"&gt;\n            &lt;StatusApplicationControl Start=\"2010-01-01\" End=\"2010-01-01\" InvTypeCode=\"A1K\" RatePlanCode=\"BAR\" RateChannelCode=\"1\" LengthOfStay=\"1\" /&gt;\n            &lt;Rates&gt;\n                &lt;Rate NumberOfUnits=\"5\"&gt;\n                    &lt;BaseByGuestAmts&gt;\n                        &lt;BaseByGuestAmt NumberOfGuests=\"1\" CurrencyCode=\"THB\" AmountBeforeTax=\"1000\" DecimalPlaces=\"0\"&gt;&lt;/BaseByGuestAmt&gt;\n                        &lt;BaseByGuestAmt NumberOfGuests=\"2\" CurrencyCode=\"THB\" AmountBeforeTax=\"2000\" DecimalPlaces=\"0\"&gt;&lt;/BaseByGuestAmt&gt;\n                    &lt;/BaseByGuestAmts&gt;\n                &lt;/Rate&gt;\n            &lt;/Rates&gt;\n        &lt;/RateAmountMessage&gt;\n        &lt;RateAmountMessage LocatorID=\"177974459\"&gt;\n            &lt;StatusApplicationControl Start=\"2010-01-02\" End=\"2010-01-02\" InvTypeCode=\"A1K\" RatePlanCode=\"BAR\" RateChannelCode=\"2\" LengthOfStay=\"1\" /&gt;\n            &lt;Rates&gt;\n                &lt;Rate NumberOfUnits=\"5\"&gt;\n                    &lt;BaseByGuestAmts&gt;\n                        &lt;BaseByGuestAmt NumberOfGuests=\"1\" CurrencyCode=\"THB\" AmountBeforeTax=\"700\" DecimalPlaces=\"0\"&gt;&lt;/BaseByGuestAmt&gt;\n                        &lt;BaseByGuestAmt NumberOfGuests=\"2\" CurrencyCode=\"THB\" AmountBeforeTax=\"800\" DecimalPlaces=\"0\"&gt;&lt;/BaseByGuestAmt&gt;\n                    &lt;/BaseByGuestAmts&gt;\n                &lt;/Rate&gt;\n            &lt;/Rates&gt;\n        &lt;/RateAmountMessage&gt;\n        &lt;RateAmountMessage LocatorID=\"177974460\"&gt;\n            &lt;StatusApplicationControl Start=\"2010-01-04\" End=\"2010-01-04\" InvTypeCode=\"A1K\" RatePlanCode=\"BAR\" RateChannelCode=\"8\" LengthOfStay=\"1\" /&gt;\n            &lt;Rates&gt;\n                &lt;Rate NumberOfUnits=\"5\"&gt;\n                    &lt;BaseByGuestAmts&gt;\n                        &lt;BaseByGuestAmt NumberOfGuests=\"1\" CurrencyCode=\"THB\" AmountBeforeTax=\"400\" DecimalPlaces=\"0\"&gt;&lt;/BaseByGuestAmt&gt;\n                        &lt;BaseByGuestAmt NumberOfGuests=\"2\" CurrencyCode=\"THB\" AmountBeforeTax=\"500\" DecimalPlaces=\"0\"&gt;&lt;/BaseByGuestAmt&gt;\n                    &lt;/BaseByGuestAmts&gt;\n                &lt;/Rate&gt;\n            &lt;/Rates&gt;\n        &lt;/RateAmountMessage&gt;\n    &lt;/RateAmountMessages&gt;\n&lt;/OTA_HotelRateAmountNotifRQ&gt;</pre>\n</div></div><h4 id=\"OTAAPIDocument-RoomAvailabilitySetting\"><br />Room Availability Setting</h4><p>Room availability can be updated using the <strong>Rate</strong> element. Number of room available will be define in @<strong>NumberOfUnits</strong> attribute. Please see the example of the setting below. </p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeHeader panelHeader pdl\"><b>Room Availability Setting</b></div><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;Rates&gt;\n  &lt;Rates&gt;\n   &lt;Rate NumberOfUnits=\"5\"&gt;\n      &lt;BaseByGuestAmts&gt;\n         &lt;BaseByGuestAmt NumberOfGuests=\"1\" CurrencyCode=\"THB\" AmountBeforeTax=\"1000\" DecimalPlaces=\"0\"&gt;\n         &lt;/BaseByGuestAmt&gt;\n         &lt;BaseByGuestAmt NumberOfGuests=\"2\" CurrencyCode=\"THB\" AmountBeforeTax=\"2000\" DecimalPlaces=\"0&gt;\n         &lt;/BaseByGuestAmt&gt;\n      &lt;/BaseByGuestAmts&gt;\n   &lt;/Rate&gt;\n&lt;/Rates&gt;</pre>\n</div></div><h4 id=\"OTAAPIDocument-FeesSetting\">Fees Setting</h4><p>Fees (additional charge) can be updated using the <strong>Fees</strong> element. You can update multiple fees per one request by using multiple <strong>Fees/Fee </strong>elements. The @<strong>ChargeUnit</strong><strong> </strong>and @<strong>Code</strong> details are in Code List section. Please see the example of the settings below. </p><div class=\"line number6 index5 alt1\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;Rates&gt;\n   &lt;Rate&gt;\n       &lt;BaseByGuestAmts&gt;\n           &lt;BaseByGuestAmt NumberOfGuests=\"1\" CurrencyCode=\"THB\" AmountBeforeTax=\"1000\" DecimalPlaces=\"0\"&gt;\n               &lt;Taxes&gt;\n                   &lt;Tax ChargeUnit=\"PB\" Code=\"1\" Type=\"Exclusive\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Percent=\"10\" DecimalPlaces=\"0\" /&gt;\n               &lt;/Taxes&gt;\n           &lt;/BaseByGuestAmt&gt;\n           &lt;BaseByGuestAmt NumberOfGuests=\"2\" CurrencyCode=\"THB\" AmountBeforeTax=\"2000\" DecimalPlaces=\"0\"&gt;\n               &lt;Taxes&gt;\n                  &lt;Tax ChargeUnit=\"PB\" Type=\"Inclusive\" Code=\"2\" DecimalPlaces=\"1\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Amount=\"153\" /&gt;\n               &lt;/Taxes&gt;\n           &lt;/BaseByGuestAmt&gt;\n       &lt;/BaseByGuestAmts&gt;\n       &lt;!-- Fee Amount that is applied to the rate. Fees are used for non tax amounts like service charges. Used for non-tax fees and charges (e.g. service charges) --&gt;\n       &lt;Fees&gt;\n          &lt;Fee Amount=\"1200\" ChargeUnit=\"PB\" Code=\"10\" DecimalPlaces=\"0\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Amount=\"10\" TaxableIndicator=\"false\" Type=\"Inclusive\" /&gt;\n          &lt;Fee Amount=\"1000\" ChargeUnit=\"PB\" Code=\"6\" DecimalPlaces=\"0\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Amount=\"10\" TaxableIndicator=\"false\" Type=\"Exclusive\" /&gt;\n       &lt;/Fees&gt;\n    &lt;/Rate&gt;\n&lt;/Rates&gt;</pre>\n</div></div></div><h4 id=\"OTAAPIDocument-MealPlanSetting\">Meal Plan Setting</h4><p>Meal Plan can be updated using the <strong>Rate</strong>/<strong>MealsIncluded</strong> element. The meal plan code will be define in @<strong>MealPlanCodes</strong> attribute. The available meal plan code are as per below.</p><p><br /></p><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">MealPlanCode</div></th><th><div class=\"tablesorter-header-inner\">Description</div></th></tr></thead><tbody><tr><td>1</td><td>All inclusive (Breakfast, Lunch, Dinner and Beverages)</td></tr><tr><td>3</td><td>Bed &amp; Breakfast</td></tr><tr><td>10</td><td>Full board (Breakfast, Lunch and Dinner)</td></tr><tr><td>12</td><td>Half board (Breakfast and Dinner)</td></tr><tr><td>14</td><td>Room Only (Or no meal plan)</td></tr></tbody></table></div><p><br /></p><p>Please see the example of the setting below. </p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeHeader panelHeader pdl\"><b>Meal Plan setting</b></div><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;Rates&gt;\n    &lt;Rate&gt;\n        &lt;BaseByGuestAmts&gt;\n           &lt;BaseByGuestAmt NumberOfGuests=\"1\" CurrencyCode=\"THB\" AmountIncludingMarkup=\"1200\" DecimalPlaces=\"0\"&gt;\n              &lt;Taxes&gt;\n                 &lt;Tax ChargeUnit=\"PB\" Code=\"1\" DecimalPlaces=\"0\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Percent=\"10\" Type=\"Exclusive\"/&gt;\n              &lt;/Taxes&gt;\n           &lt;/BaseByGuestAmt&gt;\n           &lt;BaseByGuestAmt NumberOfGuests=\"2&amp;quoquot; CurrencyCode=\"THB\" AmountIncludingMarkup=\"2000\" DecimalPlaces=\"0\"&gt;\n              &lt;Taxes&gt;\n                 &lt;Tax ChargeUnit=\"PB\" Code=\"2\" DecimalPlaces=\"0\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Amount=\"153\" Type=\"Inclusive\" DecimalPlaces=\"1\"/&gt;\n              &lt;/Taxes&gt;\n           &lt;/BaseByGuestAmt&gt;\n       &lt;/BaseByGuestAmts&gt;\n       &lt;MealsIncluded MealPlanCodes=\"3\" /&gt;\n     &lt;/Rate&gt;\n&lt;/Rates&gt;</pre>\n</div></div><h4 id=\"OTAAPIDocument-RemoveRates\">Remove Rates</h4><p>You can remove rate and room availability by using the empty <strong>Rates</strong> element. Please see the example of the setting below. Make sure that the <strong>NotifType</strong> in the root node is set to Overlay.</p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelRateAmountNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" TimeStamp=\"2005-08-01T09:30:47+08:00\" Version=\"1.0\" EchoToken=\"abc123\" Target=\"Production\" PrimaryLangID=\"en\" NotifType=\"Remove\"&gt;\n  &lt;RateAmountMessages HotelCode=\"HOTEL\"&gt;\n    &lt;RateAmountMessage LocatorID=\"177974459\"&gt;\n      &lt;StatusApplicationControl InvTypeCode=\"A1K\" RatePlanCode=\"BAR\" RateChannelCode=\"1\" Start=\"2010-01-01\" End=\"2010-01-01\" QuoteID=\"abcd\"/&gt;\n      &lt;Rates&gt;&lt;/Rates&gt;\n    &lt;/RateAmountMessage&gt;\n  &lt;/RateAmountMessages&gt;\n&lt;/OTA_HotelRateAmountNotifRQ&gt;</pre>\n</div></div><h3 id=\"OTAAPIDocument-ExampleoftheOTA_HotelAvailNotifRQrateupdatemessages\">Example of the OTA_HotelAvailNotifRQ rate update messages</h3><h4 id=\"OTAAPIDocument-SetRates:AmountBeforeTax(NetExclusive)Example\">Set Rates: <strong>AmountBeforeTax (Net Exclusive) Example</strong></h4><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelRateAmountNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" TimeStamp=\"2005-08-01T09:30:47+08:00\" Version=\"1.0\" EchoToken=\"abc123\" NotifType=\"Overlay\"&gt;\n  &lt;RateAmountMessages HotelCode=\"HOTEL\"&gt;\n    &lt;RateAmountMessage LocatorID=\"177974459\"&gt;\n      &lt;StatusApplicationControl InvTypeCode=\"A1K\" RatePlanCode=\"BAR\" RateChannelCode=\"1\" Start=\"2010-01-01\" End=\"2010-01-01\"/&gt;\n      &lt;Rates&gt;\n        &lt;Rate NumberOfUnits=\"5\"&gt;\n          &lt;BaseByGuestAmts&gt;\n            &lt;BaseByGuestAmt NumberOfGuests=\"1\" CurrencyCode=\"THB\" AmountBeforeTax=\"1000\" DecimalPlaces=\"0\"&gt;\n                &lt;Taxes&gt;\n                    &lt;Tax ChargeUnit=\"PB\" Code=\"1\" Type=\"2\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Percent=\"10\" DecimalPlaces=\"0\"/&gt;\n                &lt;/Taxes&gt;\n            &lt;/BaseByGuestAmt&gt;\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>        &amp;lt;BaseByGuestAmt NumberOfGuests=&amp;quot;2&amp;quot; CurrencyCode=&amp;quot;THB&amp;quot; AmountBeforeTax=&amp;quot;2000&amp;quot; DecimalPlaces=&amp;quot;0&amp;gt;\n            &amp;lt;Taxes&amp;gt;\n                &amp;lt;Tax ChargeUnit=&amp;quot;PN&amp;quot; Type=&amp;quot;Inclusive&amp;quot; Code=&amp;quot;2&amp;quot; DecimalPlaces=&amp;quot;0&amp;quot; EffectiveDate=&amp;quot;2010-01-01&amp;quot; ExpireDate=&amp;quot;2010-01-01&amp;quot; Amount=&amp;quot;153&amp;quot;  DecimalPlaces=&amp;quot;1&amp;quot;/&amp;gt;\n            &amp;lt;/Taxes&amp;gt;\n        &amp;lt;/BaseByGuestAmt&amp;gt;\n      &amp;lt;/BaseByGuestAmts&amp;gt;\n    &amp;lt;/Rate&amp;gt;\n  &amp;lt;/Rates&amp;gt;\n&amp;lt;/RateAmountMessage&amp;gt;\n</code></pre><p>  &lt;/RateAmountMessages&gt;\n&lt;/OTA_HotelRateAmountNotifRQ&gt;</p></pre><p></p>\n</div></div><h4 id=\"OTAAPIDocument-SetRates:AmountAfterTax(NetInclusive)Example\">Set Rates: <strong>AmountAfterTax (Net Inclusive) Example</strong></h4><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelRateAmountNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" TimeStamp=\"2005-08-01T09:30:47+08:00\" Version=\"1.0\" EchoToken=\"abc123\" NotifType=\"Overlay\"&gt;\n  &lt;RateAmountMessages HotelCode=\"HOTEL\"&gt;\n    &lt;RateAmountMessage LocatorID=\"177974459\"&gt;\n      &lt;StatusApplicationControl InvTypeCode=\"A1K\" RatePlanCode=\"BAR\" RateChannelCode=\"1\" Start=\"2010-01-01\" End=\"2010-01-01\"/&gt;\n      &lt;Rates&gt;\n        &lt;Rate&gt;\n          &lt;BaseByGuestAmts&gt;\n      &lt;BaseByGuestAmt NumberOfGuests=\"1\" CurrencyCode=\"THB\" AmountAfterTax=\"1000\" DecimalPlaces=\"0\"&gt;\n          &lt;Taxes&gt;\n              &lt;Tax ChargeUnit=\"PB\" Code=\"1\" DecimalPlaces=\"0\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Percent=\"10\" Type=\"Exclusive\"/&gt;\n          &lt;/Taxes&gt;\n      &lt;/BaseByGuestAmt&gt;\n      &lt;BaseByGuestAmt NumberOfGuests=\"2\" CurrencyCode=\"THB\" AmountAfterTax=\"2000\" DecimalPlaces=\"0\"&gt;\n          &lt;Taxes&gt;\n              &lt;Tax ChargeUnit=\"PAPB\" Code=\"2\" DecimalPlaces=\"0\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Amount=\"153\" Type=\"Inclusive\" DecimalPlaces=\"1\"/&gt;\n          &lt;/Taxes&gt;\n      &lt;/BaseByGuestAmt&gt;\n          &lt;/BaseByGuestAmts&gt;\n        &lt;/Rate&gt;\n      &lt;/Rates&gt;\n    &lt;/RateAmountMessage&gt;\n  &lt;/RateAmountMessages&gt;\n&lt;/OTA_HotelRateAmountNotifRQ&gt;</pre>\n</div></div><h4 id=\"OTAAPIDocument-SetRates:AmountIncludingMarkup(SellInclusive)Example\">Set Rates: AmountIncludingMarkup (Sell Inclusive) Example</h4><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelRateAmountNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" TimeStamp=\"2005-08-01T09:30:47+08:00\" Version=\"1.0\" EchoToken=\"abc123\" NotifType=\"Overlay\"&gt;\n  &lt;RateAmountMessages HotelCode=\"HOTEL\"&gt;\n    &lt;RateAmountMessage LocatorID=\"177974459\"&gt;\n      &lt;StatusApplicationControl InvTypeCode=\"A1K\" RatePlanCode=\"BAR\" RateChannelCode=\"1\" Start=\"2010-01-01\" End=\"2010-01-01\"/&gt;\n      &lt;Rates&gt;\n        &lt;Rate&gt;\n          &lt;BaseByGuestAmts&gt;\n      &lt;BaseByGuestAmt NumberOfGuests=\"1\" CurrencyCode=\"THB\" AmountIncludingMarkup=\"1200\" DecimalPlaces=\"0\"&gt;\n          &lt;Taxes&gt;\n              &lt;Tax ChargeUnit=\"PB\" Code=\"1\" DecimalPlaces=\"0\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Percent=\"10\" Type=\"Exclusive\"/&gt;\n          &lt;/Taxes&gt;\n      &lt;/BaseByGuestAmt&gt;\n      &lt;BaseByGuestAmt NumberOfGuests=\"2\" CurrencyCode=\"THB\" AmountIncludingMarkup=\"2000\" DecimalPlaces=\"0\"&gt;\n          &lt;Taxes&gt;\n              &lt;Tax ChargeUnit=\"PB\" Code=\"2\" DecimalPlaces=\"0\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Amount=\"153\" Type=\"Inclusive\" DecimalPlaces=\"1\"/&gt;\n          &lt;/Taxes&gt;\n      &lt;/BaseByGuestAmt&gt;\n          &lt;/BaseByGuestAmts&gt;\n        &lt;/Rate&gt;\n      &lt;/Rates&gt;\n    &lt;/RateAmountMessage&gt;\n  &lt;/RateAmountMessages&gt;\n&lt;/OTA_HotelRateAmountNotifRQ&gt;</pre>\n</div></div><h4 id=\"OTAAPIDocument-DeltaUpdateExample\">Delta Update Example</h4><p><br /></p><h4 id=\"OTAAPIDocument-SetFees(AdditionalCharges)Example\">Set Fees (Additional Charges) Example</h4><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;OTA_HotelRateAmountNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" TimeStamp=\"2005-08-01T09:30:47+08:00\" Version=\"1.0\" EchoToken=\"abc123\" NotifType=\"Overlay\"&gt;\n   &lt;RateAmountMessages HotelCode=\"HOTEL\"&gt;\n      &lt;RateAmountMessage LocatorID=\"177974459\"&gt;\n         &lt;StatusApplicationControl InvTypeCode=\"A1K\" RatePlanCode=\"BAR\" RateChannelCode=\"1\" Start=\"2010-01-01\" End=\"2010-01-01\" /&gt;\n         &lt;Rates&gt;\n            &lt;Rate&gt;\n               &lt;BaseByGuestAmts&gt;\n                  &lt;BaseByGuestAmt NumberOfGuests=\"1\" CurrencyCode=\"THB\" AmountBeforeTax=\"1000\" DecimalPlaces=\"0\"&gt;\n                     &lt;Taxes&gt;\n                        &lt;Tax ChargeUnit=\"PB\" Code=\"1\" Type=\"Exclusive\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Percent=\"10\" DecimalPlaces=\"0\" /&gt;\n                     &lt;/Taxes&gt;\n                  &lt;/BaseByGuestAmt&gt;\n                  &lt;BaseByGuestAmt NumberOfGuests=\"2\" CurrencyCode=\"THB\" AmountBeforeTax=\"2000\" DecimalPlaces=\"0\"&gt;\n                     &lt;Taxes&gt;\n                        &lt;Tax ChargeUnit=\"PB\" Type=\"Inclusive\" Code=\"2\" DecimalPlaces=\"1\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Amount=\"153\" /&gt;\n                     &lt;/Taxes&gt;\n                  &lt;/BaseByGuestAmt&gt;\n               &lt;/BaseByGuestAmts&gt;\n               &lt;!-- Fee Amount that is applied to the rate. Fees are used for non tax amounts like service charges. Used for non-tax fees and charges (e.g. service charges) --&gt;\n               &lt;Fees&gt;\n                  &lt;Fee Amount=\"1200\" ChargeUnit=\"PB\" Code=\"10\" DecimalPlaces=\"0\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Percent=\"10\" TaxableIndicator=\"false\" Type=\"Inclusive\" /&gt;\n               &lt;/Fees&gt;\n            &lt;/Rate&gt;\n         &lt;/Rates&gt;\n      &lt;/RateAmountMessage&gt;\n   &lt;/RateAmountMessages&gt;\n&lt;/OTA_HotelRateAmountNotifRQ&gt;</pre>\n</div></div><h4 id=\"OTAAPIDocument-SetMealPlanExample\">Set Meal Plan Example</h4><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelRateAmountNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" TimeStamp=\"2005-08-01T09:30:47+08:00\" Version=\"1.0\" EchoToken=\"abc123\" NotifType=\"Overlay\"&gt;\n  &lt;RateAmountMessages HotelCode=\"HOTEL\"&gt;\n    &lt;RateAmountMessage LocatorID=\"177974459\"&gt;\n      &lt;StatusApplicationControl InvTypeCode=\"A1K\" RatePlanCode=\"BAR\" RateChannelCode=\"1\" Start=\"2010-01-01\" End=\"2010-01-01\"/&gt;\n      &lt;Rates&gt;\n        &lt;Rate&gt;\n          &lt;BaseByGuestAmts&gt;\n      &lt;BaseByGuestAmt NumberOfGuests=\"1\" CurrencyCode=\"THB\" AmountIncludingMarkup=\"1200\" DecimalPlaces=\"0\"&gt;\n          &lt;Taxes&gt;\n              &lt;Tax ChargeUnit=\"PB\" Code=\"1\" DecimalPlaces=\"0\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Percent=\"10\" Type=\"Exclusive\"/&gt;\n          &lt;/Taxes&gt;\n      &lt;/BaseByGuestAmt&gt;\n      &lt;BaseByGuestAmt NumberOfGuests=\"2\" CurrencyCode=\"THB\" AmountIncludingMarkup=\"2000\" DecimalPlaces=\"0\"&gt;\n          &lt;Taxes&gt;\n              &lt;Tax ChargeUnit=\"PB\" Code=\"2\" DecimalPlaces=\"0\" EffectiveDate=\"2010-01-01\" ExpireDate=\"2010-01-01\" Amount=\"153\" Type=\"Inclusive\" DecimalPlaces=\"1\"/&gt;\n          &lt;/Taxes&gt;\n      &lt;/BaseByGuestAmt&gt;\n          &lt;/BaseByGuestAmts&gt;\n        &lt;MealsIncluded MealPlanCodes=\"3\" /&gt;\n        &lt;/Rate&gt;\n      &lt;/Rates&gt;\n    &lt;/RateAmountMessage&gt;\n  &lt;/RateAmountMessages&gt;\n&lt;/OTA_HotelRateAmountNotifRQ&gt;</pre>\n</div></div><p><strong><br /></strong></p><p><strong><br /></strong></p><h3 id=\"OTAAPIDocument-Howtosetcancellationpolicies\">How to set cancellation policies</h3><p>The cancel policy may be set or updated by using the <strong>CancelPolicies </strong>element.  Within each <strong>CancelPolicies</strong> element is one or more <strong>CancelPenalty</strong> elements. </p><p><br /></p><p><strong>Cancel Policy</strong></p><div><div class=\"syntaxhighlighter sh-confluence nogutter xml\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelRateAmountNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" EchoToken=\"1459354682247\" Target=\"Test\" Version=\"1.006\" PrimaryLangID=\"en\" TimeStamp=\"2016-08-10T11:57:01.000+02:00\"&gt;\n    &lt;RateAmountMessages HotelCode=\"YIPPY\"&gt;\n        &lt;RateAmountMessage LocatorID=\"1\"&gt;\n            &lt;StatusApplicationControl Start=\"2016-08-01\" End=\"2016-08-01\" InvTypeCode=\"YR001\" RatePlanCode=\"AAA\"/&gt;\n            &lt;Rates&gt;\n                &lt;Rate&gt;\n                    &lt;CancelPolicies&gt;                 \n                        &lt;CancelPenalty&gt;\n                            &lt;Deadline AbsoluteDeadline=\"00:00:00\" OffsetDropTime=\"BeforeArrival\" OffsetTimeUnit=\"Day\" OffsetUnitMultiplier=\"999\" /&gt;\n                            &lt;PenaltyDescription&gt;\n                                &lt;Text&gt;No cancelation charge applies until 10 days, 18:30 (Local time) before arrival. Between 10 days and 5 days, hotel will charge 50.00 pct of the stay. Thereafter, hotel will charge the first night.&lt;/Text&gt;\n                            &lt;/PenaltyDescription&gt;\n                        &lt;/CancelPenalty&gt;\n                        &lt;CancelPenalty NonRefundable=\"false\"&gt;\n                            &lt;Deadline AbsoluteDeadline=\"18:30:00\" OffsetDropTime=\"BeforeArrival\" OffsetTimeUnit=\"Day\" OffsetUnitMultiplier=\"10\" /&gt;\n                        &lt;/CancelPenalty&gt;\n                        &lt;CancelPenalty NonRefundable=\"false\"&gt;\n                            &lt;Deadline AbsoluteDeadline=\"00:00:00\" OffsetDropTime=\"BeforeArrival\" OffsetTimeUnit=\"Day\" OffsetUnitMultiplier=\"5\" /&gt;\n                            &lt;AmountPercent Percent=\"50.00\" /&gt;\n                        &lt;/CancelPenalty&gt;\n                        &lt;CancelPenalty NonRefundable=\"false\"&gt;\n                            &lt;Deadline AbsoluteDeadline=\"23:59:00\" OffsetDropTime=\"BeforeArrival\" OffsetTimeUnit=\"Day\" OffsetUnitMultiplier=\"0\" /&gt;\n                            &lt;AmountPercent NmbrOfNights=\"1\" /&gt;\n                        &lt;/CancelPenalty&gt;     \n                    &lt;/CancelPolicies&gt;\n                &lt;/Rate&gt;\n            &lt;/Rates&gt;\n        &lt;/RateAmountMessage&gt;\n    &lt;/RateAmountMessages&gt;\n&lt;/OTA_HotelRateAmountNotifRQ&gt; </pre>\n</div></div><p><br /><br /></p></div></div><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Element</div></th><th><div class=\"tablesorter-header-inner\">Number</div></th><th><div class=\"tablesorter-header-inner\">Description</div></th></tr></thead><tbody><tr><td>DeadLine</td><td>1</td><td>deadline to apply cancellation penalty</td></tr><tr><td>AmountPercent</td><td>0..1</td><td>penalty as amount in currency, percent of booking price, or number of nights</td></tr><tr><td>PenaltyDescription</td><td>0..1</td><td>cancellation penalty description</td></tr></tbody></table></div><p><br /></p><p>CancelPenalty - DeadLine:</p><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Attribute</div></th><th><div class=\"tablesorter-header-inner\">Type</div></th><th><div class=\"tablesorter-header-inner\">Restriction</div></th><th><div class=\"tablesorter-header-inner\">Description</div></th></tr></thead><tbody><tr><td>AbsoluteDeadLine</td><td>time</td><td>HH:mm:ss</td><td>Latest time to apply this penalty</td></tr><tr><td>OffsetDropTime</td><td>enum</td><td>BeforeArrival</td><td>Only support BeforeArrival</td></tr><tr><td>OffsetTimeUnit</td><td>enum</td><td>Day</td><td>Only support Day</td></tr><tr><td>OffsetUnitMultiplier</td><td>int</td><td>&gt;= 0</td><td>Number of unit in this case is the number of days before checkin date</td></tr></tbody></table></div><p>CancelPenalty - AmountPercent:</p><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Attribute</div></th><th><div class=\"tablesorter-header-inner\">Type</div></th><th><div class=\"tablesorter-header-inner\">Required</div></th><th><div class=\"tablesorter-header-inner\">Restriction</div></th><th><div class=\"tablesorter-header-inner\">Description</div></th></tr></thead><tbody><tr><td>NmbrOfNights</td><td>int</td><td>No</td><td>&gt;= 0</td><td>Penalty as number of nights</td></tr><tr><td>Percent</td><td>double</td><td>No</td><td>&gt;=0.0</td><td>Penalty as percent of booking price</td></tr><tr><td>Amount</td><td>double</td><td>No</td><td>&gt;=0.0</td><td>Penalty as amount in currency</td></tr><tr><td>DecimalPlaces</td><td>int</td><td>No</td><td>&gt;= 0</td><td>Number of decimal places for Amount and Percent</td></tr></tbody></table></div><p>Example:</p><p>Non-Refundable</p><p>For any CancelPenalty with NonRefundable = True, we can omit AmountPercent value. It will be treated as 100 percent penalty.</p><div><div class=\"syntaxhighlighter sh-confluence nogutter java\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;CancelPenalty&gt;\n    &lt;Deadline AbsoluteDeadline=\"00:00:00\" OffsetDropTime=\"BeforeArrival\" OffsetTimeUnit=\"Day\" OffsetUnitMultiplier=\"999\" /&gt;\n    &lt;PenaltyDescription&gt;\n        &lt;Text&gt;The amount due is not refundable even if the booking is cancelled or modified.&lt;/Text&gt;\n    &lt;/PenaltyDescription&gt;\n&lt;/CancelPenalty&gt;\n&lt;CancelPenalty NonRefundable=\"True\"&gt;\n    &lt;Deadline AbsoluteDeadline=\"18:00:00\" OffsetDropTime=\"BeforeArrival\" OffsetTimeUnit=\"Day\" OffsetUnitMultiplier=\"0\" /&gt;\n&lt;/CancelPenalty&gt;</pre>\n</div></div><p><br /></p><p>or</p><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;CancelPenalty NonRefundable=\"True\"&gt;\n    &lt;Deadline AbsoluteDeadline=\"18:00:00\" OffsetDropTime=\"BeforeArrival\" OffsetTimeUnit=\"Day\" OffsetUnitMultiplier=\"0\" /&gt;\n&lt;/CancelPenalty&gt;</pre>\n</div></div></div></div><p><br /></p><p>More Example</p><div><div class=\"syntaxhighlighter sh-confluence nogutter java\"><p><br /></p><div><div class=\"syntaxhighlighter sh-confluence nogutter java\"><p><br /></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;CancelPenalty&gt;\n    &lt;Deadline AbsoluteDeadline=\"00:00:00\" OffsetDropTime=\"BeforeArrival\" OffsetTimeUnit=\"Day\" OffsetUnitMultiplier=\"999\" /&gt;\n&lt;/CancelPenalty&gt;\n&lt;CancelPenalty NonRefundable=\"false\"&gt;\n    &lt;Deadline AbsoluteDeadline=\"18:30:00\" OffsetDropTime=\"BeforeArrival\" OffsetTimeUnit=\"Day\" OffsetUnitMultiplier=\"10\" /&gt;\n    &lt;PenaltyDescription&gt;\n        &lt;Text&gt;No cancelation charge applies until 10 days, 18:30 (Local time) before arrival. Between 10 days and 5 days (20:30), hotel will charge 50.00 pct of the stay. Thereafter, hotel will charge the first night.&lt;/Text&gt;\n    &lt;/PenaltyDescription&gt;\n&lt;/CancelPenalty&gt;\n&lt;CancelPenalty NonRefundable=\"false\"&gt;\n    &lt;Deadline AbsoluteDeadline=\"20:30:00\" OffsetDropTime=\"BeforeArrival\" OffsetTimeUnit=\"Day\" OffsetUnitMultiplier=\"5\" /&gt;\n    &lt;AmountPercent Percent=\"50.00\" /&gt;\n    &lt;PenaltyDescription&gt;\n        &lt;Text&gt;No cancelation charge applies until 10 days, 18:30 (Local time) before arrival. Between 10 days and 5 days (20:30), hotel will charge 50.00 pct of the stay. Thereafter, hotel will charge the first night&lt;/Text&gt;\n    &lt;/PenaltyDescription&gt;\n&lt;/CancelPenalty&gt;\n&lt;CancelPenalty NonRefundable=\"false\"&gt;\n    &lt;Deadline AbsoluteDeadline=\"23:59:00\" OffsetDropTime=\"BeforeArrival\" OffsetTimeUnit=\"Day\" OffsetUnitMultiplier=\"0\" /&gt;\n    &lt;AmountPercent NmbrOfNights=\"1\" /&gt;\n    &lt;PenaltyDescription&gt;\n        &lt;Text&gt;No cancelation charge applies until 10 days, 18:30 (Local time) before arrival. Between 10 days and 5 days (20:30), hotel will charge 50.00 pct of the stay. Thereafter, hotel will charge the first night.&lt;/Text&gt;\n    &lt;/PenaltyDescription&gt;\n&lt;/CancelPenalty&gt;</pre>\n</div></div></div></div></div></div><p>Cancellation penalty is defined in the &lt;AmountPercent&gt; tag. It can be define as pecent or number of night. </p><p>Picture below is helping to understand cancellation policy OffsetUnitMultiplier. </p><p><img src=\"/download/attachments/16520948/image2017-3-8%2015%3A1%3A4.png?version=1&amp;modificationDate=1496214934027&amp;api=v2\" /></p><p>However, Agoda doesn't support time based cancellation. So, any AbsoluteDeadline that is less than 23:55:00, OTA will add up 1 day. So, the result for this example is 11D50P_6D1N which can be read as \"If user cancel 11 Day before check-in date, user will be charged 50%. If user cancel 6 days before check-in date, user will be charged 1 night.\"</p><p><br /></p><h3 id=\"OTAAPIDocument-OTA_HotelRateAmountNotifRQSpecification\">OTA_HotelRateAmountNotifRQ Specification</h3><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Element</div></th><th><div class=\"tablesorter-header-inner\">Number</div></th><th><div class=\"tablesorter-header-inner\">Type </div></th><th><div class=\"tablesorter-header-inner\">Description</div></th></tr></thead><tbody><tr><td>OTA_HotelRateAmountNotifRQ</td><td>1</td><td><br /></td><td>Root node</td></tr><tr><td>@TimeStamp</td><td>1</td><td>DateTime</td><td>Time of the transaction</td></tr><tr><td>@Version</td><td>1</td><td>Decimal</td><td>Current version is 1.0</td></tr><tr><td>@EchoToken</td><td>1</td><td>String</td><td>Globally unique identifier for the request, this should be reflected as an EchoToken in the response</td></tr><tr><td>@Target</td><td>1</td><td>String</td><td>Target which can be either Production or Sandbox</td></tr><tr><td>@PrimaryLangID</td><td>1</td><td>String</td><td>Language ID, now only support English (en)</td></tr><tr><td>@NotifType</td><td>1</td><td>String</td><td><p>This indicates whether this is an update of changed rate amounts, instructions to remove rate amounts or a full replacement of rate amounts for specified products. If not specified - Delta is assumed</p><p>Possible values:</p><ol><li><strong>Delta</strong>: Update of changed rate amounts (Default)</li><li><strong>Overlay</strong>: Full replacement of rate amounts for specified products</li></ol></td></tr><tr><td>OTA_HotelRateAmountNotifRQ / <br />RateAmountMessages</td><td>1</td><td><br /></td><td>Contains rates for a given hotel</td></tr><tr><td>@HotelCode</td><td>1</td><td>String</td><td>Hotel code of the property whose rate is being updated </td></tr><tr><td>RateAmountMessages / RateAmountMessage</td><td>1..n</td><td><br /></td><td>Contains details of a rate update for a time span</td></tr><tr><td>RateAmountMessage / StatusApplicationControl</td><td>1</td><td><br /></td><td>Contains date and room identification information</td></tr><tr><td>@InvTypeCode</td><td>1</td><td>String</td><td><p>Identifies the room  </p></td></tr><tr><td>@RatePlanCode</td><td>0..1</td><td>String</td><td>Identifies the rate plan</td></tr><tr><td>@RateChannelCode</td><td>0..1</td><td>Number</td><td>Identifies the channel to which this rate is allowed. Default is Retail (Code: 1), please refer to code list for other codes</td></tr><tr><td>@Start</td><td>1</td><td>Date</td><td>The start date for which the rate is being set. This date is inclusive.</td></tr><tr><td>@End</td><td>1</td><td>Date</td><td>The end date for which the rate is being set. This date is inclusive.</td></tr><tr><td>@LengthOfStay</td><td>0..1</td><td>Number</td><td>Optional attribute to mark the request of type Full Pattern. If not present, the date range is considered as stay dates.</td></tr><tr><td>@QuoteID</td><td>0..1</td><td>String</td><td>Optional attribute that identifies a specific quote, or value. Max length = 350 characters.</td></tr><tr><td>RateAmountMessage / Rates</td><td>1</td><td><br /></td><td><br /></td></tr><tr><td>Rates / Rate</td><td>1</td><td><br /></td><td><br /></td></tr><tr><td>@NumberOfUnits</td><td>0..1</td><td>Integer</td><td>Number of rooms available</td></tr><tr><td>Rate / BaseByGuestAmts</td><td>1</td><td><br /></td><td>Base charge for a given number of guests.</td></tr><tr><td>BaseByGuestAmts / BaseByGuestAmt</td><td>1..n</td><td><br /></td><td>Contains information about the rates.</td></tr><tr><td>@AmountBeforeTax</td><td>1</td><td>Decimal</td><td>Rate Amount before tax. Positive decimal value. (Net Exclusive)</td></tr><tr><td>@AmountAfterTax</td><td>1</td><td>Decimal</td><td>Rate Amount after tax. Positive decimal value. (Net Inclusive)</td></tr><tr><td>@AmountIncludingMarkup</td><td>1</td><td>Decimal</td><td>Rate Amount Including markup. Positive value. (Sell Inclusive)</td></tr><tr><td>@NumberOfGuests</td><td>0..1</td><td>Integer</td><td>Number of guests in room (occupancy)</td></tr><tr><td>@CurrencyCode</td><td>0..1</td><td>String</td><td>The currency of the rate</td></tr><tr><td>BaseByGuestAmt / Taxes</td><td>1</td><td><br /></td><td>Group of taxes applicable for the occupancy</td></tr><tr><td>Taxes / Tax</td><td>1..n</td><td><br /></td><td>List of tax applicable</td></tr><tr><td>@Amount</td><td>0..1</td><td>Number</td><td>Amount to for the tax type (currency is inherited from BaseByGuestAmount)</td></tr><tr><td>@DecimalPlaces</td><td>0..1</td><td>Number</td><td>Number of decimal places in the Amount or Percent (default = 0)</td></tr><tr><td>@Percent</td><td>0..1</td><td>Number</td><td>Percentage of the tax to be applied. Either Amount of Percent need to be present. If both, then always Amount is preferred.</td></tr><tr><td>@Code</td><td>1</td><td>Number</td><td>Defines the tax type for example CityTax etc. Refer to Code List.</td></tr><tr><td>@Type</td><td>1</td><td>String</td><td>Defines the Pay now or Pay at hotel type for the tax. For example Inclusive, Exclusive. Refer to Code List</td></tr><tr><td>@ChargeUnit</td><td>1</td><td>String (Code)</td><td>Defines the charge unit for example Per Person Per Night, Per Person Per Stay etc. Refer to Code List</td></tr><tr><td>@EffectiveDate</td><td>1</td><td>Date</td><td>Inclusive start date when this tax starts to be applicable</td></tr><tr><td>@ExpireDate</td><td>1</td><td>Date</td><td>Inclusive end date when this tax can be applicable.</td></tr><tr><td>Rate / CancelPolicies</td><td>1</td><td><br /></td><td>Cancel Policies for this rate</td></tr><tr><td>CancelPolicies / CancelPenalty</td><td>1..n</td><td><br /></td><td>Contains information about the cancel policies</td></tr><tr><td>CancelPenalty / Deadline</td><td>1</td><td><br /></td><td>Each deadline represents the time at which a particular policy goes into effect</td></tr><tr><td>@AbsoluteDeadline</td><td>1</td><td>Time</td><td>The time at which the policy goes into effect</td></tr><tr><td><p>@OffsetDropTime</p></td><td>1</td><td>String</td><td>The point from which the cancel policy is measured (before arrival, for example)</td></tr><tr><td><p>@OffsetTimeUnit</p></td><td>1</td><td>String</td><td>Unit of time (\"day\", for example) by which the cancel policy offset is measured</td></tr><tr><td>@OffsetUnitMultiplier</td><td> 1</td><td>Integer </td><td>The number of time units before the drop time that the cancel policy is in effect</td></tr><tr><td>CancelPenalty /<p>PenaltyDescription / Text</p></td><td>1</td><td>String</td><td>Text description of the cancel penalty</td></tr><tr><td>Rate / Fees</td><td>0..1</td><td><br /></td><td><br /></td></tr><tr><td>Fees / Fee</td><td>1..n</td><td><br /></td><td>Fees information on the rate</td></tr><tr><td>@Amount</td><td>0..1</td><td>Number</td><td>Amount to for the fees type (currency is inherited from BaseByGuestAmount)</td></tr><tr><td>@DecimalPlaces</td><td>0..1</td><td>Number</td><td>Number of decimal places in the Amount or Percent (default = 0)</td></tr><tr><td>@Percent</td><td>0..1</td><td>Number</td><td><p>[Not support] <s>Percentage of the fees to be applied. Either Amount of Percent need to be present. If both, then always Amount is preferred.</s></p></td></tr><tr><td>@Code</td><td>1</td><td>Number</td><td>Defines the fee type for example New Year Party Charge etc. Refer to Code List.</td></tr><tr><td>@Type</td><td>1</td><td>Number</td><td>Defines the Pay now or Pay at hotel type for the fees. Refer to Code List</td></tr><tr><td>@ChargeUnit</td><td>1</td><td>String (Code)</td><td>Defines the charge unit for example Per Person Per Night, Per Person Per Stay etc. Refer to Code List</td></tr><tr><td>@EffectiveDate</td><td>1</td><td>Date</td><td>Inclusive start date when this fees starts to be applicable</td></tr><tr><td>@ExpireDate</td><td>1</td><td>Date</td><td>Inclusive end date when this fees can be applicable.</td></tr><tr><td>Rate / AdditionalGuestAmounts</td><td>0..1</td><td><br /></td><td><br /></td></tr><tr><td>AdditionalGuestAmounts / AdditionalGuestAmount</td><td>1..n</td><td><br /></td><td>List of additional guest amount per age qualifying code. There can be only one block per one age qualifying code.</td></tr><tr><td>@AgeQualifyingCode</td><td>1</td><td>Number</td><td>Defines the age qualifying code on which this additional amount is applicable for example Adult, Child, or Infant. Please refer to Code List for all possible values.</td></tr><tr><td>@Amount</td><td>1</td><td>Number</td><td>Amount to be charged for the each additional guest for in that particular age code. Please note that the amount type i.e. net / sell, inclusive / exclusive is inherited from the base by guest amount</td></tr><tr><td>@DecimalPlaces</td><td>0..1</td><td>Number</td><td>Number of decimal places in the Amount or Percent (default = 0)</td></tr><tr><td>@MaxAdditionalGuests</td><td>1</td><td>Number</td><td>Maximum number of additional guests allowed to be added for the ${AgeQualifyingCode}</td></tr><tr><td>AdditionalGuestAmount / Taxes</td><td>0..1</td><td><br /></td><td>Refer to Taxes element above.</td></tr><tr><td>Rate / MealsIncluded</td><td>0..1</td><td><br /></td><td><br /></td></tr><tr><td>MealPlanCodes</td><td>1</td><td>Integer</td><td>Defines the meal plan for the rate. 3 - Breakfast. Refer to Code List. If the value is not set, it means Room only.</td></tr></tbody></table></div><h3 id=\"OTAAPIDocument-Limitations\">Limitations</h3><ul><li>Fees, Tax, Additional guests is always overlay - we don't allow merging.</li><li>Standalone fees, meal plan, and additional guest update (without base by guest prices) is not allowed. </li><li>Tax &amp; Fees date range should always be inclusive of the date range in Status Application Control.</li><li>Tax &amp; Fees date range should not overlap for same code and type</li><li>With rate type AmountAfterTax and AmountIncludingMarkup, Tax value must be chargeUnit='PB' with Percent only.</li></ul></div>","urlObject":{"protocol":"http","path":["b2b","ota","2013A","hotels"],"host":["supplyota","agoda","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea48803f-bc64-494c-8266-0109459a586f"},{"name":"OTA_HotelRateAmountNotifRS","id":"2cbd9a23-367a-48cb-a659-020f03288e0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml","type":"text"}],"body":{"mode":"raw","raw":"<OTA_HotelRateAmountNotifRS EchoToken=\"3dca6c85-bcc1-4abc-bf62-dccac3897791\" Version=\"1.000\" Target=\"Production\" TimeStamp=\"2020-04-23T15:53:53+07:00\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\r\n  <Success />\r\n</OTA_HotelRateAmountNotifRS>"},"url":"http://supplyota.agoda.com/b2b/ota/2013A/hotels","description":"<h2 id=\"OTAAPIDocument-OTA_HotelRateAmountNotifRS\">OTA_HotelRateAmountNotifRS</h2><p>The <strong>OTA_HotelRateAmountNotifRS</strong> is the response Agoda will return for every <strong>OTA_HotelRateAmountNotifRQ</strong> . There are 2 types of response which are Success and Failure. The error codes and their descriptions are available in API Validation section.</p><h3 id=\"OTAAPIDocument-Exampleofthemessage.2\">Example of the message</h3><h4 id=\"OTAAPIDocument-SuccessResponse.2\"><strong>Success Response</strong></h4><div><div class=\"syntaxhighlighter sh-confluence nogutter html\"><div><div class=\"syntaxhighlighter xml\"><p><br /></p><div class=\"table-wrap\"><table><tbody><tr><td><div class=\"line number1 index0 alt2\">1</div><div class=\"line number2 index1 alt1\">2</div><div class=\"line number3 index2 alt2\">3</div></td><td><div class=\"container\"><div class=\"line number1 index0 alt2\"><code class=\"xml plain\">&lt;OTA_HotelRateAmountNotifRS</code> <code class=\"xml color1\">xmlns</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"<a href=\"http://www.opentravel.org/OTA/2003/05\">http://www.opentravel.org/OTA/2003/05\" Target=\"Production\"</a></code> <code class=\"xml color1\">Version</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"1.0\"</code> <code class=\"xml color1\">TimeStamp</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"2005-08-01T09:30:47+08:00\"</code> <code class=\"xml color1\">EchoToken</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"abc123\"</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number2 index1 alt1\"><code class=\"xml spaces\">  </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">Success</code><code class=\"xml plain\">/&gt;</code></div><div class=\"line number3 index2 alt2\"><code class=\"xml plain\">&lt;/OTA_HotelRateAmountNotifRS</code><code class=\"xml plain\">&gt;</code></div></div></td></tr></tbody></table></div></div></div><h4 id=\"OTAAPIDocument-FailureResponse(2013A).2\"><strong>Failure Response (2013A)</strong></h4></div></div><div><div class=\"syntaxhighlighter sh-confluence nogutter html\"><div><div class=\"syntaxhighlighter xml\"><p><br /></p><div class=\"table-wrap\"><table><tbody><tr><td><div class=\"line number1 index0 alt2\">1</div><div class=\"line number2 index1 alt1\">2</div><div class=\"line number3 index2 alt2\">3</div><div class=\"line number4 index3 alt1\">4</div><div class=\"line number5 index4 alt2\">5</div></td><td><div class=\"container\"><div class=\"line number1 index0 alt2\"><code class=\"xml plain\">&lt;OTA_HotelRateAmountNotifRS</code> <code class=\"xml color1\">xmlns</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"<a href=\"http://www.opentravel.org/OTA/2003/05\">http://www.opentravel.org/OTA/2003/05\"</a></code> Target=\"Production\" <code class=\"xml color1\">Version</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"1.0\"</code> <code class=\"xml color1\">TimeStamp</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"2005-08-01T09:30:47+08:00\"</code> <code class=\"xml color1\">EchoToken</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"abc123\"</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number2 index1 alt1\"><code class=\"xml spaces\">  </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">Errors</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number3 index2 alt2\"><code class=\"xml spaces\">    </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">Error</code> <code class=\"xml color1\">Type</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"3\"</code> <code class=\"xml color1\">Code</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"9004\"</code><code class=\"xml plain\">&gt;StartDate is greater than EndDate&lt;/</code><code class=\"xml keyword\">Error</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number4 index3 alt1\"><code class=\"xml spaces\">  </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">Errors</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number5 index4 alt2\"><code class=\"xml plain\">&lt;/OTA_HotelRateAmountNotifRS</code><code class=\"xml plain\">&gt;</code></div></div></td></tr></tbody></table></div><p><strong><br /></strong></p><h4 id=\"OTAAPIDocument-FailureResponse(2015B).2\"><strong>Failure Response (2015B)</strong></h4></div></div><div><div class=\"syntaxhighlighter xml\"><p><br /></p><div class=\"table-wrap\"><table><tbody><tr><td><div class=\"line number1 index0 alt2\">1</div><div class=\"line number2 index1 alt1\">2</div><div class=\"line number3 index2 alt2\">3</div><div class=\"line number4 index3 alt1\">4</div><div class=\"line number5 index4 alt2\">5</div></td><td><div class=\"container\"><div class=\"line number1 index0 alt2\"><code class=\"xml plain\">&lt;OTA_HotelRateAmountNotifRS</code> <code class=\"xml color1\">xmlns</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"<a href=\"http://www.opentravel.org/OTA/2003/05\">http://www.opentravel.org/OTA/2003/05\"</a></code> Target=\"Production\" <code class=\"xml color1\">Version</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"1.0\"</code> <code class=\"xml color1\">TimeStamp</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"2005-08-01T09:30:47+08:00\"</code> <code class=\"xml color1\">EchoToken</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"abc123\"</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number2 index1 alt1\"><code class=\"xml spaces\">  </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">Errors</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number3 index2 alt2\"><code class=\"xml spaces\">    </code><code class=\"xml plain\">&lt;</code><code class=\"xml keyword\">Error</code> <code class=\"xml color1\">Type</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"3\"</code> <code class=\"xml color1\">Code</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"9004\"</code> RecordID=\"\" Status=\"\" <code class=\"xml color1\">ShortText</code><code class=\"xml plain\">=</code><code class=\"xml string\">\"</code>StartDate is greater than EndDate<code class=\"xml string\">\"</code><code class=\"xml plain\">/&gt;</code></div><div class=\"line number4 index3 alt1\"><code class=\"xml spaces\">  </code><code class=\"xml plain\">&lt;/</code><code class=\"xml keyword\">Errors</code><code class=\"xml plain\">&gt;</code></div><div class=\"line number5 index4 alt2\"><code class=\"xml plain\">&lt;/OTA_HotelRateAmountNotifRS</code><code class=\"xml plain\">&gt;</code></div></div></td></tr></tbody></table></div></div></div><h3 id=\"OTAAPIDocument-OTA_HotelRateAmountNotifRSSpecification\"><strong>OTA_HotelRateAmountNotifRS Specification</strong></h3></div></div><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Element</div></th><th><div class=\"tablesorter-header-inner\">Number</div></th><th><div class=\"tablesorter-header-inner\">Type</div></th><th><div class=\"tablesorter-header-inner\">Description</div></th></tr></thead><tbody><tr><td>OTA_HotelRateAmountNotifRS</td><td>1</td><td><br /></td><td>Root element</td></tr><tr><td><p>@EchoToken</p></td><td>1</td><td>String</td><td>Return the EchoToken from the request message.</td></tr><tr><td>@Version</td><td>1</td><td>Decimal</td><td>Current version is 1.0</td></tr><tr><td>@TimeStamp</td><td>1</td><td>DateTime</td><td><p>Time of the transaction.</p></td></tr><tr><td>@Target</td><td>1</td><td>String</td><td>Target which can be either production or sandbox</td></tr><tr><td>OTA_HotelRateAmountNotifRS / Success</td><td>0..1</td><td><br /></td><td>Should only be present if the request processed successfully. The Errors node should not be present if the Success node is present</td></tr><tr><td>OTA_HotelRateAmountNotifRS / Errors</td><td>0..1</td><td><br /></td><td>Contains a list of errors if the request failed to process.</td></tr><tr><td>Errors / Error</td><td>1..n</td><td><br /></td><td>Should be at least one node if there is an Errors Node.</td></tr><tr><td>@Type</td><td>1</td><td>String</td><td><p>Mandatory if Error present. Identifies the type of error</p></td></tr><tr><td>@Code</td><td>0..1</td><td>String</td><td><p>Mandatory if Error is present. Identifies the specific error in the given type</p></td></tr><tr><td>@RecordID</td><td>1</td><td>String</td><td>Reference record ID</td></tr><tr><td>@Status</td><td>1</td><td>String</td><td>Reference status</td></tr><tr><td>@ShortText</td><td>1</td><td>String</td><td>Short description of the error</td></tr></tbody></table></div><p><br /><br /></p>","urlObject":{"protocol":"http","path":["b2b","ota","2013A","hotels"],"host":["supplyota","agoda","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2cbd9a23-367a-48cb-a659-020f03288e0e"}],"id":"e6f13f82-301a-411f-bca3-3247df4bc567","description":"<h1 id=\"OTAAPIDocument-RoomAvailabilityandRates\">Room Availability and Rates</h1><p>You can update the room availability and rates by using the <strong>OTA_HotelRateAmountNotifRQ </strong>request. Agoda will response to your request via <strong>OTA_HotelRateAmountNotifRS </strong>response message. The <strong>OTA_HotelRateAmountNotifRQ </strong>allows you to update:</p><ol><li>Room/rate Plan availability</li><li>Room/rate Plan rates</li><li>Room/rate inclusions</li><li>Room/rate Tax &amp; Fees</li><li>Room/rate Cancellation policies<br /><br /></li></ol><div></div>","event":[{"listen":"prerequest","script":{"id":"af6aa9c9-2dda-4fba-99e5-59491fbc7e83","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"43685418-4ac0-4bb6-a8e8-bb8c4f113636","type":"text/javascript","exec":[""]}}],"_postman_id":"e6f13f82-301a-411f-bca3-3247df4bc567"},{"name":"Code List","item":[{"name":"AgeQualifyingCode","item":[],"id":"58b57776-d231-403a-968d-38f932f41481","description":"<h1 id=\"OTAAPIDocument-AgeQualifyingCode\">AgeQualifyingCode</h1><p>&lt;AdditionalGuestAmount AgeQualifyingCode=\"10\" ... &gt;</p><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Code</div></th><th><div class=\"tablesorter-header-inner\">Description</div></th></tr></thead><tbody><tr><td>10</td><td>Adult</td></tr><tr><td>8</td><td>Child</td></tr><tr><td>6</td><td>Infant</td></tr></tbody></table></div>","_postman_id":"58b57776-d231-403a-968d-38f932f41481"},{"name":"Charge Unit (Tax & Fees)","item":[],"id":"5d91ea9b-ba01-414b-816f-fedda4ff6486","description":"<h1 id=\"OTAAPIDocument-ChargeUnit(Tax&amp;Fees)\">Charge Unit (Tax &amp; Fees)</h1><p>&lt;Tax ChargeUnit=\"PB\" ...&gt;</p><p><br /></p><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Code</div></th><th><div class=\"tablesorter-header-inner\">Description</div></th></tr></thead><tbody><tr><td>PAPB</td><td>Per Adult Per Booking</td></tr><tr><td>PAPN</td><td>Per Adult Per Night</td></tr><tr><td>PB</td><td>Per Booking</td></tr><tr><td>PGPB</td><td>Per Guest Per Booking</td></tr><tr><td>PGPN</td><td>Per Guest Per Night</td></tr><tr><td>PN</td><td>Per Night</td></tr><tr><td>PRPB</td><td>Per Room Per Booking</td></tr><tr><td>PRPN</td><td>Per Room Per Night</td></tr></tbody></table></div><p><br /></p>","_postman_id":"5d91ea9b-ba01-414b-816f-fedda4ff6486"},{"name":"Type (Tax & Fees)","item":[],"id":"794e2311-3787-499d-882c-52b0533cd308","description":"<h1 id=\"OTAAPIDocument-Type(Tax&amp;Fees)\">Type (Tax &amp; Fees)</h1><p>&lt;Tax Type=\"Inclusive\" ...&gt;</p><p>&lt;Fee Type=\"Exclusive\" ...&gt;</p><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Code</div></th><th><div class=\"tablesorter-header-inner\">Type</div></th></tr></thead><tbody><tr><td>Inclusive</td><td>PayNow</td></tr><tr><td>Exclusive</td><td>PayAtHotel</td></tr></tbody></table></div><p><br /></p>","_postman_id":"794e2311-3787-499d-882c-52b0533cd308"},{"name":"Meal Plan","item":[],"id":"2501866b-5182-481d-8105-3616a139c0d3","description":"<h1 id=\"OTAAPIDocument-MealPlan\">Meal Plan</h1><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Code</div></th><th><div class=\"tablesorter-header-inner\">Type</div></th></tr></thead><tbody><tr><td>1</td><td>All inclusive </td></tr><tr><td>3</td><td>Breakfast</td></tr><tr><td>10</td><td>Full board</td></tr><tr><td>12</td><td>Half board</td></tr></tbody></table></div><p><br /></p>","_postman_id":"2501866b-5182-481d-8105-3616a139c0d3"},{"name":"Tax & Fee Code (<Incomplete>)","item":[],"id":"c02d95d5-54cc-45db-96c7-a56c84b37af5","description":"<h1 id=\"OTAAPIDocument-Tax&amp;FeeCode(&lt;Incomplete&gt;)\">Tax &amp; Fee Code (&lt;Incomplete&gt;)</h1><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Code</div></th><th><div class=\"tablesorter-header-inner\">Description</div></th></tr></thead><tbody><tr><td>6</td><td>City Tax</td></tr><tr><td><br /></td><td><br /></td></tr></tbody></table></div><p><br /></p>","event":[{"listen":"prerequest","script":{"id":"7ba50e74-83ad-4c22-90ac-0f09650e6c91","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"14b2ccbf-0b0c-4ef7-8769-b69c5d77e7db","type":"text/javascript","exec":[""]}}],"_postman_id":"c02d95d5-54cc-45db-96c7-a56c84b37af5"},{"name":"RateChannelCode (<Incomplete)","item":[],"id":"20c13bfd-41a9-4aed-9559-2f9e7e81198c","description":"<h1 id=\"OTAAPIDocument-RateChannelCode(&lt;Incomplete)\">RateChannelCode (&lt;Incomplete)</h1><p><br /></p><div class=\"table-wrap\"><table><thead><tr><th><div class=\"tablesorter-header-inner\">Code</div></th><th><div class=\"tablesorter-header-inner\">Description</div></th></tr></thead><tbody><tr><td>1</td><td>Retail</td></tr><tr><td><br /></td><td><br /></td></tr></tbody></table></div><p><br /></p>","_postman_id":"20c13bfd-41a9-4aed-9559-2f9e7e81198c"},{"name":"API Validation","item":[],"id":"a71e28d0-05e5-4228-a501-7b4d27bb6f48","description":"<h1 id=\"OTAAPIDocument-APIValidation\">API Validation</h1><p>Please see below the error code and its description.</p><div class=\"table-wrap\"><table><tbody><tr><th>HTTP Status Code</th><th>Error Code</th><th>Error Description</th></tr><tr><td>400</td><td>9001</td><td>Message Timestamp is older than 10 minutes</td></tr><tr><td>400</td><td>9004</td><td>StartDate is greater than EndDate</td></tr><tr><td>400</td><td>9005</td><td>StartDate can't be in past</td></tr><tr><td>400</td><td>9006</td><td>EndDate can't be in past</td></tr><tr><td>400</td><td>9009</td><td>Amount must be &gt; 0.0</td></tr><tr><td>400</td><td>9010</td><td>Amount is not specified</td></tr><tr><td>400</td><td>9011</td><td>NumberOfGuests must be &gt;= 0</td></tr><tr><td>400</td><td>9012</td><td>InvTypeCode can't be empty</td></tr><tr><td>400</td><td>9013</td><td>RatePlanCode can't be empty</td></tr><tr><td>400</td><td>9015</td><td>RestrictionStatus can't be empty</td></tr><tr><td>400</td><td>9016</td><td>RestrictionStatus should be Open or Close</td></tr><tr><td>400</td><td>9019</td><td>OffsetTimeUnit can't be empty</td></tr><tr><td>400</td><td>9020</td><td>OffsetDropTime can't be empty</td></tr><tr><td>400</td><td>9021</td><td>OffsetUnitMultiplier must be greater than -1</td></tr><tr><td>400</td><td>9022</td><td>AbsoluteDropTime must be less than or equal AbsoluteCutoff</td></tr><tr><td>400</td><td>9028</td><td>AmountIncludingMarkup/AmountAfterTax should be PB and Percent</td></tr><tr><td>400</td><td>9029</td><td>BaseByGuestAmt not allow have multiple currencies</td></tr><tr><td>400</td><td>9030</td><td>AgeQualifyingCode invalid value</td></tr><tr><td>400</td><td>9031</td><td>AgeQualifyingCode duplicate value</td></tr><tr><td>400</td><td>9033</td><td>Fee DateRange not inclusive in Checkin to LastCheckin+LOS</td></tr><tr><td>400</td><td>9035</td><td>Tax DateRange not inclusive in Checkin to LastCheckin+LOS</td></tr><tr><td>400</td><td>9036</td><td>Fee DateRange cannot overlap in the same group</td></tr><tr><td>400</td><td>9037</td><td>Tax DateRange cannot overlap in the same group</td></tr><tr><td>400</td><td>9039</td><td>Fee not allow if BaseByGuestAmt is empty</td></tr><tr><td>400</td><td>9040</td><td>LengthOfStay required between 1 and #number allow</td></tr><tr><td>400</td><td>9041</td><td>RateLoadType are not allow</td></tr><tr><td>400</td><td>9042</td><td>NumberOfUnit is required more than zero</td></tr><tr><td>400</td><td>9044</td><td>Tax Code is not allowed</td></tr><tr><td>400</td><td>9045</td><td>Fee Code is not allowed</td></tr><tr><td>400</td><td>9098</td><td>Lead Days over than setting allow</td></tr><tr><td>400</td><td>9099</td><td>LOS not allow more than 2 years</td></tr><tr><td>403</td><td>9901</td><td>Access is denied. User is unauthorized</td></tr><tr><td>405</td><td>9903</td><td>Method not allowed</td></tr><tr><td>500</td><td>9999</td><td>Internal Server Error</td></tr></tbody></table></div>","_postman_id":"a71e28d0-05e5-4228-a501-7b4d27bb6f48"}],"id":"90e0af03-425e-4d03-9297-4fa1171732a8","_postman_id":"90e0af03-425e-4d03-9297-4fa1171732a8","description":""},{"name":"Precheck","item":[{"name":"OTA_HotelAvailRQ","id":"e35acf83-aeb6-4684-a9b8-5e66893b813e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<OTA_HotelAvailRQ PrimaryLangID=\"en\" xmlns=\"http://www.opentravel.org/OTA/2003/05\">\n    <AvailRequestSegments>\n        <AvailRequestSegment>\n            <StayDateRange Start=\"2020-05-20\" End=\"2020-05-22\"/>\n            <RatePlanCandidates>\n                <RatePlanCandidate RatePlanCode=\"WHL02\"/>\n            </RatePlanCandidates>\n            <RoomStayCandidates>\n                <RoomStayCandidate RoomTypeCode=\"SQX1\" Quantity=\"2\">\n                    <GuestCounts>\n                        <GuestCount AgeQualifyingCode=\"10\" Count=\"2\"/>\n                    </GuestCounts>\n                </RoomStayCandidate>\n            </RoomStayCandidates>\n            <HotelSearchCriteria>\n                <Criterion>\n                    <HotelRef HotelCode=\"2000852\"/>\n                </Criterion>\n            </HotelSearchCriteria>\n        </AvailRequestSegment>\n    </AvailRequestSegments>\n</OTA_HotelAvailRQ>","options":{"raw":{"language":"xml"}}},"url":"","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"e35acf83-aeb6-4684-a9b8-5e66893b813e"},{"name":"OTA_HotelAvailRS","id":"71da12ee-d58c-40f9-8182-a2fdd1c94bf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<?xml version=\"1.0\"?>\n<OTA_HotelAvailRS xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" PrimaryLangID=\"en\" TimeStamp=\"2020-05-07T11:47:26.4442158+08:00\">\n    <Success />\n    <RoomStays>\n        <RoomStay>\n            <RoomTypes>\n                <RoomType RoomTypeCode=\"SQX1\" NumberOfUnits=\"2\" />\n            </RoomTypes>\n            <RatePlans>\n                <RatePlan RatePlanCode=\"WHL02\" />\n            </RatePlans>\n            <RoomRates>\n                <RoomRate RoomTypeCode=\"SQX1\" RatePlanCode=\"WHL02\">\n                    <Rates>\n                        <Rate>\n                            <Base AmountBeforeTax=\"0\" AmountAfterTax=\"273\" CurrencyCode=\"CNY\" />\n                            <Total AmountBeforeTax=\"0\" AmountAfterTax=\"1092\" CurrencyCode=\"CNY\">\n                                <Taxes Amount=\"0\" />\n                            </Total>\n                        </Rate>\n                    </Rates>\n                </RoomRate>\n            </RoomRates>\n            <BasicPropertyInfo HotelCode=\"2000852\" HotelName=\"\" />\n        </RoomStay>\n    </RoomStays>\n    <Criteria>\n        <Criterion>\n            <HotelRef HotelCode=\"2000852\" HotelName=\"\" />\n        </Criterion>\n    </Criteria>\n</OTA_HotelAvailRS>","options":{"raw":{"language":"xml"}}},"url":"","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"71da12ee-d58c-40f9-8182-a2fdd1c94bf2"}],"id":"d44a6d77-ec7e-47d7-83ca-630eb2119f22","description":"<p>You can search single or multiple properties for detailed availability and pricing information of room products by using the OTA_HotelAvailRQ request. Agoda will respond to your request via OTA_HotelAvailRS response message.\n<strong>OTA_HotelAvailRQ</strong><br />The following search type is supported by the HotelAvail Request message.<br /> Searching availability for single property - return the availability for a single property by a unique hotel id for a specified date range.</p><p><br /><strong>Basic Structure</strong><br />The basic structure of the message is as per below:</p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\"><p></p>\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelAvailRQ PrimaryLangID=\"en\" xmlns=\"http://www.opentravel.org/OTA/2003/05\"&gt;\n    &lt;AvailRequestSegments&gt;\n        &lt;AvailRequestSegment&gt;\n            &lt;StayDateRange Start=\"2017-11-25\" End=\"2017-11-29\"/&gt;\n            &lt;RatePlanCandidates&gt;\n                &lt;RatePlanCandidate RatePlanCode=\"RAC\"/&gt;\n            &lt;/RatePlanCandidates&gt;\n            &lt;RoomStayCandidates&gt;\n                &lt;RoomStayCandidate RoomTypeCode=\"A1K\" Quantity=\"1\"&gt;\n                    &lt;GuestCounts&gt;\n                        &lt;GuestCount AgeQualifyingCode=\"10\" Count=\"2\"/&gt;\n                    &lt;/GuestCounts&gt;\n                &lt;/RoomStayCandidate&gt;\n            &lt;/RoomStayCandidates&gt;\n            &lt;HotelSearchCriteria&gt;\n                &lt;Criterion&gt;\n                    &lt;HotelRef HotelCode=\"61027\"/&gt;\n                &lt;/Criterion&gt;\n            &lt;/HotelSearchCriteria&gt;\n        &lt;/AvailRequestSegment&gt;\n    &lt;/AvailRequestSegments&gt;\n&lt;/OTA_HotelAvailRQ&gt;</pre>\n</div></div><p><br /></p><p><strong>OTA_HotelAvailRQ Specification</strong></p><p><br /></p><div class=\"table-wrap\"><table><tbody><tr><td><p><strong>Element</strong></p></td><td><p><strong>Number</strong></p></td><td><p><strong>Type</strong></p></td><td><p><strong>Description</strong></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>OTA_HotelAvailRQ</p></td><td><p>1</p></td><td><p><br /></p></td><td><p>Root node</p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Primary language preference for the message.</p></td></tr><tr><td><p>@PrimaryLangID</p></td><td><p>0..1</p></td><td><p>String</p></td><td><p>Identified by ISO 639 codes.</p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>OTA_HotelAvailRQ/</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>AvailRequestSegments</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>AvailRequestSegments/</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>AvailRequestSegment</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>AvailRequestSegment/</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>StayDateRange</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@Start</p></td><td><p>1</p></td><td><p>Date</p></td><td><p>The starting value of the time span</p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@End</p></td><td><p>1</p></td><td><p>Date</p></td><td><p>The ending value of the time span</p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>AvailRequestSegment/</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RatePlanCandidates</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RatePlanCandidates/</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RatePlanCandidate</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@RatePlanCode</p></td><td><p>1</p></td><td><p>String</p></td><td><p>Identifies the rate plan code</p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>AvailRequestSegment/</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomStayCandidates</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomStayCandidates/</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomStayCandidate</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Indicates the number of rooms to book. If this</p></td></tr><tr><td><p>@Quantity</p></td><td><p>1</p></td><td><p>Integer</p></td><td><p>attribute is not sent or is not valid, validation error</p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>is returned.</p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@RoomTypeCode</p></td><td><p>1</p></td><td><p>String</p></td><td><p>Identifies the room type code.</p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomStayCandidate/</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>GuestCounts</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>GuestCounts/</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>GuestCount</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@AgeQualifyingCode</p></td><td><p>1</p></td><td><p>Integer</p></td><td><p>This value is always “10”</p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@Count</p></td><td><p>1</p></td><td><p>Integer</p></td><td><p>The number of guests in one AgeQualifyingCode</p></td></tr><tr><td><p>AvailRequestSegment/</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>HotelSearchCriteria</p></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><p><br /></p></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><p>HotelSearchCriteria/</p></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><p>Criteria</p></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><p><br /></p></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><p>Criteria/</p></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><p>Criterion</p></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><p><br /></p></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><p>Criterion/</p></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><p>HotelRef</p></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><p><br /></p></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><p>@HotelCode</p></td><td>1</td><td>String</td><td>The code that uniquely identifies a single hotel property</td></tr><tr><td><br /></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><br /></td><td><br /></td><td><br /></td><td><br /></td></tr><tr><td><br /></td><td><br /></td><td><br /></td><td><br /></td></tr></tbody></table></div><p><br /></p><p><strong>OTA_HotelAvailRS</strong></p><p><br /></p><p>The <strong>OTA_HotelAvailRS</strong> is the response Agoda will return for every <strong>OTA_HotelAvailRQ</strong>. There are 2 types of response which are Success and Failure. The error codes and their descriptions are available in API Validation section.</p><p><br /></p><p><strong>Example of the message</strong></p><p><br /></p><p><strong>Success Response</strong></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelAvailRS PrimaryLangID=\"en\" TimeStamp=\"2017-10-02T19:56:15+00:00\" xmlns=\"http://www.opentravel.org/OTA/2003/05\"&gt;\n    &lt;Success/&gt;\n    &lt;RoomStays&gt;\n        &lt;RoomStay&gt;\n            &lt;RoomTypes&gt;\n                &lt;RoomType RoomTypeCode=\"A1K\" NumberOfUnits=\"99\"&gt;\n                    &lt;RoomDescription Name=\"Deluxe King Room\"&gt;\n                        &lt;Text&gt;Deluxe King Room default long desc&lt;/Text&gt;\n                        &lt;Image/&gt;\n                    &lt;/RoomDescription&gt;\n                &lt;/RoomType&gt;\n            &lt;/RoomTypes&gt;\n            &lt;RatePlans&gt;\n                &lt;RatePlan RatePlanCode=\"RAC\" RatePlanName=\"Standard Rate\"&gt;\n                    &lt;RatePlanDescription Name=\"Standard Rate\"&gt;\n                        &lt;Text&gt;Standard Rate default Long Desc&lt;/Text&gt;\n                    &lt;/RatePlanDescription&gt;\n                    &lt;Commission&gt;\n                        &lt;Percent&gt;8&lt;/Percent&gt;\n                    &lt;/Commission&gt;\n                &lt;/RatePlan&gt;\n            &lt;/RatePlans&gt;\n            &lt;RoomRates&gt;\n                &lt;RoomRate RoomTypeCode=\"A1K\" RatePlanCode=\"RAC\"&gt;\n                    &lt;Rates&gt;\n                        &lt;Rate&gt;\n                            &lt;Base AmountBeforeTax=\"108.18\" AmountAfterTax=\"124.95\" CurrencyCode=\"USD\"/&gt;\n                            &lt;Fees&gt;\n                                &lt;Fee Amount=\"80.00\" CurrencyCode=\"USD\"/&gt;\n                            &lt;/Fees&gt;\n                            &lt;Total AmountBeforeTax=\"540.90\" AmountAfterTax=\"704.75\" CurrencyCode=\"USD\"&gt;\n                                &lt;Taxes Amount=\"163.85\"&gt;\n                                    &lt;Tax Amount=\"10.82\" Code=\"3\" EffectiveDate=\"2017-11-25\" ExpireDate=\"2017-11-29\" ChargeFrequency=\"1\"&gt;\n                                        &lt;TaxDescription Name=\"Name\"&gt;\n                                            &lt;Text&gt;City Tax&lt;/Text&gt;\n                                        &lt;/TaxDescription&gt;\n                                        &lt;TaxDescription Name=\"Description\"&gt;\n                                            &lt;Text&gt;10pct City Tax per night Inclusive&lt;/Text&gt;\n                                        &lt;/TaxDescription&gt;\n                                    &lt;/Tax&gt;\n                                    &lt;Tax Amount=\"5.95\" Code=\"10\" EffectiveDate=\"2017-11-25\" ExpireDate=\"2017-11-29\" ChargeFrequency=\"1\"&gt;\n                                        &lt;TaxDescription Name=\"Name\"&gt;\n                                            &lt;Text&gt;Occupancy Tax&lt;/Text&gt;\n                                        &lt;/TaxDescription&gt;\n                                        &lt;TaxDescription Name=\"Description\"&gt;\n                                            &lt;Text&gt;5 pct Occupancy Tax per night EXCLUDED&lt;/Text&gt;\n                                        &lt;/TaxDescription&gt;\n                                    &lt;/Tax&gt;\n                                    &lt;Tax Amount=\"80.00\" Code=\"12\" EffectiveDate=\"2017-11-25\" ExpireDate=\"2017-11-29\" ChargeFrequency=\"12\"&gt;\n                                        &lt;TaxDescription Name=\"Name\"&gt;\n                                            &lt;Text&gt;Resort Fee&lt;/Text&gt;\n                                        &lt;/TaxDescription&gt;\n                                        &lt;TaxDescription Name=\"Description\"&gt;\n                                            &lt;Text&gt;80 USD Resort Fee per stay EXCLUSIVE&lt;/Text&gt;\n                                        &lt;/TaxDescription&gt;\n                                    &lt;/Tax&gt;\n                                &lt;/Taxes&gt;\n                            &lt;/Total&gt;\n                        &lt;/Rate&gt;\n                    &lt;/Rates&gt;\n                &lt;/RoomRate&gt;\n            &lt;/RoomRates&gt;\n            &lt;BasicPropertyInfo HotelCode=\"61027\" HotelName=\"Jymnson Hotel 001\"/&gt;\n        &lt;/RoomStay&gt;\n    &lt;/RoomStays&gt;\n    &lt;Criteria&gt;\n        &lt;Criterion&gt;\n            &lt;HotelRef HotelCode=\"61027\" HotelName=\"Jymnson Hotel 001\"/&gt;\n        &lt;/Criterion&gt;\n    &lt;/Criteria&gt;\n&lt;/OTA_HotelAvailRS&gt;</pre>\n</div></div><p><br /></p><p><strong>Failure Response</strong></p><div class=\"code panel pdl conf-macro output-block\"><div class=\"codeContent panelContent pdl\">\n<pre class=\"syntaxhighlighter-pre\">&lt;OTA_HotelAvailRS PrimaryLangID=\"en\" TimeStamp=\"2017-09-05T12:24:50+00:00\" xmlns=\"http://www.opentravel.org/OTA/2003/05\"&gt;\n&lt;Errors&gt;\n&lt;Error Type=\"1\" ShortText=\"Error checking availability.\" Code=\"197\" /&gt;\n&lt;/Errors&gt;\n&lt;/OTA_HotelAvailRS&gt;\n</pre>\n</div></div><p><br /></p><p><strong>OTA_HotelAvailRS Specification</strong></p><p><br /></p><div class=\"table-wrap\"><table><tbody><tr><td><p><strong>Element</strong></p></td><td><p><strong>Number</strong></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><strong>Type</strong></p></td><td><p><br /></p></td><td><p><strong>Description</strong></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>OTA_HotelAvailRS</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Root node</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Primary language preference for the message.</p></td><td><p><br /></p></td></tr><tr><td><p>@PrimaryLangID</p></td><td><p>0..1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>The human language is identified by ISO 639</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>codes.</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@TimeStamp</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>DateTime</p></td><td><p><br /></p></td><td><p>Time of the transaction</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>OTA_HotelAvailRS /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Only present if it was a successful response. The</p></td><td><p><br /></p></td></tr><tr><td><p>0..1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Errors node will not be present if the Success</p></td><td><p><br /></p></td></tr><tr><td><p>Success</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>node is present.</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>OTA_HotelAvailRS /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomStays</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomStays /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomStay</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomStay /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomTypes</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomTypes /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomType</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@RoomTypeCode</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Identifies the room type</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@NumberOfUnits</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Integer</p></td><td><p><br /></p></td><td><p>Available units of this room type which matches</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>the availability request</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomType /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomDescription</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@Name</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Language specific room type name</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomDescription /</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Language specific short description for this</p></td><td><p><br /></p></td></tr><tr><td><p>Text</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>room type</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr></tbody></table></div><p><br /></p><div class=\"table-wrap\"><table><tbody><tr><td><p><strong>Element</strong></p></td><td><p><strong>Number</strong></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><strong>Type</strong></p></td><td><p><br /></p></td><td><p><strong>Description</strong></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomDescription /</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Image URL for the room type</p></td><td><p><br /></p></td></tr><tr><td><p>Image</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomStay /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RatePlans</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RatePlans /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RatePlan</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@RatePlanCode</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Identifies the rate plan</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@RatePlanName</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Name of the rate plan</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RatePlan /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RatePlanDescription</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@Name</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Language specific rate plan name</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RatePlanDescription /</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Language specific short description for this rate</p></td><td><p><br /></p></td></tr><tr><td><p>Text</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>plan</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RatePlan /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Commission</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Commission percentage associated with the rate</p></td><td><p><br /></p></td></tr><tr><td><p>Commission /</p></td><td><p>0..1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Integer</p></td><td><p><br /></p></td><td><p>plan, if a rate is commissionable. If there is</p></td><td><p><br /></p></td></tr><tr><td><p>Percent</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>commission and its percent is more than 0, the</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>rate is sell rates</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomStay /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomRates</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomRates /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomRate</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@RoomTypeCode</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Identifies the room type</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@RatePlanCode</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Identifies the rate plan</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomRate /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Rates</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Rates /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Rate</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Rate /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Base</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@AmountBeforeTax</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Decimal</p></td><td><p><br /></p></td><td><p>This is the total amount for the reservation not</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>including taxes</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr></tbody></table></div><p><br /></p><div class=\"table-wrap\"><table><tbody><tr><td><p><strong>Element</strong></p></td><td><p><br /></p></td><td><p><strong>Number</strong></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><strong>Type</strong></p></td><td><p><br /></p></td><td><p><strong>Description</strong></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@AmountAfterTax</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Decimal</p></td><td><p><br /></p></td><td><p>The average price of the room after adding in</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>nightly taxes and fees</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@CurrencyCode</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>The currency associated with the average price.</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Use ISO 4217, three alpha code</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Rate /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Fees</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Fees /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Fee</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@Amount</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Decimal</p></td><td><p><br /></p></td><td><p>The fee amount. This fee contains the total</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>nightly fees, as well as any per stay fees</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@CurrencyCode</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>The currency associated with the fee amount.</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Use ISO 4217, three alpha code</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Rate /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Total</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@AmountBeforeTax</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Decimal</p></td><td><p><br /></p></td><td><p>The total price per stay</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@AmountAfterTax</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Decimal</p></td><td><p><br /></p></td><td><p>The total price of the stay after adding in taxes</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>and fees</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@CurrencyCode</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>The currency associated with the total price. Use</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>ISO 4217, three alpha code</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Total /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Taxes</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@Amount</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Decimal</p></td><td><p><br /></p></td><td><p>The total amount of all taxes and fees for the</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>availability result</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Taxes /</p></td><td><p><br /></p></td><td><p>1..n</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Tax</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>The amount of tax or fee applied per night of</p></td><td><p><br /></p></td></tr><tr><td><p>@Amount</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Decimal</p></td><td><p><br /></p></td><td><p>stay (for Per Night charges) or per stay (for Per</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Stay charges)</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@Code</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>The OpenTravel FTT (fee tax type) code for the</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>tax or fee. See the Tax Code table appendix</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@EffectiveDate</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Date</p></td><td><p><br /></p></td><td><p>The date the charge was applied for Per Night</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>charges or the arrival date for Per Stay charges</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>The date the charge was applied for Per Night</p></td><td><p><br /></p></td></tr><tr><td><p>@ExpireDate</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Date</p></td><td><p><br /></p></td><td><p>charges or the last night of the stay for Per Stay</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>charges</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr></tbody></table></div><p><br /></p><div class=\"table-wrap\"><table><tbody><tr><td><p><strong>Element</strong></p></td><td><p><strong>Number</strong></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><strong>Type</strong></p></td><td><p><br /></p></td><td><p><strong>Description</strong></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>OpenTravel CHG (charge type) code of “1”</p></td><td><p><br /></p></td></tr><tr><td><p>@ChargeFrequency</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>(Daily) for Per Night charges or “12” (Per Stay)</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>for Per Stay charges.</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Tax /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>TaxDescription</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@Name</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Tax or fee name. This value is “Name”</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>TaxDescription /</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Language-specific name for the tax or fee</p></td><td><p><br /></p></td></tr><tr><td><p>Text</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Tax /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>TaxDescription</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@Name</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Tax or fee description. This value is</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>“Description”</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>TaxDescription /</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Language-specific description for the tax or fee</p></td><td><p><br /></p></td></tr><tr><td><p>Text</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>RoomStay /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>BasicPropertyInfo</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@HotelCode</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>The code that uniquely identifies a single hotel</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>property</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@HotelName</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Indicates the hotel name</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>OTA_HotelAvailRS /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Criteria</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Criteria /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Criterion</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Criterion /</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>HotelRef</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@HotelCode</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>The code that uniquely identifies a single hotel</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>property</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@HotelName</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Indicates the hotel name</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>OTA_HotelAvailRS /</p></td><td><p>0..1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Contains a list of errors in the event of a failed</p></td><td><p><br /></p></td></tr><tr><td><p>Errors</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>request.</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>Errors / Error</p></td><td><p>1..n</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>Mandatory if Errors present.</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@Type</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Mandatory if Error present. Identifies the type</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>of error.</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr></tbody></table></div><p><br /></p><div class=\"table-wrap\"><table><tbody><tr><td><p><strong>Element</strong></p></td><td><p><strong>Number</strong></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><strong>Type</strong></p></td><td><p><br /></p></td><td><p><strong>Description</strong></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@Code</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Mandatory if Error is present. Identifies the</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>specific error in the given type.</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr><tr><td><p>@ShortText</p></td><td><p>1</p></td><td><p><br /></p></td><td><p><br /></p></td><td><p>String</p></td><td><p><br /></p></td><td><p>Short description of the error</p></td><td><p><br /></p></td></tr><tr><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td><td><p><br /></p></td></tr></tbody></table></div><p><strong>Appendix. Tax codes</strong></p><p><br /></p><div class=\"table-wrap\"><table><tbody><tr><td><p><strong>Code</strong></p></td><td><p><strong>Description</strong></p></td></tr><tr><td><p>1</p></td><td><p>Bed Tax</p></td></tr><tr><td><p>2</p></td><td><p>City Hotel Fee</p></td></tr><tr><td><p>3</p></td><td><p>City Tax</p></td></tr><tr><td><p>4</p></td><td><p>County Tax</p></td></tr><tr><td><p>5</p></td><td><p>Energy Tax</p></td></tr><tr><td><p>6</p></td><td><p>Federal Tax</p></td></tr><tr><td><p>7</p></td><td><p>Food &amp; Beverage Tax</p></td></tr><tr><td><p>8</p></td><td><p>Lodging Tax</p></td></tr><tr><td><p>9</p></td><td><p>Maintenance Fee</p></td></tr><tr><td><p>10</p></td><td><p>Occupancy Tax</p></td></tr><tr><td><p>11</p></td><td><p>Package Fee</p></td></tr><tr><td><p>12</p></td><td><p>Resort Fee</p></td></tr><tr><td><p>13</p></td><td><p>Sales Tax</p></td></tr><tr><td><p>14</p></td><td><p>Service Charge</p></td></tr><tr><td><p>15</p></td><td><p>State Tax</p></td></tr><tr><td><p>16</p></td><td><p>Surcharge</p></td></tr><tr><td><p>17</p></td><td><p>Total Tax</p></td></tr><tr><td><p>18</p></td><td><p>Tourism Tax</p></td></tr><tr><td><p>19</p></td><td><p>VAT/GST Tax</p></td></tr><tr><td><p>27</p></td><td><p>Miscellaneous Fee</p></td></tr><tr><td><p>27</p></td><td><p>Miscellaneous Tax</p></td></tr><tr><td><p>28</p></td><td><p>Room Tax</p></td></tr></tbody></table></div><p><br /></p>\n\n                \n        \n    \n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    &lt;/div&gt;\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"dbd18522-dc5f-488f-a219-b598cdbd0bcb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"84489597-e65a-43d5-88a9-281c13727299","type":"text/javascript","exec":[""]}}],"_postman_id":"d44a6d77-ec7e-47d7-83ca-630eb2119f22"}],"id":"bddb5058-b5b0-4474-afdd-072454a15cd7","description":" <p></p><div class=\"toc-macro client-side-toc-macro  conf-macro output-block\"> </div><p></p><h1 id=\"OTAAPIDocument-Overview\">Overview</h1><p>Agoda OTA API is an interface that let you manage your rates and availability for Agoda. This document will help you understand how to send the requests to OTA API and how to read the response messages.</p><h2 id=\"OTAAPIDocument-OTAAPIVersions\">OTA API Versions</h2><p>Currently Agoda supports two versions of the OTA sepccifications which are:</p><ol><li>2013A</li><li>2015B</li></ol><h2 id=\"OTAAPIDocument-Functions\">Functions</h2><p>Please see below the available requests and their descriptions.</p><div class=\"table-wrap\"><table><tbody><tr><th>Request</th><th>Response</th><th>Description</th></tr><tr><td>OTA_HotelAvailNotifRQ</td><td>OTA_HotelAvailNotifRS</td><td>Update the availability restrictions for one room type in a single hotel. The restrictions include closed for sale, closed to arrival, closed to departure, length of stay.</td></tr><tr><td>OTA_HotelBookingRuleNotifRQ</td><td>OTA_HotelBookingRuleNotifRS</td><td>Update the booking rules for one room type in a single hotel. The booking rule include min advance purchase, max advance purchase, or absolute cut off date.</td></tr><tr><td>OTA_HotelRateAmountNotifRQ</td><td>OTA_HotelRateAmountNotifRS</td><td>Update the availability and rates for one room type in a single hotel. The rates include availability, rates, taxes, fees, meal plan, and cancellation policies.</td></tr></tbody></table></div><h1 id=\"OTAAPIDocument-Background\">Background</h1><p>In order for you to understand the terms and descriptions of elements we used in OTA API, please find the details of the important elements here.</p><h2 id=\"OTAAPIDocument-RatePlan\">Rate Plan</h2><p>To be added</p><p>RatePlanCode</p><h2 id=\"OTAAPIDocument-Room\">Room</h2><p>To be added</p><p>InvgtypeCode</p><h2 id=\"OTAAPIDocument-Channel\">Channel</h2><p>To be added</p><h1 id=\"OTAAPIDocument-EndPointsandAuthentication\">End Points and Authentication</h1><h2 id=\"OTAAPIDocument-EndPoints\">End Points</h2><p>In order to connect to Agoda OTA API, please use the end points as specified below. Please noted that we offer different end points for each version.</p><div class=\"table-wrap\"><table><tbody><tr><th>Function</th><th>2013A URI</th><th>2015B URI</th></tr><tr><td>OTA_HotelAvailNotifRQ</td><td><a href=\"http://supplyota.agoda.com/b2b/ota/2013A/hotels\">http://supplyota.agoda.com/b2b/ota/2013A/hotels</a></td><td><a href=\"http://supplyota.agoda.com/b2b/ota/2013A/hotels\">http://supplyota.agoda.com/b2b/ota/2015B/hotels</a></td></tr><tr><td>OTA_HotelBookingRuleNotifRQ</td><td><a href=\"http://supplyota.agoda.com/b2b/ota/2013A/hotels\">http://supplyota.agoda.com/b2b/ota/2013A/hotels</a></td><td><a href=\"http://supplyota.agoda.com/b2b/ota/2013A/hotels\">http://supplyota.agoda.com/b2b/ota/2015B/hotels</a></td></tr><tr><td>OTA_HotelRateAmountNotifRQ</td><td><a href=\"http://supplyota.agoda.com/b2b/ota/2013A/hotels\">http://supplyota.agoda.com/b2b/ota/2013A/hotels</a></td><td><a href=\"http://supplyota.agoda.com/b2b/ota/2013A/hotels\">http://supplyota.agoda.com/b2b/ota/2015B/hotels</a></td></tr></tbody></table></div><h2 id=\"OTAAPIDocument-Authentication\">Authentication</h2><p>The Agoda OTA API requires HTTP Basic Authentication which is the encryption (base64) of the \"username:password\". The authentication must be available in the header of the request.</p><p><img src=\"https://i.imgur.com/Nc6NLk8.png\" alt=\"authentication\" /></p><p><br /></p><p>Normally the rest API application will provide the encryption for you. Just enter the username and password you receive from Agoda.</p><p><img src=\"https://i.imgur.com/0okV17z.png\" alt=\"authentication2\" /><br /></p><p><br /></p>","event":[{"listen":"prerequest","script":{"id":"dd43fe11-a287-470b-ae65-72714fea117c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2fc286e7-d71e-4102-95b2-791afcea16f2","type":"text/javascript","exec":[""]}}],"_postman_id":"bddb5058-b5b0-4474-afdd-072454a15cd7"},{"name":"Lists & Codes","item":[{"name":"Special Request List","item":[],"id":"b8f971f5-902e-4f60-bd7a-5b354ad36aa4","description":"\n<div class=\"tg-wrap\"><table>\n  <tr>\n    <td>﻿Special requests FE</td>\n    <td>Special requests XML push booking</td>\n  </tr>\n  <tr>\n    <td>Non-smoking room</td>\n    <td>NonSmoke</td>\n  </tr>\n  <tr>\n    <td>Smoking room</td>\n    <td>SmokingRoom</td>\n  </tr>\n  <tr>\n    <td>Room on high floor</td>\n    <td>HighFloor</td>\n  </tr>\n  <tr>\n    <td>Quiet room</td>\n    <td>QuietRoom</td>\n  </tr>\n  <tr>\n    <td>Adjoining room</td>\n    <td>AdjoiningRoom</td>\n  </tr>\n  <tr>\n    <td>Large bed</td>\n    <td>LargeBed</td>\n  </tr>\n  <tr>\n    <td>Twin beds</td>\n    <td>TwinBeds</td>\n  </tr>\n  <tr>\n    <td>Baby cot</td>\n    <td>BabyCot</td>\n  </tr>\n  <tr>\n    <td>Early Check-In</td>\n    <td>EarlyCheckIn</td>\n  </tr>\n  <tr>\n    <td>Late Check-In</td>\n    <td>ArrivalFlightNo</td>\n  </tr>\n  <tr>\n    <td>Airport transfer</td>\n    <td>AirportTransfer:{value}</td>\n  </tr>\n  <tr>\n    <td>Arrival time</td>\n    <td>ArrivalTime:{value}</td>\n  </tr>\n  <tr>\n    <td>Additional Notes</td>\n    <td>AdditionalNotes:{value}</td>\n  </tr>\n  <tr>\n    <td>Arrival Flight No</td>\n    <td>ArrivalFlightNo:{value}</td>\n  </tr>\n  <tr>\n    <td>Depart Flight No</td>\n    <td>DepartFlightNo:{value}</td>\n  </tr>\n </table></div>","event":[{"listen":"prerequest","script":{"id":"b7822daa-a985-42b8-8277-789623f262cb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"08f7fbaa-55bc-487e-a28d-d0db334e34b6","type":"text/javascript","exec":[""]}}],"_postman_id":"b8f971f5-902e-4f60-bd7a-5b354ad36aa4"},{"name":"Language List","item":[],"id":"3b03ebc3-b56a-4705-9a6a-1b90a388defd","description":"\n<div class=\"tg-wrap\"><table>\n  <tr>\n    <td><h5>language_code</h5></td>\n    <td><h5>language_name</h5></td>\n  </tr>\n  <tr>\n    <td>AR</td>\n    <td>Arabic</td>\n  </tr>\n  <tr>\n    <td>BG</td>\n    <td>Bulgarian</td>\n  </tr>\n  <tr>\n    <td>CA</td>\n    <td>Catalan</td>\n  </tr>\n  <tr>\n    <td>CN</td>\n    <td>S.Chinese / Mainland</td>\n  </tr>\n  <tr>\n    <td>CS</td>\n    <td>Czech</td>\n  </tr>\n  <tr>\n    <td>DA</td>\n    <td>Danish</td>\n  </tr>\n  <tr>\n    <td>DE</td>\n    <td>German</td>\n  </tr>\n  <tr>\n    <td>EL</td>\n    <td>Greek</td>\n  </tr>\n  <tr>\n    <td>EN</td>\n    <td>English</td>\n  </tr>\n  <tr>\n    <td>ES</td>\n    <td>Spanish</td>\n  </tr>\n  <tr>\n    <td>ET</td>\n    <td>Estonian</td>\n  </tr>\n  <tr>\n    <td>FI</td>\n    <td>Finnish</td>\n  </tr>\n  <tr>\n    <td>FR</td>\n    <td>French</td>\n  </tr>\n  <tr>\n    <td>HE</td>\n    <td>Hebrew</td>\n  </tr>\n  <tr>\n    <td>HI</td>\n    <td>Hindi</td>\n  </tr>\n  <tr>\n    <td>HR</td>\n    <td>Croatian</td>\n  </tr>\n  <tr>\n    <td>HU</td>\n    <td>Hungarian</td>\n  </tr>\n  <tr>\n    <td>ID</td>\n    <td>Indonesian</td>\n  </tr>\n  <tr>\n    <td>IT</td>\n    <td>Italian</td>\n  </tr>\n  <tr>\n    <td>JA</td>\n    <td>Japanese</td>\n  </tr>\n  <tr>\n    <td>KO</td>\n    <td>Korean</td>\n  </tr>\n  <tr>\n    <td>LT</td>\n    <td>Lithuanian</td>\n  </tr>\n  <tr>\n    <td>LV</td>\n    <td>Latvian</td>\n  </tr>\n  <tr>\n    <td>MS</td>\n    <td>Malay</td>\n  </tr>\n  <tr>\n    <td>NL</td>\n    <td>Dutch</td>\n  </tr>\n  <tr>\n    <td>NO</td>\n    <td>Norwegian</td>\n  </tr>\n  <tr>\n    <td>PL</td>\n    <td>Polish</td>\n  </tr>\n  <tr>\n    <td>PT</td>\n    <td>Portugese</td>\n  </tr>\n  <tr>\n    <td>RO</td>\n    <td>Romanian</td>\n  </tr>\n  <tr>\n    <td>RU</td>\n    <td>Russian</td>\n  </tr>\n  <tr>\n    <td>SL</td>\n    <td>Slovenian</td>\n  </tr>\n  <tr>\n    <td>SV</td>\n    <td>Swedish</td>\n  </tr>\n  <tr>\n    <td>TH</td>\n    <td>Thai</td>\n  </tr>\n  <tr>\n    <td>TR</td>\n    <td>Turkish</td>\n  </tr>\n  <tr>\n    <td>UK</td>\n    <td>Ukrainian</td>\n  </tr>\n  <tr>\n    <td>VI</td>\n    <td>Vietnamese</td>\n  </tr>\n  <tr>\n    <td>ZH</td>\n    <td>T. Chinese</td>\n  </tr>\n</table></div>","event":[{"listen":"prerequest","script":{"id":"b1194eee-5d27-4909-9305-6618fada7a89","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6efa1811-55b4-4943-934f-57b4a2d254eb","type":"text/javascript","exec":[""]}}],"_postman_id":"3b03ebc3-b56a-4705-9a6a-1b90a388defd"},{"name":"Benefits List","item":[],"id":"74d601fe-87e9-4d42-90d0-063c3c689c11","description":"\n<div class=\"tg-wrap\"><table>\n  <tr>\n    <td><h5>Benefit id</h5></td>\n    <td><h5>Benefit name</h5></td>\n  </tr>\n  <tr>\n    <td>1</td>\n    <td>Breakfast</td>\n  </tr>\n  <tr>\n    <td>2</td>\n    <td>Lunch</td>\n  </tr>\n  <tr>\n    <td>3</td>\n    <td>Dinner</td>\n  </tr>\n  <tr>\n    <td>4</td>\n    <td>Beverages</td>\n  </tr>\n  <tr>\n    <td>6</td>\n    <td>Parking</td>\n  </tr>\n  <tr>\n    <td>8</td>\n    <td>Airport transfer [one way]</td>\n  </tr>\n  <tr>\n    <td>9</td>\n    <td>Airport transfer [both ways]</td>\n  </tr>\n  <tr>\n    <td>10</td>\n    <td>Welcome drink</td>\n  </tr>\n  <tr>\n    <td>11</td>\n    <td>Bottle of wine</td>\n  </tr>\n  <tr>\n    <td>12</td>\n    <td>Free room upgrade</td>\n  </tr>\n  <tr>\n    <td>13</td>\n    <td>Afternoon tea</td>\n  </tr>\n  <tr>\n    <td>14</td>\n    <td>Late check-out</td>\n  </tr>\n  <tr>\n    <td>15</td>\n    <td>Early check-in</td>\n  </tr>\n  <tr>\n    <td>16</td>\n    <td>Restaurant credit</td>\n  </tr>\n  <tr>\n    <td>17</td>\n    <td>Spa credit</td>\n  </tr>\n  <tr>\n    <td>18</td>\n    <td>Club lounge access</td>\n  </tr>\n  <tr>\n    <td>19</td>\n    <td>Bottle of sparkling wine</td>\n  </tr>\n  <tr>\n    <td>20</td>\n    <td>Breakfast for 1</td>\n  </tr>\n  <tr>\n    <td>21</td>\n    <td>Iftar</td>\n  </tr>\n  <tr>\n    <td>22</td>\n    <td>Suhor</td>\n  </tr>\n  <tr>\n    <td>25</td>\n    <td>Airport pick-up</td>\n  </tr>\n  <tr>\n    <td>26</td>\n    <td>Breakfast for 2</td>\n  </tr>\n  <tr>\n    <td>27</td>\n    <td>Buffet dinner</td>\n  </tr>\n  <tr>\n    <td>28</td>\n    <td>Car rental</td>\n  </tr>\n  <tr>\n    <td>29</td>\n    <td>Casino credit</td>\n  </tr>\n  <tr>\n    <td>30</td>\n    <td>Complimentary phone card</td>\n  </tr>\n  <tr>\n    <td>31</td>\n    <td>Cruise dinner</td>\n  </tr>\n  <tr>\n    <td>32</td>\n    <td>Daily yoga class</td>\n  </tr>\n  <tr>\n    <td>33</td>\n    <td>Diving excursion</td>\n  </tr>\n  <tr>\n    <td>34</td>\n    <td>Express check-in</td>\n  </tr>\n  <tr>\n    <td>35</td>\n    <td>Free extra bed</td>\n  </tr>\n  <tr>\n    <td>36</td>\n    <td>Free gift</td>\n  </tr>\n  <tr>\n    <td>37</td>\n    <td>Free mini bar</td>\n  </tr>\n  <tr>\n    <td>38</td>\n    <td>Free shuttle service</td>\n  </tr>\n  <tr>\n    <td>39</td>\n    <td>Fruit basket</td>\n  </tr>\n  <tr>\n    <td>40</td>\n    <td>Japanese dinner</td>\n  </tr>\n  <tr>\n    <td>41</td>\n    <td>Kaiseki dinner</td>\n  </tr>\n  <tr>\n    <td>42</td>\n    <td>Limited bus pass</td>\n  </tr>\n  <tr>\n    <td>43</td>\n    <td>Limited golf package</td>\n  </tr>\n  <tr>\n    <td>44</td>\n    <td>Limited laundry service</td>\n  </tr>\n  <tr>\n    <td>45</td>\n    <td>Limited train pass</td>\n  </tr>\n  <tr>\n    <td>46</td>\n    <td>Local admission tickets</td>\n  </tr>\n  <tr>\n    <td>47</td>\n    <td>Safari tour</td>\n  </tr>\n  <tr>\n    <td>48</td>\n    <td>Selected beverages [alcoholic]</td>\n  </tr>\n  <tr>\n    <td></td>\n    <td></td>\n  </tr>\n  <tr>\n    <td>49</td>\n    <td>Selected beverages [non-alcoholic]</td>\n  </tr>\n  <tr>\n    <td>50</td>\n    <td>Selected watersports</td>\n  </tr>\n  <tr>\n    <td>51</td>\n    <td>Sightseeing tour</td>\n  </tr>\n  <tr>\n    <td>52</td>\n    <td>Special meal arrangements</td>\n  </tr>\n  <tr>\n    <td>53</td>\n    <td>Theme park tickets</td>\n  </tr>\n  <tr>\n    <td>54</td>\n    <td>Western dinner</td>\n  </tr>\n  <tr>\n    <td>55</td>\n    <td>All Inclusive</td>\n  </tr>\n  <tr>\n    <td>56</td>\n    <td>Airport drop-off</td>\n  </tr>\n  <tr>\n    <td>57</td>\n    <td>2 Complimentary Buffet credits</td>\n  </tr>\n  <tr>\n    <td>58</td>\n    <td>Beverage credit</td>\n  </tr>\n  <tr>\n    <td>59</td>\n    <td>Bike Rental</td>\n  </tr>\n  <tr>\n    <td>60</td>\n    <td>Complimentary show tickets</td>\n  </tr>\n  <tr>\n    <td>61</td>\n    <td>Dining discount</td>\n  </tr>\n  <tr>\n    <td>62</td>\n    <td>Ferry Transfer [both ways]</td>\n  </tr>\n  <tr>\n    <td>63</td>\n    <td>Ferry Transfer [one way]</td>\n  </tr>\n  <tr>\n    <td>64</td>\n    <td>Food &amp; Beverage credit</td>\n  </tr>\n  <tr>\n    <td>65</td>\n    <td>Food &amp; Drink discount</td>\n  </tr>\n  <tr>\n    <td>66</td>\n    <td>Food discount</td>\n  </tr>\n  <tr>\n    <td>67</td>\n    <td>Free meal upgrade (Dinner &amp; Lunch)</td>\n  </tr>\n  <tr>\n    <td>68</td>\n    <td>Late Check-In</td>\n  </tr>\n  <tr>\n    <td>69</td>\n    <td>Late check-out prior to 6 pm</td>\n  </tr>\n  <tr>\n    <td>70</td>\n    <td>Limited housekeeping</td>\n  </tr>\n  <tr>\n    <td>71</td>\n    <td>Motorcycle Rental</td>\n  </tr>\n  <tr>\n    <td>72</td>\n    <td>Resort Credit</td>\n  </tr>\n  <tr>\n    <td>73</td>\n    <td>Ski pass</td>\n  </tr>\n  <tr>\n    <td>74</td>\n    <td>Spa discount</td>\n  </tr>\n  <tr>\n    <td>75</td>\n    <td>Unlimited alcohol beverages at lounge</td>\n  </tr>\n  <tr>\n    <td>76</td>\n    <td>Water Park Tickets</td>\n  </tr>\n  <tr>\n    <td>77</td>\n    <td>Free Premium Wifi</td>\n  </tr>\n  <tr>\n    <td>78</td>\n    <td>Complimentary breakfast for 3 guests</td>\n  </tr>\n  <tr>\n    <td>79</td>\n    <td>Portable wifi unit during stay</td>\n  </tr>\n  <tr>\n    <td>80</td>\n    <td>Free local mobile SIM card</td>\n  </tr>\n  <tr>\n    <td>81</td>\n    <td>Mooncake</td>\n  </tr>\n  <tr>\n    <td>82</td>\n    <td>2 free drinks at coffee shop</td>\n  </tr>\n  <tr>\n    <td>83</td>\n    <td>Duty-free shopping gift voucher</td>\n  </tr>\n  <tr>\n    <td>84</td>\n    <td>Complimentary snacks</td>\n  </tr>\n  <tr>\n    <td>85</td>\n    <td>Free sauna access</td>\n  </tr>\n  <tr>\n    <td>86</td>\n    <td>In- room dinner</td>\n  </tr>\n  <tr>\n    <td>87</td>\n    <td>Wagyu beef dinner</td>\n  </tr>\n  <tr>\n    <td>88</td>\n    <td>Japanese robe free rental</td>\n  </tr>\n  <tr>\n    <td>89</td>\n    <td>Local breakfast</td>\n  </tr>\n  <tr>\n    <td>90</td>\n    <td>Crab dinner</td>\n  </tr>\n  <tr>\n    <td>91</td>\n    <td>Public Transportation Credit</td>\n  </tr>\n  <tr>\n    <td>92</td>\n    <td>Water Activities</td>\n  </tr>\n  <tr>\n    <td>93</td>\n    <td>Meeting Room</td>\n  </tr>\n  <tr>\n    <td>94</td>\n    <td>Parking Credit</td>\n  </tr>\n  <tr>\n    <td>95</td>\n    <td>Free WiFi</td>\n  </tr>\n  <tr>\n    <td>96</td>\n    <td>Room Phone Credit</td>\n  </tr>\n  <tr>\n    <td>97</td>\n    <td>Foot Massage</td>\n  </tr>\n  <tr>\n    <td>98</td>\n    <td>Full Body Massage</td>\n  </tr>\n  <tr>\n    <td>99</td>\n    <td>Free entry to Infinity Pool</td>\n  </tr>\n  <tr>\n    <td>100</td>\n    <td>Free entry to Sands Sky Park</td>\n  </tr>\n  <tr>\n    <td>101</td>\n    <td>Free entry to Banyan Tree Fitness Club</td>\n  </tr>\n  <tr>\n    <td>102</td>\n    <td>Sunset Cruise</td>\n  </tr>\n  <tr>\n    <td>103</td>\n    <td>Dolphin Cruise</td>\n  </tr>\n  <tr>\n    <td>104</td>\n    <td>Local Island Excursion</td>\n  </tr>\n  <tr>\n    <td>105</td>\n    <td>Sunset Fishing Excursion</td>\n  </tr>\n  <tr>\n    <td>106</td>\n    <td>Snorkeling Excursion</td>\n  </tr>\n  <tr>\n    <td>107</td>\n    <td>One Half Day Excursion per Person per Stay</td>\n  </tr>\n  <tr>\n    <td>108</td>\n    <td>One Night Fishing per Person per Stay</td>\n  </tr>\n  <tr>\n    <td>109</td>\n    <td>2 Adventure Cove Waterpark Tickets</td>\n  </tr>\n  <tr>\n    <td>110</td>\n    <td>2 S.E.A. Aquarium Tickets</td>\n  </tr>\n  <tr>\n    <td>111</td>\n    <td>2 The Maritime Museum and Typhoon Theater Tickets</td>\n  </tr>\n  <tr>\n    <td>112</td>\n    <td>2 Universal Studios Singapore Tickets</td>\n  </tr>\n  <tr>\n    <td>113</td>\n    <td>Basic Kaiseki Dinner</td>\n  </tr>\n  <tr>\n    <td>114</td>\n    <td>Casual Kaiseki Dinner</td>\n  </tr>\n  <tr>\n    <td>115</td>\n    <td>Free Fitness Center Access</td>\n  </tr>\n  <tr>\n    <td>116</td>\n    <td>Free Pool Access</td>\n  </tr>\n  <tr>\n    <td>117</td>\n    <td>Ladies Amenities</td>\n  </tr>\n  <tr>\n    <td>118</td>\n    <td>Premium Kaiseki Dinner</td>\n  </tr>\n  <tr>\n    <td>119</td>\n    <td>Private Hot Spring Bath</td>\n  </tr>\n  <tr>\n    <td>120</td>\n    <td>Quo Card</td>\n  </tr>\n  <tr>\n    <td>121</td>\n    <td>Vegetarian Breakfast</td>\n  </tr>\n  <tr>\n    <td>122</td>\n    <td>Vegetarian Dinner</td>\n  </tr>\n</table></div>","_postman_id":"74d601fe-87e9-4d42-90d0-063c3c689c11"},{"name":"Error List","item":[],"id":"4e9e2f7d-782b-43ad-ad0f-2a1d6723fb3a","description":"\n<div class=\"tg-wrap\"><table>\n  <tr>\n    <td><h5>Request Type</h5></td>\n    <td><h5>Error   Type</h5></td>\n    <td><h5>Error   List</h5></td>\n    <td><h5>Error   Message</h5></td>\n  </tr>\n  <tr>\n    <td>Generic   Errors</td>\n    <td>Date</td>\n    <td>dates   Range Error</td>\n    <td>1101,   \"From date: xxxs cannot be later than To date: xxxs\"</td>\n  </tr>\n  <tr>\n    <td>Generic Errors</td>\n    <td>Date</td>\n    <td>from Date Error</td>\n    <td>1102, \"From date: xxxs cannot be earlier   than yesterday and cannot be later than xxxs days\"</td>\n  </tr>\n  <tr>\n    <td>Generic   Errors</td>\n    <td>Date</td>\n    <td>to   Date Error</td>\n    <td>1103,   \"To date: xxxs cannot be earlier than yesterday and cannot be later than   xxxs days\"</td>\n  </tr>\n  <tr>\n    <td>Generic Errors</td>\n    <td>Date</td>\n    <td>date Value Error</td>\n    <td>1104, \"Date values cannot be earlier than   yesterday and cannot be later than xxxs days\"</td>\n  </tr>\n  <tr>\n    <td>Generic   Errors</td>\n    <td>ApiKey</td>\n    <td>invalidApiKeyError</td>\n    <td>1201,   \"API key is not authorised for Property id: xxxs\"</td>\n  </tr>\n  <tr>\n    <td>Generic Errors</td>\n    <td>Property Id</td>\n    <td>invalidPropertyId</td>\n    <td>1301, \"Invalid Property id: xxxs\"</td>\n  </tr>\n  <tr>\n    <td>Generic   Errors</td>\n    <td>Language</td>\n    <td>notSupportedByAgoda</td>\n    <td>1401,   \"Requested language: xxxs is not supported by Agoda\"</td>\n  </tr>\n  <tr>\n    <td>Generic Errors</td>\n    <td>Language</td>\n    <td>notSupportedByHotel</td>\n    <td>1402, \"Requested language: xxxs is not   supported by the property xxxs\"</td>\n  </tr>\n  <tr>\n    <td>Generic   Errors</td>\n    <td>request</td>\n    <td>invalidRequest</td>\n    <td>1501,   \"The request is invalid: %s\"</td>\n  </tr>\n  <tr>\n    <td>Generic Errors</td>\n    <td>request</td>\n    <td>invalidInput</td>\n    <td>1502, \"The requested xml contains invalid   input: %s\"</td>\n  </tr>\n  <tr>\n    <td>Generic   Errors</td>\n    <td>request</td>\n    <td>unauthorized</td>\n    <td>1503,   \"Authentication failed: %s\"</td>\n  </tr>\n  <tr>\n    <td>Generic Errors</td>\n    <td>request</td>\n    <td>rateLimit</td>\n    <td>1504, \"Rate limit has been exceeed:   %s\"</td>\n  </tr>\n  <tr>\n    <td>Generic   Errors</td>\n    <td>request</td>\n    <td>duplicate</td>\n    <td>1506,   \"Property number has exceed the limit of %s\"</td>\n  </tr>\n  <tr>\n    <td>Generic Errors</td>\n    <td>request</td>\n    <td>bookingExceedLimit</td>\n    <td>1507, \"Booking number has exceed the limit   of %s per property\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>request</td>\n    <td>requestsize</td>\n    <td>1508, \"The request payload is too large: max size allowed 1000000 but got xxxxxx bytes\"</td>\n  </tr>\n  <tr>\n    <td>Generic   Errors</td>\n    <td>request</td>\n    <td>invalidSchema</td>\n    <td>1511,   could be vary depending on xsd formats, \"[Line: &lt;line_number&gt;   Column: &lt;column_number&gt;] &lt;description_of_error&gt;\"</td>\n  </tr>\n  <tr>\n    <td>Generic Errors</td>\n    <td>rateModelError</td>\n    <td>invalidRateModel</td>\n    <td>1601, \"The requested property (%s) has   incorrect rate model\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre   Validation</td>\n    <td>ratesDefaultError</td>\n    <td>2101,   \"Default rate is required but does not exist\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre Validation</td>\n    <td>ratesOccupancyErrorSingleDouble</td>\n    <td>2102, \"Single rate cannot be greater than   Double rate\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre   Validation</td>\n    <td>ratesOccupancyErrorDoubleFull</td>\n    <td>2103,   \"Double rate cannot be greater than Full rate\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre Validation</td>\n    <td>invalidCurrencyError</td>\n    <td>2105, \"Invalid input for currency:   xxxs\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre   Validation</td>\n    <td>maxLOSError</td>\n    <td>2106,   \"Max LOS: xxxs cannot be less than xxxs or greater than xxxs\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre Validation</td>\n    <td>minLOSError</td>\n    <td>2107, \"Min LOS: xxxs cannot be less than   xxxs or greater than xxxs\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre   Validation</td>\n    <td>minLosGtError</td>\n    <td>2108,   \"Min LOS: xxxs cannot be greater than Max LOS: xxxs\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre Validation</td>\n    <td>maxLosLtError</td>\n    <td>2109, \"Max LOS: xxxs cannot be less than   Min LOS: %s\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre   Validation</td>\n    <td>setAriDateValueError</td>\n    <td>2110,   \"Date Value cannot be more than xxxs days\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre Validation</td>\n    <td>dowOutOfInvervalError</td>\n    <td>2111, \"DOW xxxs not falling between date   range xxxs (xxxs)\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre   Validation</td>\n    <td>occupancyModeError</td>\n    <td>2112,   \"At least one occupancy rate must be set in OVERWRITE or OVERLAY   mode.\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre Validation</td>\n    <td>fromDateError</td>\n    <td>2213, \"From date: %s cannot be earlier   than yesterday\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre   Validation</td>\n    <td>toDateError</td>\n    <td>2214,   \"To date: %s cannot be earlier than yesterday\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Pre Validation</td>\n    <td>dateValueError</td>\n    <td>2215, \"Date values cannot be earlier than   yesterday\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Post Validation</td>\n    <td>maxRoomsError</td>\n    <td>2202, \"Allotment: xxxs cannot be greater   than xxxs\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Post   Validation</td>\n    <td>hotelCurrencyError</td>\n    <td>2203,   \"Requested currency: xxxs does not match with Property currency:   xxxs\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Post Validation</td>\n    <td>maxOccError</td>\n    <td>2204, \"Price provided not sufficient for   Max occupancy xxxs, rate missing: xxxs\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Post   Validation</td>\n    <td>invalidRoomError</td>\n    <td>2205,   \"Room: xxxs does not exist for Property id: xxxs\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Post Validation</td>\n    <td>redundancyRateError</td>\n    <td>2206, \"Cannot set xxxs because max   occupancy is xxxs\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Post   Validation</td>\n    <td>extraBedIsNotSet</td>\n    <td>2207,   \"Extrabed is xxxs, please set Extra Bed rate\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Post Validation</td>\n    <td>cannotSetExtraBed</td>\n    <td>2208, \"Max extrabed has not been set, You   cannot set the extrabed rate\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Post   Validation</td>\n    <td>invalidRatePlan</td>\n    <td>2209,   \"Rate plan: xxxs does not exist for Property id: xxxs\"</td>\n  </tr>\n  <tr>\n    <td>SetAri</td>\n    <td>Post Validation</td>\n    <td>isChildRatePlan</td>\n    <td>2210, \"Rate plan: xxxs is child rate plan   which is not allow to set rate\"</td>\n  </tr>\n  <tr>\n    <td>GetAri</td>\n    <td>Pre Validation</td>\n    <td>getAriDateRangeError</td>\n    <td>3101, \"Date Range for GetAri cannot be   longer than 31 days, xxxs days</td>\n  </tr>\n  <tr>\n    <td>GetAri</td>\n    <td>Pre   Validation</td>\n    <td> </td>\n    <td>requested\"</td>\n  </tr>\n  <tr>\n    <td>GetAri</td>\n    <td>Pre Validation</td>\n    <td>invalidRoomError</td>\n    <td>3102, \"Room: xxxs does not exist for   Property id: xxxs\"</td>\n  </tr>\n  <tr>\n    <td>GetAri</td>\n    <td>Pre   Validation</td>\n    <td>invalidRatePlan</td>\n    <td>3103,   \"Rate plan: xxxs does not exist for Property id: xxxs\"</td>\n  </tr>\n  <tr>\n    <td>GetBookingList</td>\n    <td>Pre Validation</td>\n    <td>isChildRatePlan</td>\n    <td>3104, \"Rate plan: xxxs is child rate plan   which is not allow to get rate\"</td>\n  </tr>\n  <tr>\n    <td>GetBookingList</td>\n    <td>Pre   Validation</td>\n    <td>fromDateError</td>\n    <td>4101,   \"From date: xxxs cannot be older than 90 days\"</td>\n  </tr>\n  <tr>\n    <td>GetBookingList</td>\n    <td>Pre Validation</td>\n    <td>dateRangeError</td>\n    <td>4102, \"Date Range for GetBookingList   cannot be longer than 90 days, xxxs days requested\"</td>\n  </tr>\n  <tr>\n    <td>GetBookingList</td>\n    <td>Pre   Validation</td>\n    <td>timeZoneError</td>\n    <td>4103,   \"Timezone defined in 'From' and 'To' must be the same\"</td>\n  </tr>\n  <tr>\n    <td>GetBookingListV2</td>\n    <td>Pre Validation</td>\n    <td>offSetError</td>\n    <td>4104, \"Timezone offset is invalid\"</td>\n  </tr>\n  <tr>\n    <td>GetBookingListV3</td>\n    <td>Pre   Validation</td>\n    <td>fromDateError</td>\n    <td>11101,   \"From date: %s cannot be later than %s days\"</td>\n  </tr>\n  <tr>\n    <td>GetBookingListV4</td>\n    <td>Pre Validation</td>\n    <td>timeZoneError</td>\n    <td>11103, \"Timezone defined in 'From' and   'To' must be the same\"</td>\n  </tr>\n  <tr>\n    <td>GetBookingListV5</td>\n    <td>Pre   Validation</td>\n    <td>offSetError</td>\n    <td>11104,   \"Timezone offszet is invalid\"</td>\n  </tr>\n  <tr>\n    <td>GetProduct</td>\n    <td>Pre Validation</td>\n    <td>timeRangeError</td>\n    <td>11105, \"Time Range for GetBookinglistV2   cannot be longer than %s minutes, around %s minutes requested\"</td>\n  </tr>\n  <tr>\n    <td>GetProduct</td>\n    <td>Pre   Validation</td>\n    <td>languageNotFoundError</td>\n    <td>7101,   \"Language: xxxs is invalid\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre Validation</td>\n    <td>invalidRoomError</td>\n    <td>10101, \"Room: %s does not exist for   Property id: %s\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre   Validation</td>\n    <td>invalidRatePlan</td>\n    <td>10102,   \"Rate plan: %s does not exist for Property id: %s\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre Validation</td>\n    <td>invalidHotelCurrency</td>\n    <td>10103, \"Requested currency: %s does not   match with Property currency: %s\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre   Validation</td>\n    <td>numPersonError</td>\n    <td>10104,   \"num_persons: %s must be between 1 and 30\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre Validation</td>\n    <td>minRateError</td>\n    <td>10105, \"Min rate: %s must be between 1 and   999999999\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre   Validation</td>\n    <td>minRateWithoutCurrencyError</td>\n    <td>10106,   \"Currency must be specified when setting min_rate\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre Validation</td>\n    <td>minLosError</td>\n    <td>10107, \"Min LOS: %s must be between 1 and   99\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre   Validation</td>\n    <td>maxLosError</td>\n    <td>10108,   \"Max LOS: %s must be between 0 and 99\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre Validation</td>\n    <td>minLosGtError</td>\n    <td>10109, \"Min LOS: %s cannot be greater than   Max LOS: %s\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre   Validation</td>\n    <td>maxLosLtError</td>\n    <td>10110,   \"Max LOS: %s cannot be less than Min LOS: %s\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre Validation</td>\n    <td>minAdvError</td>\n    <td>10111, \"min_adv_days: %s must be between 0   and 90\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre   Validation</td>\n    <td>maxAdvError</td>\n    <td>10112,   \"max_adv_days: %s must be between -1 and 90\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre Validation</td>\n    <td>minAdvGtError</td>\n    <td>10113, \"min_adv_days: %s cannot be greater   than max_adv_days: %s\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre   Validation</td>\n    <td>maxAdvLtError</td>\n    <td>10114,   \"max_adv_days: %s cannot be less than min_adv_days: %s\"</td>\n  </tr>\n  <tr>\n    <td>setProductErrors</td>\n    <td>Pre Validation</td>\n    <td>minRateGtError</td>\n    <td>10115, \"Min rate: %s cannot be greater   than Max rate: %s\"</td>\n  </tr>\n  <tr>\n    <td>apiErrors</td>\n    <td>Internal   Error</td>\n    <td>internalException</td>\n    <td>99101,   \"There was an internal server error: %s\"</td>\n  </tr>\n  <tr>\n    <td>xsdErrors</td>\n    <td>Xsd Validation</td>\n    <td>xsdSchemaError</td>\n    <td>1511, \"[Line:&lt;LINE_NUMBER&gt;   Column:&lt;COLUMN_NUMBER&gt;] &lt;DESCRIPTION_OF_ERROR&gt;]\"</td>\n  </tr>\n</table></div>","event":[{"listen":"prerequest","script":{"id":"de1e734d-f891-48f3-885d-bee9a82cb4de","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dff78438-2055-4708-88a9-9f47d1f00531","type":"text/javascript","exec":[""]}}],"_postman_id":"4e9e2f7d-782b-43ad-ad0f-2a1d6723fb3a"}],"id":"6543e080-d2de-4101-8ef8-a9d9f2d9bd48","_postman_id":"6543e080-d2de-4101-8ef8-a9d9f2d9bd48","description":""}],"event":[{"listen":"prerequest","script":{"id":"d3d18ea6-c567-4a1f-a4d0-07e199448230","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"af2bb2b0-8d03-4648-b54b-8d3b2d7aaafb","type":"text/javascript","exec":[""]}}]}