Hotel, rooms and rates
Information about hotel for connection process and structure of room types and rate plans.
Usage:
- loading hotel info and structure when connecting new hotel to Termino
- synchronizing hotel structure
Request body
Example request
{
"accessToken": "aa5ae844-051c-4d30-9c67-54b70c99b580"
}Response
OK
Example response
{
"hotel": {
"id": "123456",
"name": "Hotel Example",
"address": {
"street": "Pernerova 691",
"city": "Praha 8",
"country": "CZ"
}
},
"roomTypes": [
{
"id": "123456",
"name": "Double room",
"beds": 2,
"extraBeds": 1,
"roomsCount": 10,
"rooms": [
{
"id": "125",
"name": "Room 125"
}
]
}
],
"ratePlans": [
{
"id": "HB",
"name": "Half-board",
"pricingModel": "per_room"
}
]
}Changes
Changed in 4 of the 10 revisions of this API.2411
- ○
added the optional property
ratePlansto the response with the200statusresponse-optional-property-added
- ○
the response property
hotelbecame required for the status200response-property-became-required
- ○
the response property
roomTypesbecame required for the status200response-property-became-required
- ○
- ●
removed the optional property
addressfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
namefrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
hotelto the response with the200statusresponse-optional-property-added
- ●
- ○
api tag
PMS/CM endpointsaddedapi-tag-added
- ○
api tag
Pull endpointsremovedapi-tag-removed
- ○
- ▲
the response property
roomTypesbecame optional for the status200response-property-became-optional
- ▲
removed the required property
hotelfrom the response with the200statusresponse-required-property-removed
- ●
removed the optional property
ratePlansfrom the response with the200statusresponse-optional-property-removed
- ○
api tag
Pull endpointsaddedapi-tag-added
- ○
api tag
PMS/CM endpointsremovedapi-tag-removed
- ○
added the optional property
addressto the response with the200statusresponse-optional-property-added
- ○
added the optional property
idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
nameto the response with the200statusresponse-optional-property-added
This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲