XML API limits

Develper issues when using the Beds24 APi.
Post Reply
core1.holiday
Posts: 4
Joined: Thu Nov 04, 2021 12:38 pm

Hello,
I'm working on a new PMS and would like to use putInventories API to update multiple rooms availability over multiple properties - I already tested the multiple property part, the API supports it just fine.
My question is - is there a limit to the size of XML or number of fields i can change at once etc?
Also, does the XML API share the same limit as JSON API (60 requests over 5 minutes)? When can I assume the connection stale (timeout)?
Thanks
markkinchin
Site Admin
Posts: 923
Joined: Fri Mar 02, 2012 1:43 pm

The API limits apply to all access's by an account to any endpoints regardless of it being XML or JSON type.
The XML endpoints are depreciated so I would advise looking at the JSON endpoints for any new development.

This document has more information about designing a connection which may be helpful.

https://wiki.beds24.com/index.php/Connect_PMS_with_API
core1.holiday
Posts: 4
Joined: Thu Nov 04, 2021 12:38 pm

Thank you, I am aware of JSON API and would prefer using it, but there seems to be no way to set multiple rooms - and the limit adds up quickly over multiple rooms. Is there a way to send an entire array of rooms using JSON API?
markkinchin
Site Admin
Posts: 923
Joined: Fri Mar 02, 2012 1:43 pm

The JSON function to update price and availability accepts one room per call
Post Reply