Changes

Jump to navigation Jump to search

Category:API

697 bytes added, 13 March
no edit summary
[[Category:Developers]]
[[Category:Apps]]
<div class="heading">API</div>
This page lists the available APIs and gives general information on how to use them.
[[Category:Developers]]
[[Category:Apps_Plugins_and_Extentions]]
<div class="warning">{{#fas:exclamation-triangle}} This API version will not be developed further. For new projects use [[API_V2.0 |API V2.0]]</div>
== Use of the API ==
The API functions are available at https://api.beds24.com
To use the API you need to allow API ACCESACCESS. 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 {{#fas:cog}} (SETTINGS->)ACCOUNT and {{#fas:cog}} (SETTINGS->) PROPERTIES->ACCESS 
The default limit is 60 API calls per 5 minutes for an account.
You should design your interface to eliminate unnecessary calls.
=== getInvoicesCSV ===
*gets invoice items as a .csv file
 
=== getProperty ===
*access property setup data
 
=== setProperty ===
*manage property setup data
 
=== getPropertyContent ===
*access property descriptive content
 
=== setPropertyContent ===
*manage descriptive content and pictures
 
For pictures you can set the URL to external pictures and you can map these to properties and rooms.
 
You cannot upload to our picture hosting via API, you must use your own hosting.
 
Use JSON getPropertyContent to see the JSON data structure required to be sent to setPropertyContent.
== API FAQ ==
=== 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? ===

Navigation menu