NotificationService

Notification Service SOAP WSDL

BE_BookingNotification

BE_BookingNotification supports the functionality of updating a system with reservation data.

BookingNotification_Response BE_BookingNotification(BE_BookingNotification_Request request)

Example

<BookEasy>
               <Control>
                  <ControlID>101</ControlID>
                  <Itinerary>
                     <ContactInformation>
                        <AcceptCancellationPolicy>true</AcceptCancellationPolicy>
                        <Address>1/26 Minchin Way</Address>
                        <Comments></Comments>
                        <Country>Australia</Country>
                        <Email>michael@queensberryit.com</Email>
                        <Facsimile>555555555</Facsimile>
                        <FirstName>Michael</FirstName>
                        <Mobile></Mobile>
                        <PostCode>4211</PostCode>
                        <ReceiveENewsletter>false</ReceiveENewsletter>
                        <Referrer>Website</Referrer>
                        <State>QLD</State>
                        <Surname>Savage</Surname>
                        <Telephone>5467891320</Telephone>
                        <Town>Margaret River</Town>
                     </ContactInformation>
                     <IsCancelled>false</IsCancelled>
                     <IsConfirmed>true</IsConfirmed>
                     <IsPaid>true</IsPaid>
                     <ItineraryID>7894561</ItineraryID>
                     <Operators>
                        <BookEasyControlItineraryOperator>
           <OperatorID>33294</OperatorID>
                           <Rooms>
                              <BookEasyControlItineraryOperatorRoom>
                                 <BookingID>5656592</BookingID>
                                 <Cost>365</Cost>    
                                 <IsCancelled>true</IsCancelled>
                                 <IsConfirmed>false</IsConfirmed>
                                 <ReservationRequest>
                                    <Adults>2</Adults>
                                    <Children>0</Children>
                                    <InDate>2010-08-24T12:00:00</InDate>
                                    <Infants>0</Infants>
                                    <Period>2</Period>
                                 </ReservationRequest>
                                 <RoomID>19617</RoomID>
                              </BookEasyControlItineraryOperatorRoom>
                           </Rooms>
                        </BookEasyControlItineraryOperator>
                     </Operators>
                     <TotalCost>365</TotalCost>
                     <TotalPaid>365</TotalPaid>
                  </Itinerary>
               </Control>
            </BookEasy>
            <RequestType>BookEasy</RequestType>

Method Parameters

Field Data Type Description
requestBE_BookingNotification_Request

BE_BookingNotification_Request

Field Data Type Description
RequestTypeBookingRequestTypeBooking notification type.
BookEasyBookEasyThe BookEasy booking notification to be processed.
ChannelManagerUsernameStringChannel Managers Username as supplied when the Channel Manager Agreement was made
ChannelManagerPasswordStringChannel Managers password as supplied when the Channel Manager Agreement was made
UsernameStringHotels Username, if you are creating a new hotel and don't yet have this information, send in your desired Username, otherwise it must be the Username that has been allocated to this hotel
PasswordStringHotels Password, if you are creating a new hotel and don't yet have this information, send in your desired Password, otherwise it must be the Password that has been allocated to this hotel
HotelIdInt64The HotelID that you want to work with. This software can access more than one hotel from the same username and password.
HotelAuthenticationKeyStringAuthentication for a hotel can also be achieved by passing in the correct HotelAuthenticationKey. If you have been informed by us how to build this key, then you can use this key instead of supplying the Hotels Username and Password. If you do not know how to build the key, then your connection hasn't been approved for this style of authentication and you should use the Hotels Username and Password to achieve authentication. Note, if you are creating a Hotel, you must supply the username and password, you cannot use the HotelAuthenticationKey field, so set this to an Empty String. Last Note. Set this to an empty string if you are supplying username and password.

BookingRequestType

Booking notification type.

Field Data Type Description
API
BookEasy
OTA

BookEasy

The BookEasy booking notification to be processed.

Field Data Type Description
ControlBookEasyControl

BookEasyControl

Field Data Type Description
ControlIDInt32
ItineraryBookEasyControlItinerary

BookEasyControlItinerary

Field Data Type Description
ItineraryIDInt32
IsConfirmedBoolean
IsCancelledBoolean
IsPaidBoolean
TotalCostDecimal
TotalPaidDecimal
TotalRemainingDecimal
ContactInformationContactInformation
OperatorsOperator[]
PaymentsPayment[]

ContactInformation

Field Data Type Description
SalutationString
FirstNameString
SurnameString
AddressString
TownString
StateString
CountryString
PostCodeString
TelephoneString
FacsimileString
MobileString
EmailString
ReferrerString
CommentsString
AcceptCancellationPolicyBoolean
ReceiveENewsletterBoolean

Operator[]

Field Data Type Description

Payment[]

Field Data Type Description

TimeSpan

Field Data Type Description

BookingNotification_Response

Field Data Type Description
ResponseList of BookingResponseList of booking process responses
TimestampDateTime
MessageIdString
HotelAuthenticationKeyString

BookingResponse

List of booking process responses

Field Data Type Description
SuccessBooleanIndicates if the operation was successful or not.
ErrorCodeStringIf there was an error, the error code is returned here.
MessageStringSuccess and Error Information is returned here.
BookingPriceDecimalThe booking price that the bookng was saved in will be supplied here.

BookingNotification

BookingNotification supports the functionality of updating a system with reservation data.

BookingNotification_Response BookingNotification(BookingNotification_Request request)

Example

<BookingNotification>
            <ChannelManagerUsername>username</ChannelManagerUsername>
            <ChannelManagerPassword>password</ChannelManagerPassword>
            <Username></Username>
            <Password></Password>
            <HotelId>3</HotelId>
            <HotelAuthenticationKey>4bacc65809bef488b5202b2612e9c76a</HotelAuthenticationKey>
            <Booking>
               <BookingDetails>
                  <Adults>2</Adults>
                  <CheckIn>2010-11-23T00:00:00</CheckIn>
                  <CheckOut>2010-11-26T00:00:00</CheckOut>
                  <Children>0</Children>
                  <Infants>0</Infants>
                  <OwingAmount>375</OwingAmount>
                  <PropertyId>62</PropertyId>
                  <RoomCode>240</RoomCode>
                  <SpecialRequests>My comments</SpecialRequests>
               </BookingDetails>
               <BookingRef>1500091</BookingRef>
               <BookingType>Booking</BookingType>
               <CreditCardDetails>
                  <ExpiryDate>2011-01-01T00:00:00</ExpiryDate>
                  <HolderFullName>test card</HolderFullName>
                  <Number>42424242424242</Number>
                  <VerificationNumber>100</VerificationNumber>
               </CreditCardDetails>
               <MainGuest>
                  <AddressFirstLine>Test Address Line</AddressFirstLine>
                  <AddressSecondLine>Test</AddressSecondLine>
                  <City>Test</City>
                  <CountryIso>AU</CountryIso>
                  <Email>test@test.com</Email>
                  <FirstName>testbin</FirstName>
                  <LastName>mirkbin</LastName>
                  <Mobile>989891</Mobile>
                  <Phone>1982</Phone>
                  <Postcode>29392</Postcode>
                  <State>QLD</State>
               </MainGuest>
            </Booking>
            <RequestType>API</RequestType>
      </BookingNotification>

Method Parameters

Field Data Type Description
requestBookingNotification_Request

BookingNotification_Request

Field Data Type Description
RequestTypeBookingRequestTypeBooking notification type. Possible Values = API, Bookeasy, OTA - In 99% of cases you should set this to API unless you are told otherwise.
BookingBookingThe booking notification to be processed.
ChannelManagerUsernameStringChannel Managers Username as supplied when the Channel Manager Agreement was made
ChannelManagerPasswordStringChannel Managers password as supplied when the Channel Manager Agreement was made
UsernameStringHotels Username, if you are creating a new hotel and don't yet have this information, send in your desired Username, otherwise it must be the Username that has been allocated to this hotel
PasswordStringHotels Password, if you are creating a new hotel and don't yet have this information, send in your desired Password, otherwise it must be the Password that has been allocated to this hotel
HotelIdInt64The HotelID that you want to work with. This software can access more than one hotel from the same username and password.
HotelAuthenticationKeyStringAuthentication for a hotel can also be achieved by passing in the correct HotelAuthenticationKey. If you have been informed by us how to build this key, then you can use this key instead of supplying the Hotels Username and Password. If you do not know how to build the key, then your connection hasn't been approved for this style of authentication and you should use the Hotels Username and Password to achieve authentication. Note, if you are creating a Hotel, you must supply the username and password, you cannot use the HotelAuthenticationKey field, so set this to an Empty String. Last Note. Set this to an empty string if you are supplying username and password.

BookingRequestType

Booking notification type. Possible Values = API, Bookeasy, OTA - In 99% of cases you should set this to API unless you are told otherwise.

Field Data Type Description
API
BookEasy
OTA

Booking

The booking notification to be processed.

Field Data Type Description
BookingRefStringUnique booking identifier.
BookingTypeBookingNotificationTypeBooking type. Possible Values are Booking and Cancellation. Send in Booking for new bookings, and Cancellation for Cancelleations. For modifications, we only care about modifications if the dates or the room type has changed, so in those cases send in a Cancellation request first, and then send in a new Booking.
MainGuestGuestDetailsMain guest for the current booking.
BookingDetailsBookingDetailsRoom package details for the current booking.
CreditCardDetailsCreditCardDetailsFinancial details for the current booking.

BookingNotificationType

Booking type. Possible Values are Booking and Cancellation. Send in Booking for new bookings, and Cancellation for Cancelleations. For modifications, we only care about modifications if the dates or the room type has changed, so in those cases send in a Cancellation request first, and then send in a new Booking.

Field Data Type Description
Cancellation
Booking

GuestDetails

Main guest for the current booking.

Field Data Type Description
FirstNameStringMain guest first name.
LastNameStringMain guest last name.
AddressFirstLineStringMain guest address first line.
AddressSecondLineStringMain guest address second line.
CityStringMain guest address city.
StateStringMain guest address state.
PostcodeStringMain guest address post code.
CountryIsoStringMain guest country iso.
PhoneStringMain guest contact phone number.
MobileStringMain guest contact modile number.
EmailStringMain guest contact email address.

BookingDetails

Room package details for the current booking.

Field Data Type Description
PropertyIdInt64Booked property id.
RoomCodeStringBooked room id.
CheckInDateTimeBooking check in date.
CheckOutDateTimeBooking check out date.
AdultsInt32Booking adult pax.
ChildrenInt32Booking children pax.
InfantsInt32Booking infants pax.
SpecialRequestsStringGuest specail request comments.
OwingAmountDecimalBooking total cost.
CurrencyISOStringCurrency of the booking.
QuantityInt32Quantity.

CreditCardDetails

Financial details for the current booking.

Field Data Type Description
HolderFullNameStringName that appears on credit card.
NumberStringCredit card number.
ExpiryDateDateTimeCredit card expiry date.
VerificationNumberStringCredit card verification number (CCV).

TimeSpan

Field Data Type Description

BookingNotification_Response

Field Data Type Description
ResponseList of BookingResponseList of booking process responses
TimestampDateTime
MessageIdString
HotelAuthenticationKeyString

BookingResponse

List of booking process responses

Field Data Type Description
SuccessBooleanIndicates if the operation was successful or not.
ErrorCodeStringIf there was an error, the error code is returned here.
MessageStringSuccess and Error Information is returned here.
BookingPriceDecimalThe booking price that the bookng was saved in will be supplied here.