YYYY-MM-DD
.
Query to get values for specific date:
filter[date]=YYYY-MM-DD
To get values for Date Range:
filter[date][gte]=YYYY-MM-DD&filter[date][lte]=YYYY-MM-DD
200 OK
400 Bad Request
401 Unauthorized
200 OK
HTTP Code if operation is successful. Will contain a Restriction object in the answer.400 Bad Request
HTTP Code if user pass wrong arguments.401 Unauthorized
HTTP Code if wrong Bearer Token provided.YYYY-MM-DD
.
Query to get values for specific date:
filter[date]=YYYY-MM-DD
To get values for Date Range:
filter[date][gte]=YYYY-MM-DD&filter[date][lte]=YYYY-MM-DD
400 Bad Request
401 Unauthorized
200 OK
HTTP Code if operation was successful. Will contain an Availability object in the answer.400 Bad Request
HTTP Code if the user passes wrong arguments.401 Unauthorized
HTTP Code if wrong Bearer Token provided.200 OK
401 Unauthorized
200 OK
[required]
String with valid UUID of Property object.[required]
String with valid UUID of Rate Plan object.[required]
String with date in ISO 8601 format by mask YYYY-MM-DD
.
Past dates are not allowed.[required]
if date is not present
String with date in ISO 8601 format by mask YYYY-MM-DD
.
Start of applicable date range.
Past dates are not allowed.[required]
if date is not present
String with date in ISO 8601 format by mask YYYY-MM-DD
.
End of applicable date range.
Past dates are not allowed.[optional]
List of days which should be affected by update. Allow names of days at 2 symbol format (mo, tu, we, th, fr, sa, su
).
To update each Monday in specific date range, you can send next request:[optional]
String or Positive Integer value.
The value should be greater than 0.
Our API allows 2 ways to pass the rate value:
Decimal value converted into String ("200.00"), or Integer value with a minimum fraction size of currency (20000 for 200.00 USD).
Both of these ways allows you to work with Rates and prevents any problems with floating point operations.[optional]
Positive Integer value.[optional]
Positive Integer value.[optional]
Non-negative Integer value.[optional]
Boolean value.
Also, our API allow pass 0
or 1
as Boolean representation.[optional]
Boolean value.
Also, our API allow pass 0
or 1
as Boolean representation.[optional]
Boolean value.
Also, our API allow pass 0
or 1
as Boolean representation.[optional]
Null or non-negative integer value.[optional]
Null or non-negative integer value.[optional]
Non-negative integer value.200 OK
HTTP Code if the operation is successful. Will contain a meta object with message in the answer.200 OK
. It is happened, because one message can be rejected, but another will be successfully produced.
Unauthorised Error
Method can return a Unauthorised Error result with 401 Unauthorized
HTTP Code if wrong Bearer Token provided. 200 OK
401 Unauthorized
[required]
String with valid UUID of Property object.[required]
String with valid UUID of Room Type object.[required] if date_from is not present
String with date in ISO 8601 format by mask YYYY-MM-DD
.[required]
if date is not present
String with date in ISO 8601 format by mask YYYY-MM-DD
.
Start of applicable date range.[required]
if date is not present
String with date in ISO 8601 format by mask YYYY-MM-DD
.
End of applicable date range.[required]
Non-negative Integer value.200 OK
HTTP Code if the operation is successful. Will contain a meta object with message in the answer.
Unauthorised Error
Method can return a Unauthorised Error result with 401 Unauthorized
HTTP Code if a wrong Bearer Token was provided. 200 OK
400 Bad Request
401 Unauthorized
200 OK
HTTP Code if the operation is successful. Will contain a Restriction object in the answer.400 Bad Request
HTTP Code if the user passed wrong arguments.401 Unauthorized
HTTP Code if the wrong Bearer Token was provided.