hotel-api-GetAllDestinations

Hotel API 1.7

GetAllDestinations

Path: /api/HotelApi/GetAllDestinations

This endpoint retrieves a list of destinations based on the specified destination type.

The type parameter accepts either City or Country.

  • City – Returns a list of cities along with their state and country details.
  • Country – Returns a list of countries.

Request Example – Country:

{
"type": "Country"
}

Request Example – City:

{
"type": "City"
}