Rate Management API is part of the Content API, however it's possible to use this part only for creating and managing Rate Plans.
This API supports textual content only in English language. The content text in English language will be translated to multiple languages on our side. The contents for other languages other than English will be ignored. The endpoints between Hotels and Vacation Rental properties are shared.
Version : 6.4.8
Host : content-push-sandbox.agoda.com
BasePath : /
Schemes : HTTPS, HTTP
Type : apiKey
Name : Authorization
In : HEADER
Build new or modify rates for properties which are authorized under your API credentials
List of RatePlans in OTA2017B format which need to be created
Name : body
Flags : required
Type : OTA_HotelRatePlanNotifRQ
application/xml
application/xml
RatePlans
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelRatePlanNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/2017B/OTA_HotelRatePlanNotifRQ.xsd">
<RatePlans HotelCode="9612080">
<RatePlan RatePlanCode="123" RatePlanID="RatePlan12" RatePlanNotifType="New" RatePlanType="1">
<Description Name="Standard Rate"/>
<TPA_Extensions>
<Channels>
<Channel ChannelCode="1"/>
</Channels>
</TPA_Extensions>
</RatePlan>
</RatePlans>
</OTA_HotelRatePlanNotifRQ>
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelRatePlanNotifRS CorrelationID="8b417d6a-f3df-4d65-870c-240378b8ad3e">
<Success/>
<RatePlanCrossRefs>
<RatePlanCrossRef RequestRatePlanCode="RatePlan12" ResponseRatePlanCode="123"/>
</RatePlanCrossRefs>
</OTA_HotelRatePlanNotifRS>
<OTA_HotelRatePlanNotifRS CorrelationID="325d8000-48cf-11ea-9337-8950898f7d75">
<Errors>
<Error Code="321" ShortText="Required field missing" Status="NotProcessed"/>
</Errors>
</OTA_HotelRatePlanNotifRS>
<OTA_HotelRatePlanNotifRS CorrelationID="325d8000-48cf-11ea-9337-8950898f7d75">
<Errors>
<Error Code="497" ShortText="Authorization error" Status="NotProcessed"/>
</Errors>
</OTA_HotelRatePlanNotifRS>