Destination Search Sample
Last Update Date |
13.07.2023 |
Request Sample
|
Attribute |
Type |
Required |
Description |
|
Destinations |
Array (Destination) |
Yes |
I don't know |
Attribute |
Type |
Required |
Description |
Type |
string |
Yes |
"destination" or "hotel" |
Id |
string |
yes |
I don't know |
|
|
Rooms |
Array (Room) |
Yes |
I don't know |
Attribute |
Type |
Required |
Description |
Adults |
Int |
Yes |
I don't know |
ChildrenAges |
Array (Int) |
yes |
I don't know |
|
|
CheckInDate |
String |
yes |
CheckInDate format (yyyy-MM-dd) |
|
CheckOutDate |
String |
yes |
CheckOutDate format (yyyy-MM-dd) |
|
Currency |
String |
yes |
I don't know |
|
CustomerNationality |
String |
yes |
I don't know |
|
FilterUnAvailable |
Bool |
no |
I don't know |
|
WiyhPormition |
Bool |
no |
I don't know |
|
IncludeHotelContent |
Bool |
no |
I don't know |
|
Language |
String |
no |
I don't know |
{
"destinations": [{
"type": "city",
"id": "23494"
}],
"rooms": [{
"adults": 2,
"childrenAges": []
}],
"checkinDate": "2016-01-01",
"checkoutDate": "2016-01-04",
"currency": "EUR",
"customerNationality": "TR",
"filterUnavailable": false,
"withPromotion": false,
"language": "tr"
}
Response Sample
|
Attribute |
Type |
Required |
Description |
|
SearchId |
String |
yes |
This field contains the searchId as a string. |
|
expiresOn |
DateTime |
yes |
This field contains the expiresOn as a DateTime. |
|
Hotel |
Array (Hotel) |
yes |
This object contains hotel information |
|
Attribute |
Type |
Required |
Description |
|
Id |
Int |
Yes |
This value contains the hotel id |
|
Name |
String |
yes |
This value contains the hotel name |
|
Description |
String |
yes |
I don't know |
|
City |
Object |
yes |
This object contains the id and name values |
Attribute |
Type |
Required |
Description |
Id |
Int |
no |
This value contains the city id |
Name |
String |
no |
This value contains the city name |
|
|
Country |
Object |
Yes |
This object contains the id and name values |
Attribute |
Type |
Required |
Description |
Id |
String |
no |
This value contains the country id |
Name |
String |
no |
This value contains the country name |
|
|
Stars |
Double |
no |
This value contains the star information of the hotel. |
|
Rating |
Double |
no |
This value includes the rating of the hotel. |
|
ReviewUrl |
String |
no |
I don't know. |
|
Thumbnail |
String |
no |
I don't know. |
|
Themes |
Array (String) |
no |
I don't know. |
|
Facilities |
Array |
no |
I don't know. |
|
Geolocation |
Object |
Yes |
This value contains the location information of the hotel. |
Attribute |
Type |
Required |
Description |
Longitude |
Double |
no |
This value contains the longitude of the hotel. |
Latitude |
Double |
no |
This value contains the latitude of the hotel. |
|
|
IsFavorite |
Boolean |
no |
I don't no. |
|
Offers |
Array (Object) |
Yes |
This object contains offer information. |
|
Attribute |
Type |
Required |
Description |
|
OfferId |
String |
no |
I don't know |
|
ExpiresOn |
DateTime |
no |
I don't know |
|
HotelId |
String |
no |
I don't know |
|
BoardId |
String |
no |
I don't know |
|
BoardName |
String |
no |
I don't know |
|
BoardCategories |
Array (String) |
no |
I don't know |
|
Rooms |
Array (Object) |
Yes |
This object contains room information. |
|
Attribute |
Type |
Required |
Description |
|
Id |
String |
no |
I don't know |
|
Type |
String |
no |
I don't know |
|
Categories |
Array (String) |
no |
I don't know |
|
Travellers |
Array (Object) |
Yes |
This object contains offer information. |
Attribute |
Type |
Required |
Description |
Type |
String |
no |
I don't know |
Age |
Int |
no |
I don't know |
Nationality |
String |
no |
I don't know |
|
|
|
Price |
Object |
Yes |
This object contains offer information. |
Attribute |
Type |
Required |
Description |
Amount |
Double |
no |
I don't know |
Currency |
String |
no |
I don't know |
|
|
isSpecial |
Bool |
no |
I don't know |
|
isAvailable |
Bool |
no |
I don't know |
|
|
{
"searchId": "b917b3c8-e6d2-468e-a9a2-312527e26a75",
"expiresOn": "2015-11-24T15:36:50.1374103Z",
"hotels": [
{
"id": "100122",
"name": "Limak Lara De Luxe Hotel & Resort",
"description": "This club resort is situated approximately 8 km from the centre of Lara and is close to the sea and a private beach on Turkey's Mediterranean coast, which is known for its richness in history and natural beauty. Antalya is 25 km from the club resort and Antalya Airport is around 13 km away.",
"city": {
"id": "23504",
"name": "Lara"
},
"country": {
"id": "TR",
"name": "Turkey"
},
"stars": 4.5,
"rating": 5.5977,
"reviewUrl": "http://www.holidaycheck.com/hr/4d1251f4-2a50-3064-8551-3a7c277b7e2a",
"thumbnail": "100122/385895.jpg",
"themes": [
"Tatil Köyü"
],
"facilities": [],
"geolocation": {
"longitude": 30.88086,
"latitude": 36.85587
},
"isFavorite": false,
"offers": [
{
"id": "a21a0d97-8982-432d-a014-6c78a9b4f093",
"expiresOn": "2015-11-24T15:36:50.0594296Z",
"hotelId": "100122",
"boardId": "1023"
"board": "All Inclusive",
"boardCategories": [
"All inclusive"
],
"rooms": [
{
"id": "74b1ab67-a73c-456b-b6ca-ffba797a2394",
"type": "IQSP.e9c84bae-e2aa-4cab-957f-70ab3ac2f376:Standard Room - 1 double bed",
"categories": [
"Uncategorized"
],
"promotions": [],
"travellers": [
{
"type": "adult",
"age": 0,
"nationality": "TR"
},
{
"type": "adult",
"age": 0,
"nationality": "TR"
}
]
}
],
"price": {
"amount": 923.00,
"currency": "EUR"
},
"isSpecial": false,
"isAvailable": true
},
{
"id": "9f8a16fe-2a66-4f45-bec3-b19f45cc6721",
"expiresOn": "2015-11-24T15:36:50.0594296Z",
"hotelId": "100122",
"board": "All Inclusive",
"boardCategories": [
"All inclusive"
],
"rooms": [
{
"id": "2eac2fed-8b2f-4d5b-8c71-331691e0eee7",
"typeId": "10023"
"type": "IQSP.e9c84bae-e2aa-4cab-957f-70ab3ac2f376:Standard Triple Room - 1 double bed",
"categories": [
"Uncategorized"
],
"promotions": [],
"travellers": [
{
"type": "adult",
"age": 0,
"nationality": "TR"
},
{
"type": "adult",
"age": 0,
"nationality": "TR"
}
]
}
],
"price": {
"amount": 1222.00,
"currency": "EUR"
},
"isSpecial": false,
"isAvailable": true
},
{
"id": "44df9620-532f-4b58-82b5-fc032cba35e0",
"expiresOn": "2015-11-24T15:36:50.0594296Z",
"hotelId": "100122",
"board": "All Inclusive",
"boardCategories": [
"All inclusive"
],
"rooms": [
{
"id": "bffb75e1-be20-40fe-9bd8-77984825e812",
"type": "IQSP.e9c84bae-e2aa-4cab-957f-70ab3ac2f376:Junior Suite, 1 King Bed",
"categories": [
"Uncategorized"
],
"promotions": [],
"travellers": [
{
"type": "adult",
"age": 0,
"nationality": "TR"
},
{
"type": "adult",
"age": 0,
"nationality": "TR"
}
]
}
],
"price": {
"amount": 1227.00,
"currency": "EUR"
},
"isSpecial": false,
"isAvailable": true
}
]
}
]
}