From d7c6b8e3a1bf37b56a98a07e01e7be09afeb8f5d Mon Sep 17 00:00:00 2001 From: Jan Langer Date: Mon, 18 Dec 2023 16:38:14 +0100 Subject: [PATCH] Property should not be here --- dist/index.html | 6 ++---- openapi.yaml | 5 ----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/dist/index.html b/dist/index.html index 8211b3f..3246f92 100644 --- a/dist/index.html +++ b/dist/index.html @@ -637,15 +637,13 @@

9. 1. 2020

Request Body schema: application/json
required
accessToken
required
string

Access token to your API.

-
required
string or integer

Your hotel id.

required
object (Hotel)
Array of objects (RoomType)

Updated room types.

Responses

Request samples

Content type
application/json
{
  • "accessToken": "string",
  • "hotelId": "string",
  • "hotel": {
    },
  • "roomTypes": [
    ]
}

Response samples

Content type
application/json
{
  • "success": true
}

Hotel info (reversed)

Request samples

Content type
application/json
{
  • "accessToken": "string",
  • "hotel": {
    },
  • "roomTypes": [
    ]
}

Response samples

Content type
application/json
{
  • "success": true
}

Hotel info (reversed)

Provides same information as /hotel endpoint, but in reversed direction. This endpoint is called by CM to load room types created on Termino side and set up mapping.

Request Body schema: application/json
required
accessToken
required
string

Access token to your API.

@@ -807,7 +805,7 @@

Usage:

" class="sc-iJCSeZ sc-cBornZ gJcGEt AiHgN sc-ciSkmu iZNUXd">

Expected error

Request samples

Content type
application/json
{
  • "accessToken": "string",
  • "hotelId": "string"
}

Response samples

Content type
application/json
{
  • "success": true
}