Retrieve Rooms API - Restrict Availability and/or Rate Updates

 

The connected channel can return a list of RoomStays with additional details for each room and rate plan combination.

These additional functionality flags will disable their respective update types being sent from SiteConnect to the connected channel.

These flags are ONLY available for OTA_HotelAvailRS messages that make use of our @RatePlans node. All additional nodes are optional.

 


OTA_HotelAvailRS with AdditionalDetail Example

<OTA_HotelAvailRS xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2022-08-01T09:30:47+02:00" EchoToken="abc123"> <Success/> <RoomStays> <RoomStay> <RoomTypes> <RoomType RoomTypeCode="SGL"> <RoomDescription Name="Single Room"> <Text>Bedding is Queen sized bed. Continental breakfast for each guest.</Text> </RoomDescription> </RoomType> </RoomTypes> <RatePlans> <RatePlan RatePlanCode="LTS"> <RatePlanDescription Name="Long Term Stay"> <Text>Special offer for 3 nights stay, pay only for 2! Rates include breakfast.</Text> </RatePlanDescription> <AdditionalDetails> <AdditionalDetail Code="NO_RATES"/> <AdditionalDetail Code="NO_AVAILABILITY"/> </AdditionalDetails> </RatePlan> </RatePlans> </RoomStay> </RoomStays> </OTA_HotelAvailRS>

AdditionalDetail Specification

Element

Attribute

Number

Description

Element

Attribute

Number

Description

RoomStays / RoomStay / RatePlans / RatePlan / AdditionalDetails

 

0..1

A collection of AdditionalDetail.
Must be included only if there are additionalDetails that are to be included in the rate plan.

RoomStays / RoomStay / RatePlans / RatePlan / AdditionalDetails / AdditionalDetail

 

1..n

Mandatory if AdditionalDetails is used.

 

@Code

1

One code per AdditionalDetail, the following codes are supported:

  • NO_RATES

  • NO_AVAILABILITY