Skip to content

getAvailability

POST
/api/services/travelclick/secured/get/availability
curl --request POST \
--url https://integrations.wink.travel/api/services/travelclick/secured/get/availability \
--header 'Content-Type: application/xml' \
--data '{
"timestamp": "2026-04-15T12:00:00Z",
"version": "example",
"echoToken": "example",
"hotelAvailRequests": {
"hotelAvailRequest": [
{
"hotelRef": {
"hotelCode": "example"
},
"dateRange": {
"start": "example",
"end": "example"
},
"ratePlanCandidates": {
"list": [
{
"ratePlanCode": "example"
}
]
},
"roomTypeCandidates": {
"list": [
{
"roomTypeCode": "example"
}
]
}
}
]
}
}'
Media type application/xml
object
timestamp
string format: date-time
version
string
echoToken
string
hotelAvailRequests
object
hotelAvailRequest
Array<object>
object
hotelRef
object
hotelCode
string
dateRange
object
start
string
end
string
ratePlanCandidates
object
list
Array<object>
object
ratePlanCode
string
roomTypeCandidates
object
list
Array<object>
object
roomTypeCode
string

OK

Media type application/xml
object
timestamp
string format: date-time
version
string
success
object
successMsg
required
string
errors
object
errorCode
required
string
errorMessage
required
string
echoToken
string
availStatusMessages
object
hotelCode
string
availStatusMessage
Array<object>
object
statusApplicationControl
object
start
string
end
string
invTypeCode
string
ratePlanCode
string
restrictionStatus
object
restriction
string
status
string
lengthsOfStay
object
arrivalDateBased
boolean
lengthOfStay
object
type
string
timeUnit
string
time
string

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"
}
}

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
{}