Price and Availability Cache

This module has now been phased out and will no longer be supported.

The Price and Availability Cache requests provide the client with the ability to download a XML file which contains the price and availability data through the API.  All requests must be sent in a ASYNCHRONOUS mode; any request sent in a SYNCHRONOUS mode will return an error. Clients will need to supply a response URL to enable us to push the response back. All responses will be compressed using gzip. The token retrieval method will not be available for this module.

It is possible to request the following:

  • an XML file which contains the price and availability data
  • an XML file which contains the availability data only
  • an XML file which contains the price data only

These searches can be used by clients on Participation Levels 0 and 2. The output does not contain dynamic inventory.

Example XML Price and Availability Cache

The XML message below gives a sample of the expected elements needed by the API to execute a Price and Availability Cache request.

<?xml version="1.0" encoding="UTF-8" ?>
<Request>
	<Source>
		<RequestorID Client="123" EMailAddress="client@net.com" Password="xxx" />
		<RequestorPreferences Language="en" Currency="GBP" Country="GB">
	            <RequestMode>ASYNCHRONOUS</RequestMode>
                  <ResponseURL>/ProcessResponse/GetXML</ResponseURL> 
		</RequestorPreferences>
	</Source>
	<RequestDetails>
		<PriceAndAvailabilityCacheRequest>
                    <CurrencyCodes>
                           <CurrencyCode>GBP</CurrencyCode>
                           <CurrencyCode>USD</CurrencyCode>
                    </CurrencyCodes>
                    <PriceType>room</PriceType>
		       <ItemDestinations>
                           <ItemDestination DestinationType="city" 
                                            DestinationCode="AMS"/>
                           <ItemDestination DestinationType="city" 
                                            DestinationCode="PAR" 
                                            ItemCode="ABC"/>
                    </ItemDestinations>
                    <ImmediateConfirmationOnly/>
                    <CacheDataFormatPL2/>
                    <IncludeSpecialOffers/>
                   <IncludeRestrictions/>
	           <DateRange>
				<FromDate>2009-03-31</FromDate>
				<ToDate>2009-04-02</ToDate>
			</DateRange>
		</PriceAndAvailabilityCacheRequest>
	</RequestDetails>
</Request>

Source parameters

Please refer to the API Architecture document.

Price and Availability Cache request element/attributes

A Price and Availability Cache request can contain elements/attributes to filter the data returned.

The request can contain the following elements/attributes: 

Element

Description

CurrencyCodes

Optional. Used to determine a list of one or more currencies in which prices are to be returned.

CurrencyCode

 

ISO 4217 format, 3 letters

Optional. Used to determine the currency in which prices are to be returned. Constrained by currencies permitted for client. If not specified, the default currency for the client will be used. Only ISO codes will be accepted.

PriceType

Mandatory. Used to specify whether the prices will be returned per person or per room (“person” or “room”).

ItemDestinations

Mandatory. Used to specify a list of one or more destinations. A maximum of 50 cities can be specified in the request.

ImmediateConfirmationOnly

Optional. If present the response will contain results available only for immediate confirmation.

CacheDataFormatPL2 

Optional. Used to specify the format of the output file to be that of Participation Level 2. If not specified, the format of the output file will that of Participation Level 0.

IncludeSpecialOffers

Optional. Used to specify whether the output will contain Offers

IncludeRestrictions

Optional. Used to specify whether the output will contain information about restrictions for arrivals, departures and maximum nights. 

DateRange

Mandatory. Used to specify the date range for which the price and allotment information is required.

FromDate

Mandatory. The start date of the required date range. 

ToDate

Mandatory. The end date of the required date range. 

ItemDestinations element

The client can request a number of destinations through the <ItemDestinations> element. The latter is made up of a list of <ItemDestination> sub-elements:

Element

Description

ItemDestination

Mandatory. Used to return all items within the specified destination type (“city”) and destination code.

 

Attribute

Description

 

 DestinationType

Mandatory. Used to return all items within the specified DestinationType (“city”) and destination code.

 

DestinationCode

Mandatory. Used to return all items within the specified Destination Type (“city”).

 

ItemCode

Optional. If specified the details for the single item will be returned.


Example XML Price Cache

The XML message below gives a sample of the expected elements needed by the API to execute a Price Cache request.

 

<?xml version="1.0" encoding="UTF-8" ?>
<Request>
	<Source>
		<RequestorID Client="123" EMailAddress="client@net.com" Password="xxx" />
		<RequestorPreferences Language="en" Currency="GBP" Country="GB">
			<RequestMode>ASYNCHRONOUS</RequestMode>
      <ResponseURL>/ProcessResponse/GetXML</ResponseURL> 
		</RequestorPreferences>
	</Source>
	<RequestDetails>
		<PriceCacheRequest>
                    <CurrencyCodes>
                           <CurrencyCode>GBP</CurrencyCode>
                           <CurrencyCode>EUR</CurrencyCode>
                    </CurrencyCodes>
                    <PriceType>room</PriceType>
	             <ItemDestinations>
                           <ItemDestination DestinationType="city" 
                                            DestinationCode="AMS"/>
                           <ItemDestination DestinationType="city" 
                                            DestinationCode="PAR" 
                                            ItemCode="ABC"/>
                    </ItemDestinations>
                    <ImmediateConfirmationOnly/>
                    <CacheDataFormatPL2/>
                    <IncludeSpecialOffers/>
			 <DateRange>
				<FromDate>2009-03-31</FromDate>
				<ToDate>2009-04-02</ToDate>
			</DateRange>
		</PriceCacheRequest>
	</RequestDetails>
</Request>			 

Source parameters

Please refer to the API Architecture document.

Search Price Cache request element/attributes

A Price Cache request can contain elements/attributes to filter the data returned.

The request can contain the following elements/attributes: 

Element

Description

CurrencyCodes

Optional. Used to determine a list of one or more currencies in which prices are to be returned.

CurrencyCode

 

ISO 4217 format, 3 letters

Optional. Used to determine the currency in which prices are to be returned. Constrained by currencies permitted for client. If not specified, the default currency for the client will be used. Only ISO codes will be accepted.

PriceType

Mandatory. Used to specify whether the prices will be returned per person or per room (“person” or “room”).

ItemDestinations

Mandatory. Used to specify a list of one or more destinations. A maximum of 50 cities can be specified in the request.

ImmediateConfirmationOnly

Optional. If present the response will contain results available only for immediate confirmation.

CacheDataFormatPL2 

Optional. Used to specify the format of the output file to be that of Participation Level 2. If not specified, the format of the output file will be that of Participation Level 0.

IncludeSpecialOffers

Optional. Used to specify whether the output will contain Offers

DateRange

Mandatory. Used to specify the date range for which the price and allotment information is required.

FromDate

Mandatory. The start date of the required date range.

ToDate 

Mandatory. The end date of the required date range. 

ItemDestinations element 

The client can request a number of destinations through the <ItemDestinations> element. The latter is made up of a list of <ItemDestination> sub-elements:

Element

Description

ItemDestination

Mandatory. Used to return all items within the specified destination type (“city”) and destination code.

 

Attribute

Description

 

DestinationType

Mandatory. Used to return all items within the specified DestinationType (“city”) and destination code.

 

DestinationCode

Mandatory. Used to return all items within the specified Destination Type (“city”).

 

ItemCode

Optional. If specified the details for the single item will be returned.


Example XML Availability Cache

The XML message below gives a sample of the expected elements needed by the API to execute an Availability Cache request.

<?xml version="1.0" encoding="UTF-8" ?>
<Request>
	<Source>
		<RequestorID Client="123" EMailAddress="client@net.com" Password="xxx" />
		<RequestorPreferences Language="en" Currency="GBP" Country="GB">
			<RequestMode>ASYNCHRONOUS</RequestMode>
      <ResponseURL>/ProcessResponse/GetXML</ResponseURL> 
		</RequestorPreferences>
	</Source>
	<RequestDetails>
		<AvailabilityCacheRequest>
			<ItemDestinations>
                           <ItemDestination DestinationType="city" 
                                            DestinationCode="AMS"/>
                           <ItemDestination DestinationType="city" 
                                            DestinationCode="PAR" 
                                            ItemCode="ABC"/>
                    </ItemDestinations>
                  <CacheDataFormatPL2/>
			<DateRange>
				<FromDate>2009-03-31</FromDate>
				<ToDate>2009-04-02</ToDate>
			</DateRange>
		</AvailabilityCacheRequest>
	</RequestDetails>
</Request>

Source parameters

Please refer to the API Architecture document.

Search Availability Cache elements/attributes

An Availability Cache request can contain elements/attributes to filter the hotels returned.

The request can contain the following elements/attributes: 

Elements

Description

ItemDestinations

Mandatory. Used to specify a list of one or more destinations. A maximum of 50 cities can be specified in the request.

CacheDataFormatPL2 

Optional. Used to specify the format of the output file to be that of Participation Level 2. If not specified, the format of the output file will that of Participation Level 0.

DateRange

Mandatory. Used to specify the date range for which the price and allotment information is required.

FromDate

Mandatory. The start date of the required date range.

ToDate

Mandatory. The end date of the required date range.


ItemDestinations element 

The client can request a number of destinations through the <ItemDestinations> element. The latter is made up of a list of <ItemDestination> sub-elements:

Element

Description

ItemDestination

Mandatory. Used to return all items within the specified destination type (“city”) and destination code.

 

Attribute

Description

 

 DestinationType

Mandatory. Used to return all items within the specified DestinationType (“city”) and destination code.

 

DestinationCode

Mandatory. Used to return all items within the specified Destination Type (“city”).

 

ItemCode

Optional. If specified the details for the single item will be returned.


Example XML Price and Availability Cache response

The XML message below gives a sample of that given by the API in response to a Price and Availability Cache request.         

<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <ResponseDetails>
        <PriceAndAvailabilityCacheResponse>
            <Hotels>
                <PriceType>room</PriceType>
                <Hotel
                    City = "LHR"
                    Item = "KEN"
                    RecommendedItem = "false">
                    <Nights>
                        <Night Date = "2013-09-05">
                            <Rates>
                                <Rate
                                    DeparturePermitted = "true"
                                    ArrivalPermitted = "true"
                                    MaxNights = "5"
                                    Meals = "B"
                                    MinNights = "1"
                                    MinPax = "1">
                                    <Room
                                        Code = "CH"
                                        FromAge = "2"
                                        ToAge = "18">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[38.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "TS">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[103.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "TR">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[155.50]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "TB">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[103.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "SB">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[103.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "DB">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[103.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "Q">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[155.50]]></Price>
                                        </Prices>
                                    </Room>
                                </Rate>
                            </Rates>
                            <Availability>
                                <Room Code = "CH" ToAge = "18" FromAge = "2">&lt;5</Room>
                                <Room Code = "TS">&lt;5</Room>
                                <Room Code = "TR">&lt;5</Room>
                                <Room Code = "TB">&lt;5</Room>
                                <Room Code = "SB">&lt;5</Room>
                                <Room Code = "DB">&lt;5</Room>
                                <Room Code = "Q">&lt;5</Room>
                            </Availability>
                        </Night>
                    </Nights>
                    <SpecialOffers>
                        <SpecialOffer>
                            <Offer Code = "LM">Last Minute Offer</Offer>
                            <TravelDates>
                                <FromDate>2013-09-01</FromDate>
                                <ToDate>2013-09-15</ToDate>
                            </TravelDates>
                            <OfferType>I</OfferType>
                            <EffectiveDates>
                                <FromDate>2013-07-09</FromDate>
                                <ToDate>9999-12-31</ToDate>
                            </EffectiveDates>
                            <StayForNights>2</StayForNights>
                            <DiscountPercentage>5</DiscountPercentage>
                            <AllowedArrivalDates>12345</AllowedArrivalDates>
                            <ValidStayDates>12345</ValidStayDates>
                            <BookWithin>10</BookWithin>
                        </SpecialOffer>
                    </SpecialOffers>
                </Hotel>
                <Hotel
                    City = "LHR"
                    Item = "KEN1"
                    RecommendedItem = "false">
                    <Nights>
                        <Night Date = "2013-09-05">
                            <Rates>
                                <Rate
                                    DeparturePermitted = "true"
                                    ArrivalPermitted = "true"
                                    MaxNights = "5"
                                    Meals = "N"
                                    MinNights = "1"
                                    MinPax = "1">
                                    <Room
                                        Code = "CH"
                                        FromAge = "2"
                                        ToAge = "18">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[38.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "TS">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[90.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "TR">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[103.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "TB">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[90.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "SB">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[90.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "DB">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[90.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "Q">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[103.75]]></Price>
                                        </Prices>
                                    </Room>
                                </Rate>
                            </Rates>
                            <Availability>
                                <Room Code = "CH" ToAge = "11" FromAge = "2">&lt;5</Room>
                                <Room Code = "TS">&lt;5</Room>
                                <Room Code = "TR">&lt;5</Room>
                                <Room Code = "TB">&lt;5</Room>
                                <Room Code = "SB">&lt;5</Room>
                                <Room Code = "DB">&lt;5</Room>
                                <Room Code = "Q">&lt;5</Room>
                            </Availability>
                        </Night>
                    </Nights>
                    <SpecialOffers>
                        <SpecialOffer>
                            <Offer Code = "MN">Minimum Night Discount Offer</Offer>
                            <TravelDates>
                                <FromDate>2013-09-01</FromDate>
                                <ToDate>2013-09-15</ToDate>
                            </TravelDates>
                            <OfferType>I</OfferType>
                            <EffectiveDates>
                                <FromDate>2013-07-09</FromDate>
                                <ToDate>9999-12-31</ToDate>
                            </EffectiveDates>
                            <StayForNights>2</StayForNights>
                            <DiscountPercentage>10</DiscountPercentage>
                            <AllowedArrivalDates>12345</AllowedArrivalDates>
                            <ValidStayDates>12345</ValidStayDates>
                            <ApplicableOfferNights>12345</ApplicableOfferNights>
                        </SpecialOffer>
                    </SpecialOffers>
                </Hotel>
                <Hotel
                    City = "LHR"
                    Item = "KEN2"
                    RecommendedItem = "false">
                    <Nights>
                        <Night Date = "2013-09-05">
                            <Rates>
                                <Rate
                                    DeparturePermitted = "true"
                                    ArrivalPermitted = "true"
                                    MaxNights = "5"
                                    Meals = "N"
                                    MinNights = "1"
                                    MinPax = "1">
                                    <Room
                                        Code = "CH"
                                        FromAge = "2"
                                        ToAge = "18">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[38.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "TS">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[64.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "TR">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[64.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "TB">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[64.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "SB">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[64.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "DB">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[64.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "Q">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[64.75]]></Price>
                                        </Prices>
                                    </Room>
                                </Rate>
                            </Rates>
                            <Availability>
                                <Room Code = "CH" ToAge = "11" FromAge = "2">&gt;5</Room>
                                <Room Code = "TS">&gt;5</Room>
                                <Room Code = "TR">&gt;5</Room>
                                <Room Code = "TB">&gt;5</Room>
                                <Room Code = "SB">&gt;5</Room>
                                <Room Code = "DB">&gt;5</Room>
                                <Room Code = "Q">&gt;5</Room>
                            </Availability>
                        </Night>
                    </Nights>
                    <SpecialOffers>
                        <SpecialOffer>
                            <Offer Code = "MN">Minimum Night Discount Offer</Offer>
                            <TravelDates>
                                <FromDate>2013-09-01</FromDate>
                                <ToDate>2013-09-15</ToDate>
                            </TravelDates>
                            <OfferType>I</OfferType>
                            <EffectiveDates>
                                <FromDate>2013-07-09</FromDate>
                                <ToDate>9999-12-31</ToDate>
                            </EffectiveDates>
                            <StayForNights>2</StayForNights>
                            <DiscountPercentage>10</DiscountPercentage>
                            <AllowedArrivalDates>12345</AllowedArrivalDates>
                            <ValidStayDates>12345</ValidStayDates>
                            <ApplicableOfferNights>12345</ApplicableOfferNights>
                        </SpecialOffer>
                    </SpecialOffers>
                </Hotel>
                <Hotel
                    City = "LHR"
                    Item = "KEN3"
                    RecommendedItem = "false">
                    <Nights>
                        <Night Date = "2013-09-05">
                            <Rates>
                                <Rate
                                    DeparturePermitted = "true"
                                    ArrivalPermitted = "true"
                                    MaxNights = "5"
                                    Meals = "I"
                                    MinNights = "1"
                                    MinPax = "1">
                                    <Room
                                        Code = "CH"
                                        FromAge = "2"
                                        ToAge = "18">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[38.75]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "TS">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[518.25]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "TB">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[518.25]]></Price>
                                        </Prices>
                                    </Room>
                                    <Room Code = "SB">
                                        <Prices>
                                            <Price Currency = "GBP"><![CDATA[388.50]]></Price>
                                        </Prices>
                                    </Room>
                                </Rate>
                            </Rates>
                            <Availability>
                                <Room Code = "CH" ToAge = "11" FromAge = "2">&gt;5</Room>
                                <Room Code = "TS">2</Room>
                                <Room Code = "TB">2</Room>
                                <Room Code = "SB">2</Room>
                            </Availability>
                        </Night>
                    </Nights>
                    <SpecialOffers>
                        <SpecialOffer>
                            <Offer Code ="EB">Early Bird Offer</Offer>
                            <TravelDates>
                                <FromDate>2013-09-01</FromDate>
                                <ToDate>2013-09-15</ToDate>
                            </TravelDates>
                            <OfferType>I</OfferType>
                            <EffectiveDates>
                                <FromDate>2013-09-01</FromDate>
                                <ToDate>9999-12-31</ToDate>
                            </EffectiveDates>
                            <StayForNights>2</StayForNights>
                            <DiscountPercentage>10</DiscountPercentage>
                            <AllowedArrivalDates>12345</AllowedArrivalDates>
                            <ValidStayDates>12345</ValidStayDates>
                            <BookBeforeDays>10</BookBeforeDays>
                        </SpecialOffer>
                        <SpecialOffer>
                            <Offer Code ="FNN">Free Night</Offer>
                            <TravelDates>
                                <FromDate>2013-09-01</FromDate>
                                <ToDate>2013-09-15</ToDate>
                            </TravelDates>
                            <OfferType>I</OfferType>
                            <EffectiveDates>
                                <FromDate>2013-05-30</FromDate>
                                <ToDate>9999-12-31</ToDate>
                            </EffectiveDates>
                            <StayForNights>7</StayForNights>
                            <PayForNights>5</PayForNights>
                            <MaximumNightsFree>1</MaximumNightsFree>
                            <AllowedArrivalDates>12345</AllowedArrivalDates>
                            <ValidStayDates>12345</ValidStayDates>
                            <ApplicableOfferNights>12345</ApplicableOfferNights>
                        </SpecialOffer>
                    </SpecialOffers>
                </Hotel>
            </Hotels>
        </PriceAndAvailabilityCacheResponse>
    </ResponseDetails>
</Response>	

Table 1. Price And Availability Cache response – Participation Level 0

<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <ResponseDetails>
    <PriceAndAvailabilityCacheResponse>
      <Hotels>
        <PriceType>room</PriceType>
        <Hotel City="LHR" Item="KEN" RecommendedItem="false">
          <RoomCategories>
            <RoomCategory Id="001:KEN3:5745:S1721:16912:13999">
              <Description><![CDATA[TWN]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate 
                    DeparturePermitted = "true"
                    ArrivalPermitted = "true"
                    MaxNights = "5"
                      Meals="I" 
                     MinNights="1" 
                     MinPax="1">
                      <Room Code="CH" FromAge="2" ToAge="18">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[38.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[518.25]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[518.25]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[518.25]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                  <Availability>
                    <Room Code="CH" FromAge="2" ToAge="18">&lt;5</Room>
                    <Room Code="TS">&lt;5</Room>
                    <Room Code="TB">&lt;5</Room>
                    <Room Code="SB">&lt;5</Room>
                  </Availability>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="EB">Early Bird Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>5</StayForNights>
                  <DiscountPercentage>10</DiscountPercentage>
                  <AllowedArrivalDates>13567</AllowedArrivalDates>
                  <ValidStayDates>13567</ValidStayDates>
                  <BookBeforeDays>10</BookBeforeDays>
                </SpecialOffer>
                <SpecialOffer>
                  <Offer Code="FNN">Free Nights</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-05-30</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>7</StayForNights>
                  <PayForNights>5</PayForNights>
                  <MaximumNightsFree>1</MaximumNightsFree>
                  <AllowedArrivalDates>1234567</AllowedArrivalDates>
                  <ValidStayDates>1234567</ValidStayDates>
                  <ApplicableOfferNights>56</ApplicableOfferNights>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN:5745:S1721:6549:9291">
              <Description><![CDATA[KING]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate 
                    DeparturePermitted = "true"
                    ArrivalPermitted = "true"
                    MaxNights = "5"
                      Meals="I" 
                     MinNights="1" 
                     MinPax="1">
                      <Room Code="CH" FromAge="2" ToAge="18">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[38.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="DB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                  <Availability>
                    <Room Code="CH" FromAge="2" ToAge="18">&lt;5</Room>
                    <Room Code="TS">&lt;5</Room>
                    <Room Code="TB">&lt;5</Room>
                    <Room Code="SB">&lt;5</Room>
                    <Room Code="DB">&lt;5</Room>
                  </Availability>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="LM">Last Minute Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-07-09</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>7</StayForNights>
                  <DiscountPercentage>5</DiscountPercentage>
                  <AllowedArrivalDates>12347</AllowedArrivalDates>
                  <ValidStayDates>12347</ValidStayDates>
                  <BookWithin>10</BookWithin>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN2:5745:S1721:2664:9293">
              <Description><![CDATA[KING]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate 
                    DeparturePermitted = "true"
                    ArrivalPermitted = "true"
                    MaxNights = "5"
                      Meals="I" 
                     MinNights="1" 
                     MinPax="1">
                      <Room Code="CH" FromAge="2" ToAge="18">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[38.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[77.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[77.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[77.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="DB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[77.75]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                  <Availability>
                    <Room Code="CH" FromAge="2" ToAge="18">&lt;5</Room>
                    <Room Code="TS">&lt;5</Room>
                    <Room Code="TB">&lt;5</Room>
                    <Room Code="SB">&lt;5</Room>
                    <Room Code="DB">&lt;5</Room>
                  </Availability>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="MN">Minimum Night Discount Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-07-09</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>5</StayForNights>
                  <DiscountPercentage>10</DiscountPercentage>
                  <AllowedArrivalDates>12345</AllowedArrivalDates>
                  <ValidStayDates>12345</ValidStayDates>
                  <ApplicableOfferNights>12345</ApplicableOfferNights>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN1:5745:S1721:2664:9292">
              <Description><![CDATA[KING]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate 
                    DeparturePermitted = "true"
                    ArrivalPermitted = "true"
                    MaxNights = "5"
                      Meals="I" 
                     MinNights="1" 
                     MinPax="1">
                      <Room Code="CH" FromAge="2" ToAge="18">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[38.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[90.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[90.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[90.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="DB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[90.75]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                  <Availability>
                    <Room Code="CH" FromAge="2" ToAge="18">&lt;5</Room>
                    <Room Code="TS">&lt;5</Room>
                    <Room Code="TB">&lt;5</Room>
                    <Room Code="SB">&lt;5</Room>
                    <Room Code="DB">&lt;5</Room>
                  </Availability>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="MN">Minimum Night Discount Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-07-09</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>5</StayForNights>
                  <DiscountPercentage>10</DiscountPercentage>
                  <AllowedArrivalDates>12345</AllowedArrivalDates>
                  <ValidStayDates>12345</ValidStayDates>
                  <ApplicableOfferNights>12345</ApplicableOfferNights>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN:5745:S1721:6549:9296">
              <Description><![CDATA[SUITE]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate 
                    DeparturePermitted = "true"
                    ArrivalPermitted = "true"
                    MaxNights = "5"
                      Meals="I" 
                     MinNights="1" 
                     MinPax="1">
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[155.50]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TR">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[155.50]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[155.50]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[155.50]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="DB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[155.50]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="Q">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[155.50]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                  <Availability>
                    <Room Code="TS">&lt;5</Room>
                    <Room Code="TR">&lt;5</Room>
                    <Room Code="TB">&lt;5</Room>
                    <Room Code="SB">&lt;5</Room>
                    <Room Code="DB">&lt;5</Room>
                    <Room Code="Q">&lt;5</Room>
                  </Availability>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="LM">Last Minute Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-07-09</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>&lt;5</StayForNights>
                  <DiscountPercentage>5</DiscountPercentage>
                  <AllowedArrivalDates>12347</AllowedArrivalDates>
                  <ValidStayDates>12347</ValidStayDates>
                  <BookWithin>10</BookWithin>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN1:5745:S1721:2664:9295">
              <Description><![CDATA[SUITE]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate 
                    DeparturePermitted = "true"
                    ArrivalPermitted = "true"
                    MaxNights = "5"
                      Meals="I" 
                     MinNights="1" 
                     MinPax="1">
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TR">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="DB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="Q">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                  <Availability>
                    <Room Code="TS">&lt;5</Room>
                    <Room Code="TR">&lt;5</Room>
                    <Room Code="TB">&lt;5</Room>
                    <Room Code="SB">&lt;5</Room>
                    <Room Code="DB">&lt;5</Room>
                    <Room Code="Q">&lt;5</Room>
                  </Availability>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="MN">Minimum Night Discount Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-07-09</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>5</StayForNights>
                  <DiscountPercentage>10</DiscountPercentage>
                  <AllowedArrivalDates>12345</AllowedArrivalDates>
                  <ValidStayDates>12345</ValidStayDates>
                  <ApplicableOfferNights>12345</ApplicableOfferNights>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN3:5745:S1721:16912:14000">
              <Description><![CDATA[SGL]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate 
                    DeparturePermitted = "true"
                    ArrivalPermitted = "true"
                    MaxNights = "5"
                      Meals="I" 
                     MinNights="1" 
                     MinPax="1">
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[388.50]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                  <Availability>
                    <Room Code="SB">&lt;5</Room>
                  </Availability>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="EB">Early Bird Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>5</StayForNights>
                  <DiscountPercentage>10</DiscountPercentage>
                  <AllowedArrivalDates>13567</AllowedArrivalDates>
                  <ValidStayDates>13567</ValidStayDates>
                  <BookBeforeDays>10</BookBeforeDays>
                </SpecialOffer>
                <SpecialOffer>
                  <Offer Code="FNN">Free Night</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-05-30</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>7</StayForNights>
                  <PayForNights>5</PayForNights>
                  <MaximumNightsFree>1</MaximumNightsFree>
                  <AllowedArrivalDates>1234567</AllowedArrivalDates>
                  <ValidStayDates>1234567</ValidStayDates>
                  <ApplicableOfferNights>56</ApplicableOfferNights>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
          </RoomCategories>
        </Hotel>
      </Hotels>
    </PriceAndAvailabilityCacheResponse>
  </ResponseDetails>
</Response>

Price and Availability Cache response parameters

The Price and Availability Cache response will return the following elements/attributes:

Element

Description

Hotels

A list of the hotels requested.

PriceType

Specifies whether the price is applicable per person or per room (“person” or “room”).

ImmediateConfirmationOnly

Specifies whether the response contains results for immediate confirmation only.

Hotel

Specifies the module for which the results are returned. Only available for “hotel” at the moment.

 

Attribute

Description

 

RecommendedItem

If set as ‘true’ indicated that the hotel is recommended by GTA.

 

Item

The item code held by GTA.

 

City

The unique city code held by GTA.

RoomCategories

A list of room categories.

This is an optional parameter dependant on the client’s Participation Level: -

Level 0: No output

Level 2: Output

RoomCategory

A list of one or more room category sub-elements.

 

Id

Specifies the category of the room.

Description

Specifies the room category name.

Nights

A list of one or more dates the price and availability information applies to.

Night

The specific date for which the given price and availability applies to.

 

Attribute

Description

 

Date

The date for which the given price and availability applies to.

Rates

A list of rates for all applicable room types.

Rate

The rate for the specific room type.

 

 

Attribute

Description

 

 

DeparturePermitted

Indicates whether departures are permitted on the day.

 

 

ArrivalPermitted

Indicates whether arrivals are permitted on the day.

 

 

MaxNights

Indicates whether a maximum number of nights has to be booked to qualify for the given prices.

 

 

Meals

The code of the meal(s) included in the rate.

 

 

MinNights

Indicates whether a minimum number of nights has to be booked to qualify for the given price.

 

 

MinPax

Indicates whether a minimum number of pax has to be booked to qualify for the given price.

 

Room

The specific room code the price is applicable for.

 

 

Attribute

Description

 

 

Code

The room code the price is applicable for.

 

 

FromAge

Specifies the minimum child age the rate is applicable for.

 

 

ToAge

Specifies the maximum child age the rate is applicable for.

 

Prices

A list of prices applicable for each room code.

 

Price

The price applicable for the room code

 

 

Attribute

Description

 

 

Currency

The code of the requested currency.

 

Availability

The availability for the room code.

 

Room

The room code which the availability is applicable for.

 

 

Attribute

Description

 

 

Code

The room code which  the availability is applicable for.

 

 

FromAge

Specifies the minimum child age the rate is applicable for

 

 

ToAge

Specifies the maximum child age the rate is applicable for.


Special Offers parameters

If the parameter <IncludeSpecialOffers/> has been specified in the  < PriceAndAvailabilityCacheRequest > the response will include the special offers.

Please refer to the Content API document for the details of these parameters.

Example XML Price Cache response

The XML message below gives a sample of that given by the API in response to a Price Cache request.

<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <ResponseDetails>
    <PriceCacheResponse>
      <Hotels>
        <PriceType>room</PriceType>
        <Hotel City="LHR" Item="KEN" RecommendedItem="false">
          <Nights>
            <Night Date="2013-09-05">
              <Rates>
                <Rate Meals="B" MinNights="1" MinPax="1">
                  <Room Code="CH" FromAge="2" ToAge="18">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[38.75]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="TS">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[103.75]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="TR">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[155.50]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="TB">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[103.75]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="SB">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[103.75]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="DB">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[103.75]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="Q">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[155.50]]></Price>
                    </Prices>
                  </Room>
                </Rate>
              </Rates>
            </Night>
          </Nights>
          <SpecialOffers>
            <SpecialOffer>
              <Offer Code="LM">Last Minute Offer</Offer>
              <TravelDates>
                <FromDate>2013-09-01</FromDate>
                <ToDate>2013-09-15</ToDate>
              </TravelDates>
              <OfferType>I</OfferType>
              <EffectiveDates>
                <FromDate>2013-07-09</FromDate>
                <ToDate>9999-12-31</ToDate>
              </EffectiveDates>
              <StayForNights>2</StayForNights>
              <DiscountPercentage>5</DiscountPercentage>
              <AllowedArrivalDates>12345</AllowedArrivalDates>
              <ValidStayDates>112345</ValidStayDates>
              <BookWithin>10</BookWithin>
            </SpecialOffer>
          </SpecialOffers>
        </Hotel>
        <Hotel City="LHR" Item="KEN2" RecommendedItem="false">
          <Nights>
            <Night Date="2013-09-05">
              <Rates>
                <Rate Meals="N" MinNights="1" MinPax="1">
                  <Room Code="CH" FromAge="2" ToAge="18">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[38.75]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="TS">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[64.75]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="TR">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[64.75]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="TB">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[64.75]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="SB">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[64.75]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="DB">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[64.75]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="Q">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[64.75]]></Price>
                    </Prices>
                  </Room>
                </Rate>
              </Rates>
            </Night>
          </Nights>
          <SpecialOffers>
            <SpecialOffer>
              <Offer Code="MN">Minimum Night Discount Offer</Offer>
              <TravelDates>
                <FromDate>2013-09-01</FromDate>
                <ToDate>2013-09-15</ToDate>
              </TravelDates>
              <OfferType>I</OfferType>
              <EffectiveDates>
                <FromDate>2013-07-09</FromDate>
                <ToDate>9999-12-31</ToDate>
              </EffectiveDates>
              <StayForNights>2</StayForNights>
              <DiscountPercentage>10</DiscountPercentage>
              <AllowedArrivalDates>12345</AllowedArrivalDates>
              <ValidStayDates>12345</ValidStayDates>
              <ApplicableOfferNights>12345</ApplicableOfferNights>
            </SpecialOffer>
          </SpecialOffers>
        </Hotel>
        <Hotel City="LHR" Item="KEN3" RecommendedItem="false">
          <Nights>
            <Night Date="2013-09-05">
              <Rates>
                <Rate Meals="I" MinNights="1" MinPax="1">
                  <Room Code="CH" FromAge="2" ToAge="18">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[38.75]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="TS">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[518.25]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="TB">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[518.25]]></Price>
                    </Prices>
                  </Room>
                  <Room Code="SB">
                    <Prices>
                      <Price Currency="GBP"><![CDATA[388.50]]></Price>
                    </Prices>
                  </Room>
                </Rate>
              </Rates>
            </Night>
          </Nights>
          <SpecialOffers>
            <SpecialOffer>
              <Offer Code="EB">Early Bird Offer</Offer>
              <TravelDates>
                <FromDate>2013-09-01</FromDate>
                <ToDate>2013-09-15</ToDate>
              </TravelDates>
              <OfferType>I</OfferType>
              <EffectiveDates>
                <FromDate>2013-09-01</FromDate>
                <ToDate>9999-12-31</ToDate>
              </EffectiveDates>
              <StayForNights>2</StayForNights>
              <DiscountPercentage>10</DiscountPercentage>
              <AllowedArrivalDates>12345</AllowedArrivalDates>
              <ValidStayDates>12345</ValidStayDates>
              <BookBeforeDays>10</BookBeforeDays>
            </SpecialOffer>
            <SpecialOffer>
              <Offer Code="FNN">Free Night</Offer>
              <TravelDates>
                <FromDate>2013-09-01</FromDate>
                <ToDate>2013-09-15</ToDate>
              </TravelDates>
              <OfferType>I</OfferType>
              <EffectiveDates>
                <FromDate>2013-05-30</FromDate>
                <ToDate>9999-12-31</ToDate>
              </EffectiveDates>
              <StayForNights>7</StayForNights>
              <PayForNights>5</PayForNights>
              <MaximumNightsFree>-1</MaximumNightsFree>
              <AllowedArrivalDates>12345</AllowedArrivalDates>
              <ValidStayDates>12345</ValidStayDates>
              <ApplicableOfferNights>12345</ApplicableOfferNights>
            </SpecialOffer>
          </SpecialOffers>
        </Hotel>
      </Hotels>
    </PriceCacheResponse>
  </ResponseDetails>
</Response>

Table 3. Price Cache response – Participation Level 0

PL2<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <ResponseDetails>
    <PriceCacheResponse>
      <Hotels>
        <PriceType>room</PriceType>
        <Hotel City="LHR" Item="KEN" RecommendedItem="false">
          <RoomCategories>
            <RoomCategory Id="001:KEN3:5745:S1721:16912:13999">
              <Description><![CDATA[TWN]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate Meals="I" MinNights="1" MinPax="1">
                      <Room Code="CH" FromAge="2" ToAge="18">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[38.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[518.25]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[518.25]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[518.25]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="EB">Early Bird Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>2</StayForNights>
                  <DiscountPercentage>10</DiscountPercentage>
                  <AllowedArrivalDates>13567</AllowedArrivalDates>
                  <ValidStayDates>13567</ValidStayDates>
                  <BookBeforeDays>10</BookBeforeDays>
                </SpecialOffer>
                <SpecialOffer>
                  <Offer Code="FNN">Free Night 1.5</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-05-30</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>7</StayForNights>
                  <PayForNights>5</PayForNights>
                  <MaximumNightsFree>-1</MaximumNightsFree>
                  <AllowedArrivalDates>1234567</AllowedArrivalDates>
                  <ValidStayDates>1234567</ValidStayDates>
                  <ApplicableOfferNights>56</ApplicableOfferNights>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN:5745:S1721:6549:9291">
              <Description><![CDATA[KING]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate Meals="B" MinNights="1" MinPax="1">
                      <Room Code="CH" FromAge="2" ToAge="18">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[38.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="DB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="LM">Last Minute Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-07-09</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>2</StayForNights>
                  <DiscountPercentage>5</DiscountPercentage>
                  <AllowedArrivalDates>12347</AllowedArrivalDates>
                  <ValidStayDates>12347</ValidStayDates>
                  <BookWithin>10</BookWithin>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN2:5745:S1721:2664:9293">
              <Description><![CDATA[KING]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate Meals="N" MinNights="1" MinPax="1">
                      <Room Code="CH" FromAge="2" ToAge="18">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[38.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[77.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[77.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[77.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="DB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[77.75]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="MN">Minimum Night Discount Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-07-09</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>2</StayForNights>
                  <DiscountPercentage>10</DiscountPercentage>
                  <AllowedArrivalDates>12345</AllowedArrivalDates>
                  <ValidStayDates>12345</ValidStayDates>
                  <ApplicableOfferNights>12345</ApplicableOfferNights>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN1:5745:S1721:2664:9292">
              <Description><![CDATA[KING]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate Meals="N" MinNights="1" MinPax="1">
                      <Room Code="CH" FromAge="2" ToAge="18">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[38.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[90.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[90.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[90.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="DB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[90.75]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="MN">Minimum Night Discount Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-07-09</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>2</StayForNights>
                  <DiscountPercentage>10</DiscountPercentage>
                  <AllowedArrivalDates>12345</AllowedArrivalDates>
                  <ValidStayDates>12345</ValidStayDates>
                  <ApplicableOfferNights>12345</ApplicableOfferNights>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN:5745:S1721:6549:9296">
              <Description><![CDATA[SUITE]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate Meals="B" MinNights="1" MinPax="1">
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[155.50]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TR">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[155.50]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[155.50]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[155.50]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="DB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[155.50]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="Q">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[155.50]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="LM">Last Minute Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-07-09</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>2</StayForNights>
                  <DiscountPercentage>5</DiscountPercentage>
                  <AllowedArrivalDates>12347</AllowedArrivalDates>
                  <ValidStayDates>12347</ValidStayDates>
                  <BookWithin>10</BookWithin>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN2:5745:S1721:2664:9294">
              <Description><![CDATA[SUITE]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate Meals="N" MinNights="1" MinPax="1">
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[64.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TR">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[64.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[64.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[64.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="DB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[64.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="Q">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[64.75]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="MN">Minimum Night Discount Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-07-09</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>2</StayForNights>
                  <DiscountPercentage>10</DiscountPercentage>
                  <AllowedArrivalDates>12345</AllowedArrivalDates>
                  <ValidStayDates>12345</ValidStayDates>
                  <ApplicableOfferNights>12345</ApplicableOfferNights>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN1:5745:S1721:2664:9295">
              <Description><![CDATA[SUITE]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate Meals="N" MinNights="1" MinPax="1">
                      <Room Code="TS">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TR">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="TB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="DB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                      <Room Code="Q">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[103.75]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="MN">Minimum Night Discount Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-07-09</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>2</StayForNights>
                  <DiscountPercentage>10</DiscountPercentage>
                  <AllowedArrivalDates>12345</AllowedArrivalDates>
                  <ValidStayDates>12345</ValidStayDates>
                  <ApplicableOfferNights>12345</ApplicableOfferNights>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
            <RoomCategory Id="001:KEN3:5745:S1721:16912:14000">
              <Description><![CDATA[SGL]]></Description>
              <Nights>
                <Night Date="2013-09-01">
                  <Rates>
                    <Rate Meals="I" MinNights="1" MinPax="1">
                      <Room Code="SB">
                        <Prices>
                          <Price Currency="GBP"><![CDATA[388.50]]></Price>
                        </Prices>
                      </Room>
                    </Rate>
                  </Rates>
                </Night>
              </Nights>
              <SpecialOffers>
                <SpecialOffer>
                  <Offer Code="EB">Early Bird Offer</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>2</StayForNights>
                  <DiscountPercentage>10</DiscountPercentage>
                  <AllowedArrivalDates>13567</AllowedArrivalDates>
                  <ValidStayDates>13567</ValidStayDates>
                  <BookBeforeDays>10</BookBeforeDays>
                </SpecialOffer>
                <SpecialOffer>
                  <Offer Code="FNN">Free Night</Offer>
                  <TravelDates>
                    <FromDate>2013-09-01</FromDate>
                    <ToDate>2013-09-15</ToDate>
                  </TravelDates>
                  <OfferType>I</OfferType>
                  <EffectiveDates>
                    <FromDate>2013-05-30</FromDate>
                    <ToDate>9999-12-31</ToDate>
                  </EffectiveDates>
                  <StayForNights>7</StayForNights>
                  <PayForNights>5</PayForNights>
                  <MaximumNightsFree>-1</MaximumNightsFree>
                  <AllowedArrivalDates>1234567</AllowedArrivalDates>
                  <ValidStayDates>1234567</ValidStayDates>
                  <ApplicableOfferNights>56</ApplicableOfferNights>
                </SpecialOffer>
              </SpecialOffers>
            </RoomCategory>
          </RoomCategories>
        </Hotel>
      </Hotels>
    </PriceCacheResponse>
  </ResponseDetails>
</Response>

Table 4. Price Cache response – Participation Level 2

Price Cache response parameters

The Price Cache response will return the following elements/attributes:

Element

Description

Hotels

A list of hotels requested.

PriceType

Specifies whether the price is applicable per person or per room (“person” or “room”).

ImmediateConfirmationOnly

Specifies whether the response contains results for immediate confirmation only.

Hotel

Specifies the module for which the results are returned. Only available for “hotel” at the moment.

 

Attribute

Description

 

RecommendedItem

If set as ‘true’ indicated that the hotel is recommended by GTA.

 

City

The unique city code held by GTA.

 

Item

The item held by GTA.

RoomCategories

A list of room categories.

This is an optional parameter dependant on the client’s Participation Level: -

Level 0: No output

Level 2: Output

RoomCategory

A list of one or more room category sub-elements.

 

Id

Specifies the category of the room.

Nights

A list of one or more dates the price information applies to.

Night

The specific date for which the given price information applies to.

 

Attribute

Description

 

Date

The date for which the given price information applies to.

Rates

A list of rates for all applicable room types.

Rate

The rate for the specific room type.

 

 

Attribute

Description

 

 

Meals

The code of the meal(s) included in the rate.

 

 

MinNights

Indicates whether a minimum number of nights has to be booked to qualify for the given price.

 

 

MinPax

Indicates whether a minimum number of pax has to be booked to qualify for the given price.

 

Room

The specific room code the price is applicable for.

 

 

Attribute

Description

 

 

Code

The room code the price is applicable for.

 

 

FromAge

Specifies the minimum child age the rate is applicable for.

 

 

ToAge

Specifies the maximum child age the rate is applicable for.

 

Prices

A list of prices applicable for each room code.

 

Price

The price applicable for the room code

 

 

Attribute

Description

 

 

Currency

The code of the requested currency.


Special Offers parameters

If the parameter <IncludeSpecialOffers/> has been specified in the <PriceCacheRequest> the response will include the special offers.

Please refer to Content API document for the details of these parameters.

Example XML Availability Cache response

The XML message below gives a sample of that given by the API in response to a Availability Cache request.

<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <ResponseDetails>
    <AvailabilityCacheResponse>
      <Hotels>
        <Hotel City="LHR" Item="KEN" RecommendedItem="false">
          <Nights>
            <Night Date="2013-09-05">
              <Availability>
                <Room Code = "CH" ToAge = "11" FromAge = "2">&gt;5</Room>
                <Room Code="TS">&gt;5</Room>
                <Room Code="TR">&gt;5</Room>
                <Room Code="TB">&gt;5</Room>
                <Room Code="SB">&gt;5</Room>
                <Room Code="DB">&gt;5</Room>
                <Room Code="Q">&gt;5</Room>
              </Availability>
            </Night>
          </Nights>
        </Hotel>
        <Hotel City="LHR" Item="KEN1" RecommendedItem="false">
          <Nights>
            <Night Date="2013-09-05">
              <Availability>
                <Room Code = "CH" ToAge = "11" FromAge = "2">&gt;5</Room>
                <Room Code="TS">&gt;5</Room>
                <Room Code="TR">&gt;5</Room>
                <Room Code="TB">&gt;5</Room>
                <Room Code="SB">&gt;5</Room>
                <Room Code="DB">&gt;5</Room>
                <Room Code="Q">&gt;5</Room>
              </Availability>
            </Night>
          </Nights>
        </Hotel>
        <Hotel City="LHR" Item="KEN3" RecommendedItem="false">
          <Nights>
            <Night Date="2013-09-05">
              <Availability>
                <Room Code = "CH" ToAge = "11" FromAge = "2">&lt;5</Room>
                <Room Code="TS">&lt;5</Room>
                <Room Code="TB">&lt;5</Room>
                <Room Code="SB">&lt;5</Room>
              </Availability>
            </Night>
          </Nights>
        </Hotel>
      </Hotels>
    </AvailabilityCacheResponse>
  </ResponseDetails>
</Response>

Table 5. Availability Cache response – Participation Level 0

<?xml version="1.0" encoding="UTF-8"?>
<Response>
	<ResponseDetails>
		<AvailabilityCacheResponse>
			<Hotels>
				<Hotel City="LHR" Item="KEN" RecommendedItem="false">
					<RoomCategories>
						<RoomCategory Id="001:KEN3:5745:S1721:16912:13999">
							<Description><![CDATA[TWN]]></Description>
							<Nights>
								<Night Date="2013-09-01">
									<Availability>
										<Room Code="CH" FromAge="2" ToAge="18">1</Room>
										<Room Code="TS">&lt;5</Room>
										<Room Code="TB">&lt;5</Room>
										<Room Code="SB">&lt;5</Room>
									</Availability>
								</Night>
							</Nights>
						</RoomCategory>
						<RoomCategory Id="001:KEN:5745:S1721:6549:9291">
							<Description><![CDATA[KING]]></Description>
							<Nights>
								<Night Date="2013-09-01">
									<Availability>
										<Room Code="CH" FromAge="2" ToAge="18">1</Room>
										<Room Code="TS">&lt;5</Room>
										<Room Code="TB">&lt;5</Room>
										<Room Code="SB">&lt;5</Room>
										<Room Code="DB">&lt;5</Room>
									</Availability>
								</Night>
							</Nights>
						</RoomCategory>
						<RoomCategory Id="001:KEN2:5745:S1721:2664:9293">
							<Description><![CDATA[KING]]></Description>
							<Nights>
								<Night Date="2013-09-01">
									<Availability>
										<Room Code="CH" FromAge="2" ToAge="18">1</Room>
										<Room Code="TS">&lt;5</Room>
										<Room Code="TB">&lt;5</Room>
										<Room Code="SB">&lt;5</Room>
										<Room Code="DB">&lt;5</Room>
									</Availability>
								</Night>
							</Nights>
						</RoomCategory>
						<RoomCategory Id="001:KEN1:5745:S1721:2664:9292">
							<Description><![CDATA[KING]]></Description>
							<Nights>
								<Night Date="2013-09-01">
									<Availability>
										<Room Code="CH" FromAge="2" ToAge="18">1</Room>
										<Room Code="TS">&lt;5</Room>
										<Room Code="TB">&lt;5</Room>
										<Room Code="SB">&lt;5</Room>
										<Room Code="DB">&lt;5</Room>
									</Availability>
								</Night>
							</Nights>
						</RoomCategory>
						<RoomCategory Id="001:KEN:5745:S1721:6549:9296">
							<Description><![CDATA[SUITE]]></Description>
							<Nights>
								<Night Date="2013-09-01">
									<Availability>
										<Room Code="TS">&lt;5</Room>
										<Room Code="TR">&lt;5</Room>
										<Room Code="TB">&lt;5</Room>
										<Room Code="SB">&lt;5</Room>
										<Room Code="DB">&lt;5</Room>
										<Room Code="Q">&lt;5</Room>
									</Availability>
								</Night>
							</Nights>
						</RoomCategory>
						<RoomCategory Id="001:KEN2:5745:S1721:2664:9294">
							<Description><![CDATA[SUITE]]></Description>
							<Nights>
								<Night Date="2013-09-01">
									<Availability>
										<Room Code="TS">&lt;5</Room>
										<Room Code="TR">&lt;5</Room>
										<Room Code="TB">&lt;5</Room>
										<Room Code="SB">&lt;5</Room>
										<Room Code="DB">&lt;5</Room>
										<Room Code="Q">&lt;5</Room>
									</Availability>
								</Night>
							</Nights>
						</RoomCategory>
						<RoomCategory Id="001:KEN1:5745:S1721:2664:9295">
							<Description><![CDATA[SUITE]]></Description>
							<Nights>
								<Night Date="2013-09-01">
									<Availability>
										<Room Code="TS">&lt;5</Room>
										<Room Code="TR">&lt;5</Room>
										<Room Code="TB">&lt;5</Room>
										<Room Code="SB">&lt;5</Room>
										<Room Code="DB">&lt;5</Room>
										<Room Code="Q">&lt;5</Room>
									</Availability>
								</Night>
							</Nights>
						</RoomCategory>
						<RoomCategory Id="001:KEN3:5745:S1721:16912:14000">
							<Description><![CDATA[SGL]]></Description>
							<Nights>
								<Night Date="2013-09-01">
									<Availability>
										<Room Code="SB">&lt;5</Room>
									</Availability>
								</Night>
							</Nights>
						</RoomCategory>
					</RoomCategories>
				</Hotel>
			</Hotels>
		</AvailabilityCacheResponse>
	</ResponseDetails>
</Response>

Table 6. Availability Cache response – Participation Level 2

Availability Cache response parameters

The Availability Cache response will return the following elements/attributes:

Element

Description

Hotels

A list of the hotels requested.

PriceType

Specifies whether the price is applicable per person or per room (“person” or “room”).

Hotel

Specifies the module for which the results are returned. Only available for “hotel” at the moment.

 

Attribute

Description

 

RecommendedItem

If set as ‘true’ indicated that the hotel is recommended by GTA.

 

City

The unique city code held by GTA.

 

Item

The item code held by GTA.

Nights

A list of one or more dates the availability information applies to.

Night

The specific date for which the given availability information applies to.

 

Attribute

Description

 

Date

The date for which the given price is applicable.

Availability

The availability for the room code.

RoomCategories

A list of room categories.

This is an optional parameter dependant on the client’s Participation Level: -

Level 0: No output

Level 2: Output

RoomCategory

A list of one or more room category sub-elements.

 

Id

Specifies the category of the room.

Description

Specifies the room category name.

Room

The room code which the availability is applicable for.

 

Attribute

Description

 

Code

The room code which  the availability is applicable for.

 

FromAge

Specifies the minimum child age the rate is applicable for

 

ToAge

Specifies the maximum child age the rate is applicable for.

 

 

 

 

 

 

 

Docs Navigation