-
Notifications
You must be signed in to change notification settings - Fork 0
Property Custom Rates
yaroslawww edited this page Jan 10, 2020
·
22 revisions
- Url: /apis/property/{propertyid}/customrates
- Method: GET
- You can set
If-Modified-Since
in the request headers. This should be UTC date time. If the data is not modified since that date, we will return status code 304 (NotModified) and empty body.
-
propertyId
is the property id, it is integer.
-
latestRates
if set "today", this call will show all rates after this date and rates from the nearest season.
- In the
Amount
field, the key is the pricing group type (WV
-Wedding Venue
):- 10 | 1 night weekend
- 15 | 1 night midweek
- 20 | 1 night midweek CV
- 50 | 2 night weekend
- 60 | 3 night weekend
- 70 | Week
- 80 | Midweek
- 85 | 2 night midweek
- 90 | 5 nights
- 100 | 2 night weekend WV
- 110 | 3 night weekend WV
- 120 | Week WV
- 130 | Midweek WV
- The prices that are returned may contain the following values:
-
+
(any positive value): Prices From -
0
: Use previous week pricing -
-1
: no price for this week -
-2
: Hide column from pricing group -
*
: 1st Special Offer -
**
: 2nd Special Offer -
***
: 3rd Special Offer
-
{
"AvailabilityNotes": "",
"Rates": [{
"Id": 3414,
"Month": "2016-01",
"Notes": "*",
"WeekPriceList": [{
"WeekCommencing": "2016-01-01",
"Amount": {
"7": "-1",
"6": "-1",
"8": "500",
"5": "350"
}
}, {
"WeekCommencing": "2016-01-08",
"Amount": {
"7": "250",
"6": "350",
"8": "500",
"5": "350"
}
}, {
"WeekCommencing": "2016-01-15",
"Amount": {
"7": "250",
"6": "350",
"8": "500",
"5": "350"
}
}, {
"WeekCommencing": "2016-01-22",
"Amount": {
"7": "250",
"6": "350",
"8": "500",
"5": "350"
}
}, {
"WeekCommencing": "2016-01-29",
"Amount": {
"7": "250",
"6": "350",
"8": "500",
"5": "350"
}
}],
"GroupSize":
{
"20":
{
"Id": 632141,
"Month": "2017-03",
"Notes": "",
"WeekPriceList": [
{
"WeekCommencing": "2017-03-01",
"Amount": {
"10": "-2",
"15": "-2",
"20": "-2"
}
},
{
"WeekCommencing": "2017-03-03",
"Amount": {
"10": "-2",
"15": "-2",
"20": "-2",
}
}
]
},
"25":
{
"Id": 632142,
"Month": "2017-03",
"Notes": "",
"WeekPriceList": [
{
"WeekCommencing": "2017-03-01",
"Amount": {
"10": "-2",
"15": "-2",
"20": "-2"
}
},
{
"WeekCommencing": "2017-03-03",
"Amount": {
"10": "-2",
"15": "-2",
"20": "-2"
}
}
]
}
}
}]
}
- Get Started
- Settings
- Contacts
- Properties
- Properties
- Property Detail
- Property Images
- Property Extras
- Property Reference Lookup
- Property Rates
- Push Property Rates
- Property Custom Rates
- Property Availabilities
- Property Day Availabilities
- Property Rooms
- Property Distances
- Property All
- Property Search
- Property Search Lite
- Property Search Lite v2
- Property Enquiries
- Property Welcome Pack
- Push Property
- Properties Last Updated
- Property Day Availability Check
- Property Reviews
- Property Blockouts
- Property Detail Events
- Property Search Events
- Property Management
- Enquries
- Bookings
- Reviews
- Payments
- Offers & Deals
- Reports
- Communications