Page 1 of 1

XML API limits

Posted: Tue Nov 23, 2021 7:18 am
by core1.holiday
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

Re: XML API limits

Posted: Tue Nov 23, 2021 2:34 pm
by markkinchin
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

Re: XML API limits

Posted: Mon Nov 29, 2021 12:35 pm
by core1.holiday
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?

Re: XML API limits

Posted: Tue Nov 30, 2021 3:18 pm
by markkinchin
The JSON function to update price and availability accepts one room per call