v1

latestSwagger 2.02026-07-141993129.2 KB
DailyRates

Get a list of daily rates given a hotel Id, a channel code and a date range.

With the rates request you can get a list of different daily rates. You will have to at least specify the hotel, the channel code, and a calendar range. The channel code will define which rates will be returned based on the access control configuration for the rates. Additionally rate plan codes may be specified in the request in order to limit only those rates of the given plans, if they are not specified, it will return all the public rate plans. If requested the caller may specify whether he wants policies or not.

get/api/booking/v0/daily_rates

Query parameters

hotelIdinteger required

Define the hotel id to request the availability for.

fromstring date-time required

Define the first business day you would like to get availability numbers for. The day should not be in the past.

tostring date-time required

Define the last business day you would like to get rates for (inclusive). The maximum time span between <i>'From'</i> and <i>'To'</i> is limited to 365 days. This can't be less than the 'From' date.

channelCodestring required

Define the channel code in order to look up the rates for.

expandstring[]

Define the sections you want to expand and get informed about rates for.

ratePlanCodesstring[]

Define the codes of rate plans to show in the response. A list of comma ',' separated rate plan codes.

skipinteger

Amount of items to skip.

topinteger

Amount of items to select.

inlinecount'None' | 'AllPages'

Return total number of items for a given filter criteria.

Headers

App-Idstring required

Application identifier

App-Keystring required

Application key.

Response

Different rates for the requested stay details grouped by room type.

_countinteger

The number of items matching your request in total for all pages.

_linksobject

Collection of links to related resources