Skip to content

Instantly share code, notes, and snippets.

@nedden
Created January 31, 2024 12:27
Show Gist options
  • Save nedden/57727fe364639b483f61c9d6e9e2505e to your computer and use it in GitHub Desktop.
Save nedden/57727fe364639b483f61c9d6e9e2505e to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<booking>
<total_price>
<amount>236.45</amount>
<currency>EUR</currency>
<before_tax>236.45</before_tax>
<after_tax>236.45</after_tax>
</total_price>
<customer>
<title>MR</title>
<address_line_1>123 street</address_line_1>
<address_line_2>string</address_line_2>
<postcode>12345</postcode>
<city>Paris</city>
<country>France</country>
<email>john@doe.com</email>
<phone_number>+121234567890</phone_number>
<birth_date>1980-01-01</birth_date>
<first_name>John</first_name>
<last_name>Doe</last_name>
</customer>
<reservations>
<status>TO_BE_DELIVERED</status>
<comments>We would like a wake up call every morning at 6am</comments>
<guests>
<title>MR</title>
<address_line_1></address_line_1>
<address_line_2></address_line_2>
<postcode>12345</postcode>
<city>Paris</city>
<country>France</country>
<email>john@doe.com</email>
<phone_number>+121234567890</phone_number>
<birth_date>1980-01-01</birth_date>
<first_name>John</first_name>
<last_name>Doe</last_name>
</guests>
<check_in>2024-04-23</check_in>
<check_out>2024-04-24</check_out>
<price>
<amount>253</amount>
<currency>EUR</currency>
<before_tax>236.45</before_tax>
<after_tax>253</after_tax>
</price>
<offer_id>096b49f7-b550-404e-9a1f-9a8ce345cdd3</offer_id>
<prices_per_night>
<date>2024-04-23</date>
<price>
<amount>253</amount>
<currency>EUR</currency>
<before_tax>236.45</before_tax>
<after_tax>253</after_tax>
</price>
</prices_per_night>
<adults>1</adults>
<children>0</children>
<no_show_policy>
<name>Non Refundable</name>
<description>No free no-show</description>
<charge_type>percentage</charge_type>
<amount>100</amount>
</no_show_policy>
<cancellation_policies>
<name>Strict</name>
<description>No free cancellation.</description>
<charge_type>percentage</charge_type>
<reference>after-booking</reference>
<days_before_activation>0</days_before_activation>
<hours_before_activation>0</hours_before_activation>
<amount>100</amount>
</cancellation_policies>
<errors/>
<id>P8XNLNG2</id>
<booking_id>2GL3LNY0</booking_id>
<rate_plan_id>1YKZZJYO</rate_plan_id>
<unit_id>RY75EVG6</unit_id>
<property_id>KGQDE1Y4</property_id>
</reservations>
<comments/>
<id>2GL3LNY0</id>
</booking>
</data>
<links>
<get>
<method>GET</method>
<url>https://api.katanox.com/v2/bookings/2GL3LNY0</url>
</get>
<cancel>
<method>DELETE</method>
<url>https://api.katanox.com/v2/bookings/2GL3LNY0</url>
</cancel>
</links>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment