Difference between revisions of "Setting/propertiesnotifyurl"

From Beds24 Wiki
Jump to navigation Jump to search
Line 10: Line 10:
  
 
The URL can contain template variables which will be exchanged with information from the booking.
 
The URL can contain template variables which will be exchanged with information from the booking.
 +
 +
Your server should return an HTTP 200 header to acknowledge receipt of the notify.
 +
 +
If there is no response or a response HTTP code of 400 or higher the notify will be retried after a delay.

Revision as of 12:26, 28 December 2018

A push notification will be sent to this URL when a new booking, significant booking modification which effects availability or cancellation occurs.

The bookid and status are appended to your url like this example.

https://yoururl.com/yourpage?bookid=12345678&status=new

Possible values for status are: new, modify, cancel

The card CVV and a token to retrieve it from the JSON getCard API function can be included as form url encoded POST data in the body of the push.

The URL can contain template variables which will be exchanged with information from the booking.

Your server should return an HTTP 200 header to acknowledge receipt of the notify.

If there is no response or a response HTTP code of 400 or higher the notify will be retried after a delay.