v1
latestOpenAPI 3.0.22026-07-13122949.2 KBPMS/CM endpoints
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
post/hotel
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"
}
]
}