Service availability

Response

<Services>
  <Service Inclusive="1|0" ServicePricingType="Per night|Per person|Per person per night|Per stay|Per use" ServiceRPH="1" ID="00L55df0d5f711a6">
    <Price EffectiveDate="2015-09-10" ExpireDate="2015-09-10">
      <Base AmountAfterTax="3.00" CurrencyCode="CHF" />
      <Total AmountAfterTax="6.00" CurrencyCode="CHF" />
    </Price>
    <ServiceDetails>
      <ServiceDescription Name="SERVICENAME">
        <Text>SERVICEDESCRIPTION</Text>
        <Image>IMAGEURL1</Image>
        <Image>IMAGEURL2</Image>
      </ServiceDescription>
    </ServiceDetails>
  </Service>
</Services>

Details

NodeAttributeDescriptionValue typeAlways presentRepetitive

Service

 

A Service object represents a non-room product provided to guests. Service products may have associated inventory and charges.A ServiceType class.

 

yes

yes
 

Inclusive

Whether the price for this service is included in the room rate. Values: False (or No), and True (or Yes).Booleanyes 
 

ServicePricingType

An enumerated type that defines how a service is priced. Refer to Service pricing type (ServicePricingType)ServicePricingTypeyes 
 

ServiceRPH

A unique ID for a service that may be referenced elsewhere in the schema.NonNegativeIntegeryes 
 

ID

A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation. This ID is the affectation ID in the CRS.StringLength1to32yes 
 TypeA reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type (UIT).OTA_CodeTypeyes 

Price

 The selling price of this Service. yesno
 

EffectiveDate

Indicates the starting date.Dateyes 
 

ExpireDate

Indicates the ending date.Dateyes 

Base

 The base amount charged for the accommodation or service per unit of time (ex: Nightly, Weekly, etc). If TaxInclusive is set to True, then taxes are included in the base amount. Note that any additional charges should itemized in the other elements.The total amount charged for the service including additional amounts and fees. yesno
 

AmountAfterTax

The total amount including all associated taxes (e.g., sales tax, VAT, GST or any associated tax).Moneyyes 
 

CurrencyCode

An ISO 4217 (3) alpha character code that specifies a monetary unit.CurrencyCode_Typeyes 
ServiceDetails Details on the Service. Contains current name, description and images nono
ServiceDescription Description of the service yesno
 NameName of the serviceString  
Text Description of the service noyes
Image Image of the service. For thumbnails, you should send a /wiki/spaces/HOT/pages/491551 noyes

Use cases

We consider a stay of 2 guests in 1 room from 2015-09-10 to 2015-09-14.

Use case #1: breakfast included (MP)

<Service Inclusive="1" ServicePricingType="Per person per night" ServiceRPH="1" ID="00L55df0d5f711a6" Type="10">
  <Price EffectiveDate="2015-09-11" ExpireDate="2015-09-11" />
  <Price EffectiveDate="2015-09-12" ExpireDate="2015-09-12" />
  <Price EffectiveDate="2015-09-13" ExpireDate="2015-09-13" />
  <Price EffectiveDate="2015-09-14" ExpireDate="2015-09-14" />
</Service>

Use case #2: breakfast not included (MP)

<Service Inclusive="0" ServicePricingType="Per person per night" ServiceRPH="1" ID="00L55df0d5f711a6" Type="10">
  <Price EffectiveDate="2015-09-11" ExpireDate="2015-09-11">
    <Base AmountAfterTax="3.00" CurrencyCode="CHF" />
    <Total AmountAfterTax="15.00" CurrencyCode="CHF" />
  </Price>
  <Price EffectiveDate="2015-09-12" ExpireDate="2015-09-12">
    <Base AmountAfterTax="3.00" CurrencyCode="CHF" />
    <Total AmountAfterTax="15.00" CurrencyCode="CHF" />
  </Price>
  <Price EffectiveDate="2015-09-13" ExpireDate="2015-09-13">
    <Base AmountAfterTax="3.00" CurrencyCode="CHF" />
    <Total AmountAfterTax="15.00" CurrencyCode="CHF" />
  </Price>
  <Price EffectiveDate="2015-09-14" ExpireDate="2015-09-14">
    <Base AmountAfterTax="3.00" CurrencyCode="CHF" />
    <Total AmountAfterTax="15.00" CurrencyCode="CHF" />
  </Price>
  <ServiceDetails>...</ServiceDetails>
</Service>

Use case #3: diner (MP)

<Service Inclusive="1" ServicePricingType="Per person" ServiceRPH="1" ID="00L55df0d5f711a6" Type="10">
  <Price EffectiveDate="2015-09-11" ExpireDate="2015-09-11">
    <Base AmountAfterTax="30.00" CurrencyCode="CHF" />
  </Price>
  <Price EffectiveDate="2015-09-11" ExpireDate="2015-09-11">
    <Base AmountAfterTax="30.00" CurrencyCode="CHF" />
  </Price>
  <Price EffectiveDate="2015-09-12" ExpireDate="2015-09-12">
    <Base AmountAfterTax="30.00" CurrencyCode="CHF" />
  </Price>
  <Price EffectiveDate="2015-09-13" ExpireDate="2015-09-13">
    <Base AmountAfterTax="30.00" CurrencyCode="CHF" />
  </Price>
  <Price EffectiveDate="2015-09-14" ExpireDate="2015-09-14">
    <Base AmountAfterTax="30.00" CurrencyCode="CHF" />
  </Price>
  <ServiceDetails>...</ServiceDetails>
</Service>

Use case #4: computer (BUS)

<Service Inclusive="0" ServicePricingType="Per night" ServiceRPH="1" ID="00L55df0d5f711a6" Type="10">
  <Price EffectiveDate="2015-09-11" ExpireDate="2015-09-11">
    <Base AmountAfterTax="15.00" CurrencyCode="CHF" />
  </Price>
  <Price EffectiveDate="2015-09-11" ExpireDate="2015-09-11">
    <Base AmountAfterTax="15.00" CurrencyCode="CHF" />
  </Price>
  <Price EffectiveDate="2015-09-12" ExpireDate="2015-09-12">
    <Base AmountAfterTax="15.00" CurrencyCode="CHF" />
  </Price>
  <Price EffectiveDate="2015-09-13" ExpireDate="2015-09-13">
    <Base AmountAfterTax="15.00" CurrencyCode="CHF" />
  </Price>
  <Price EffectiveDate="2015-09-14" ExpireDate="2015-09-14">
    <Base AmountAfterTax="15.00" CurrencyCode="CHF" />
  </Price>
  <ServiceDetails>...</ServiceDetails>
</Service>

Use case #5: spa (CUSTOM)

<Service Inclusive="0" ServicePricingType="Per use" ServiceRPH="1" ID="00L55df0d5f711a6" Type="10">
  <Price NumberOfUnits="2" EffectiveDate="2015-09-12" ExpireDate="2015-09-12">
    <Base AmountAfterTax="15.00" CurrencyCode="CHF" />
  </Price>
  <ServiceDetails>...</ServiceDetails>
</Service>

Use case #6: ski pass (CUSTOM)

<Service Inclusive="0" ServicePricingType="Per stay" ServiceRPH="1" ID="00L55df0d5f711a6" Type="10">
  <Price>
    <Base AmountAfterTax="111.00" CurrencyCode="CHF" />
  </Price>
  <ServiceDetails>...</ServiceDetails>
</Service>

Use case #7: city guided tour (CUSTOM)

<Service Inclusive="0" ServicePricingType="Per use" ServiceRPH="1" ID="00L55df0d5f711a6" Type="10">
  <Price EffectiveDate="2015-09-12" ExpireDate="2015-09-12">
    <Base AmountAfterTax="55.00" CurrencyCode="CHF" />
  </Price>
  <ServiceDetails>...</ServiceDetails>
</Service>