Skip to content

getInventory

POST
/api/services/travelclick/secured/get/inventory
curl --request POST \
--url https://integrations.wink.travel/api/services/travelclick/secured/get/inventory \
--header 'Content-Type: application/xml' \
--data '{
"timestamp": "2026-04-15T12:00:00Z",
"version": "example",
"echoToken": "example",
"hotelInvCountRequests": {
"hotelInvCountRequest": [
{
"hotelRef": {
"hotelCode": "example"
},
"dateRange": {
"start": "example",
"end": "example"
},
"roomTypeCandidates": {
"list": [
{
"roomTypeCode": "example"
}
]
}
}
]
}
}'
Media type application/xml
object
timestamp
string format: date-time
version
string
echoToken
string
hotelInvCountRequests
object
hotelInvCountRequest
Array<object>
object
hotelRef
object
hotelCode
string
dateRange
object
start
string
end
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
inventories
object
hotelCode
string
inventory
Array<object>
object
statusApplicationControl
object
start
string
end
string
invTypeCode
string
ratePlanCode
string
invCounts
object
invCount
object
count
integer format: int32
countType
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
{}