Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<booking_notification_response>
 <ok>integer(6)</ok>
</booking_notification_response>

lodging

field

required?

description

lodging_id

yes

action

yes

reservation

yes

Your reservation id

reservation_date

yes

reservation_remarks

no

customer_email

no, but advised

customer_name

yes

customer_address

no

customer_city

no

customer_country

no, but advised

customer_zip

no

customer_telephone

no

customer_language

no, but advised

cc_number

no

cc_type

no

cc_expiration

no

cc_cvc

no

cc_name

no

currency

no

agency_name

yes

agency_reservation

yes

agency_remarks

no

security_deposit

no

Number with 2 decimals.

commission_amount

no

Number with 2 decimals.

prepayment

yes, unless there isn’t

Number with 2 decimals.

arrival_time

no, but advised

flight_number

no

rooms

For vacational rentals there will only be 1 room for each lodging_id, so the room_id should be 1 always.

...

Code Block
languagexml
<room>
  <room_id>character(10)</room_id>
  <guest_name>character(50)</guest_name>
  <rate_id>character(10)</rate_id>
  <non_refundable>false/true</non_refundable>
  <people>integer(2)</people>
  <children>integer(2)</children>
  <babies>integer(2)</babies>
  <dates>
    ...
  </dates>
</room>

field

required?

description

room_id

yes

Always 1 for vacational rentals

guest_name

no

rate_id

yes

non_refundable

no

people

yes

Number of adults

children

yes

Number of children

babies

yes

Number of babies

dates

Here you will send the price for each nights. With this node the check-in and check-out dates will be created, as well as the stay price.

...

Code Block
<date>
  <day>iso8601 (yyyy-mm-dd)</day>
  <price>decimal</price>  
</date>

field

required?

description

day

yes

Date for each night

price

yes

Price for the night (without discounts or extra fees, this will be added later).

Number with 2 decimals.

adds_on_stay

This node is used to add the extra fees in a reservation, that are not the stay price.

...

name is optional

The options are:

add_on_stay_id

name

1

Cleaning fee

2

Booking fee

3

Check-in fee

4

Short stay fee

5

Tourist tax

6

Payment fee

discounts_stay

This node is used to add discounts in a reservation.

...

promotion_code is required, but only for the promotion discount

The options are:

discount_stay_id

name

1

Standard discount

2

Early booking discount

3

Long stay discount

4

Last minute discount

5

Promotion code

If you are using this discount, you must send the <promotion_code> field