This method will add a maximum stay by date range rule to the system.


Name Input Value Type Description
business_code Integer This is the business we are adding the maximum stay rule against.
type_id Integer This is the type_id of the unit type this rule is going to apply to.
open_date Timestamp This is the start date that the rule applies.
close_date Timestamp This is the end date that the rule applies.
maximum_stay Integer This is the maximum stay number for this rule.
format enumeration (optional) Set this value to "xml" for XML raw formatted output, "xml-clean" for XML tidy formatted output or "json" for JSON formatted output. If not passed, "xml" is used as a default

XML Encoded Request

URL Encoded Request