Traveller's Choice Hotel API
  • 🚩Getting Started with Hotel API
  • πŸ•ΈοΈUnderstanding the API structure
  • πŸ”‘Authentication API
    • Access token
  • πŸ“šHotel Content API
    • Content API
      • Hotels Master
        • Hotels API
        • Hotel detail API
      • Location Master
        • countries
        • States
        • Cities
        • Areas
      • Types Master
        • Room Types Master
          • Room Types API
          • Room Types Detail API
        • Board Type Master
          • Board Types API
          • Board Types Detail API
        • Accommodation Type Master
          • Accommodation Types API
          • Accommodation Type Detail API
        • Chains Master
          • Chains API
          • Chain Detail API
        • Amenities Master
          • Amenities API
          • Amenity Detail API
        • Amenity Group Master
          • Amenity group API
          • Amenity Group Detail API
      • πŸ”„Sync Id
  • 🏨Hotel Booking API
    • Booking API
      • Availability APIs
        • MinRate Availability API
        • Availability API
      • Check Rate API
      • Booking APIs
        • Create a Booking - API
        • Booking Details API
        • Cancel Booking API
  • πŸ•΅οΈTest cases
    • Booking API
  • Webhook
  • Errors
    • Token Error
Powered by GitBook
On this page
  1. Hotel Content API
  2. Content API
  3. Hotels Master

Hotel detail API

Returns all the details associated to a single Hotel or a group of Hotels.

hotels API

GET /api/v1/hotel/content-api/hotels/details

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <Access token>

Accept-Encoding

gzip

Query Params

Name
Type
Sample

hotelIds

string

[101972, 164507]

Response

{
    "success": true,
    "data": {
        "hotels": [
            {
                "hotelId": 101972,
                "hotelName": "Hayth Plaza",
                "address": {
                    "addressDetail": "Dubai"
                },
                "country": {
                    "countryId": 124,
                    "isoCode": "AE"
                },
                "stateId": 10012,
                "cityId": 10152,
                "areaId": 10133,
                "coordinates": {
                    "latitude": "534432534534",
                    "longitude": "34534563465"
                },
                "hotelChainId": 10113,
                "accommodationTypeId": 10229,
                "starCategory": "5",
                "description": "sample description of the hotel",
                "website": "hayathplaz.com",
                "roomsCount": 56,
                "floorsCount": 79,
                "carParkingSlots": 56,
                "vervotechId": 41516489,
                "images": [
                    {
                        "path": "https://sample.com/public/images/hotels/images-1682344449796-852326978.jpg"
                    },
                    {
                        "path": "https://sample.com/public/images/hotels/images-1682344449798-644810702.jpg"
                    }
                ],
                "boardTypes": [
                   {
                        "boardTypeId": 100023
                    },
                    {
                        "boardTypeId": 100035
                    },
                    {
                        "boardTypeId": 100007
                    },
                    {
                        "boardTypeId": 100021
                    }
                    ],
                "checkInTime": "01:04",
                "checkOutTime": "02:01",
                "amenities": [
                    {
                        "amenityId": 100288,
                        "amenityGroupId": 100015,
                        "isPaid": false
                    },
                    {
                        "amenityId": 100043,
                        "amenityGroupId": 100015,
                        "isPaid": false
                    },
                    {
                        "amenityId": 100321,
                        "amenityGroupId": 100015,
                        "isPaid": true
                    }
                    ],
                "bars": [
                    {
                    "name":"Bar name",
                    "barType": "Indoor",
                    "fromTime":"02:00",
                    "toTime": "17:00"
                    }
                ],
                "restaurants": [
                {
                "name":"restuarant name",
                "cuisine":"International, Arabic",
                "fromTime":"02:00",
                "toTime":"23:00"
                }
                ],
                "faqs": [
                {
                "question":"",
                "answer":""
                }
                ],
                "contacts": {
                    "hotelContacts": [
                        {
                            "email": "[email protected]",
                            "phone": "+971424561130"
                        }
                    ]
                },
                "isAvailable": true
            }
        ]
    }
}
PreviousHotels APINextLocation Master

Last updated 7 months ago

πŸ“š