The Search Bookings call allows you to search the bookings by various criteria such as booking date, departure and arrival date, destination resort and so on and get back a list of matching bookings.
The structure of the XML will be:
The response returned will consist of the return status (included in every response) and a list of bookings that match the search criteria. Each booking result will include a summary of each component on the booking.
The structure of the XML will be:
<SearchBookingsRequest>
<LoginDetails>
<Login>TestLogin</Login>
<Password>TestPassword</Password>
</LoginDetails>
<CustomerID>0</CustomerID>
<BookingReference></BookingReference>
<EarliestBookingDate>2013-01-02</EarliestBookingDate>
<LatestBookingDate>2013-05-04</LatestBookingDate>
<Duration>0</Duration>
<GeographyLevel3ID>0</GeographyLevel3ID>
<DepartureAirportID>0</DepartureAirportID>
<DepartureAirportGroupID>0</DepartureAirportGroupID>
<ArrivalAirportID>0</ArrivalAirportID>
</SearchBookingsRequest>
<SearchBookingsResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions/>
</ReturnStatus>
<Bookings>
<Booking>
<BookingReference>1000123</BookingReference>
<BookingDate>2014-01-20</BookingDate>
<ComponentSumamry>
<Component>
<ComponentType>Property</ComponentType>
<Status>Cancelled</Status>
</Component>
</ComponentSummary>
</Booking>
</Bookings>
</SearchBookingsResponse>