handlePostRequest
POST
/api/services/d-edge
const url = 'https://integrations.wink.travel/api/services/d-edge';const options = { method: 'POST', headers: {'Content-Type': 'application/xml'}, body: '{\n "authentication": {\n "login": "example",\n "password": "example"\n },\n "rooms": {\n "hotelId": "example",\n "hotelName": "example",\n "priceModel": "PerDay",\n "room": [\n {\n "id": "example",\n "code": "example",\n "name": "example",\n "minOccupancy": 1,\n "maxOccupancy": 1,\n "occupancies": {\n "occupancy": [\n {\n "personCount": 1,\n "adultCount": 1,\n "childCount": 1,\n "unitPrice": 1,\n "isClosed": true\n }\n ]\n },\n "rate": [\n {\n "code": "example",\n "name": "example",\n "regime": "example",\n "currency": "example",\n "rateCode": "example",\n "rateName": "example",\n "planning": [\n {\n "from": "example",\n "to": "example",\n "unitPrice": 1,\n "minimumStay": 1,\n "maximumStay": 1,\n "noArrival": true,\n "noDeparture": true,\n "isClosed": true,\n "availability": 1,\n "occupancy": [\n {\n "personCount": 1,\n "adultCount": 1,\n "childCount": 1,\n "unitPrice": 1,\n "isClosed": true\n }\n ]\n }\n ]\n }\n ],\n "inventory": {\n "availability": [\n {\n "from": "example",\n "to": "example",\n "quantity": 1\n }\n ]\n },\n "stays": {\n "stay": [\n {\n "date": "example",\n "quantity": 1,\n "unitPrice": 1,\n "rateCode": "example"\n }\n ]\n },\n "guests": {\n "guest": [\n {\n "firstName": "example",\n "lastName": "example",\n "title": "example",\n "ageRange": 1,\n "birthDate": "example"\n }\n ]\n }\n }\n ]\n },\n "inventoryUpdate": {\n "hotelId": "example",\n "room": [\n {\n "id": "example",\n "code": "example",\n "name": "example",\n "minOccupancy": 1,\n "maxOccupancy": 1,\n "occupancies": {\n "occupancy": [\n {\n "personCount": 1,\n "adultCount": 1,\n "childCount": 1,\n "unitPrice": 1,\n "isClosed": true\n }\n ]\n },\n "rate": [\n {\n "code": "example",\n "name": "example",\n "regime": "example",\n "currency": "example",\n "rateCode": "example",\n "rateName": "example",\n "planning": [\n {\n "from": "example",\n "to": "example",\n "unitPrice": 1,\n "minimumStay": 1,\n "maximumStay": 1,\n "noArrival": true,\n "noDeparture": true,\n "isClosed": true,\n "availability": 1,\n "occupancy": [\n {\n "personCount": 1,\n "adultCount": 1,\n "childCount": 1,\n "unitPrice": 1,\n "isClosed": true\n }\n ]\n }\n ]\n }\n ],\n "inventory": {\n "availability": [\n {\n "from": "example",\n "to": "example",\n "quantity": 1\n }\n ]\n },\n "stays": {\n "stay": [\n {\n "date": "example",\n "quantity": 1,\n "unitPrice": 1,\n "rateCode": "example"\n }\n ]\n },\n "guests": {\n "guest": [\n {\n "firstName": "example",\n "lastName": "example",\n "title": "example",\n "ageRange": 1,\n "birthDate": "example"\n }\n ]\n }\n }\n ]\n },\n "bookings": [\n {\n "hotelId": "example",\n "booking": [\n {\n "id": "example",\n "action": "example",\n "currency": "example",\n "date": "example",\n "totalAmount": 1,\n "paidAmount": 1,\n "dueAmount": 1,\n "payableAmount": 1,\n "origin": "example",\n "paxCount": 1,\n "adultCount": 1,\n "childCount": 1,\n "infantCount": 1,\n "customer": {\n "firstName": "example",\n "lastName": "example",\n "title": "example",\n "comment": {\n "value": "example"\n },\n "contact": {\n "email": "example",\n "phone": "example",\n "fax": "example",\n "address": {\n "postalCode": "example",\n "city": "example",\n "country": "example"\n }\n },\n "creditCard": {\n "number": "example",\n "cardHolder": "example",\n "expiryDate": "example",\n "cardType": "example"\n }\n },\n "rooms": {\n "hotelId": "example",\n "hotelName": "example",\n "priceModel": "PerDay",\n "room": [\n {\n "id": "example",\n "code": "example",\n "name": "example",\n "minOccupancy": 1,\n "maxOccupancy": 1,\n "occupancies": {\n "occupancy": [\n {\n "personCount": 1,\n "adultCount": 1,\n "childCount": 1,\n "unitPrice": 1,\n "isClosed": true\n }\n ]\n },\n "rate": [\n {\n "code": "example",\n "name": "example",\n "regime": "example",\n "currency": "example",\n "rateCode": "example",\n "rateName": "example",\n "planning": [\n {\n "from": "example",\n "to": "example",\n "unitPrice": 1,\n "minimumStay": 1,\n "maximumStay": 1,\n "noArrival": true,\n "noDeparture": true,\n "isClosed": true,\n "availability": 1,\n "occupancy": [\n {\n "personCount": 1,\n "adultCount": 1,\n "childCount": 1,\n "unitPrice": 1,\n "isClosed": true\n }\n ]\n }\n ]\n }\n ],\n "inventory": {\n "availability": [\n {\n "from": "example",\n "to": "example",\n "quantity": 1\n }\n ]\n },\n "stays": {\n "stay": [\n {\n "date": "example",\n "quantity": 1,\n "unitPrice": 1,\n "rateCode": "example"\n }\n ]\n },\n "guests": {\n "guest": [\n {\n "firstName": "example",\n "lastName": "example",\n "title": "example",\n "ageRange": 1,\n "birthDate": "example"\n }\n ]\n }\n }\n ]\n },\n "distributor": {\n "name": "example",\n "comment": {\n "value": "example"\n }\n }\n }\n ]\n }\n ],\n "failure": [\n {\n "type": "example",\n "message": "example",\n "comment": {\n "value": "example"\n }\n }\n ],\n "warning": {\n "type": "example",\n "message": "example",\n "comment": {\n "value": "example"\n }\n },\n "success": {\n "type": "example",\n "message": "example",\n "comment": {\n "value": "example"\n }\n }\n}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://integrations.wink.travel/api/services/d-edge \ --header 'Content-Type: application/xml' \ --data '{ "authentication": { "login": "example", "password": "example" }, "rooms": { "hotelId": "example", "hotelName": "example", "priceModel": "PerDay", "room": [ { "id": "example", "code": "example", "name": "example", "minOccupancy": 1, "maxOccupancy": 1, "occupancies": { "occupancy": [ { "personCount": 1, "adultCount": 1, "childCount": 1, "unitPrice": 1, "isClosed": true } ] }, "rate": [ { "code": "example", "name": "example", "regime": "example", "currency": "example", "rateCode": "example", "rateName": "example", "planning": [ { "from": "example", "to": "example", "unitPrice": 1, "minimumStay": 1, "maximumStay": 1, "noArrival": true, "noDeparture": true, "isClosed": true, "availability": 1, "occupancy": [ { "personCount": 1, "adultCount": 1, "childCount": 1, "unitPrice": 1, "isClosed": true } ] } ] } ], "inventory": { "availability": [ { "from": "example", "to": "example", "quantity": 1 } ] }, "stays": { "stay": [ { "date": "example", "quantity": 1, "unitPrice": 1, "rateCode": "example" } ] }, "guests": { "guest": [ { "firstName": "example", "lastName": "example", "title": "example", "ageRange": 1, "birthDate": "example" } ] } } ] }, "inventoryUpdate": { "hotelId": "example", "room": [ { "id": "example", "code": "example", "name": "example", "minOccupancy": 1, "maxOccupancy": 1, "occupancies": { "occupancy": [ { "personCount": 1, "adultCount": 1, "childCount": 1, "unitPrice": 1, "isClosed": true } ] }, "rate": [ { "code": "example", "name": "example", "regime": "example", "currency": "example", "rateCode": "example", "rateName": "example", "planning": [ { "from": "example", "to": "example", "unitPrice": 1, "minimumStay": 1, "maximumStay": 1, "noArrival": true, "noDeparture": true, "isClosed": true, "availability": 1, "occupancy": [ { "personCount": 1, "adultCount": 1, "childCount": 1, "unitPrice": 1, "isClosed": true } ] } ] } ], "inventory": { "availability": [ { "from": "example", "to": "example", "quantity": 1 } ] }, "stays": { "stay": [ { "date": "example", "quantity": 1, "unitPrice": 1, "rateCode": "example" } ] }, "guests": { "guest": [ { "firstName": "example", "lastName": "example", "title": "example", "ageRange": 1, "birthDate": "example" } ] } } ] }, "bookings": [ { "hotelId": "example", "booking": [ { "id": "example", "action": "example", "currency": "example", "date": "example", "totalAmount": 1, "paidAmount": 1, "dueAmount": 1, "payableAmount": 1, "origin": "example", "paxCount": 1, "adultCount": 1, "childCount": 1, "infantCount": 1, "customer": { "firstName": "example", "lastName": "example", "title": "example", "comment": { "value": "example" }, "contact": { "email": "example", "phone": "example", "fax": "example", "address": { "postalCode": "example", "city": "example", "country": "example" } }, "creditCard": { "number": "example", "cardHolder": "example", "expiryDate": "example", "cardType": "example" } }, "rooms": { "hotelId": "example", "hotelName": "example", "priceModel": "PerDay", "room": [ { "id": "example", "code": "example", "name": "example", "minOccupancy": 1, "maxOccupancy": 1, "occupancies": { "occupancy": [ { "personCount": 1, "adultCount": 1, "childCount": 1, "unitPrice": 1, "isClosed": true } ] }, "rate": [ { "code": "example", "name": "example", "regime": "example", "currency": "example", "rateCode": "example", "rateName": "example", "planning": [ { "from": "example", "to": "example", "unitPrice": 1, "minimumStay": 1, "maximumStay": 1, "noArrival": true, "noDeparture": true, "isClosed": true, "availability": 1, "occupancy": [ { "personCount": 1, "adultCount": 1, "childCount": 1, "unitPrice": 1, "isClosed": true } ] } ] } ], "inventory": { "availability": [ { "from": "example", "to": "example", "quantity": 1 } ] }, "stays": { "stay": [ { "date": "example", "quantity": 1, "unitPrice": 1, "rateCode": "example" } ] }, "guests": { "guest": [ { "firstName": "example", "lastName": "example", "title": "example", "ageRange": 1, "birthDate": "example" } ] } } ] }, "distributor": { "name": "example", "comment": { "value": "example" } } } ] } ], "failure": [ { "type": "example", "message": "example", "comment": { "value": "example" } } ], "warning": { "type": "example", "message": "example", "comment": { "value": "example" } }, "success": { "type": "example", "message": "example", "comment": { "value": "example" } }}'Request Body required
Section titled “Request Body required ”object
authentication
object
login
string
password
string
rooms
object
hotelId
string
hotelName
string
priceModel
string
room
Array<object>
object
id
string
code
string
name
string
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
occupancies
object
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
rate
Array<object>
object
code
string
name
string
regime
string
currency
string
rateCode
string
rateName
string
planning
Array<object>
object
from
string
to
string
unitPrice
number
minimumStay
integer format: int32
maximumStay
integer format: int32
noArrival
boolean
noDeparture
boolean
isClosed
boolean
availability
integer format: int32
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
inventory
object
availability
Array<object>
object
from
string
to
string
quantity
integer format: int32
stays
object
stay
Array<object>
object
date
string
quantity
integer format: int32
unitPrice
number
rateCode
string
guests
object
guest
Array<object>
object
firstName
string
lastName
string
title
string
ageRange
integer format: int32
birthDate
string
inventoryUpdate
object
hotelId
string
room
Array<object>
object
id
string
code
string
name
string
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
occupancies
object
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
rate
Array<object>
object
code
string
name
string
regime
string
currency
string
rateCode
string
rateName
string
planning
Array<object>
object
from
string
to
string
unitPrice
number
minimumStay
integer format: int32
maximumStay
integer format: int32
noArrival
boolean
noDeparture
boolean
isClosed
boolean
availability
integer format: int32
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
inventory
object
availability
Array<object>
object
from
string
to
string
quantity
integer format: int32
stays
object
stay
Array<object>
object
date
string
quantity
integer format: int32
unitPrice
number
rateCode
string
guests
object
guest
Array<object>
object
firstName
string
lastName
string
title
string
ageRange
integer format: int32
birthDate
string
bookings
Array<object>
object
hotelId
string
booking
Array<object>
object
id
string
action
string
currency
string
date
string
totalAmount
number
paidAmount
number
dueAmount
number
payableAmount
number
origin
string
paxCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
infantCount
integer format: int32
customer
object
firstName
string
lastName
string
title
string
comment
object
value
string
contact
object
email
string
phone
string
fax
string
address
object
postalCode
string
city
string
country
string
creditCard
object
number
string
cardHolder
string
expiryDate
string
cardType
string
rooms
object
hotelId
string
hotelName
string
priceModel
string
room
Array<object>
object
id
string
code
string
name
string
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
occupancies
object
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
rate
Array<object>
object
code
string
name
string
regime
string
currency
string
rateCode
string
rateName
string
planning
Array<object>
object
from
string
to
string
unitPrice
number
minimumStay
integer format: int32
maximumStay
integer format: int32
noArrival
boolean
noDeparture
boolean
isClosed
boolean
availability
integer format: int32
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
inventory
object
availability
Array<object>
object
from
string
to
string
quantity
integer format: int32
stays
object
stay
Array<object>
object
date
string
quantity
integer format: int32
unitPrice
number
rateCode
string
guests
object
guest
Array<object>
object
firstName
string
lastName
string
title
string
ageRange
integer format: int32
birthDate
string
distributor
object
name
string
comment
object
value
string
failure
Array<object>
object
type
string
message
string
comment
object
value
string
warning
object
type
string
message
string
comment
object
value
string
success
object
type
string
message
string
comment
object
value
string
object
authentication
object
login
string
password
string
rooms
object
hotelId
string
hotelName
string
priceModel
string
room
Array<object>
object
id
string
code
string
name
string
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
occupancies
object
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
rate
Array<object>
object
code
string
name
string
regime
string
currency
string
rateCode
string
rateName
string
planning
Array<object>
object
from
string
to
string
unitPrice
number
minimumStay
integer format: int32
maximumStay
integer format: int32
noArrival
boolean
noDeparture
boolean
isClosed
boolean
availability
integer format: int32
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
inventory
object
availability
Array<object>
object
from
string
to
string
quantity
integer format: int32
stays
object
stay
Array<object>
object
date
string
quantity
integer format: int32
unitPrice
number
rateCode
string
guests
object
guest
Array<object>
object
firstName
string
lastName
string
title
string
ageRange
integer format: int32
birthDate
string
inventoryUpdate
object
hotelId
string
room
Array<object>
object
id
string
code
string
name
string
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
occupancies
object
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
rate
Array<object>
object
code
string
name
string
regime
string
currency
string
rateCode
string
rateName
string
planning
Array<object>
object
from
string
to
string
unitPrice
number
minimumStay
integer format: int32
maximumStay
integer format: int32
noArrival
boolean
noDeparture
boolean
isClosed
boolean
availability
integer format: int32
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
inventory
object
availability
Array<object>
object
from
string
to
string
quantity
integer format: int32
stays
object
stay
Array<object>
object
date
string
quantity
integer format: int32
unitPrice
number
rateCode
string
guests
object
guest
Array<object>
object
firstName
string
lastName
string
title
string
ageRange
integer format: int32
birthDate
string
bookings
Array<object>
object
hotelId
string
booking
Array<object>
object
id
string
action
string
currency
string
date
string
totalAmount
number
paidAmount
number
dueAmount
number
payableAmount
number
origin
string
paxCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
infantCount
integer format: int32
customer
object
firstName
string
lastName
string
title
string
comment
object
value
string
contact
object
email
string
phone
string
fax
string
address
object
postalCode
string
city
string
country
string
creditCard
object
number
string
cardHolder
string
expiryDate
string
cardType
string
rooms
object
hotelId
string
hotelName
string
priceModel
string
room
Array<object>
object
id
string
code
string
name
string
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
occupancies
object
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
rate
Array<object>
object
code
string
name
string
regime
string
currency
string
rateCode
string
rateName
string
planning
Array<object>
object
from
string
to
string
unitPrice
number
minimumStay
integer format: int32
maximumStay
integer format: int32
noArrival
boolean
noDeparture
boolean
isClosed
boolean
availability
integer format: int32
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
inventory
object
availability
Array<object>
object
from
string
to
string
quantity
integer format: int32
stays
object
stay
Array<object>
object
date
string
quantity
integer format: int32
unitPrice
number
rateCode
string
guests
object
guest
Array<object>
object
firstName
string
lastName
string
title
string
ageRange
integer format: int32
birthDate
string
distributor
object
name
string
comment
object
value
string
failure
Array<object>
object
type
string
message
string
comment
object
value
string
warning
object
type
string
message
string
comment
object
value
string
success
object
type
string
message
string
comment
object
value
string
Responses
Section titled “ Responses ”OK
object
authentication
object
login
string
password
string
rooms
object
hotelId
string
hotelName
string
priceModel
string
room
Array<object>
object
id
string
code
string
name
string
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
occupancies
object
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
rate
Array<object>
object
code
string
name
string
regime
string
currency
string
rateCode
string
rateName
string
planning
Array<object>
object
from
string
to
string
unitPrice
number
minimumStay
integer format: int32
maximumStay
integer format: int32
noArrival
boolean
noDeparture
boolean
isClosed
boolean
availability
integer format: int32
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
inventory
object
availability
Array<object>
object
from
string
to
string
quantity
integer format: int32
stays
object
stay
Array<object>
object
date
string
quantity
integer format: int32
unitPrice
number
rateCode
string
guests
object
guest
Array<object>
object
firstName
string
lastName
string
title
string
ageRange
integer format: int32
birthDate
string
inventoryUpdate
object
hotelId
string
room
Array<object>
object
id
string
code
string
name
string
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
occupancies
object
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
rate
Array<object>
object
code
string
name
string
regime
string
currency
string
rateCode
string
rateName
string
planning
Array<object>
object
from
string
to
string
unitPrice
number
minimumStay
integer format: int32
maximumStay
integer format: int32
noArrival
boolean
noDeparture
boolean
isClosed
boolean
availability
integer format: int32
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
inventory
object
availability
Array<object>
object
from
string
to
string
quantity
integer format: int32
stays
object
stay
Array<object>
object
date
string
quantity
integer format: int32
unitPrice
number
rateCode
string
guests
object
guest
Array<object>
object
firstName
string
lastName
string
title
string
ageRange
integer format: int32
birthDate
string
bookings
Array<object>
object
hotelId
string
booking
Array<object>
object
id
string
action
string
currency
string
date
string
totalAmount
number
paidAmount
number
dueAmount
number
payableAmount
number
origin
string
paxCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
infantCount
integer format: int32
customer
object
firstName
string
lastName
string
title
string
comment
object
value
string
contact
object
email
string
phone
string
fax
string
address
object
postalCode
string
city
string
country
string
creditCard
object
number
string
cardHolder
string
expiryDate
string
cardType
string
rooms
object
hotelId
string
hotelName
string
priceModel
string
room
Array<object>
object
id
string
code
string
name
string
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
occupancies
object
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
rate
Array<object>
object
code
string
name
string
regime
string
currency
string
rateCode
string
rateName
string
planning
Array<object>
object
from
string
to
string
unitPrice
number
minimumStay
integer format: int32
maximumStay
integer format: int32
noArrival
boolean
noDeparture
boolean
isClosed
boolean
availability
integer format: int32
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
inventory
object
availability
Array<object>
object
from
string
to
string
quantity
integer format: int32
stays
object
stay
Array<object>
object
date
string
quantity
integer format: int32
unitPrice
number
rateCode
string
guests
object
guest
Array<object>
object
firstName
string
lastName
string
title
string
ageRange
integer format: int32
birthDate
string
distributor
object
name
string
comment
object
value
string
failure
Array<object>
object
type
string
message
string
comment
object
value
string
warning
object
type
string
message
string
comment
object
value
string
success
object
type
string
message
string
comment
object
value
string
object
authentication
object
login
string
password
string
rooms
object
hotelId
string
hotelName
string
priceModel
string
room
Array<object>
object
id
string
code
string
name
string
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
occupancies
object
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
rate
Array<object>
object
code
string
name
string
regime
string
currency
string
rateCode
string
rateName
string
planning
Array<object>
object
from
string
to
string
unitPrice
number
minimumStay
integer format: int32
maximumStay
integer format: int32
noArrival
boolean
noDeparture
boolean
isClosed
boolean
availability
integer format: int32
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
inventory
object
availability
Array<object>
object
from
string
to
string
quantity
integer format: int32
stays
object
stay
Array<object>
object
date
string
quantity
integer format: int32
unitPrice
number
rateCode
string
guests
object
guest
Array<object>
object
firstName
string
lastName
string
title
string
ageRange
integer format: int32
birthDate
string
inventoryUpdate
object
hotelId
string
room
Array<object>
object
id
string
code
string
name
string
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
occupancies
object
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
rate
Array<object>
object
code
string
name
string
regime
string
currency
string
rateCode
string
rateName
string
planning
Array<object>
object
from
string
to
string
unitPrice
number
minimumStay
integer format: int32
maximumStay
integer format: int32
noArrival
boolean
noDeparture
boolean
isClosed
boolean
availability
integer format: int32
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
inventory
object
availability
Array<object>
object
from
string
to
string
quantity
integer format: int32
stays
object
stay
Array<object>
object
date
string
quantity
integer format: int32
unitPrice
number
rateCode
string
guests
object
guest
Array<object>
object
firstName
string
lastName
string
title
string
ageRange
integer format: int32
birthDate
string
bookings
Array<object>
object
hotelId
string
booking
Array<object>
object
id
string
action
string
currency
string
date
string
totalAmount
number
paidAmount
number
dueAmount
number
payableAmount
number
origin
string
paxCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
infantCount
integer format: int32
customer
object
firstName
string
lastName
string
title
string
comment
object
value
string
contact
object
email
string
phone
string
fax
string
address
object
postalCode
string
city
string
country
string
creditCard
object
number
string
cardHolder
string
expiryDate
string
cardType
string
rooms
object
hotelId
string
hotelName
string
priceModel
string
room
Array<object>
object
id
string
code
string
name
string
minOccupancy
integer format: int32
maxOccupancy
integer format: int32
occupancies
object
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
rate
Array<object>
object
code
string
name
string
regime
string
currency
string
rateCode
string
rateName
string
planning
Array<object>
object
from
string
to
string
unitPrice
number
minimumStay
integer format: int32
maximumStay
integer format: int32
noArrival
boolean
noDeparture
boolean
isClosed
boolean
availability
integer format: int32
occupancy
Array<object>
object
personCount
integer format: int32
adultCount
integer format: int32
childCount
integer format: int32
unitPrice
number
isClosed
boolean
inventory
object
availability
Array<object>
object
from
string
to
string
quantity
integer format: int32
stays
object
stay
Array<object>
object
date
string
quantity
integer format: int32
unitPrice
number
rateCode
string
guests
object
guest
Array<object>
object
firstName
string
lastName
string
title
string
ageRange
integer format: int32
birthDate
string
distributor
object
name
string
comment
object
value
string
failure
Array<object>
object
type
string
message
string
comment
object
value
string
warning
object
type
string
message
string
comment
object
value
string
success
object
type
string
message
string
comment
object
value
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" }}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
{}