Category:API: Difference between revisions

Jump to navigation Jump to search
 
(46 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Channel_Manager_and_API]]
[[Category:Developers]]
[[Category:Developers]]
[[Category:Apps_Plugins_and_Extentions]]
[[Category:Marketplace]]
Developers can use our API to set up custom connections to third party systems. We provide a range of different APIs for different use cases. Please refer to the API documentation and the link below for more detailed information.


== Use of the API ==
For most projects we recommend using [https://wiki.beds24.com/index.php/Category:API_V2 API V2].
The API functions are available at https://api.beds24.com


To use the API you need to allow API ACCES.
</div>   
Go to SETTINGS -> ACCOUNT -> ACCOUNT ACCESS and allow API access. The API is available at https://api.beds24.com.The XML functions can be accessed with your Beds24 username and password. The JSON functions can be created with a API and prop key which you set yourself in the Beds24 control panel SETTINGS->ACCOUNT and SETTINGS->PROPERTIES->LINK
__NOTOC__
= FAQ =
==Where can I find general information on how Beds24 works?==
Click here for an [[Introduction]] to Beds24.  


== Capabilities ==
==Which API version should I use?==
=== getBookings ===
We generally recommend using [https://wiki.beds24.com/index.php/Category:API_V2 API V2].
*getBookings will return the real time information about the bookings which are in the Beds24 system.  
*You can specify a date range. If you do not, the default is to return from now for 1 year.


=== json/setRoomDates===  
==Where can I find API documentation?==
*sets daily prices
===API V2===
Help pages for API V2 can be found here [https://wiki.beds24.com/index.php/Category:API_V2 API V2]


== API FAQ ==
We have interactive Swagger documentation for API V2 available here https://beds24.com/api/v2/.
=== Where can I find the API documentation? ===
The documentation can be found directly in the API.


=== What do I need to do to receive credit card details though the API ===
===API V1===
Go to ACCOUNT and set:
<div class="warning">{{#fas:exclamation-triangle}} API V1 is depreciated. We do not recommend using it for new projects.</div> 
*API Access = Allow IP whitelist only
The main help page for API V1 is available here [https://wiki.beds24.com/index.php/Category:API_V1_deprecated API V1 (deprecated)]
*Enter your IP address's. Separate multiple address's with a space
 
==Can I use a mix of API V1 and V2==
We recommend not mixing API V1 and API V2.
 
==What do I do if I need functions which are not available in API V2==
Reach out to us via a support ticket so we can check if the function you need can be added.