Hotel Detail
POST
/api/v1/generic-api-service/content/hotel/detail
The hotel detail endpoint is used to see the all information about hotels and hotel detail.
- cURL
- Request
- Response
- Request Details
- Response Details
curl --location 'https://test-api.etscore.com/api/v1/generic-api-service/content/hotel/detail' \
--header 'Accept-Language: us-EN' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
"hotelId": "sxk9jv7y87jw35"
}'
{
"hotelId": "sxk9jv7y87jw35"
}
{
"id": "sxk9jv7y87jw35",
"name": "Hilton İstanbul Kozyatağı",
"location": {
"id": 795,
"cityCode": "795",
"city": "İstanbul",
"postalCode": "34734",
"countryCode": "TR",
"country": "Türkiye",
"state": "Kadıköy"
},
"geoLocation": {
"lat": 40.9871309,
"lon": 29.0854914
},
"allowedPet": false,
"locationStructure": [
{
"id": 549,
"name": "Türkiye",
"type": "CO",
"locationType": "COUNTRY",
"cityId": 0,
"countryId": 0
},
{
"id": 740,
"name": "Marmara Bölgesi",
"type": "RE",
"locationType": "REGION",
"cityId": 0,
"countryId": 549
},
{
"id": 795,
"name": "İstanbul",
"type": "CI",
"locationType": "CITY",
"cityId": 0,
"countryId": 549
},
{
"id": 1303,
"name": "İstanbul Anadolu Yakası",
"type": "TO",
"locationType": "TOWN",
"cityId": 795,
"countryId": 549
},
{
"id": 328335,
"name": "Kadıköy",
"type": "CR",
"locationType": "CUSTOMREGION",
"cityId": 795,
"countryId": 549
}
],
"checkInOutPolicy": {
"checkInTime": "14:00",
"checkOutTime": "12:00",
"checkInSurchargePrice": 0,
"checkOutSurchargePrice": 0
},
"spokenLanguages": [
"Turkce",
"Arabic",
"English"
],
"hotelImages": [
{
"imageUrls": [
{
"url": "https://images.odamax.com/img/300x300/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164801_8.jpg",
"width": 160,
"height": 120
},
{
"url": "https://images.odamax.com/img/800x600/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164801_8.jpg",
"width": 800,
"height": 600
},
{
"url": "https://images.odamax.com/img/1024x768/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164801_8.jpg",
"width": 1024,
"height": 768
}
],
"imageText": null,
"type": "GENERALVIEW",
"roomCode": null,
"mainImage": false,
"contentType": "IMAGE"
},
{
"imageUrls": [
{
"url": "https://images.odamax.com/img/300x300/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164838_8.jpg",
"width": 160,
"height": 120
},
{
"url": "https://images.odamax.com/img/800x600/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164838_8.jpg",
"width": 800,
"height": 600
},
{
"url": "https://images.odamax.com/img/1024x768/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164838_8.jpg",
"width": 1024,
"height": 768
}
],
"imageText": null,
"type": "GENERALVIEW",
"roomCode": null,
"mainImage": false,
"contentType": "IMAGE"
},
{
"imageUrls": [
{
"url": "https://images.odamax.com/img/300x300/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164839_18.jpg",
"width": 160,
"height": 120
},
{
"url": "https://images.odamax.com/img/800x600/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164839_18.jpg",
"width": 800,
"height": 600
},
{
"url": "https://images.odamax.com/img/1024x768/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164839_18.jpg",
"width": 1024,
"height": 768
}
],
"imageText": null,
"type": "GENERALVIEW",
"roomCode": null,
"mainImage": false,
"contentType": "IMAGE"
}
],
"contact": {
"addressLines": [
"Sahrayı Cedit Batman Sk. No:4 İstanbul"
],
"phones": [],
"email": "[email protected]",
"webSite": null
},
"descriptions": [
{
"title": "GENERAL_WARNINGS",
"description": "Tesis odalarına giriş saati 14.00'ten itibaren başlar. Odalardan çıkış saati ise en geç 12.00. Oda Kahvaltı konaklamalar, çıkış günü sabah kahvaltısı ile son bulur.
."
},
{
"title": "GENERAL",
"description": "Ulaşım olanaklarına yakın konumu ve şık atmosferi ile öne çıkan Hilton İstanbul Kozyatağı, misafirlerine konforlu bir konaklama deneyimi vadediyor. Tesis bünyesinde restoranlar ve eğlence merkezleri bulunuyor. Alışveriş merkezlerine birkaç dakikalık mesafede yer alan Hilton İstanbul, iş ve gezi odaklı konaklamalar için ideal bir alternatif oluşturuyor. Tesis, Sabiha Gökçen Havalimanı'na 31 km mesafede bulunuyor."
},
{
"title": "FOOD",
"description": "Tesis; Sadece Oda ve Oda Kahvaltı konseptleri ile hizmet veriyor. Sadece Oda konaklamalarda tesis genelinde alınan tüm yiyecek ve içecekler ücretli. Oda Kahvaltı konaklamalarda, sabah kahvaltısı dışında alınan tüm yiyecekler ve içecekler ücretli."
}
],
"extraInformation": [
{
"info": "acceptPet",
"value": "false"
},
{
"info": "acceptGuidanceDog",
"value": "false"
},
{
"info": "extraBed",
"value": "true"
},
{
"info": "numberOfRooms",
"value": "320"
},
{
"info": "buildYear",
"value": "2016"
}
],
"rooms": [
{
"code": "4209",
"name": "King Executive Oda",
"size": 32,
"capacity": 2,
"acceptChild": true,
"bedTypes": [
{
"id": 2714,
"name": "Çift Kişilik Yatak"
}
],
"descriptions": [
{
"text": "King Executive Oda 10. kat itibariyle olan odalardır.\r\nExecutive Lounge kullanımı dahildir. ",
"seasonType": "G"
}
],
"images": [
{
"imageUrls": [
{
"url": "https://images.odamax.com/img/300x300/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164859_1.jpg",
"width": 160,
"height": 120
},
{
"url": "https://images.odamax.com/img/800x600/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164859_1.jpg",
"width": 800,
"height": 600
},
{
"url": "https://images.odamax.com/img/1024x768/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164859_1.jpg",
"width": 1024,
"height": 768
}
],
"imageText": null,
"type": "ROOM",
"roomCode": null,
"mainImage": false,
"contentType": "IMAGE"
}
],
"facilities": [
{
"id": 371,
"free": false,
"seasonType": "GENERAL",
"description": "Fireplace"
},
{
"id": 372,
"free": false,
"seasonType": "GENERAL",
"description": "Wardrobe"
},
{
"id": 6323,
"free": true,
"seasonType": "GENERAL",
"description": "Wooden/Parquet Floor"
},
{
"id": 6324,
"free": true,
"seasonType": "GENERAL",
"description": "Tile/Marble Floor"
},
{
"id": 6325,
"free": true,
"seasonType": "GENERAL",
"description": "Trouser Press"
},
{
"id": 6326,
"free": true,
"seasonType": "GENERAL",
"description": "Sofa Bed"
},
{
"id": 6328,
"free": false,
"seasonType": "GENERAL",
"description": "Seating Area"
},
{
"id": 6329,
"free": true,
"seasonType": "GENERAL",
"description": "Private Pool"
},
{
"id": 6334,
"free": true,
"seasonType": "GENERAL",
"description": "Smoking Area"
},
{
"id": 6348,
"free": false,
"seasonType": "GENERAL",
"description": "High Chair"
},
{
"id": 6365,
"free": true,
"seasonType": "GENERAL",
"description": "Fully Equipped Kitchen"
},
{
"id": 6366,
"free": true,
"seasonType": "GENERAL",
"description": "Barbeque"
},
{
"id": 6367,
"free": true,
"seasonType": "GENERAL",
"description": "Coffee Machine"
},
{
"id": 6379,
"free": true,
"seasonType": "GENERAL",
"description": "Kitchen Equipment"
},
{
"id": 6385,
"free": true,
"seasonType": "GENERAL",
"description": "Towels"
},
{
"id": 6386,
"free": true,
"seasonType": "GENERAL",
"description": "Slippers"
},
{
"id": 6387,
"free": true,
"seasonType": "GENERAL",
"description": "Shared Bathroom"
},
{
"id": 6401,
"free": true,
"seasonType": "GENERAL",
"description": "Smoke Detector"
},
{
"id": 6443,
"free": true,
"seasonType": "GENERAL",
"description": "Jacuzzi"
},
{
"id": 6444,
"free": true,
"seasonType": "GENERAL",
"description": "Jacuzzi"
},
{
"id": 7141,
"free": false,
"seasonType": "GENERAL",
"description": "Lighted Vanity Mirror"
}
]
},
{
"code": "4216",
"name": "Twin guest room double",
"size": 32,
"capacity": 2,
"acceptChild": true,
"bedTypes": [
{
"id": 2713,
"name": "Tek Kişilik Yatak"
}
],
"descriptions": [
{
"text": "Gün ışığının odaya dolmasını sağlayan yerden tavana kadar pencerelerle çevrelenen oda.\r\n\r\n**Çocuklar için ek yatak açılması odada sıkışıklık yaratabilir",
"seasonType": "G"
}
],
"images": [
{
"imageUrls": [
{
"url": "https://images.odamax.com/img/300x300/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164839_17.jpg",
"width": 160,
"height": 120
},
{
"url": "https://images.odamax.com/img/800x600/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164839_17.jpg",
"width": 800,
"height": 600
},
{
"url": "https://images.odamax.com/img/1024x768/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164839_17.jpg",
"width": 1024,
"height": 768
}
],
"imageText": null,
"type": "ROOM",
"roomCode": null,
"mainImage": false,
"contentType": "IMAGE"
},
{
"imageUrls": [
{
"url": "https://images.odamax.com/img/300x300/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164859_4.jpg",
"width": 160,
"height": 120
},
{
"url": "https://images.odamax.com/img/800x600/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164859_4.jpg",
"width": 800,
"height": 600
},
{
"url": "https://images.odamax.com/img/1024x768/odamax/image/upload/Hilton_Istanbul_Kozyatagi_20230125164859_4.jpg",
"width": 1024,
"height": 768
}
],
"imageText": null,
"type": "ROOM",
"roomCode": null,
"mainImage": false,
"contentType": "IMAGE"
}
],
"facilities": []
}
],
"facilities": [
{
"id": 6731,
"free": true,
"seasonType": "GENERAL",
"description": "Suitable for Wheelchair Use"
},
{
"id": 6566,
"free": true,
"seasonType": "GENERAL",
"description": "Indoor Pool"
},
{
"id": 6570,
"free": true,
"seasonType": "GENERAL",
"description": "Spa And Wellness Center"
},
{
"id": 6573,
"free": true,
"seasonType": "GENERAL",
"description": "Jacuzzi"
},
{
"id": 6574,
"free": true,
"seasonType": "GENERAL",
"description": "Fitness Center"
},
{
"id": 6591,
"free": true,
"seasonType": "GENERAL",
"description": "Spa Facilities"
},
{
"id": 6599,
"free": true,
"seasonType": "GENERAL",
"description": "24 Hour Reception Service"
},
{
"id": 6602,
"free": true,
"seasonType": "GENERAL",
"description": "Concierge Service"
},
{
"id": 6604,
"free": true,
"seasonType": "GENERAL",
"description": "Tour Information Desk"
},
{
"id": 6686,
"free": true,
"seasonType": "GENERAL",
"description": "Daily Cleaning"
},
{
"id": 6697,
"free": true,
"seasonType": "GENERAL",
"description": "Smoking Area"
},
{
"id": 6698,
"free": true,
"seasonType": "GENERAL",
"description": "Non-Smoking Rooms"
},
{
"id": 6700,
"free": true,
"seasonType": "GENERAL",
"description": "Elevator"
},
{
"id": 6701,
"free": true,
"seasonType": "GENERAL",
"description": "Air-Conditioner"
},
{
"id": 6702,
"free": true,
"seasonType": "GENERAL",
"description": "Heating"
},
{
"id": 6706,
"free": true,
"seasonType": "GENERAL",
"description": "Internet Access – Wireless"
},
{
"id": 6608,
"free": true,
"seasonType": "GENERAL",
"description": "Luggage Room"
},
{
"id": 6611,
"free": true,
"seasonType": "GENERAL",
"description": "Newspapers"
},
{
"id": 6740,
"free": true,
"seasonType": "GENERAL",
"description": "Breakfast Lounge"
},
{
"id": 6637,
"free": true,
"seasonType": "GENERAL",
"description": "Restaurant"
},
{
"id": 6655,
"free": true,
"seasonType": "GENERAL",
"description": "Car Park (On Site)"
},
{
"id": 6690,
"free": true,
"seasonType": "GENERAL",
"description": "Business Center"
},
{
"id": 6728,
"free": true,
"seasonType": "GENERAL",
"description": "Lobby"
}
]
}
Name | Type | Required | Description |
---|---|---|---|
hotelId | string | Yes | Id of the hotel that detail information will be displayed. |
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | Hotel id |
name | string | Yes | Hotel name |
starLevel | string | No | How many stars the hotel has |
location | object-array | Yes | Object to return information about the hotel's location |
location/id | int | Yes | Location id |
location/location | string | Yes | Location name |
location/cityCode | string | No | Code of the city to which the location belongs. |
location/city | string | Yes | City to which the location belongs. |
location/postalCode | string | Yes | Postal code of the location |
location/countryCode | string | Yes | The code of the country to which the location belongs. It must be sent as a 2-digit country code |
location/country | string | Yes | Country to which the location belongs. |
location/state | string | Yes | State to which the location belongs. |
geoLocation | object-array | Yes | Object to return the coordinate information of the location. |
geoLocation/lat | decimal | Yes | Latitude of the coordinate |
geoLocation/lon | decimal | Yes | Longitude of the coordinate |
allowedPet | bool | Yes | Information whether the hotel accepts pets. If true, pets can stay in the hotel, if false, they can not. |
notAllowedOnlyMan | bool | Yes | Information whether the hotel accepts only men. If false, men can stay in the hotel without women, if true, they can not stay. |
locationStructure | object-array | Yes | Object where the information of the Ets location structure can be displayed |
locationStructure/id | int | Yes | Location id |
locationStructure/name | string | Yes | Location name |
locationStructure/type | string | Yes | Code of the location type |
locationStructure/locationType | string | Yes | Location type |
locationStructure/cityId | int | Yes | Code of the city, if any, to which the location is connected. Otherwise, '0' is sent. |
locationStructure/countryId | int | Yes | Id of the country, if any, to which the location is connected. Otherwise, 0 is sent. |
spokenLanguages | object-array | Yes | Languages to communicate with the hotel |
hotelImages | object-array | Yes | Object to which hotel image will send |
hotelImages/imageUrls | object-array | Yes | Object with links to hotel images and image height and width |
hotelImages/imageUrls/url | string | Yes | Image url |
hotelImages/imageUrls/width | int | Yes | Width of the image |
hotelImages/imageUrls/height | int | Yes | Height of the image |
hotelImages/imageText | string | Yes | If there is a description about the image, it is included here. |
hotelImages/type | string | Yes | Image type |
hotelImages/roomCode | string | No | If the image belongs to any room, the code of the room it belongs to. |
hotelImages/mainImage | bool | Yes | Information whether the image is the main photo of the hotel |
hotelImages/contentType | string | Yes | Type of the content |
contact | object-array | Yes | Object with hotel contact information |
contact/addressLines | object-array | Yes | Hotel address |
contact/phones | object-array | Yes | Object with hotel phone information |
contact/phones/number | string | No | Hotel phone number |
contact/phones/type | string | No | Phone type |
contact/email | string | No | Hotel email address |
contact/webSite | string | No | Hotel website |
descriptions | object-array | No | Descriptions about the hotel. |
descriptions/title | string | No | Title of the description |
descriptions/description | string | Yes | Description detail |
extraInformation | object-array | No | If there is extra information about the hotel, it is sent in this object. |
extraInformation/info | string | No | Extra information name |
extraInformation/value | string | No | Extra information value |
rooms | object-array | Yes | The room information of the hotel is sent in this object. |
rooms/code | string | Yes | Room code |
rooms/name | string | Yes | Room name |
rooms/size | int | Yes | Information on how many square meters the room is |
rooms/capacity | int | Yes | Number of people that can stay in the room |
rooms/acceptChild | bool | Yes | Information on whether children can be accommodated in the room |
rooms/bedTypes | object-array | Yes | The object containing the information about the beds in the room |
rooms/bedTypes/id | int | Yes | Id of the bed type in the room |
rooms/bedTypes/name | string | Yes | Name of the bed type in the room |
rooms/facilities | object-array | Yes | Object with information about facilities in the room |
rooms/facilities/id | int | Yes | Facility id |
rooms/facilities/groupId | int | Yes | Id of the group that the facility belongs to. |
rooms/facilities/code | string | No | Facility code |
rooms/facilities/name | string | Yes | Facility name |
rooms/facilities/type | string | Yes | Information whether the facility is a room or hotel facility |
rooms/facilities/paid | bool | No | Information on whether the facility is paid |
rooms/facilities/seasonType | string | No | Information on which seasons the Facility is in use |
rooms/facilities/description | string | No | Facility description |
rooms/facilities/innerGroupId | int | Yes | Inner group id |
rooms/facilities/innerGroupName | string | No | Inner group name |
rooms/facilities/topFacility | bool | Yes | Information about whether there is a top facility or not. If true it is top facility, if false it is not top facility. |
rooms/facilities/facilityGroupId | int | Yes | Id of the facility group the facility belongs |
rooms/facilities/facilityGroup | string | Yes | Facility group the facility belongs |
rooms/description | string | No | Room description |
rooms/images | object-array | Yes | Object that the room photos are in. |
rooms/images/imageUrls/ | object-array | Yes | Object to which room image will send |
room/images/imageUrls/url | string | No | Image url |
rooms/images/imageUrls/width | int | No | Width of the image |
rooms/images/imageUrls/height | int | No | Height of the image |
rooms/images/imageText | string | No | If there is a description of the image, it is included here. |
rooms/images/type | string | No | Image type |
rooms/images/roomCode | string | No | Code of the room to which the image belongs |
rooms/images/mainImage | bool | No | Information whether the image is the main photo of the room |
rooms/images/contentType | string | No | Content type |
rooms/facilityGroups | object-array | Yes | Object of the group that the hotel facilities are in |
rooms/facilityGroups/id | int | Yes | Facility group id |
rooms/facilityGroups/name | string | Yes | Facility group name |
rooms/facilityGroups/facilities | object-array | Yes | Object containing the facilities under the facility group. |
rooms/facilityGroups/facilities/id | int | Yes | Facility id |
rooms/facilityGroups/facilities/code | string | Yes | Facility code |
rooms/facilityGroups/facilities/name | string | Yes | Facility name |
rooms/facilityGroups/facilities/type | string | Yes | Information that the facility is a room or hotel facility |
rooms/facilityGroups/facilities/paid | bool | No | Information on whether the facility is paid |
rooms/facilityGroups/facilities/seasonType | string | No | Information on which seasons the Facility is in use |
rooms/facilityGroups/facilities/innerGroupId | int | Yes | Inner group id |
rooms/facilityGroups/facilities/innerGroupName | string | Yes | Inner group name |
rooms/facilityGroups/facilities/topFacility | bool | Yes | Information about whether there is a top facility or not. If true it is top facility, if false it is not top facility. |