Home > API General, Rental/Reservation > Reservation Rules

Reservation Rules


There are 2 calls that you would use to get information on rules for a specific site.

First you would call GetSiteRules in order to find the specific rule_id’s that you wanted to look up for a site.
Then you would call GetSiteRuleValue with the rule_id that you looked up before in order to see what the specific site you were looking for is using.

GetSiteRules: https://centershiftdevx.com/2011/04/20/sws-getsiterules-method/

GetSiteRuleValue: https://centershiftdevx.com/2011/04/20/sws-getsiterulevalue-method/

Here are the rule_id’s that are for the Reservation Rules

RULE_ID = 299
RULE NAME = Reservation Parameters
DESCRIPTION = Sets general reservation parameters for this site.

RULE_ID = 300
RULE NAME = Reservation Threshold Logic
DESCRIPTION = Sets vacancy threshold logic for allowing reservations based on count and/or percentage.

RULE_ID = 301
RULE NAME = % Available Threshold
DESCRIPTION = Sets the minimum percentage (for example, .25 equals 25%) of units that must be available before a reservation can be made.

RULE_ID = 302
RULE NAME = Quantity Available Threshold
DESCRIPTION = Sets the minimum number of units that must be available before a reservation can be made.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s