GetARIV2 - Request and Response

Request URL: https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE

Example Request

<?xml version="1.0" encoding="UTF-8"?>
            <request timestamp="{{now}}" type="11">
                <criteria from="2022-01-01" to="2022-01-01">
                    <property id="10730279" room_id="129340033" rateplan_id="3392615"  />
                </criteria>
            </request>

Example Response

<result timestamp="1587536851338">
            <properties item_count="1">
                <property id="10730279" date="2020-05-16">
                    <rates rateplan_id="3392615" currency="THB">
                        <room room_id="129340033" closed="false" cta="true" ctd="false" min_los="1" max_los="30" min_staythrough="0">
                            <prices>
                                <occupancy person="1" price="80.00"/>
                                <occupancy person="2" price="80.00"/>
                                <occupancy person="3" price="80.00"/>
                            </prices>
                            <child_rates>
                                <child_rate age_from="0" age_to="5" price="40.00" age_band_code="1"/>
                                <child_rate age_from="6" age_to="10" price="45.00" age_band_code="2"/>
                                <child_rate age_from="11" age_to="14" price="50.00" age_band_code="3"/>
                                <child_rate age_from="15" age_to="17" price="55.00" age_band_code="4"/>
                            </child_rates>
                        </room>
                    </rates>
                    <inventories>
                        <room room_id="129340033" allotment="3" guaranteed_allotment="0" allotment_used_regular="0" allotment_used_guaranteed="0" closed="false" cta="true" ctd="false"/>
                    </inventories>
                </property>
            </properties>
        </result>