Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Returns a list of room types.

Table of Contents

RoomType by Hotel

Method: GET
Path: /publisher​s/{publisherCode}​/hotel​s/{hotelCode}​/roomTypes
Sample Response:

Code Block
[
    {
        "code": "EKC",
        "names": [
            {
                "lang": "EN",
                "name": "Executive King Suite City View"
            }
        ],
        "descriptions": [
            {
                "lang": "EN",
                "description": "Executive King Suite City View"
            }
        ]
    },
    {
        "code": "ETC",
        "names": [
            {
                "lang": "EN",
                "name": "Executive Twin Suite City View"
            }
        ],
        "descriptions": [
            {
                "lang": "EN",
                "description": "Executive Twin Suite City View"
            }
        ]
    },
    {
        "code": "JKC",
        "names": [
            {
                "lang": "EN",
                "name": "Junior King Suite City View"
            }
        ],
        "descriptions": [
            {
                "lang": "EN",
                "description": "Junior King Suite City View"
            }
        ]
    },
    {
        "code": "JKW",
        "names": [
            {
                "lang": "EN",
                "name": "Junior King Suite Water View"
            }
        ],
        "descriptions": [
            {
                "lang": "EN",
                "description": "Junior King Suite Water View"
            }
        ]
    },
    {
        "code": "PRES",
        "names": [
            {
                "lang": "EN",
                "name": "Presidential Suite"
            }
        ],
        "descriptions": [
            {
                "lang": "EN",
                "description": "Presidential Suite"
            }
        ]
    },
    {
        "code": "SKC",
        "names": [
            {
                "lang": "EN",
                "name": "Superior King Room City View"
            }
        ],
        "descriptions": [
            {
                "lang": "EN",
                "description": "Superior King Room City View"
            }
        ]
    },
    {
        "code": "SKW",
        "names": [
            {
                "lang": "EN",
                "name": "Superior King Room Water View"
            }
        ],
        "descriptions": [
            {
                "lang": "EN",
                "description": "Superior King Room Water View"
            }
        ]
    }
]

RoomType by Room Type Code

Method: GET
Path: ​/publisher​s/{publisherCode}​/hotel​s/{hotelCode}​/roomTypes​/{roomTypeCode}
Sample Response:

Code Block
{
    "code": "EKC",
    "names": [
        {
            "lang": "EN",
            "name": "Executive King Suite City View"
        }
    ],
    "descriptions": [
        {
            "lang": "EN",
            "description": "Executive King Suite City View"
        }
    ]
}