To test your login credentials, send the following request to your URL. You can also send an example call online through our demo API.
<SearchBookingsRequest>
<LoginDetails>
<Login>TestLogin</Login>
<Password>TestPassword</Password>
</LoginDetails>
<BookingReference>123</BookingReference>
</SearchBookingsRequest>
You should receive the following response:
<SearchBookingsResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
</ReturnStatus>
<Bookings />
</SearchBookingsResponse>
The request you just sent searches your system for any bookings with the reference 123. This should not return any search results at this stage, but allows you to check if your login details are working.
The element <Success>true</Success> in the response confirms that the login and request were successful.
If you get a different return status or have problems with this step, click here for help troubleshooting.
Next we will look at the general structure of calls.
 >> Next: Structure of calls