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.
-
January 18, 2013 at 3:39 pmSWS MakeReservation method « Centershift Developer eXchange
-
January 18, 2013 at 3:41 pmSWS GetSiteUnitData Method « Centershift Developer eXchange
-
January 18, 2013 at 3:43 pmSWS GetUnitData Method « Centershift Developer eXchange