/
JSON API - GETRESRULE
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"
}
]
, multiple selections available,
Related content
JSON API - GETRES
JSON API - GETRES
More like this
JSON API - MODIFYRES
JSON API - MODIFYRES
More like this
JSON API - BOOK
JSON API - BOOK
More like this
CMS API Methods
CMS API Methods
Read with this
JSON API - GETRESPAYMENTS
JSON API - GETRESPAYMENTS
More like this
JSON API - POSTRESREFPAYMENT
JSON API - POSTRESREFPAYMENT
More like this