Buscar solo reservas individuales
Reservas
Mismos filtros, mismas reglas y misma forma de respuesta que /search (lee su descripción: el atajo del ID exacto, la ventana de 36 meses y el filtro compartido de cancelled / no-show también valen aquí), pero dejando fuera las reservas de grupo: solo reservas de una habitación. Úsalo cuando un grupo de diez habitaciones inundaría los resultados con diez entradas que van juntas. data trae hasta **15 reservas** por página, un tamaño distinto al de /search, así que no reutilices el mismo salto de paginación.
Consola
Llama a la API desde tu navegador, con la misma petición que enviará tu servidor.
Entorno
Producción
https://uni-api.hotelgest.com
Las llamadas van contra datos reales con tu propia clave. Un POST, PUT, PATCH o DELETE aquí modifica un establecimiento de verdad.
Credenciales
La clave de API, en cada petición. La crea un administrador del establecimiento en el PMS, en Configuración → Claves de API; un partner recibe una por establecimiento cuando este activa su integración. Solo funciona con el establecimiento para el que se emitió y con los endpoints que tiene concedidos.
Este endpoint necesita una credencial. Sin ella recibirás un 401.
Se guarda solo en este navegador. No se envía a ningún sitio que no sea el host de la API de arriba.
Parámetros de ruta
Parámetros de consulta
Envía la petición y aquí verás la respuesta real.
No hay nada simulado. Lo que aparezca es lo que devolvió la API.
Las peticiones salen directamente de tu navegador al host de la API de arriba: esta web no hace de intermediaria.
Parámetros de ruta
Property code. Identifies the property (hotel, apartment building, hostel) the request applies to. It must match the property your API key was issued for.
Parámetros de consulta
Free-text search: holder name, surname, email and locator (by prefix), phone (by its end) and booking ID. See the endpoint description for how it matches
Filter by room type ID
Filter by one or more booking statuses. cancelled and no-show select the same bookings: either one returns both kinds. Default: every status, blocks excluded
Uno de:readytentativecancelledno-showtemporary-cancelled
Pagination offset — number of records to skip. Default is 0
Filter bookings whose check-out date matches this exact date (YYYY-MM-DD)
Filter bookings whose check-in date matches this exact date (YYYY-MM-DD)
Respuestas
Ok. If your API key answers encrypted — every key issued now does, and every partner credential — this body arrives as the encryption envelope ({ crypto, protected, wrappedKey, iv, payload, tag }, a compact JWE), and the schema below is what its payload decrypts to. See https://public-api.hotelgest.com/public/guides/encryption
Bookings of this page, newest created first. Same shape as the booking detail, without what only the detail reads: no packId, packInfo, segments, earlyDepartureOriginalEnd nor the holder loyalty, and housekeeping.dateToClean is only the booking's own date. Empty when nothing matches
Number of bookings matching the search, ignoring pagination. With a free-text search it can fall short of every possible match (see the endpoint description); an exact booking ID or locator answers 1
¿Qué es un pcode?
Paginación
Mejor webhooks que sondeo
Límites de uso