Request URL: https://supply.agoda.com/api?apiKey=ADDYOURAPIKEYHERE
Example Response - Total Failure Response
- HTTP Code = 400,401
<result TUID="558afd90-8cf1-11e9-9ae2-8b6047344a46" timestamp="1560330376169">
<errors>
<property id="5950804">
<error code="22210" description="Max LOS cannot be less than Min Los"/>
<error code="2201" description="Occupancy 1 rate: 20 Occupancy 2 rate: 20 Occupancy 3 rate: 20 Occupancy 4 rate: 20 Occupancy 5 rate: 20 should be between 25 and 100000"/>
</property>
</errors>
</result>
Example Response - Partial Success Response
- HTTP Code = 207
- Partial Success XML response format will be available after enabling the configuration at channel manager level
- If the configuration is not enabled, channel manager would receive XML error response in the total failure error response but with HTTP Code = 207
<result TUID="58f2b811-d1de-11ed-9b0d-9fa08989ceb6" status="PartialSuccess" timestamp="1680498842365">
<errors>
<property id="2458545">
<inventory>
<update room_id="3166794">
<date_range from="2023-06-09" to="2023-06-09">
<error code="2219" description="Date can not be greater than 730 days"/>
</date_range>
</update>
</inventory>
<rate>
<update rateplan_id="1222082" room_id="3166794">
<date_range from="2023-06-10" to="2023-06-10">
<error code="2101" description="Default rate is required but does not exist"/>
</date_range>
</update>
</rate>
</property>
</errors>
</result>
Example Response - Success Response
- HTTP Code = 200
<result TUID="5c798be0-8cf0-11e9-9b99-11547cdafa77" timestamp="1560329958302"/>
