# Hotel Booking System API ## Description This is version `v1` of this API documentation. Last update on Jan 22, 2024. API endpoints for managing hotel bookings ## Servers - http://api.example.com: http://api.example.com () ## Authentication ## Endpoints and operations ### [Bookings](https://bump.sh/saifabur3d/doc/hotel-booking-system/group/endpoint-bookings.md) - [Get a booking by its id](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-getbookingasync.md) - [Delete a booking](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-delete-api-bookings-parameter.md) - [Get an invoice by booking id](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-get-api-bookings-parameter-invoice.md) - [Create a new booking](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-post-api-bookings.md) - [Retrieve a booking invoice as a PDF file, to download or print](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-get-api-bookings-parameter-pdf.md) ### [Cities](https://bump.sh/saifabur3d/doc/hotel-booking-system/group/endpoint-cities.md) - [Get a city by its id](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-getcity.md) - [Update a city](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-put-api-cities-parameter.md) - [Delete a city](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-delete-api-cities-parameter.md) - [Retrieves a list of cities based on the specified query parameters.](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-getcities.md) - [Create a new city](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-post-api-cities.md) - [Returns TOP N most visited cities, N is 5 by default](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-get-api-cities-trending-destinations.md) - [Upload an image to a city](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-post-api-cities-parameter-images.md) ### [Guests](https://bump.sh/saifabur3d/doc/hotel-booking-system/group/endpoint-guests.md) - [Retrieves a collection of unique recently visited hotels for a guest, presenting essential details.](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-get-api-guests-parameter-recently-visited-hotels.md) - [Retrieves a collection of unique recently visited hotels for a the current authorized guest, presenting essential details.](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-get-api-guests-recently-visited-hotels.md) ### [Hotels](https://bump.sh/saifabur3d/doc/hotel-booking-system/group/endpoint-hotels.md) - [Get a hotel by its id](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-gethotel.md) - [Update a hotel](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-put-api-hotels-parameter.md) - [Delete a hotel](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-delete-api-hotels-parameter.md) - [Retrieves a list of hotels based on the specified query parameters.](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-gethotels.md) - [Create a new hotel](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-post-api-hotels.md) - [Upload an image to a hotel](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-post-api-hotels-parameter-images.md) - [Searches and filters hotels based on the specified criteria.](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-searchandfilterhotels.md) - [Retrieves the reviews for a specific hotel based on the specified query parameters.](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-gethotelreviews.md) - [Adds a review for a specific hotel.](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-post-api-hotels-parameter-reviews.md) - [Get a review by its id](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-getreview.md) - [Update a review](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-put-api-hotels-parameter-reviews-parameter.md) - [Delete a review](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-delete-api-hotels-parameter-reviews-parameter.md) - [Get hotel average rating](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-get-api-hotels-parameter-reviews-average.md) ### [Login](https://bump.sh/saifabur3d/doc/hotel-booking-system/group/endpoint-login.md) - [login a user](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-post-api-login.md) ### [Register](https://bump.sh/saifabur3d/doc/hotel-booking-system/group/endpoint-register.md) - [Register a guest](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-post-api-register.md) ### [Register admin](https://bump.sh/saifabur3d/doc/hotel-booking-system/group/endpoint-register-admin.md) - [Register an admin](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-post-api-register-admin.md) ### [Rooms](https://bump.sh/saifabur3d/doc/hotel-booking-system/group/endpoint-rooms.md) - [Create a new discount](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-post-api-rooms-parameter-discounts.md) - [Get a discount by its id](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-getdiscount.md) - [Delete a discount](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-delete-api-rooms-parameter-discounts-parameter.md) - [Retrieves a collection of featured deals based on the specified count.](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-get-api-rooms-featured-deals.md) - [Get a room by its id](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-get-api-rooms-parameter.md) - [Update a room](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-put-api-rooms-parameter.md) - [Delete a room](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-delete-api-rooms-parameter.md) - [Retrieves a list of rooms based on the specified query parameters.](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-getrooms.md) - [Create a new room](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-post-api-rooms.md) - [Upload an image to a room](https://bump.sh/saifabur3d/doc/hotel-booking-system/operation/operation-post-api-rooms-parameter-images.md) [Powered by Bump.sh](https://bump.sh)