Show Daily Rates
const url = 'https://integrations.wink.travel/api/channel-manager/property/property-1/master-rate/master-rate-1?startDate=2018-01-01&endDate=2018-01-02';const options = {method: 'GET', headers: {'Wink-Version': '2.0'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://integrations.wink.travel/api/channel-manager/property/property-1/master-rate/master-rate-1?startDate=2018-01-01&endDate=2018-01-02' \ --header 'Wink-Version: 2.0'Retrieves all daily rates for for property / master rate combo and a date range.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Retrieve record owned by this propertyIdentifier
Example
property-1Retrieve record owned by this masterRateIdentifier
Example
master-rate-1Query Parameters
Section titled “Query Parameters ”Limit results on date range starting with
Example
2018-01-01Limit results on date range ending with
Example
2018-01-02Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”OK
object
object
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
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
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
Example
{ "room": { "singleOccupancyRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" }, "extraPaxRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" }, "extraChildRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" } }, "rates": [ { "singleOccupancyRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" }, "extraPaxRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" }, "extraChildRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" } } ]}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
{}