/
5.1. CM HOTEL RESERVATION NOTIFY REQUEST

5.1. CM HOTEL RESERVATION NOTIFY REQUEST

Channel Manager Hotel Reservation Notify Request is used to notify a Channel Manager about a reservation made via Client's API.

OTA_HotelResNotifRQ*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

 

ResStatus*

string ("Modify", "Commit", "Cancel")

Defines a status of the booking. Possible values are:

“Modify” - is a status to notify that the booking has been modified via Client's API. The values of date and pax names in the request are updated ones.

“Commit” - is a status to notify about the fact a booking of a particular offer has been made via Client's API.

“Cancel” - is a status to notify about that a particular booking has been cancelled via Client's API.

1...1

HotelReservation/HotelReservation*

 

 

Contains information about the reservation that are to be confirmed/modified/cancelled.

1...*

OTA_HotelResNotifRQ/HotelReservation/HotelReservation*:

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

 

CreateDateTime

yyy-dd-mm T hh-MM-ss or yyyy-MM-dd'T'HH:mm:ssXXX

Defines date and time when a reservation was created.

0...1

 

LastModifyDateTime

yyy-dd-mm T hh-MM-ss or yyyy-MM-dd'T'HH:mm:ssXXX

Defines date and time when a reservation was modified last time.

0...1

UniqueID*

 

 

Information about identifier of a booking (order) in Client's API system.

1...1

 

ID*

string (1 - 64)

Is equal to unique identifier of a booking (order) in Client's API system.

1...1

 

Type*

integer

Defines unique ID type and always set as "1".

1...1

RoomStays/RoomStay

 

 

Defines the rate in a certain hotel.

0...*

ResGuests/ResGuest

 

 

Defines details of the guests in the reservation.

0...*

ResGlobalInfo*

 

 

Contains general details about the reservation.

1...1

OTA_HotelResNotifRQ/HotelReservation/HotelReservation/RoomStays/RoomStay:

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

RoomTypes/RoomType

 

 

Defines a room type that is to be booked/modified/cancelled.

0...1

 

RoomTypeCode*

string (1 - 64)

A compound code of a room in a Client's system.

1...1

RoomStays/RoomStay/RoomTypes/RoomType/RoomDescription

 

 

Contains description of the room.

0...1

 

Name*

string (1 - 512)

Gives a short description of the room.

1...1

 

Language

 

For more information see Common Data Description section in Glossary.

0...1

RoomTypes/RoomType/RoomDescription/Text

 

string

Contains detailed room description, for example: "Deluxe Double with high speed internet", if the detailed description provided by supplier. Otherwise the Text contains the same value as the @Name attribute.

0...1

RatePlans/RatePlan

 

 

Defines a rate plan of a room.

0...1

 

RatePlanCode*

string (1 - 64)

Specifies a rate plan code of a room.

1...1

RatePlans/RatePlan/RatePlanDescription

 

 

Contains description of meal available at hotel.

0...1

 

Language

 

For more information see Common Data Description section in Glossary.

0...1

RatePlans/RatePlan/RatePlanDescription/Text

 

string

Gives a short description of rate plan of a room.

0...1

 

Amount*

 

For more information see Common Data Description section in Glossary.

1...1

 

CurrencyCode*

 

1...1

RatePlans/RatePlan/MealsIncluded

 

 

Defines a specific meal included into the rate plan.

0...1

 

MealPlanCodes

string

Uses standard OTA codes "Meal Plan Type (MPT)" and specifies type of meal.

0...1

RoomRates/RoomRate

 

 

Contains room offer description.

0...1

GuestCounts/GuestCount*

 

 

Is used to provide number of guests as well as their age category.

1...3

 

AgeQualifyingCode*

 

For more information see Common Data Description section in Glossary.

1...1

 

Count*

integer (1 - 999)

Specifies how many guests of this age are presented.

1...1

TimeSpan*

 

 

Displays an start and end day of stay.

1...1

 

Start*

yyyy-mm-dd

Defines a start day of stay.

1...1

 

End*

yyyy-mm-dd

Displays an end day of stay.

1...1

Total*

 

 

The total price of the offer (after discount, if any has been applied).

1...1

 

AmountAfterTax*

 

For more information see Common Data Description section in Glossary.

1...1

 

CurrencyCode*

 

1...1

BasicPropertyInfo*

 

 

Provides basic hotel information.

1...1

 

HotelCode*

string (1 - 64)

Defines a hotel code.

1...1

 

HotelCodeContext*

string

Specifies the context the HotelCode should be taken from (should be in client's API context only).

1...1

 

HotelName*

string (1 - 255)

Contains hotel name.

0...1

ResGuestRPHs/ResGuestRPH

 

 

Contains a guest identifier, includes all the guests who stay in a particular room.

0...*

 

RPH

integer (1 - 9)

Identifier of a guest in the reservation.

0...1

Comments/Comment/Text

 

string

Any free-text comments to be sent to supplier in the booking. Comments will be passed to supplier, but it is not guaranteed that they will be satisfied.

0...1

OTA_HotelResNotifRQ/HotelReservation/HotelReservation/RoomStays/RoomStay/RoomRates/RoomRate:

Element

Attribute

Type

Description

Min…Max occurs

 

RoomTypeCode*

string (1 - 64)

Room type code of a room to be booked/modified/cancelled.

1...1

RatePlanCode

string (1 - 64)

Rate plan code of a room to be booked/modified/cancelled.

0...1

NumberOfUnits*

integer (1 - 999)

Is always set to "1".

1...1

InvBlockCode*

integer

Represents a room identifier. Must start from 1 and must be unique for every RoomRate.

1...1

Rates

 

 

Individual rate amount by dates

 

0..1

Rates/Rate*

 

 

1..*

Rates/Rate/Total

 

 

 

 

Total price of individual rate

0..1

AmountAfterTax*

 

For more information see Common Data Description section in Glossary.

1..1

CurrencyCode*

 

For more information see Common Data Description section in Glossary.

1..1

OTA_HotelResNotifRQ/HotelReservation/HotelReservation/ResGuests/ResGuest:

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

 

ResGuestRPH

integer (1 - 9

Unique id of a guest in the reservation.

0...1

 

PrimaryIndicator

boolean

If it is set to true – the guest is a TourLead.

0...1

Profiles*

 

 

Contains personal details of a guest.

1...1

Profiles/ProfileInfo*

 

 

1...*

Profiles/ProfileInfo/Profile

 

 

 

1...1

 

ProfileType

integer (1, 4)

For a Customer it is always equal to "1" - OTA code for Customer.

0...1

Profiles/ProfileInfo/Profile/ Customer*

 

 

Contains basic information about the customer.

1...1

OTA_HotelResNotifRQ/HotelReservation/HotelReservation/ResGuests/ResGuest/Profiles/ProfileInfo/Profile/Customer*:

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

 

BirthDate

yyyy-mm-dd

Must be specified for children and infants.

0...1

PersonName/NamePrefix

 

string ("Mr", "Ms", "Mrs")

Name prefix of the guest.

0...1

PersonName/GivenName

 

string (1-64)

First name of the guest.

0...1

PersonName/Surname

 

string (1-64)

Surname of the guest.

0...1

Telephone

 

 

Contains information about passenger's phone. It is enough to submit Telephone only for the tour lead.

0...1

CountryAccessCode

string (1 - 3)

Code assigned by telecommunications authorities for international country access identifier.

0...1

AreaCityCode

string (1 - 8)

Code assigned for telephones in a specific region, city, or area.

0...1

PhoneNumber*

string (1 - 32)

Passenger's phone number.

1...1

PhoneLocationType

integer (6, 7, 8)

Indicates location type for passenger's phone number. Possible values: 6 (Home), 7 (Office), 8 (Other).

0...1

PhoneTechType

integer (3, 5)

Indicates type of technology associated with this telephone number. Possible values: 5 (Mobile), 3 (Fax).

0...1

Email

 

string (1-128)

Contains information about passenger's email. It is enough to submit Email only for the tour lead.

0...5

CitizenCountryName

 

 

(Self-professed) country that is claimed for citizenship.

0...2

 

Code

2-3 character country code

ISO-2 or ISO-3 country code.

0...1

OTA_HotelResNotifRQ/HotelReservation/HotelReservation/ResGlobalInfo*:

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

Total*

 

 

The total price of the offer (after discount, if any has been applied).

1...1

 

AmountAfterTax*

 

For more information see Common Data Description section in Glossary.

1...1

 

CurrencyCode*

 

1...1

HotelReservationIDs/HotelReservationID*

 

 

Contains unique identifier of a booking.

1...1

 

ResID_Type*

string

Always has value = 1.

1...1

 

ResID_Source*

string ("basket")

Allows to pass client (agent) booking reference that is generated by application connecting to GP Travel HUB for identification of each booking. Has value "basket" for the whole list of room reservations.

1...1

 

ResID_Value*

string

Displays unique reservation identifier in Client's API system.

1...1

Profiles

 

 

Contains an information about reservation creator. It can be either travel agent info or customer or both

0...1

Profiles/ProfileInfo*

 

 

1...*

OTA_HotelResNotifRQ/HotelReservation/HotelReservation/ResGlobalInfo/Profiles/ProfileInfo*:

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

UniqueID

 

 

UniqueID is presented in case a reservation has been made by a Travel Agent (not a single Customer).

0...1

 

ID

string (1 - 64)

A unique id of a Travel Agent who is using Client's API.

0...1

 

Type

integer

The required attribute with fixed value "1".

0...1

Profile*

 

 

 

1...1

 

ProfileType

integer (1, 4)

Defines type of the profile. Possible values: "4" - OTA code for a Travel Agent, "1" - OTA code for a Customer.

0...1

Profile/Customer

 

 

If a ProfileType attribute = "1" then a Customer tag is presented and defines the name of a guest.

0...1

Profile/Customer/PersonName

 

 

Contains full name of the guest.

0...1

Profile/Customer/PersonName/NamePrefix

 

string ("Mr", "Ms", "Mrs")

Name prefix of the guest.

0...1

Profile/Customer/PersonName/GivenName*

 

string

First name of the guest.

1...1

Profile/Customer/PersonName/Surname*

 

string

Surname of the guest.

1...1

Profile/CompanyInfo/CompanyName

 

string

If ProfileType attribute = "4" then a CompanyInfo tag is presented and defines the name of a Travel Agent Company.

0...1

<OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" ResStatus="Cancel" Version="2.0"> <POS> <Source> <RequestorID ID="1703972" Instance="ChannelManager" MessagePassword="" Type="22"/> <BookingChannel PriceDomain="1" Type="7"/> </Source> </POS> <HotelReservations> <HotelReservation CreateDateTime="2018-08-16T13:44:52+02:00" LastModifyDateTime="2018-08-16T14:07:56.220+02:00"> <UniqueID ID="189-1" Type="1"/> <RoomStays> <RoomStay> <RoomTypes> <RoomType RoomTypeCode="1755137.1755135"> <RoomDescription Name="Single Room Classic"/> </RoomType> </RoomTypes> <RatePlans> <RatePlan RatePlanCode="1755142.1755139"> <RatePlanDescription> <Text>Best Available Rate Room Only</ota:Text> </RatePlanDescription> </RatePlan> </RatePlans> <RoomRates> <RoomRate InvBlockCode="1" NumberOfUnits="1" RatePlanCode="1755142.1755139" RoomTypeCode="1755137.1755135"/> </RoomRates> <GuestCounts> <GuestCount AgeQualifyingCode="10" Count="1"/> </GuestCounts> <TimeSpan End="2018-08-28" Start="2018-08-25"/> <Total AmountAfterTax="0.00" CurrencyCode="EUR"/> <BasicPropertyInfo HotelCode="1877683" HotelCodeContext="siteminder" HotelName="Hotel Milano (Site Minder)"/> <ResGuestRPHs> <ResGuestRPH RPH="1"/> </ResGuestRPHs> </RoomStay> </RoomStays> <ResGuests> <ResGuest PrimaryIndicator="true" ResGuestRPH="1"> <Profiles> <ProfileInfo> <Profile ProfileType="1"> <Customer> <PersonName> <NamePrefix>Mr</ota:NamePrefix> <GivenName>Edwin</ota:GivenName> <Surname>Brown</ota:Surname> </PersonName> </Customer> </Profile> </ProfileInfo> </Profiles> </ResGuest> </ResGuests> <ResGlobalInfo> <Total AmountAfterTax="0.00" CurrencyCode="EUR"/> <HotelReservationIDs> <HotelReservationID ResID_Source="client" ResID_Type="1" ResID_Value="189-1"/> </HotelReservationIDs> <Profiles> <ProfileInfo> <Profile ProfileType="1"> <Customer> <PersonName> <NamePrefix>Mr</ota:NamePrefix> <GivenName>Edward</ota:GivenName> <Surname>Brown</ota:Surname> </PersonName> </Customer> </Profile> </ProfileInfo> </Profiles> </ResGlobalInfo> </HotelReservation> </HotelReservations> </OTA_HotelResNotifRQ>
<OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="21345" ResStatus="Commit" Version="2.0"> <POS> <Source> <RequestorID ID="2136657" Instance="ChannelManager" MessagePassword="" Type="22"/> <BookingChannel PriceDomain="1" Type="7"/> </Source> </POS> <HotelReservations> <HotelReservation CreateDateTime="2018-07-12T13:58:48.536+03:00"> <UniqueID ID="1716-1" Type="1"/> <RoomStays> <RoomStay> <RoomTypes> <RoomType RoomTypeCode="2204381.2204380"> <RoomDescription Name="Double room Comfort"/> </RoomType> </RoomTypes> <RatePlans> <RatePlan RatePlanCode="2204388.2204385"> <RatePlanDescription> <Text>Standard Room Only</ota:Text> </RatePlanDescription> <MealsIncluded MealPlanCodes="14"/> </RatePlan> </RatePlans> <RoomRates> <RoomRate InvBlockCode="1" NumberOfUnits="1" RatePlanCode="2204388.2204385" RoomTypeCode="2204381.2204380"/> </RoomRates> <GuestCounts> <GuestCount AgeQualifyingCode="10" Count="2"/> </GuestCounts> <TimeSpan End="2018-07-19" Start="2018-07-18"/> <Total AmountAfterTax="400.00" CurrencyCode="EUR"/> <BasicPropertyInfo HotelCode="9072609" HotelCodeContext="siteminder" HotelName="Langham Place"/> <ResGuestRPHs> <ResGuestRPH RPH="1"/> <ResGuestRPH RPH="2"/> </ResGuestRPHs> </RoomStay> </RoomStays> <ResGuests> <ResGuest PrimaryIndicator="true" ResGuestRPH="1"> <Profiles> <ProfileInfo> <Profile ProfileType="1"> <Customer> <PersonName> <NamePrefix>Mr</ota:NamePrefix> <GivenName>Smith</ota:GivenName> <Surname>John</ota:Surname> </PersonName> </Customer> </Profile> </ProfileInfo> </Profiles> </ResGuest> <ResGuest ResGuestRPH="2"> <Profiles> <ProfileInfo> <Profile ProfileType="1"> <Customer> <PersonName> <NamePrefix>Ms</ota:NamePrefix> <GivenName>Sara</ota:GivenName> <Surname>Smith</ota:Surname> </PersonName> </Customer> </Profile> </ProfileInfo> </Profiles> </ResGuest> </ResGuests> <ResGlobalInfo> <Total AmountAfterTax="400.00" CurrencyCode="EUR"/> <HotelReservationIDs> <HotelReservationID ResID_Source="client" ResID_Type="1" ResID_Value="1716-1"/> </HotelReservationIDs> <Profiles> <ProfileInfo> <Profile ProfileType="1"> <Customer> <PersonName> <NamePrefix>Mr</ota:NamePrefix> <GivenName>John</ota:GivenName> <Surname>Smith</ota:Surname> </PersonName> </Customer> </Profile> </ProfileInfo> </Profiles> </ResGlobalInfo> </HotelReservation> </HotelReservations> </OTA_HotelResNotifRQ>

Related content

3.1. CM HOTEL AVAILABILITY NOTIFY REQUEST
3.1. CM HOTEL AVAILABILITY NOTIFY REQUEST
More like this
4.1. CM HOTEL RATE AMOUNT NOTIFY REQUEST
4.1. CM HOTEL RATE AMOUNT NOTIFY REQUEST
More like this
7.1. HOTEL RESERVATION INITIATE REQUEST
7.1. HOTEL RESERVATION INITIATE REQUEST
More like this
10.6. HOTEL MODIFICATION CONFIRMATION RESPONSE
10.6. HOTEL MODIFICATION CONFIRMATION RESPONSE
More like this
5.2. CM HOTEL RESERVATION NOTIFY RESPONSE
5.2. CM HOTEL RESERVATION NOTIFY RESPONSE
More like this