Daily Rates by Hotel
const url = 'https://api.wink.travel/api/managing-entity/hotel-1/extranet/master-rate/rates/dates';const options = { method: 'POST', headers: {'Wink-Version': '2.0', 'Content-Type': 'application/json'}, body: '{"startDate":"","endDate":""}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.wink.travel/api/managing-entity/hotel-1/extranet/master-rate/rates/dates \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data '{ "startDate": "", "endDate": "" }'Retrieve daily rates for all master rates by date range
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Show daily rate list owned by this property identifier.
Example
hotel-1Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”object
Retrieve data range starting with and including this start date
Example
2020-12-24Retrieve data range ending with and including this end date
Example
2020-12-31Responses
Section titled “ Responses ”OK
Holds all the information for one rate date
object
Document UUID
Owner of daily rate.
Indicate where this rate originated from. Leave as TRAVELIKO unless you are a channel manager and responsible for the property’s rates externally of this platform.
Rate plan associated with this daily rate.
Guest room associated with this daily rate.
Guest room associated with this daily rate.
The currencyCode property operates in.
This flag indicates whether this rate is available for this date.
This flag indicates whether a guest can arrive at the property on this date.
This flag indicates whether a guest can leave the property on this date.
Day of month
Month
Year
Amount of rooms available for this date.
Control the minimum length of stay at the day-level. This means that a guest arriving within this date range is required to stay at least these number of days in order to get this rate. Leave empty if you don’t want to update this property.
Control the maximum length of stay at the day-level. This means that a guest arriving within this date range is required to stay no longer than these number of days in order to get this rate. Leave empty if you don’t want to update this property.
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
A localized amount
object
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
A localized amount
object
object
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
A percentage of the total stay amount for an early check-in or late check-out
A localized amount
object
When this rate can be safely removed.
Example
[ null]Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}