1
<span class="description">
3
<div class="descriptionheading">Overview</div>
5
Since no error correction is done for the bookings (i.e. it is possible to book resources that are not available at the requested date) all
6
applications must check resource availability. This function passes a resource ID to the API which returns a set of available dates,
7
and for each date the number of available positions and the cost for making a booking is returned.
9
<div class="descriptionheading">ResultAvailability</div>
10
<span class="interestingdescription">booking/getavailability_XML.php</span> shows the availability information for all available dates for the given resourceID.
14
<br><br><div class='exampleheading'>Call Example:<br><br>
15
<pre><span class="codeexample">$.ajax({
17
url: 'booking/getavailability_XML.php',
19
// type: escape("Hotell_Demo"), // Optional: You can specify the application?
22
success: ResultAvailability
29
<br><div class='exampleheading'>Returned Data Example:<br>
30
<pre><span class="codeexample">
34
name='The Laszlo Plaza'