...
to specify for which contact it is to be done (GET /contracts method);
to specify for which room (categoryId and serviceId) availability is to be added (method GET /availability).
Example of the request PUT /availability API method to add availability as certain number of rooms:
[{ "dayOfWeek": [ true, true, true, true, true, true, true ], "amount": 10, "dateFrom": "2023-01-02", "dateTo": "2023-12-31", "categoryId": 6025430, "serviceId": 6025431, "operation": "SET" } ] |
...