Rate Plan Details Request

This request provides detailed information (including rates and booking rules) for a specific rate plan. RatePlans are analogous to Hooroo "Offers". Nightly rate information is divided into rates and booking rules. Up to one month's worth of nightly rate information can be provided for a single request.

N.B. All rates are provided as Gross

Request Parameters

ParameterRequiredNotes
startNThe date from which rate information will be returned. If not provided, defaults to the current day.
endNThe end date up to which rate information will be returned. Can be a maximum of one month from the specified start date. If not provided, defaults to one week from the start date

Request

GET https://api.hooroo.com/channel_manager/v1/rate_plans/<RatePlanCode>.xml

Returns offer details for the rate plan with no rate or booking rule information.

GET https://api.hooroo.com/channel_manager/v1/rate_plans/<RatePlanCode>.xml?start=2012-01-01&end=2012-01-15

Returns offer details for the rate plan with information for rates between the specified dates.

Body:

Empty

Responses

Success

HTTP status code: 200 OK

Body:

A single RatePlan element will be returned for each request, representing a Hooroo "Offer". The first Rate element will contain the Offer-level rates for additional guests. When a rate period is requested, a Rate element will be returned for each night, as well as a BookingRule element.

As the maximum length of stay for an offer is optional, an offer may not have been configured with a max stay value. Where this is the case, the MaxLOS Time will be returned as an empty value, i.e. "".

Failure

HTTP status code 400 Bad Request (client error) HTTP status code 500 Internal Server Error (server error)

Body: