GET AccommodationRateSpecification
/api/accommodation_rate_specifications/Retrieves rate specifications for the authenticated user’s organization.
An AccommodationRateSpecification defines a pricing configuration that can be assigned to accommodations. Each specification is linked to an accommodation price component group and length-of-stay configuration, and can optionally inherit its rate values from another specification.
Query parameters
Section titled “Query parameters”accommodationnumberoptionalaccommodationPriceComponentGroupnumberoptionaltypestringoptionalAllowed values:manual,inheriting-from-rate-specification,inheriting-from-groupsettingsbooleanoptionalReturns more data in the response, required for settings
include[]string[]optionalAdditional (relational) data groups to include in the response
Returns
Section titled “Returns”Array of AccommodationRateSpecification
Schema shown for 200 · application/json
idnumberdescriptionstringincludedNumOfPersonsnumberoptionalDefault:0hasRatePerPersonDiscountsEnabledbooleanoptionalDefault:falsederivedAmountstringoptionalDefault:"0.00"derivedMethodstringoptionalDefault:"percentage"derivedAdjustmentstringoptionalDefault:"increase"derivedRoundingstringoptionalDefault:"rounding-two-decimals"typestringoptionalDefault:"manual"inheritanceModifiedstringoptionaldeletedstringoptionallocalestringaccommodationPriceComponentGroupobjectShow 1 property
idnumberoptional
accommodationRateLengthOfStaySpecificationAccommodationRateLengthOfStaySpecificationShow 6 properties
idnumberdescriptionstringnumOfDaysnumberoptionalDefault:1This property determines the length of stay. For example: a value of 3 equals to a length of stay of 3 nights.
eligibleMinNumOfDaysnumberoptionalDefault:1This property determines the minimum numOfDays a reservations needs to have before this specification is eligible.
localestringtranslationsAccommodationRateLengthOfStaySpecificationTranslation[]Show array — 3 properties
idnumberdescriptionstringoptionallocalestring
inheritedFromobjectoptionalShow 1 property
idnumberoptional
campingEquipmentSpecificationobjectoptionalShow 1 property
idnumberoptional
glAccountobjectShow 1 property
idnumberoptional
taxProfileobjectoptionalShow 1 property
idnumberoptional
accommodationsobject[]Show array — 1 property
idnumberoptional