Get what the property has sold and has left
RMS
What an RMS reads to know how the property is doing, in the shape of the legacy export (/panel/thirdPart/revbell), field names included. rsvList holds the bookings — with dfrom and dto, those arriving in the range; with dfrom alone, those received that day — each with its nights and their prices in PrecioNoche, channel, segment, country, age and status; cancelled, no-show and tentative ones included, each with its bookingStatus, and a cancelled one with when it was cancelled in Fecha_Anulacion; blocked ones not, nor a booking whose room type is not sold on the booking engine or no longer exists, nor one with no priced night. capList holds each day and room type sold on the booking engine: rooms sold (confirmed bookings only: a tentative one is neither sold nor taken from the free rooms), blocked, free and in total, one row per room type name, so two room types with the same name come as one row. With article, productionList holds the articles sold: one row per invoice line, its units and amounts prorated to the days inside the range. dto at most 366 days after dfrom. Unlike the legacy, a call without dates is refused: there it matched almost nothing; and Fecha_Anulacion is when the booking was cancelled, read from its history, where the legacy gave its last change.
Console
Runs against the API from your browser, with the same request your server will send.
Environment
Production
https://uni-api.hotelgest.com
Calls hit live data with your own API key. A POST, PUT, PATCH or DELETE here changes a real property.
Credentials
The API key, sent on every request. A property admin creates it in the PMS under Settings → API keys; a partner receives one per property when the property activates its integration. It works only for the property it was issued for, and only on the endpoints granted to it.
This endpoint needs a credential. Without it you will get a 401.
Stored in this browser only. Never sent anywhere but the API host above.
Path parameters
Query parameters
Send the request to see the real response here.
Nothing is mocked. What comes back is what the API returned.
Requests go straight from your browser to the API host above — nothing is proxied through this site.
Path parameters
Property code. Identifies the property (hotel, apartment building, hostel) the request applies to. It must match the property your API key was issued for.
Query parameters
With dto, the first arrival date of the bookings and the first day of the capacity. Alone, the day the bookings were received on, and the one day of capacity
Last arrival date and last day of capacity, at most 366 days after dfrom
Also return productionList: the articles sold day by day in the same range
Responses
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
The bookings
Capacity per day and room type
Articles sold, one row per invoice line with its units and amounts prorated to the days inside the range; only when article is asked for
What is a pcode?
Rate limits