{"id":84,"date":"2023-09-14T11:48:34","date_gmt":"2023-09-14T11:48:34","guid":{"rendered":"https:\/\/doc.freevision.me\/luxed\/?p=84"},"modified":"2023-09-14T11:48:34","modified_gmt":"2023-09-14T11:48:34","slug":"hotel-booking-rest-api","status":"publish","type":"post","link":"https:\/\/doc.freevision.me\/luxed\/hotel-booking-rest-api\/","title":{"rendered":"Hotel Booking REST API"},"content":{"rendered":"\n<p>REST API is supported since <a href=\"https:\/\/motopress.com\/products\/hotel-booking\/\">Hotel Booking<\/a> version 4.1.0.<\/p>\n\n\n\n<h2>Developer documentation<\/h2>\n\n\n\n<p>Technical documentation for the Hotel Booking REST API <a href=\"https:\/\/motopress.github.io\/hotel-booking-rest-api\/\">can be found here<\/a>.<\/p>\n\n\n\n<h2>Generate API keys<\/h2>\n\n\n\n<p>Create your API keys in the administrator dashboard: <strong>Accommodation &gt; Settings &gt; Advanced &gt; Add key.<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/advanced-settings-rest-api.jpg\" alt=\"advanced settings rest api\" class=\"wp-image-1227821\"\/><\/figure><\/div>\n\n\n<ol>\n<li>Add a human-readable description (name).<\/li>\n\n\n\n<li>Select a user from the list of site users for this key.<\/li>\n\n\n\n<li>Select a level of access for this API key: Read, Write or both.<\/li>\n\n\n\n<li>Click on the Generate API key button.<\/li>\n<\/ol>\n\n\n\n<p>A Consumer Key, Consumer Secret key, and QRCode must be generated. There must also appear the Revoke Key link:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/api-hotel-booking-key.jpg\" alt=\"api hotel booking key\" class=\"wp-image-1227826\"\/><\/figure><\/div>\n\n\n<p>The Consumer Key and Consumer Secret may be entered in the application using the Hotel Booking API, and the app should also request your site URL.<\/p>\n\n\n\n<h2>Test the API<\/h2>\n\n\n\n<p>Follow this <a href=\"https:\/\/motopress.github.io\/hotel-booking-rest-api\/\">Hotel Booking REST API interactive documentation<\/a> to test the API.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>REST API is supported since Hotel Booking version 4.1.0. Developer documentation Technical documentation for the Hotel Booking REST API can be found here. Generate API keys Create your API keys in the administrator dashboard: Accommodation &gt; Settings &gt; Advanced &gt; Add key. A Consumer Key, Consumer Secret key, and QRCode must be generated. There must [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/posts\/84"}],"collection":[{"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":1,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":87,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/posts\/84\/revisions\/87"}],"wp:attachment":[{"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}