List the rates you can push to

RMS

get/api/integrations/{pcode}/rms/ratesx-api-key

Every rate of the property a push may name: the base rate of its own sale (main), each channel’s base rate (mainchannel) and the channel rates (planchannel), with its room type, channel, board, policy and guests. Price modifiers are not listed: they derive from one of these, so you push the one they derive from. Inactive rates are listed and can be pushed, as on the legacy channel.

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

gethttps://uni-api.hotelgest.com/api/integrations/123456/rms/rates

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

pcode
number

Property code. Identifies the property (hotel, apartment building, hostel) the request applies to. It must match the property your API key was issued for.

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

id
number

The rate id: what a push names in rateId

roomName
string

Room type of the rate

ota
string

Channel the rate sells on, by the name the channel list gives it. The property’s own sale is channel 0, which comes with its name in that list (Recepcion); direct only when the channel is not in the list

otaId
number

Channel id; 0 is the property’s own sale

board
string

nb room only, bb breakfast, hb half board, fb full board, ai all inclusive

policy
string

Cancellation policy id

typechannel
string

Channel manager the rate is mapped through, as stored (wubook, SiteMinder, YieldPlanet, Channex, Neobookings, Pghc); wubook unless the property set another

type
enum

main is the base rate of the property’s own sale, mainchannel a channel’s own base rate and planchannel a channel rate

One of:mainmainchannelplanchannel

roomTypeId
number

Room type id (roomTypeId elsewhere). Not in the legacy /panel/channel/rate

occupancy
number

Guests the price is for. Not in the legacy answer

active
boolean

Whether the rate is on sale. Not in the legacy answer

anchored
number

0 when the rate sets its own price; otherwise the id of the rate it follows, because the hotel linked it to that one (the same anchored the legacy /v1/booking/price gave in rateChannel). Any type can be linked, planchannel included. A linked rate can still be pushed, but a pushed price gives it a price of its own for those days and it stops following its rate there; to keep the hotel’s link, push to the rate it follows

Example response
1[
2 {
3 "id": 48122,
4 "roomName": "Double room",
5 "ota": "Booking.com",
6 "otaId": 0,
7 "board": "bb",
8 "policy": "4",
9 "typechannel": "wubook",
10 "type": "main",
11 "roomTypeId": 101,
12 "occupancy": 2,
13 "active": true,
14 "anchored": 0
15 }
16]

What is a pcode?

The property code. Every endpoint is scoped to one property, and your API key only works for the property it was issued for.

Rate limits

100 requests per minute per source IP, 120 per API key and 300 per property, each counted across every endpoint together — not per endpoint. Over any of them you get a 429 with the seconds to wait in Retry-After-<limit> (apikey-ip, apikey or apikey-pcode): stop and wait it out. Repeat offences on a key or a property are blocked for longer each time, up to 7 days.