JSON API - GETRESRULE
Returns the applicable booking rules for the specified RuleArea and Reservation.
Input
brandid
string The BrandID for which to pull the requested rulerulearea
string The RuleArea of the rule to returnresnumber
integer The ResNumber of the reservation whose applicable rule to return
Output
Returns an array of applicable Rule objects for the specified Reservation and RuleArea.
Each Rule object will have four fields:
rulearea
string The RuleArea of this Rule objectruleid
integer The unique ID for this Rule objectruletext
string The Rule’s contentdescription
string Description of this Rule and its use and purpose
Example
[
{
"rulearea": "DEPOSITAMOUNT",
"ruleid": 12345,
"ruletext": "100.00",
"description": "Deposit amount rule"
}
]