Send Update Rate Amount in Channel
The method can do simultaneous updates of Rate Amount for multiple Periods and Rate/Room combinations within a Hotel.
Body Parameters
| Name | Description | Type | Required? |
|---|---|---|---|
| hotelID | The code uniquely identifies a single hotel property. The hotel code is decided between vendors. | integer | Required |
| data | A collection of sets for Availability and RatePrices | Collection of AvailAndRateAmountMessageType | Required |
Request Example 001
In this example, it will be able to update the period
- 2022-10-25 to 2022-10-27 for room (Standard Double) at rate plan (Rate Public With Breakfast) with a maximum of 4 pax
- 2022-10-28 to 2022-10-28 for room (Standard Double) at rate plan (Rate Public With Breakfast) with a maximum of 4 pax
{ "hotelID": 1, "data": [ { "Rate": { "CurrencyCode": "BRL", "BaseByGuestAmts": [ { "NumberOfGuests": 1, "AmountBeforeTax": 505, "AgeQualifyingCode": "Adult" }, { "NumberOfGuests": 2, "AmountBeforeTax": 525, "AgeQualifyingCode": "Adult" }, { "NumberOfGuests": 3, "AmountBeforeTax": 545, "AgeQualifyingCode": "Adult" } { "NumberOfGuests": 4, "AmountBeforeTax": 585, "AgeQualifyingCode": "Adult" } ], "AdditionalGuestAmounts": [ { "Amount": 0, "NumberOfGuests": 1, "AgeQualifyingCode": "Child" }, { "Amount": 0, "NumberOfGuests": 2, "AgeQualifyingCode": "Child" }, { "Amount": 0, "NumberOfGuests": 3, "AgeQualifyingCode": "Child" } { "Amount": 0, "NumberOfGuests": 4, "AgeQualifyingCode": "Child" } ] }, "StatusApplicationControl": { "Start": "2022-10-25T00:00:00.000Z", "End": "2022-10-27T23:59:59.000Z", "InvTypeCode": 355, "RatePlanCode": 233, "Fri": true, "Mon": true, "Sat": true, "Sun": true, "Tue": true, "Thur": true, "Weds": true } },{ "Rate": { "CurrencyCode": "BRL", "BaseByGuestAmts": [ { "NumberOfGuests": 1, "AmountBeforeTax": 340, "AgeQualifyingCode": "Adult" }, { "NumberOfGuests": 2, "AmountBeforeTax": 360, "AgeQualifyingCode": "Adult" }, { "NumberOfGuests": 3, "AmountBeforeTax": 380, "AgeQualifyingCode": "Adult" } { "NumberOfGuests": 4, "AmountBeforeTax": 400, "AgeQualifyingCode": "Adult" } ], "AdditionalGuestAmounts": [ { "Amount": 0, "NumberOfGuests": 1, "AgeQualifyingCode": "Child" }, { "Amount": 0, "NumberOfGuests": 2, "AgeQualifyingCode": "Child" }, { "Amount": 0, "NumberOfGuests": 3, "AgeQualifyingCode": "Child" } { "Amount": 0, "NumberOfGuests": 4, "AgeQualifyingCode": "Child" } ] }, "StatusApplicationControl": { "Start": "2022-10-28T00:00:00.000Z", "End": "2022-10-28T23:59:59.000Z", "InvTypeCode": 355, "RatePlanCode": 233, "Fri": true, "Mon": true, "Sat": true, "Sun": true, "Tue": true, "Thur": true, "Weds": true } }, ]}Request Example 001
In this example, it will be able to update the period
- 2022-10-28 to 2022-10-28 for room (Standard Single) at rate plan (Rate Public With Breakfast) with a maximum of 2 pax
- 2022-10-25 to 2022-10-27 for room (Standard Single) at rate plan (Rate Public With Breakfast) with a maximum of 2 pax
{ "hotelID": 1, "data": [ { "Rate": { "CurrencyCode": "BRL", "BaseByGuestAmts": [ { "NumberOfGuests": 1, "AmountBeforeTax": 200, "AgeQualifyingCode": "Adult" }, { "NumberOfGuests": 2, "AmountBeforeTax": 230, "AgeQualifyingCode": "Adult" } ], "AdditionalGuestAmounts": [ { "Amount": 0, "NumberOfGuests": 1, "AgeQualifyingCode": "Child" }, { "Amount": 0, "NumberOfGuests": 2, "AgeQualifyingCode": "Child" } ] }, "StatusApplicationControl": { "Start": "2022-10-28T00:00:00.000Z", "End": "2022-10-28T23:59:59.000Z", "InvTypeCode": 235, "RatePlanCode": 233, "Fri": true, "Mon": true, "Sat": true, "Sun": true, "Tue": true, "Thur": true, "Weds": true } }, { "Rate": { "CurrencyCode": "BRL", "BaseByGuestAmts": [ { "NumberOfGuests": 1, "AmountBeforeTax": 200, "AgeQualifyingCode": "Adult" }, { "NumberOfGuests": 2, "AmountBeforeTax": 230, "AgeQualifyingCode": "Adult" } ], "AdditionalGuestAmounts": [ { "Amount": 0, "NumberOfGuests": 1, "AgeQualifyingCode": "Child" }, { "Amount": 0, "NumberOfGuests": 2, "AgeQualifyingCode": "Child" } ] }, "StatusApplicationControl": { "Start": "2022-10-25T00:00:00.000Z", "End": "2022-10-27T23:59:59.000Z", "InvTypeCode": 235, "RatePlanCode": 233, "Fri": true, "Mon": true, "Sat": true, "Sun": true, "Tue": true, "Thur": true, "Weds": true } } ]}