A valid request URL is required to generate request examples{
"success": true,
"message": "<string>",
"data": {
"search": {
"destinationId": "<string>",
"checkIn": "<string>",
"checkOut": "<string>",
"rooms": [
{
"adults": 123,
"children": 123,
"childrenAges": [
123
]
}
]
},
"hotel": {
"id": 123,
"name": "<string>",
"stars": 3,
"address": {
"address": "<string>",
"city": "<string>",
"country": "<string>",
"countryCode": "<string>"
},
"rating": 2.5,
"reviews": 1,
"pricePerNight": "<string>",
"priceChargeable": "<string>",
"pricePerRoom": "<string>",
"pricePerRoomPerNight": "<string>",
"priceBeforeFees": "<string>",
"priceFees": "<string>",
"priceDueAtHotel": "<string>",
"priceInclusive": "<string>",
"amenities": [
"<string>"
],
"location": "<string>",
"images": [
"<string>"
],
"exclusive": true,
"type": "<string>",
"coordinates": [
123
]
},
"booking": {
"id": 123,
"status": "confirmed",
"voucher": "<string>",
"hotelId": 123,
"checkIn": "<string>",
"checkOut": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"phone": "<string>",
"lines": [
{
"lineText": "<string>",
"type": "room",
"amount": "<string>"
}
],
"pricePerNight": "<string>",
"priceFees": "<string>",
"priceDueAtHotel": "<string>",
"priceInclusive": "<string>",
"priceChargeable": "<string>",
"pricePerRoom": "<string>",
"pricePerRoomPerNight": "<string>",
"priceBeforeFees": "<string>",
"currency": "<string>",
"remarks": "<string>",
"roomType": "<string>",
"cancellationPolicy": "<string>",
"cancellationPolicyDate": "<string>",
"rooms": [
{
"adults": [
{
"title": "<string>",
"firstName": "<string>",
"lastName": "<string>"
}
],
"children": [
{
"title": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"age": 123
}
]
}
],
"clientCommission": "<string>",
"paymentMethod": "creditCard",
"userId": 123,
"hotel": {
"id": 123,
"name": "<string>",
"stars": 3,
"address": {
"address": "<string>",
"city": "<string>",
"country": "<string>",
"countryCode": "<string>"
},
"rating": 2.5,
"reviews": 1,
"pricePerNight": "<string>",
"priceChargeable": "<string>",
"pricePerRoom": "<string>",
"pricePerRoomPerNight": "<string>",
"priceBeforeFees": "<string>",
"priceFees": "<string>",
"priceDueAtHotel": "<string>",
"priceInclusive": "<string>",
"amenities": [
"<string>"
],
"location": "<string>",
"images": [
"<string>"
],
"exclusive": true,
"type": "<string>",
"coordinates": [
123
]
}
}
}
}A valid request URL is required to generate request examples{
"success": true,
"message": "<string>",
"data": {
"search": {
"destinationId": "<string>",
"checkIn": "<string>",
"checkOut": "<string>",
"rooms": [
{
"adults": 123,
"children": 123,
"childrenAges": [
123
]
}
]
},
"hotel": {
"id": 123,
"name": "<string>",
"stars": 3,
"address": {
"address": "<string>",
"city": "<string>",
"country": "<string>",
"countryCode": "<string>"
},
"rating": 2.5,
"reviews": 1,
"pricePerNight": "<string>",
"priceChargeable": "<string>",
"pricePerRoom": "<string>",
"pricePerRoomPerNight": "<string>",
"priceBeforeFees": "<string>",
"priceFees": "<string>",
"priceDueAtHotel": "<string>",
"priceInclusive": "<string>",
"amenities": [
"<string>"
],
"location": "<string>",
"images": [
"<string>"
],
"exclusive": true,
"type": "<string>",
"coordinates": [
123
]
},
"booking": {
"id": 123,
"status": "confirmed",
"voucher": "<string>",
"hotelId": 123,
"checkIn": "<string>",
"checkOut": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"phone": "<string>",
"lines": [
{
"lineText": "<string>",
"type": "room",
"amount": "<string>"
}
],
"pricePerNight": "<string>",
"priceFees": "<string>",
"priceDueAtHotel": "<string>",
"priceInclusive": "<string>",
"priceChargeable": "<string>",
"pricePerRoom": "<string>",
"pricePerRoomPerNight": "<string>",
"priceBeforeFees": "<string>",
"currency": "<string>",
"remarks": "<string>",
"roomType": "<string>",
"cancellationPolicy": "<string>",
"cancellationPolicyDate": "<string>",
"rooms": [
{
"adults": [
{
"title": "<string>",
"firstName": "<string>",
"lastName": "<string>"
}
],
"children": [
{
"title": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"age": 123
}
]
}
],
"clientCommission": "<string>",
"paymentMethod": "creditCard",
"userId": 123,
"hotel": {
"id": 123,
"name": "<string>",
"stars": 3,
"address": {
"address": "<string>",
"city": "<string>",
"country": "<string>",
"countryCode": "<string>"
},
"rating": 2.5,
"reviews": 1,
"pricePerNight": "<string>",
"priceChargeable": "<string>",
"pricePerRoom": "<string>",
"pricePerRoomPerNight": "<string>",
"priceBeforeFees": "<string>",
"priceFees": "<string>",
"priceDueAtHotel": "<string>",
"priceInclusive": "<string>",
"amenities": [
"<string>"
],
"location": "<string>",
"images": [
"<string>"
],
"exclusive": true,
"type": "<string>",
"coordinates": [
123
]
}
}
}
}API key for authentication
creditCard, account Show child attributes
11Booking created successfully
Indicates if the request was successful
Response message, null if successful
Show child attributes
Show child attributes
Show child attributes
1 <= x <= 50 <= x <= 5x >= 02 elementsShow child attributes
confirmed, pending, cancelled Show child attributes
creditCard, account Show child attributes
1 <= x <= 50 <= x <= 5x >= 02 elements