Rates & Availability
Availability
Retrieve availability for a property, it returns a standard JSON serialization.
get
/rest/partners/property/{id}/availability
Path params
Name | Type | Mandatory | Description |
---|---|---|---|
id | integer | yes | Property ID |
Query params
Name | Type | Mandatory | Description |
---|---|---|---|
start_date | string | no | start date (eg. 2020-05-01) |
end_date | string | no | end date (eg. 2020-05-31) |
You can send the request without any query params, but you cannot send only one of them, either both or none.
Request
GET /rest/partners/property/1/availability?start_date=2020-04-01&end_date=2020-11-01 HTTP/1.1
Host: {HOST}
Content-Type: application/json
Accept: application/json
Authorization: Basic {BASE64_BASIC_AUTH}
Response
[
{
"daterange": {
"start": "2020-04-01",
"end": "2020-10-22"
},
"is_available": true
},
{
"daterange": {
"start": "2020-10-23",
"end": "2020-10-24"
},
"is_available": false
},
{
"daterange": {
"start": "2020-10-25",
"end": "2020-11-01"
},
"is_available": true
}
]
Going live
Before you go live with your integration, we recommend contacting our support team.
Support & feedback
Need help integrating with Content API? The experts in our support team are here to help. Contact us at contact@rentalwise.com.