JSON API - GETRESRULE
Returns the applicable booking rules for the specified RuleArea and Reservation.
Input
brandidstring The BrandID for which to pull the requested ruleruleareastring The RuleArea of the rule to returnresnumberinteger 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:
ruleareastring The RuleArea of this Rule objectruleidinteger The unique ID for this Rule objectruletextstring The Rule’s contentdescriptionstring Description of this Rule and its use and purpose
Example
[
{
"rulearea": "DEPOSITAMOUNT",
"ruleid": 12345,
"ruletext": "100.00",
"description": "Deposit amount rule"
}
]