/
Example sendBooking without address
Example sendBooking without address
Hotels can choose to ask guests for their address. An address in the booking is therefore optional. Below two examples of the sendBooking, one without an address and one with an address.
Hoteliers push (without address)
Customer element
<?xml version="1.0" encoding="UTF-8"?>
<request function="sendBooking">
<extChannel ID="57" name="SmartPMS (via SmartHOTEL)"/>
<booking ID="1710054" isCorporate="n" type="room">
...
<customer>
<gender>m</gender>
<firstname>John</firstname>
<name>Doe</name>
<email>j.doe@hoteliers.com</email>
<address></address>
<streetnr></streetnr>
<zipcode></zipcode>
<city></city>
<country code="NL">Netherlands</country>
<language>NL</language>
<company>Acme corp</company>
<phonenr>+31205313333</phonenr>
<fax></fax>
<cc_name>J. Doe</cc_name>
<cc_type>MC</cc_type>
<cc_number>5555555555555555555</cc_number>
<cc_cvc>987</cc_cvc>
<cc_expires>2024-04</cc_expires>
<remarks><![CDATA[expected time of arrival could be sooner. ]]></remarks>
</customer>
...
Hoteliers push (with address)
Customer element
<?xml version="1.0" encoding="UTF-8"?>
<request function="sendBooking">
<extChannel ID="57" name="SmartPMS (via SmartHOTEL)"/>
<booking ID="1710054" isCorporate="n" type="room">
...
<customer>
<gender>m</gender>
<firstname>John</firstname>
<name>Doe</name>
<email>j.doe@hoteliers.com</email>
<address>Damstraat</address>
<streetnr>1</streetnr>
<zipcode>1001 AA</zipcode>
<city>Amsterdam</city>
<country code="NL">Netherlands</country>
<language>NL</language>
<company>Acme corp</company>
<phonenr>+31205313333</phonenr>
<fax></fax>
<cc_name>J. Doe</cc_name>
<cc_type>MC</cc_type>
<cc_number>5555555555555555555</cc_number>
<cc_cvc>987</cc_cvc>
<cc_expires>2024-04</cc_expires>
<remarks><![CDATA[expected time of arrival could be sooner. ]]></remarks>
</customer>
...
, multiple selections available,
Related content
Example SendBooking with booked extras
Example SendBooking with booked extras
More like this
Function sendBooking
Function sendBooking
More like this
Function sendBooking (package)
Function sendBooking (package)
More like this
sendBooking OK response
sendBooking OK response
More like this
Function sendCancellation
Function sendCancellation
More like this
Function getHotels
Function getHotels
More like this