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

Hotels API

Provides details on the hotels currently available in the TCTT portfolio. This information includes key data for all existing hotels in the system.

hotels API

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

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <Access token>

Accept-Encoding

gzip

Query Params

Name
Type
Description

syncId

string

<syncId>

Response

{
    "success": true,
    "data": {
        "syncId": "7074ef8d24239be075d1ff012ad64aa28c",
        "total": 1500000,
        "from": 1,
        "to": 1000,
        "hotels": [
            {
                "hotelId": 101972,
                "hotelName": "Hayth Plaza",
                "address": {
                    "addressDetail": "Dubai"
                },
                "country": {
                    "countryId": 124,
                    "isoCode": "AE"
                },
                "stateId": 10021,
                "cityId": 10053,
                "areaId": 10432,
                "coordinates": {
                    "latitude": "534432534534",
                    "longitude": "34534563465"
                },
                "hotelChainId": 1071,
                "accommodationTypeId": 10049,
                "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": "+9714209130"
                        }
                    ]
                },
                "isAvailable": true
            }
        ]
    }
}
PreviousHotels Master NextHotel detail API

Last updated 7 months ago

πŸ“š