Maxxton External API

Sections

Get available preferences for a specific accommodationtype

Query Parameters

advancedCalculationboolean

Flag for calculating the relative rate configuration for all the addons if configured. enabling this flag will give you the information about the percentage price and the resources that particular price depends on. on setting this flag as true the fields dependsOnAddon,dependsOnOffer and dependsOnAccommodationType will be populated as true or false, if true the list of depending Ids can found in the corresponding arrays of offerIds and addonIds. if the field dependsOnAddon/dependsOnOff...

distributionChannelCodestring

distributionChannelCode for which addons are to be fetched

reservationCategoryCodestring

reservationCategoryCode for which addons are to be fetched.

resourceIdinteger Required

Resource id for which addons are to be fetched

Response

200
Object
The request is completed successfully without any errors

Response Attributes

resourceIdinteger

Id of preference addon.

locationIdinteger
preferenceTypesarray

List of preference type this addon applies to. Possible values: UNIT,ADJACENT,MISCELLANEOUS

Show child attributes

pricesarray

Show child attributes

500
Object
Error occurred while fetching preference fee.

GET

/

Select
1

Response