GET BOOKING LINK
GetBookingLink() gets the property's booking website URL. Unless otherwise specified, this URL will redirect through Availability Exchange to the the property's ResNexus booking engine.
End Point
https://www.availabilityexchange.com/gateway/getbookinglink
Parameters
business_id (64-bit integer)
>curl --user username:passkey
--url "https://www.availabilityexchange.com/gateway/getbookinglink?business_id=16609"
response_errors
See Response Errors
booking_url (string)
the address for the booking website
{
"booking_url": "https://resnexus.com/resnexus/reservations/book/4004829C-51BA-4527-8472-F2AB6AD1A9BD?startdate=9%2f1%2f2021",
"response_errors":[]
}
200
response_errors (list of strings)
Unable to pull Booking Link for X
400
business_id should be a long
401
500
Something went wrong (Internal Server Error)
503
Server in maintenance mode
>curl --user username:passkey
--url "https://www.availabilityexchange.com/gateway/getbookinglink?business_id=12"
{
"booking_url": null,
"response_errors":
[
"Unable to pull Booking Link for 12"
]
}
All Rights Reserved | Availability Exchange
Website Design & Reservation Software by ResNexus