Last updated

Service

Multiple ancestors

Service is a descendant of:

OTA_HotelDescriptiveContentNotifRQ

Fields

FieldDescriptionTypeMin/maxNotes
Services/
Service
Details of a service.object0..*-
Service/
@Code
The Hotel Amenity Code for the service.HAC1..1-
Service/
@CurrencyCode
Specifies the currency code.currencycode1..1If specified, must match the property's default currency code.
Service/
@ExistsCode
Specifies if the service exists, i.e. it sets if the facility is present or missing.enum0..11 = yes(present), 2 = no(missing). Default: 1.
Service/
@Included
Specifies whether the service is included in the room price or comes at an extra charge.enum0..1Accepts: true, false, unknown. Default: unknown
Service/
@Price
The price for the service, in the property's default currency.int0..1Required if @Code is 173 (breakfast), 6000 (lunch), 6001 (dinner).
Service/
Features
Details about service features.array of Feature0..1
Service/
Types
The types of service offered.array of Type0..1Currently used for breakfast services only.
Service/
Items
The items for the service offered.array of Item0..1Currently used for breakfast services only.
Service/
OperationTimes
Opening/Closing times for the service offered.array of OperationTime0..1Currently used for breakfast services only.

XML

<Service
  Code="5"
  Included="false" />
<Service
  Code="5052"
  ExistsCode="2" />
<Service
  Code="173"
  Price="14"
  CurrencyCode="EUR">
  <Types>
    ...
  </Types>
  <Items>
    ...
  </Items>
  <OperationTimes>
    ...
  </OperationTimes>
</Service>

OTA_HotelResNotifRQ & OTA_HotelResModifyNotifRQ

Feature res_new_services_format turned Off

Fields

FieldDescriptionTypeMin/maxNotes
Services/
Service
Contains details of a service (also: add-on) included in the reservation.object0..*-
Service/
@ServiceRPH
Specifies an index number that works as a cross-reference to link guests (ResGuest) to rooms RoomStay.integer0..1
Service/
@ServiceInventoryCode
The type of service/add-on.enum0..1Values listed under @ServiceInventoryCodeForAddons.
Service/
@ServicePricingType
The charge frequency/type (e.g.: per night; per person; etc.).enum0..1Values listed under @ServicePricingType.
Service/
ServiceDetails
The details of a Service.object1..1The contents of this element depend on the value of Service[@ServiceTypeCode], and can include the number of guests, the number of days the service is provided, and any fees that apply.

XML

<Service
  ServiceRPH="1"
  ServiceInventoryCode="22"
  ServicePricingType="3">
  <ServiceDetails>
    ...
  </ServiceDetails>
</Service>

Feature res_new_services_format turned On

Fields

FieldDescriptionTypeMin/maxNotes
Services/
Service
Contains details of a service (also: add-on & instay services) included in the reservation.object0..*-
Service/
@ID
The ID for the Service that the reservation happened on. The service is an instance of Service type where the partner previously customized it.integer0..1Existing for instay services only
Service/
@instance
The ID for the service reservation.integer0..1Existing for instay services only
Service/
@ReservationStatusType
Service reservation statusenum0..1Values listed under @ReservationStatusType
Service/
@Inclusive
Specifies whether the service is included in the price of the booking or comes at an extra charge.boolean0..1
Service/
@URL
The URL that the partner can use to approve the reservation in case it’s needed.string0..1Existing for instay services only
Service/
@ServiceInventoryCode
Unique identifier for service types.integer0..1Existing for both Addons and instay services. Addons Ids are listed under @ServiceInventoryCodeForAddons. In-stay services Ids are listed under @ServiceInventoryCodeForInstayServices. Note this field is not enough to identify the type. It should be used in addition to ServiceCategoryCode
Service/
@ServiceCategoryCode
It has only two possible values ( “Addons” , “InStayServices” ). In booking there two sources for services, which are “Addons” and “InStayServices”. To uniquely identify any service. Two fields should be used: @ServiceCategoryCode + @ServiceInventoryCoded
Service/
@ServicePricingType
The charge frequency/type (e.g.: per night; per person; etc.).enum0..1Existing only for Addons. Values listed under @ServicePricingType.
Service/
@ServiceRPH
Unique index number for the service.integer0..1Existing only for Addons. Used for cross-referencing with ServiceRPH[@RPH].
Service/
ServiceDetails
The details of a Service.object1..1The contents of this element depend on the value of @ServiceCategoryCode + @ServiceInventoryCoded. It includes information about the service reservation, like customer comments. It also includes more information about the service itself
Service/
Price
It contains detailed information about the price of the service.object1..*There can be more than one Price Tag. If the service has multiple rates, each rate will have a separate tag.
Service/
TPA_Extensions
It has extra identification information ServiceExtraIdentificationInfo about the Service that had reservation. Also It has the ReservationTime.object0..1Existing for Addons and instay services

XML

Instay service example
<Service
        ID="2808"
        instance="7546"
        ReservationStatusType="Reserved"
        Inclusive="0"
        URL="https://admin.booking.com/hotel/hoteladmin/extranet_ng/manage/booking.html?service_action=details&amp;hotel_id=555926&amp;service_req=7546&amp;res_id=1773108520"
        ServiceInventoryCode="6"
        ServiceCategoryCode ="InStayServices"
        ServicePricingType="0"
        >
    <Price NumberOfUnits="1">
        <Total CurrencyCode="EUR" AmountAfterTax="25" />
        <Base CurrencyCode="EUR" Type="per_bottle" AmountAfterTax="25"/>
    </Price>
    <TPA_Extensions>
        <ServiceExtraIdentificationInfo
           Title="Champagne"
           ServiceTypeName="champagne"
           AutoApproveEnabled="True"
         >
            <Attribute key="champagne_specifics_more">This service includes a bottle of cava (Catalan champagne), strawberries with chocolate, and a sensual kit.</Attribute>
            <Attribute key="moderation">1</Attribute>
        </ServiceExtraIdentificationInfo>
        <ReservationTime time="2019-03-07 03:35:51"></ReservationTime>
    </TPA_Extensions>
    <ServiceDetails>
        <Comments></Comments>
        <CancelPenalties CancelPolicyIndicator="False">
            
         </CancelPenalties>
        <DepositPayments>
            <GuaranteePayment>
                <Description>
                    <Text>Payment policy was not defined</Text>
                </Description>
            </GuaranteePayment>
        </DepositPayments>
    </ServiceDetails>
</Service>
Addon service example
<Service
        ServiceRPH="1"
        ServiceInventoryCode="1"
        ServicePricingType="4"
         ServiceCategoryCode ="Addons" 
        >
    <Price NumberOfUnits="18">
        <Total CurrencyCode="EUR" AmountAfterTax="54" />
        <Base CurrencyCode="EUR" Type="per person / per night" AmountAfterTax="3"/>
        <RateDescription>
            <Text>per person / per night</Text>
        </RateDescription>
    </Price>
    <ServiceDetails>
        <Comments>
            <Comment Name="Guest count">
                <Text>3</Text>
            </Comment>
            <Comment Name="Night count">
                <Text>6</Text>
            </Comment>
        </Comments>
        <CancelPenalties CancelPolicyIndicator="False"></CancelPenalties>
        <GuaranteePayment>
            <Description>
                <Text>Same payment method of the room reservation 24864713 </Text>
            </Description>
        </GuaranteePayment>
    </ServiceDetails>
    <TPA_Extensions>
        <ServiceExtraIdentificationInfo Title="Colazione" ServiceTypeName="Breakfast" >
            </ServiceExtraIdentificationInfo>
    </TPA_Extensions>
</Service>

@ServiceInventoryCodeForAddons

Specifies the type of service or add-on.

ValueName
1Breakfast
2Continental breakfast
3American breakfast
4Buffet breakfast
5Full english breakfast
6Lunch
7Dinner
8Half board
9Full board
11Breakfast for Children
12Continental breakfast for Children
13American breakfast for Children
14Buffet breakfast for Children
15Full english breakfast for Children
16Lunch for Children
17Dinner for Children
18Half board for Children
19Full board for Children
20WiFi
21Internet
22Parking space
23Extra bed
24Baby cot

@ServiceInventoryCodeForInstayServices

Specifies the type of service or add-on.

ValueName
1Late Check-out
2Early Check-in
3Late Check-in
4Champagne
5Wine
6Flowers
7Attraction
8Airport Shuttle
9Parking
10Massage
11Facial
12Body
13Christmas
14New Year
15Celebration Package
16Ski Pass

@ServicePricingType

Specifies how the price for the service is calculated.

ValueDescription
0Not applicable.
1Once per stay.
2Once per person, per stay.
3Once per night.
4Once per person, per night.
5Percentage of total stay price.
6Percentage of total stay price, per person.

@ReservationStatusType

Service reservations statuses.

ValueDescription
CancelledThis reservation has been cancelled.
Checked outThe guest has checked out and the reservation has been changed to "Checked out" status
In-houseThis reservation has been check in, and is in "in-house" status.
No-showThis reservation is in "no show" status. Typically this means the person for whom this reservation belonged did not chec
Request deniedThe request for the reservation has been denied.
RequestedThe reservation has been requested but has not yet been reserved.
ReservedThe reservation has been reserved.
WaitlistedThis reservation is in waitlist status and the reservation has not been confirmed.