Skip to main content
All CollectionsMembership
Setting Up Rules to Limit Membership Card Access at Specific Times
Setting Up Rules to Limit Membership Card Access at Specific Times

Set valid rules to specify times and blackout dates for membership cards, helping manage and control access effectively.

Updated over 7 months ago

How to Set Up Availability Rules

To implement these rules, follow these steps:

  1. Navigate to Your Membership Program: Go to your membership program settings and scroll to the options section. Here, you'll find the area to enter the availability rules for when the membership card can be scanned.

  2. Add Availability Rules: You need to add a set of rules specifying the valid access times and any blackout dates. Below is an example of how these rules might look. Note that a front-end interface for setting these up will be available soon.

Example of Single Time Slot Availability Rules

This shows a membership rule for Sunday to Saturday with varying time ranges for each day as well as blocked-out dates.

{
"days": {
"sunday": {
"start": "9:00 AM",
"end": "6:00 PM"
},
"monday": {
"start": "9:00 AM",
"end": "6:00 PM"
},
"tuesday": {
"start": "9:00 AM",
"end": "6:00 PM"
},
"wednesday": {
"start": "9:00 AM",
"end": "6:00 PM"
},
"thursday": {
"start": "9:00 AM",
"end": "6:00 PM"
},
"friday": {
"start": "9:00 AM",
"end": "6:00 PM"
},
"saturday": {
"start": "11:00 AM",
"end": "2:00 PM"
}
},
"blockout": [
"05/14/2024",
"05/15/2024"
]
}

Example of Multi-Time Slot Availability Rules

This shows a membership rule for Sunday to Saturday with varying time ranges for each day as well as blocked-out dates.

{
"days": {
"sunday": [
{
"start": "9:00 AM",
"end": "12:00 PM"
},
{
"start": "2:00 PM",
"end": "5:00 PM"
}
],
"monday": [
{
"start": "9:00 AM",
"end": "1:00 PM"
},
{
"start": "3:00 PM",
"end": "5:00 PM"
}
],
"tuesday": [
{
"start": "9:00 AM",
"end": "1:00 PM"
},
{
"start": "3:00 PM",
"end": "11:30 PM"
}
],
"wednesday": [
{
"start": "9:00 AM",
"end": "12:00 PM"
},
{
"start": "1:00 PM",
"end": "6:00 PM"
}
],
"thursday": [
{
"start": "9:00 AM",
"end": "12:00 PM"
},
{
"start": "2:00 PM",
"end": "6:00 PM"
}
],
"friday": [
{
"start": "9:00 AM",
"end": "1:00 PM"
},
{
"start": "3:00 PM",
"end": "6:00 PM"
}
],
"saturday": [
{
"start": "11:00 AM",
"end": "1:00 PM"
},
{
"start": "2:00 PM",
"end": "5:00 PM"
}
]
},
"blockout": [
"05/15/2024",
"05/16/2024"
]
}

Flexibility in Setting Dates and Blockout Days

Additionally, you have the option to set only blackout days, providing more control over when members can access your facilities without having to set day-by-day rules.

Example of Blockout Date Only Availability Rules

{
"blockout": [
"07/08/2020",
"08/01/2020"
]
}

12-Hour and 24-Hour Format Support

Our system supports both 12-hour and 24-hour time formats for added flexibility. You can enter times in either format based on your preference.

Date Formatting for Blockout Dates

When entering blockout dates, please format the dates according to your locale:

  • US Format: MM/DD/YYYY (e.g., 07/08/2024)

  • UK Format: DD/MM/YYYY (e.g., 08/07/2024)

  • General Format: YYYY/MM/DD (e.g., 2024/05/14)

Handling Bad Data

To ensure the rules are set correctly and function as intended, please follow these guidelines:

  1. Time Validity:

    • Ensure the start time is before the end time for each time slot.

    • Avoid overlapping time slots within the same day.

  2. 24-Hour Period Limit:

    • Time slots should not exceed 24 hours for any given day.

    • Each day’s total active time should be within the 24-hour limit.

  3. Consistent Time Format:

    • Use a consistent time format (either 12-hour or 24-hour) throughout the rules for clarity and to avoid errors.

  4. Issue with JSON

    • If there is an issue with the JSON that is saved, the default behavior will be to wipe the rules to prevent any bad logic from being used in the system. You will have to re-input the rules correctly.

Impact on Member Check-Ins

Once these rules are added, members can only check in during the specified times. If a member tries to check in outside these times or on blackout dates, the system will mark their scan as invalid.

By setting these rules, you ensure that member access is controlled and aligned with your facility's operational hours and policies. Stay tuned for our upcoming front-end interface that will make managing these rules even easier.

Did this answer your question?