Show daily rates
const url = 'https://integrations.wink.travel/api/managing-entity/property-1/channel-manager/master-rate/master-rate-1?startDate=2018-01-01&endDate=2018-01-02';const options = { method: 'GET', headers: {'Wink-Version': '2.0', Authorization: 'Bearer <token>'}};
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/managing-entity/property-1/channel-manager/master-rate/master-rate-1?startDate=2018-01-01&endDate=2018-01-02' \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Returns the room rate plus every daily rate and availability entry for the given property and master rate within the requested startDate-to-endDate range.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Retrieve record owned by this managingEntityIdentifier
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": "", "fixedAmount": "" }, "extraPaxRateModifier": { "type": "FIXED", "percent": "", "fixedAmount": "" }, "extraChildRateModifier": { "type": "FIXED", "percent": "", "fixedAmount": "" } }, "rates": [ { "singleOccupancyRateModifier": { "type": "FIXED", "percent": "", "fixedAmount": "" }, "extraPaxRateModifier": { "type": "FIXED", "percent": "", "fixedAmount": "" }, "extraChildRateModifier": { "type": "FIXED", "percent": "", "fixedAmount": "" } } ]}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
{}