Auto Actions: Difference between revisions
Jump to navigation
Jump to search
| Line 681: | Line 681: | ||
Set the webhook like this: | Set the webhook like this: | ||
* URL = <nowiki>https://api.beds24.com/json/setBooking</nowiki> | *URL = <nowiki>https://api.beds24.com/json/setBooking</nowiki> | ||
Custom Header = [leave empty] | *Custom Header = [leave empty] | ||
Body Data = | *Body Data = | ||
:{ | |||
:"authentication": | |||
:{ | |||
:"apiKey": "my_very_secret_api_key", | |||
:"propKey": "secret_key_for_prop_XXXXXX" | |||
:}, | |||
:"bookId": "[BOOKID]", | |||
:"invoice": | |||
:[ | |||
:{ | |||
:"description": "Booking.com Commission", | |||
:"status": "", | |||
:"qty": "1", | |||
:"price": "-[COMMISSIONNUM]", | |||
:"vatRate": "7.00", | |||
:"type": "0", | |||
:"invoiceeId": "" | |||
:} | |||
:] | |||
:} | |||
== Troubleshooting == | == Troubleshooting == | ||