showPropertyRoomRateDeprecated
Deprecated
GET
/api/services/channelmanager/secured/property/{propertyIdentifier}/roomrate/{masterRateIdentifier}/rate/{rateIdentifier}
const url = 'https://integrations.wink.travel/api/services/channelmanager/secured/property/example/roomrate/example/rate/example';const options = {method: 'GET'};
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/services/channelmanager/secured/property/example/roomrate/example/rate/exampleParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” propertyIdentifier
required
string
masterRateIdentifier
required
string
rateIdentifier
required
string
Responses
Section titled “ Responses ”OK
Media type application/hal+json
object
identifier
string
propertyIdentifier
required
string
roomRateIdentifier
required
string
guestRoomIdentifier
required
string
ratePlanIdentifier
required
string
amount
required
number
currencyCode
required
string
master
required
boolean
closedOnArrival
required
boolean
closedOnDeparture
required
boolean
date
required
string format: date
quantity
integer format: int32
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
minLengthOfStay
integer format: int32
maxLengthOfStay
integer format: int32
singleOccupancyRateModifier
object
type
required
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
string
percent
A percentage of the total stay amount for an early check-in or late check-out
number format: float
fixedAmount
A localized amount
object
amount
required
number
currency
required
string
extraPaxRateModifier
object
type
required
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
string
percent
A percentage of the total stay amount for an early check-in or late check-out
number format: float
fixedAmount
A localized amount
object
amount
required
number
currency
required
string
extraChildRateModifier
object
type
required
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.
string
percent
A percentage of the total stay amount for an early check-in or late check-out
number format: float
fixedAmount
A localized amount
object
amount
required
number
currency
required
string
_links
object
key
additional properties
object
href
string
hreflang
string
title
string
type
string
deprecation
string
profile
string
name
string
templated
boolean
Example
{ "singleOccupancyRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" }, "extraPaxRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" }, "extraChildRateModifier": { "type": "FIXED", "percent": "##default", "fixedAmount": "##default" }}Bad Request
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Unauthorized
Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Forbidden
Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Internal Server Error
object
Example generated
{}