v1

latestSwagger 2.02026-07-14214688.6 KB
RatePlans

Get the count of all rateplans in the hotel matching the given filter criteria.

get/api/hotel/v0/hotels/{hotelId}/rateplans/$count

Path parameters

hotelIdinteger required

The hotel you are counting the rateplans for.

Query parameters

sellingStatus'Active' | 'Inactive' | 'All'

Specify which rateplans to return. If you do not specify a value you will by default get active rateplans.

commissionableboolean

Return all rateplans having commisionable status

groupstring

Return all rateplans belonging to the specified rateplan group

baseRateplanstring

Return all rateplans having the specified rateplan as base rateplan

channelGroupstring

Return all rateplans that are sold through at least one channel out of the specified channel group

channelCodestring

Return all rateplans sold through the specified channel

marketCodesstring[]

Return all rateplans having one of the specified values as a market code

roomTypesstring[]

Return all rateplans by which at least one of the specified room types are sold

includedServicesstring[]

Return all rateplans having at least one of the specified services included

Headers

App-Idstring required

Application identifier

App-Keystring required

Application key.

Response

The rateplans count in the hotel matching the given filter criteria.

_countinteger required

Returns the total count for all items matching the query parameters. If none is matching it will return 0.