Difference between revisions of "Category:JSON API Methods"

From Beds24 Wiki
Jump to navigation Jump to search
m (1版 をインポートしました)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
The JSON methods need to supply the account API key (apiKey) set at the menu "Settings > Account"  
 
The JSON methods need to supply the account API key (apiKey) set at the menu "Settings > Account"  
  
Operations involving a specific property need to supply the property key (propKey) set at the menu "Settings > Properties > Link"
+
JSON methods also need to supply the property key (propKey) set at the menu "Settings > Properties > Access"
  
 
Operations involving a specific room will need to specify the roomId number.
 
Operations involving a specific room will need to specify the roomId number.
  
 
== Function ==
 
== Function ==
 +
The data to be sent should be in JSON format, it should be POST'ed to the end point URL. The returned data will also be in JSON format.
  
The data to be sent should be in JSON format, it should be POST'ed to the end point URL. The returned data will also be in JSON format.
+
Booking data can be imported up to five years back.  
  
  

Latest revision as of 01:32, 19 May 2021


Authenticating

The JSON methods need to supply the account API key (apiKey) set at the menu "Settings > Account"

JSON methods also need to supply the property key (propKey) set at the menu "Settings > Properties > Access"

Operations involving a specific room will need to specify the roomId number.

Function

The data to be sent should be in JSON format, it should be POST'ed to the end point URL. The returned data will also be in JSON format.

Booking data can be imported up to five years back.


Sample data

Sample json data is available at the endpoint for each method when you open it in a browser.

To make testing easy you can paste your JSON data into the textarea at each end point URL and click submit.


Keywords: API JSON

This category currently contains no pages or media.